Administrator's Reference

QUERY SERVERGROUP (Query a Server Group)

Use this command to display information about server groups and group members.

Privilege Class

To issue this command, you must have system privilege.

Syntax

                        .-*----------.
>>-QUERY SERVERGRoup----+------------+-------------------------><
                        '-group_name-'
 

Parameters

group_name
Specifies the server group to query. This parameter is optional. You can use wildcard characters to specify this name.

Examples

Task

From a managed server, query all server groups.

Command:
query servergroup *

Output:
+--------------------------------------------------------------------------------+
|Server Group    Group Member    Description              Managing Profile       |
|------------    ------------    ---------------------    ----------------       |
|ADMIN_GROUP     SERVER_A        Headquarters             ADMIN_INFO             |
|                 SERVER_B                                                       |
|                 SERVER_C                                                       |
|                 SERVER_D                                                       |
+--------------------------------------------------------------------------------+

where:

Server Group
The name of the server group.

Group Member
The group members.

Description
The description of the server group.

Managing Profile
The profile or profiles to which the managed server subscribed to get the definition of the server groups.

Related Commands

Table 174. Commands Related to QUERY SERVERGROUP

Command Description
COPY SERVERGROUP Creates a copy of a server group.
DEFINE SERVERGROUP Defines a new server group.
DELETE SERVERGROUP Deletes a server group.
QUERY SERVER Displays information about servers.
RENAME SERVERGROUP Renames a server group.
UPDATE SERVERGROUP Updates a server group.


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