DEFINE GRPMEMBER (Add a server to a server group)

Use this command to add a server as a member of a server group. You can also add one server group to another server group. A server group lets you route commands to multiple servers by specifying only the server group name.

Privilege class

To issue this command, you must have system privilege.

Syntax

Read syntax diagramSkip visual syntax diagram
                                 .-,-----------.   
                                 V             |   
>>-DEFine GRPMEMber--group_name----member_name-+---------------><

Parameters

group_name (Required)
Specifies the name of the server group to which the member will be added.
member_name (Required)
Specifies the names of the servers or groups to be added to the group. To specify multiple servers and groups, separate the names with commas and no intervening spaces. The servers or server groups must already be defined to the server.

Example: Define a server to a server group

Define the server SANJOSE to server group CALIFORNIA.
define grpmember california sanjose

Example: Define a server and a server group to a server group

Define the server TUCSON and the server group CALIFORNIA to server group WEST_COMPLEX.
define grpmember west_complex tucson,california

Related commands

Table 1. Commands related to DEFINE GRPMEMBER
Command Description
DEFINE SERVER Defines a server for server-to-server communications.
DEFINE SERVERGROUP Defines a new 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 SERVER Displays information about servers.
RENAME SERVERGROUP Renames a server group.
UPDATE SERVERGROUP Updates a server group.