deploy

Deploys the sharded database.

Syntax

deploy [-no_rebalance] [-validate_network][-timeout timeout]

Options

Table 2-44 GDSCTL deploy Options

Option Description
-no_rebalance

Skip automatic chunk migration during incremental deploy.

-timeout

Timeout of connection retention between FAN is sent to clients and chunk going read-only/down (seconds).

-validate_network

This flag enables several network validation checks, including checking network connectivity between hosts and checking VNCR entries are valid.

Usage Notes

This command is executed after one or more shards have been added to the shard catalog. As the result of the command execution, a certain range of data is associated with a newly added database. If a database is part of a Data Guard Broker configuration, a role (primary or standby) is assigned to it. Then replication and/or migration of data to from other databases to newly deployed databases are initiated.

  • Deploy runs almost entirely in parallel, and mostly in the background, and will not deploy any shards which do not have all their counterparts in other shardgroups. All undeployed shards that can be deployed are deployed as the result of execution of this command.

  • Before configuring replication, this command cross-checks parameters of all databases included into the replication configuration. An error is returned if the cross-check finds inconsistency or ambiguity, for example, no primary shardgroup in a shardspace with Data Guard replication.

  • If a CREATE SHARD command had previously been issued, these new shards will be created during deployment and added to the shard catalog. If a shard needs to be created, DEPLOY runs a job for each database which requires a remote credential (see add credential. This credential must be valid at the time of deployment.

  • The NO_REBALANCE option allows to skip automatic rebalancing of chunks across shards during incremental DEPLOY. Use the move chunk command to perform manual chunk migration.

Examples

Deploy the sharded database.

GDSCTL> deploy