Use the lshostclustermember command to generate a list with host
information for hosts that belong to the specified host cluster.
Syntax
lshostclustermember [ -nohdr ] [ -delim delimiter ] { hostcluster_id | hostcluster_name }
Parameters
- -nohdr
- (Optional) By default, headings are displayed for each column of data in a concise style view,
and for each item of data in a detailed style view. The -nohdr parameter
suppresses the display of these headings.
Note: If there is no data to be displayed, headings are not
displayed.
- -delim delimiter
- (Optional) By default in a concise view, all columns of data are space-separated. The width of
each column is set to the maximum width of each item of data. In a detailed view, each item of data
has its own row, and if the headers are displayed, the data is separated from the header by a space.
The -delim parameter overrides this behavior. Valid input for the
-delim parameter is a 1-byte character. If you enter -delim
: on the command line, the colon character (:) separates all items of data
in a concise view; for example, the spacing of columns does not occur. In a detailed view, the data
is separated from its header by the specified delimiter.
- hostcluster_id | hostcluster_name
- (Required) Specifies the ID or name of the host that is part of the host cluster. If you do not
enter a host cluster ID or name, the command displays a list of all recognized host clusters and
volume mappings. The value for the ID must be a number and the value for the name must be an
alphanumeric string.
Description
This command information about all hosts that belong to the specified host cluster.
This table provides the attribute values that can be displayed as output view data.
Table 1. lshostclustermember outputAttribute |
Description |
host_id |
Indicates the unique ID of the host cluster. The value must be a number 0 -
4095. |
host_name |
Indicates the host name. The value must be an alphanumeric string of no more
than 64 characters. |
status |
Indicates the status of a host for a host cluster. The values are: - online indicates that all hosts or members are online.
- host_degraded indicates that no hosts are offline but at least one host is
degraded.
- offline indicates that all hosts are offline or there are no hosts or members
in the host cluster.
|
type |
Indicates the unique ID for the site that the host cluster is in. The values
are: - generic
- hpux
- tpgs
- openmvs
- epps
- adminlun
|
site_id |
Indicates the site ID (that the host cluster is part of). The value must be a
number in the range 0 - 3. |
site_name |
Indicates the site name (that the host cluster is part of). The value must be
an alphanumeric string. |
A concise invocation example
lshostclustermember
The detailed resulting output:
host_id host_name status type site_id site_name
0 host0 online generic 1 site1
A detailed invocation example
lshostclustermember :
The detailed resulting output:
host_id:0
host_name:j1mvardy
status:online
type:generic
site_id:1
site_name:jamiev12