Administration Commands

query_directory_lu

This parameter applies only if the local node is a Network Node or a Branch Network Node; it is reserved otherwise.

If the supplier_cp_type parameter indicates that the directory entry was registered by a node that is not the owning resource, this parameter specifies the fully qualified name of the CP that supplied the registration; otherwise it is not used.

The name consists of a 1–8 character network name, followed by a period, followed by a 1–8 character CP name.

2.118.4 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_RES_NAME

The list_options parameter was set to LIST_INCLUSIVE to list all entries starting from the supplied name, but the resource_name parameter value was not valid.

INVALID_RES_TYPE

The resouce_type parameter was not set to a valid value.

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

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

2.119 query_directory_lu

The query_directory_lu command returns a list of LUs from the directory database. The command can be used to obtain information about a specific LU or about multiple LUs, depending on the options used.

This command must be issued to a running node.

2.119.1 Supplied Parameters

Parameter name

Type

Length

Default

[query_directory_lu]

 

 

 

num_entries

decimal

1

 

list_options

constant

 

SUMMARY + INCLUSIVE

342

Page 342
Image 342
HP UX Internet and Networking Software manual Querydirectorylu, Error Return Codes