serverpools

Command to initiate the ServerPools mode and to use its subcommands.

Synopsis

list
list_members -U|--UUID server_pool_uuid [-l|--detail]
remove_members -U|--UUID server_pool_uuid -M|--members server_uuid [-f|--force]

Description

The ServerPools mode is one of a set of modes provided by the Enterprise Manager Ops Center. Use ServerPools subcommands to view and manage server pools.

Type the serverpools command at the command line prompt to enter ServerPools mode. Type the end to stop the mode and to return to the command line prompt.

Subcommands

list

Displays a list of all existing server pools.

list_members -U|--UUID server_pool_uuid [-l|--detail]

Displays a list of members that are part of a server pool. Add the -l option to the command to include detailed information about the members of the server pool.

remove_members -U|--UUID server_pool_uuid -M|--members server_uuid [-f|--force]

Removes a member or a list of members from a server pool.

Options

The following options are supported by some of the subcommands:

-f|--force

Forces the server removal from the server pool.

-l|--detail

Specifies that the output of the list includes the details about the members of the server pool.

-M|--members

Identifies a member or a list of members from a server pool to be removed from it.

-U|--UUID

Specifies an asset by its Universal Unique Identifier.

Operands

The following operands are supported:

server_pool_uuid

Universal Unique Identifier, to distinguish a specific server pool from one with the same asset name.

server_uuid

Universal Unique Identifier, to distinguish a specific server from one with the same asset name.

Examples

Example 1   Display a list of existing server pools,
EnterpriseController/serverpools > list
Example 2   Display the list of members from a server pool.
EnterpriseController/serverpools > list_members --UUID 7e60dcd8-b749-4dd4-ad4e-0525b17181c9 --detail
Example 3   Remove a server from a server pool.
EnterpriseController/serverpools > remove_members -U 2d602947-596e-4361-8910-8504c03a470d -M a38b1dac-4299-4066-bea0-af87fa1d2a3e