Home | Previous Page | Next Page   Utility Reference > onutil: Check, Define, and Modify Storage Objects > CREATE COGROUP >

Specifying Coservers for the New Cogroup

You can create a cogroup from:

Creating a Cogroup from a List of Coserver Names

The following example shows the onutil CREATE COGROUP command to create a cogroup from coserver names for the first six coservers shown in Figure 83:

% onutil
1> create cogroup acctg_cogroup_east
2>    from eds.1, eds.2, eds.3, eds.4, eds.5, eds.6;

Creating a Cogroup from a Coserver Range Identifier

The following example shows the CREATE COGROUP command to create a cogroup from a coserver range identifier for the next six coservers:

% onutil
1> CREATE COGROUP acctg_cogroup_west
2>    FROM eds.%r(7..12);

To produce a list of coserver names, the %r formatting character is iteratively substituted with the integer values that the range list specifies.

Creating a Cogroup from a Combination of Coserver Names and Coserver Range Identifiers

The following example shows the CREATE COGROUP command to create a cogroup from a combination of coserver names and coserver range identifier:

% onutil
1> CREATE COGROUP acctg_cogroup_west
2>    FROM eds.5, eds.%r(7..12);

References

For more information, see coserver groups in the chapter that introduces the database server in the IBM Informix: Administrator's Guide. For more information about configuring coservers, refer to the chapter on configuration parameters in the IBM Informix: Administrator's Guide.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]