The add_backup command adds a server to the list of backup master servers
in the sna.net file so this server can act as the master configuration
file server if the current master becomes inactive. The new server
is added to the end of the list; it will only become the master server
if all other servers listed in the file are inactive.
This command must be issued without specifying a node name.
Supplied Parameters |
 |
Parameter name Type Length [add_backup] backup_name character 64
|
Supplied parameter is:
- backup_name
The name of the server to be added to the list of
backup servers.
Returned Parameters |
 |
No parameters are returned by SNAplus2 when this command executes successfully.
Error Return Codes |
 |
If the command cannot be executed, SNAplus2 returns a primary
return code to indicate the type of error and a secondary return
code to provide specific details about the reason for unsuccessful
execution.
No parameter errors occur for this command.
If the command does not execute because of a state error,
SNAplus2 returns the following parameters:
- primary_rc
STATE_CHECK
- secondary_rc
- DUPLICATE_RECORD
The server name specified in the backup_name parameter is already listed in the file.