Options
–connectstatus
string
Specifies a server connection status. (
Storage Center 5.0 and later). Status
may be:
-
Connected: indicates that
all primary paths are up between the HBA and the
Storage Center.
-
Disconnected: indicates that
no primary paths are up between the HBA and the
Storage Center.
-
Partially Connected: requires
single quotes and indicates that at least one primary path is up and
at least one primary path is down between the HBA and the
Storage Center.
–csv
filename
Specifies a csv file in which to save output.
–folder
string
Specifies a server folder name by which to filter the display. Names
that contain spaces must be enclosed in single quotes.
–folderindex
string
Specifies a server folder index by which to filter the display. (
Storage Center 5.0 and later).
–h
Shows help for command options.
–index
string
Specifies a server index by which to filter the display.
–name
string
Specifies a server name by which to filter the display. Names that
contain spaces must be enclosed in single quotes.
–os
string
Specifies the
name of the operating system hosted on the server by which to filter
the display. Names that contain spaces must be enclosed in single
quotes.
–osindex
string
Specifies the index of the operating system hosted on
the server by which to filter the display.
–parent
string
Specifies
the parent host server or server cluster name by which to filter the
display. Names that contain spaces must be enclosed in single quotes.
(
Storage Center 5.0 and later).
–parentindex
string
Specifies the parent host server or server cluster name by which
to filter the display (
Storage Center 5.0 and later).
–transporttype
string
Specifies the storage transport
type by which to filter the display. The value displayed in the output
is the aggregate transport type across all HBAs in the server (
Storage Center 5.0 and later). Type
may be:
–txt
filename
Specifies a txt file in which to save output.
–type
string
Specifies the server type by which to filter the display. Type may
be:
- Physical
- Virtual
- Cluster
- Remote
Storage Center (requires single quotes)
–wwn_list
string
Specifies one or more HBA World Wide Names (WWNs) by
which to filter the display. WWNs are delimited by commas (,). When
specifying WWNs on
Storage Center 5.0 and later, be aware for the following:
- If a single WWN is entered when there are multiple
WWNs defined, the command will not return any objects.
- When multiple WWNs are entered, each name must be
entered exactly as the
server show command
displays it, including spaces. Any WWNs that include the space character,
must be enclosed by single quote marks.
–xml
filename
Specifies an xml file in which to save output. The xml
file also returns mapping objects that include Volume, DeviceID, SerialNumber,
RemotePort, and LUN. (See also
volume show.)
Examples
Save server information to csv and xml files:
server show -csv csvfile.csv -xml xmlfile.xml
Save server information to a txt file:
server show -txt txtfile.txt
Show all Partially Connected servers:
server show -connectstatus 'partially connected'
Show all virtual servers:
server show -type virtual