Use the lssite command to report the names of the sites. This command applies only to models that support multiple I/O
groups.
Syntax
lssite [ -nohdr ] [ -delim delimiter ]
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.
Description
This command
reports the names of the sites.
Remember: This command is only applicable when a
system is configured as a HyperSwap
system (specify the chsystem -topology command).
In a
HyperSwap configuration these applications
are spread across two or more geographic locations or sites:
- Nodes
- Storage
- Host servers
- Infrastructure
lssite attribute values provides
the attribute values that can be displayed as output view data.
Table 1. lssite attribute valuesAttribute |
Value |
id |
Identifies the numeric value that represents the site. The value can be
1, 2, or 3. |
name |
Identifies the site name. |
An invocation example
lssite
The
resulting output:
id name
1 CPD1
2 CPD2
3 Quorum