srvctl relocate server

Relocates servers to a server pool in the cluster.

Syntax and Parameters

Use the srvctl relocate server command with the following syntax:

srvctl relocate server -servers "server_name_list" -serverpool pool_name
     [-eval] [-force]

Table A-118 srvctl relocate server Parameters

Parameter Description
-servers "server_name_list"

A single server name or a comma-delimited list of server names enclosed in double quotation marks ("") that you want to relocate to a different server pool.

-serverpool pool_name

The name of the server pool to which you want to move servers.

-eval

Use this parameter to hypothetically evaluate the impact of the command on the system.

-force

Use the -force parameter to force the relocation of servers even if it means stopping some resources.

Example

An example of this command is:

$ srvctl relocate server -servers "server1, server2" -serverpool sp3