setstdby
Use the setstdby command to set the standby management server for an active management server.
Syntax
Parameters
- -help | -h | -?
- Lists help for the command. If you specify additional parameters and arguments, those parameters and arguments are ignored.
- -quiet
- Suppresses the confirmation prompt for this command. This flag answers yes to all confirmation prompts.
- -username user_name
- Specify the user name for the device.
- -password password
- Specifies this parameter to receive a password prompt. The password will not be visible.
- -server standby_server_ip
- Specify the IP address of the server to be the standby management server for the local management server.
Description
Notes:
- If a standby management server is already defined for the active management server, the previously defined standby management server is replaced by the server specified by this command.
- Only the hatakeover command can change a backup server to the active server. High availability (HA) must be active before setting an HA role.
Example: Setting the standby management server
The following command sets the server with IP address 127.0.0.1 as the standby management server for active management server on which this command run without prompting for confirmation.
csmcli> setstdby -quiet -server 127.0.0.1 -username csmuser
The following output is returned:
IWNR3020I Connection to the active high-availability server at csm1.storage.tucson.example.com making the server csm2.storage.tucson.example.com a standby was successful.
