Administration Commands

define_internal_pu

2.30.2 Returned Parameters

No parameters are returned by SNAplus2 when this command executes successfully.

2.30.3 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

If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:

primary_rc

PARAMETER_CHECK

secondary_rc

Possible values are:

INVALID_PU_NAME

The pu_name parameter contained a character that was not valid.

INVALID_PU_ID

The pu_id parameter contained a character that was not valid.

INVALID_DLUS_NAME

The dlus_name parameter contained a character that was not valid or was not in the correct format.

INVALID_BKUP_DLUS_NAME

The bkup_dlus_name parameter contained a character that was not valid or was not in the correct for- mat.

State Check

If the command does not execute because of a state error, SNAplus2 returns the following parameters:

primary_rc

STATE_CHECK

secondary_rc

PU_ALREADY_DEFINED

A PU with the specified name has already been defined.

Function Not Supported

If the command does not execute because the node’s configuration does not support it, SNAplus2 returns the following parameters:

primary_rc

FUNCTION_NOT_SUPPORTED

The local node does not support DLUR; this support is defined by the dlur_support parameter on the define_node command.

secondary_rc

(This parameter is not used.)

Other Conditions

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

98

Page 98
Image 98
HP UX Internet and Networking Software manual Puname parameter contained a character that was not valid