status - Query device status.
base
status [ --help|usage ] [ --db[name] dbname ] [ --default ] [ --console ] [ --power ] [ --node ] [ --leader ] [ --net[work] [ --interface <number> ] [ --protocol <type> ] [ --timeout <time> ] ] [ --full ] [ --only <key> ] <{device|collection}..>
The default action of the status command is to status the device or devices specified. The remainder of the status parameters can be used as follows to alter the functionality of the status command as specified below.
Query only node type devices
Print usage.
Print manpage.
Execute the "default" type status for the device specified.
This is the default action.
Display the status of the device specified in the console
attribute of the original device specified.
Display the status of the device specified in the power attribute
of the original device specified.
Display the status of the device specified in the leader attribute
of the original device specified.
Display everything returned by the status of the device,
by default a DEVICE type status is returned. Devices are required
to return at a minimum the DEVICE status but may return additional
information.
Display only the specific type of status identified by <key>
Display a "network" status of the device specified.
The following additional parameters can be specified to modify
the network status
Specify the specific interface number to use for a network type
status
Specify the protocol to use for the network status.
Valid options are "tcp", "udp" and "icmp", see Net::Ping for more
information of the protocol types.
Specify the timeout period for the network status. (integer number)
Display the simple DEVICE status of node.n-1.t-0
# status node.n-1.t-0
node.n-1.t-0: STATUS READY
Display the status of the device assigned to the console attribute (ts-0.t-0) of node.n-1.t-0
# status --console node.n-1.t-0
node.n-1.t-0: CONSOLE ts-0.t-0 STATUS READY
Display the status of the device assigned to the leader attribute () of node.n-1.t-0
# status --leader node.n-1.t-0
node.n-1.t-0: LEADER node.n-0.t-0 STATUS RUNNING
Set the environment variable CLUSTER_CONFIG to the location of the cluster database, for example /cluster/machine/machine_name.
The default paths for location of the database, cloned directories, and other defaults are recorded in $CLUSTER_CONFIG/CConf.pm.
boot, clone, console, discover, dumpdb, lookup, power, status, cstatus