Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: HP-UX SNAplus2 Administration Command Reference > Chapter 2 Commands (activate_session to initialize_session_limit)

add_backup

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

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.

Parameter Check

No parameter errors occur for this command.

State Check

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.

Other Conditions

Appendix A “Common Return Codes from snapadmin Commands”, lists combinations of primary and secondary return codes that are common to all commands.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.