HP-UX SNAplus2 R7 Administration Command Reference

Administration Commands
status_node
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.203 status_node
The status_node command returns a list of the nodes in the domain and gives their status, conguration role,
and description..
2.203.1 Supplied Parameters
[status_node]
No parameters are supplied for this command.
2.203.2 Returned Information
Status of the node is displayed as one of the following:
Inactive
Active
Starting
Stopping
Conguration role is displayed as one of the following:
Master
Backup
(blank); indicates that the server is not a master or a backup
The following example illustrates the information returned for the status_node command.
The amount of information returned depends on the width of your display; SNAplus2 attempts to determine this
using the COLUMNS environment variable, and uses a default value of 80 if COLUMNS is not set. The Description
text may be omitted or truncated if there is not enough room to display it.
Example 28 Returned Information for the status_node Command
--------------------------------------------------------------------------------
Node name Status Role Description
--------------------------------------------------------------------------------
george Active Master Main server
leia Inactive Backup Backup system
queenie Inactive
--------------------------------------------------------------------------------
2.203.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 specic details about the reason for unsuccessful execution.
615