cdr modify grid

The cdr modify grid command modifies grid attributes.

Syntax


1  cdr modify grid?  %Connect Option  (1) grid_name
2.1  --enablegridcopy
2.1  --disablegridcopy
1?+  Server
Notes:

Element Purpose Restrictions Syntax
grid_name Name of a grid to modify
Server Name of a server to modify

The following table describes the options to cdr modify grid.

Long Form Short Form Meaning
--enablegridcopy -E Enables the specified server to perform grid copy functions.
--disablegridcopy -D Disables the specified server from performing grid copy functions.

Usage

The cdr modify grid command modifies the attributes of one or more servers in a grid. If the command does not specify a server, the changes apply to all servers in the grid.

The --enablegridcopy option is used only if a grid was created using HCL OneDB™ version 11.70 and then upgraded to HCL OneDB version 12.10 or later.

Grids created using HCL OneDB version 11.70 and earlier cannot copy external files to a grid. If you upgrade servers in a grid from 11.70 to 12.10, and you want to copy external files to servers in the grid, you must enable the ability to copy external files by running the cdr modify grid command with the --enablegridcopy option. Similarly, before reverting from HCL OneDB version 12.10 to an earlier version of HCL OneDB, you must disable the ability to copy external files by running the cdr modify grid command with the --disablegridcopy option.

It is not necessary to run the cdr modify grid command if your grid was created using HCL OneDB version 12.10 or later.

You can run this command from within an SQL statement by using the SQL administration API.

Examples

The following example enables copying external files on all servers in the grid named grid1:
cdr modify grid  grid1 --enablegridcopy
The following example enables copying external files on the server g_serv1 in the grid named grid1:
cdr modify grid  grid1 --enablegridcopy g_serv1
The following example disables copying external files on all servers in the grad named grid1:
cdr modify grid  grid1  --disablegridcopy
The following example disables copying external files for the server g_serv1 in the grid named grid1:
cdr modify grid  grid1  --disablegridcopy g_serv1