cdr define grid

The cdr define grid command creates a named grid of replication servers to simply administration.

Syntax


1  cdr define grid?  %Connect Option  (1)  grid_name
1   --all
1 + , server_group
Notes:
Element Purpose Restrictions Syntax
grid_name Name of the grid. Must be unique among grid names and replicate set names. Long Identifiers
server_group Name of a database server group to add to the grid. Must be the name of an existing database server group in SQLHOSTS. Long Identifiers

The following table describes the cdr define grid option.

Long Form Short Form Meaning
--all -a Include all replication servers in the domain.

Usage

You must run the cdr define grid command from a replication server that is a member of an Enterprise Replication domain.

Use the --all to include all replication servers in the domain in the grid.

Return codes

A return code of 0 indicates that the command was successful.

If the command is not successful, one of the following error codes is returned: 5, 220, 221.

For information on these error codes, see Return Codes for the cdr Utility.

Examples

The following example defines a grid named grid1 and adds two replication servers to it:

cdr define grid grid1 gserv1, gserv2

The following example defines a grid named grid1 and adds all replication servers in the current domain to it:

cdr define grid grid1 --all