lshostclustermember

Use the lshostclustermember command to generate a list with host information for hosts that belong to the specified host cluster.

Syntax

Read syntax diagramSkip visual syntax diagram lshostclustermember -nohdr-delimdelimiterhostcluster_idhostcluster_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 no data exists 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 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 output
Attribute Description
host_id Indicates the unique ID of the host.
host_name Indicates the host name.
status Indicates the status of a host for a host cluster. The values are:
  • online indicates that all hosts or members are online.
  • 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 host type. The values are:
  • generic
  • hpux
  • tpgs
  • openmvs
  • adminlun
  • hide_secondary
site_id Indicates the site ID for the host.
site_name Indicates the site name for the host.

A concise invocation example

lshostclustermember

The resulting output:

host_id host_name status type    site_id site_name
0       host0     online generic 1       site1
1       host1     online generic 2       site2