Administration Commands

add_backup

Possible values are:

EXCEEDS_MAX_ALLOWED

The session cannot be activated because this would exceed the current session limit for this LU-LU- mode combination.

INVALID_LU_ALIAS

The lu_alias parameter did not match any defined local LU alias.

INVALID_LU_NAME

The lu_name parameter did not match any defined local LU name.

INVALID_PLU_NAME

The fqplu_name parameter did not match any defined partner LU name, or the plu_alias parameter did not match any defined partner LU name.

INVALID_CNOS_PERMITTED

The value specified in the cnos_permitted parameter was not valid.

State Check

No specific state errors, other than those listed in Appendix A, Common Return Codes from snapadmin Commands, occur for this command.

Other Conditions

If the command does not execute because other conditions exist, SNAplus2 returns the following parameters:

primary_rc

ACTIVATION_FAIL_NO_RETRY

The session could not be activated because of a condition that requires action (such as a configuration mismatch or a session protocol error). Do not retry activating the session. Check the SNAplus2 log file for information about the error condition and correct it before retrying.

ACTIVATION_FAIL_RETRY

The session could not be activated because of a temporary condition (such as a link failure). Retry, preferably after a timeout to allow the condition to clear. Check the SNAplus2 log file for information about the error condition.

secondary_rc

A secondary return code is not returned.

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

2.2 add_backup

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.

2.2.1 Supplied Parameters

Parameter name

Type

Length

[add_backup]

40

Page 40
Image 40
HP UX Internet and Networking Software manual Addbackup, State Check