DEFINE SERVERGROUP (Define a server group)

Use this command to define a server group. With a server group, you can route commands to multiple servers by specifying only the group name. After you define the server group, add servers to the group by using the DEFINE GRPMEMBER command.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-DEFine SERVERGroup--group_name------------------------------->

>--+-----------------------------+-----------------------------><
   '-DESCription--=--description-'   

Parameters

group_name (Required)
Specifies the name of the server group. The maximum length of the name is 64 characters.
DESCription
Specifies a description of the server group. This parameter is optional. The maximum length of the description is 255 characters. Enclose the description in quotation marks if it contains any blank characters.

Example: Define a server group

Define a server group named WEST_COMPLEX.
define servergroup west_complex

Related commands

Table 1. Commands related to DEFINE SERVERGROUP
Command Description
COPY SERVERGROUP Creates a copy of a server group.
DEFINE GRPMEMBER Defines a server as a member of a server group.
DELETE GRPMEMBER Deletes a server from a server group.
DELETE SERVERGROUP Deletes a server group.
MOVE GRPMEMBER Moves a server group member.
QUERY SERVERGROUP Displays information about server groups.
RENAME SERVERGROUP Renames a server group.
UPDATE SERVERGROUP Updates a server group.