Previous Topic: ExampleNext Topic: Example


removeSubgroups—Remove Subgroups from Server Groups

This action allows you to remove subgroups from a server group.

This action has the following format:

servergroup action=removeSubgroups 
[name=groupname]
{servgrp=groupname}
name

Specifies the name of the server group the server group specified by servgrp will be removed from.

If this parameter is not coded then the subgroups are removed from the container "Scalability Server Groups".

servgrp

Specifies the name of an existing server group to be removed.

This parameter can be coded more than once to remove a list of server groups.

Note: "Remove" does not mean that any server group of the servgrp parameter is deleted. It is only unlinked from the supergroup specified with the name parameter.

Note: If a server group A contains the server group B, and if B is not contained by any other server group, nor by the container "Scalability Server Groups", then the attempt to remove B from A will result in an error. At least one of these containments must remain.