Previous Topic: ExampleNext Topic: Example


listSubgroups—List Subgroups of Server Groups

This action allows you to list the subgroups of a server group.

This action has the following format:

servergroup action=listSubgroups 
[name=groupname]
[groupScope={global | local}]
name

Specifies the name of the server group of which the subgroups will be listed.

If this parameter is not coded the server groups of the container "Scalability Server Groups" are listed.

groupScope

Specifies the scope of the group specified. The following values are valid for this option:

Global

The group is a global group, created at an enterprise manager. It may be replicated to a domain manager.

Local

Specifies a local group, created at the domain manager the CADSMCMD is connected to.

If "groupScope" is not coded then the CADSMCMD first tries to locate the group as a local group. If this fails then it is tried to locate the group as a global one.

The output list has the following format:

-----------------------------------------------------------------------------
List of Subgroups of Server Group "groupname" 
-----------------------------------------------------------------------------
subgroupname
subgroupname
...