The lsfabric command
generates a report that displays
the connectivity between nodes and other controllers and hosts.
Syntax

>>- svcinfo -- -- lsfabric -- ---------------------------------->
>--+-------------------------------------------------------+---><
+- -node -- node_id_or_name -- --+--------------------+-+
| '- -port -- port_id -' |
+- -wwpn -- wwpn ---------------------------------------+
+- -host -- host_id_or_name ----------------------------+
+- -controller -- controller_id_or_name ----------------+
'- -cluster -- cluster_id_or_name ----------------------'
Parameters
- -node node_id_or_name
- (Optional) Displays the output for all ports for the specified
node. The only parameter that you can specify with the -node parameter
is the -port parameter.
- -port port_id
- (Optional) Displays a concise view of all WWPNs that are logged
into the specified port ID and node. The -port parameter must
be specified with only the -node parameter. A valid port_id value
is a number from 1 - 4 that specifies the port number in the vital
product data (VPD) or the hexadecimal WWPN of the local port.
- -wwpn wwpn
- (Optional) Displays a list of all ports that have a login to the
specified WWPN. You cannot use the -wwpn parameter with any
other parameter.
- -host host_id_or_name
- (Optional) Specifies a host name or ID. Issuing the lsfabric command
with the -host parameter is equivalent to issuing the svcinfo
lsfabric -wwpn wwpn command for every configured WWPN of
the specified host. For example, a host with two ports that are
zoned to one port of every node in a eight-node cluster produces 16
lines of output. You cannot use the -host parameter with any
other parameter.
- -controller controller_id_or_name
- (Optional) Specifies a controller ID or name. You cannot use the -controller parameter
with any other parameter in this command. Issuing the lsfabric command
with the -controller parameter is equivalent to issuing the svcinfo
lsfabric -wwpn wwpn command for every configured WWPN of
the specified controller. For example, a controller with 4 ports connected
to a 8 node cluster with 2 counter part SANs produces 64 lines of
output.
- -cluster cluster_id_or_name
- (Optional) Specifies a cluster ID or name. You cannot use the -cluster parameter
with any other parameter. Issuing the lsfabric command with
the -cluster parameter is equivalent to issuing the svcinfo
lsfabric -wwpn wwpn command for every known WWPN in the
specified cluster. Output is sorted by remote WWPNs and then cluster
WWPNs. This parameter can be used to check the state of connections
within the local cluster or between the local and remote cluster.
When the local cluster ID or name is specified, each node-to-node
connection is listed twice: once from each end. For example, an
eight-node cluster with two counterpart SANs produces eight nodes,
multiplied by seven other nodes, multiplied by two SANs, multiplied
by four point-to-point logins, equals 448 lines of output.
Description
The lsfabric command
can be issued with any of the parameters to display a limited subset
of information. If the command is issued without any parameters, it
provides output for every node.
Values for
the
Type and
State columns are:
- state
active
- The meaning of this value depends
on the object
that it applies to, as follows:
- host or controller:
SCSI commands were issued within the
last 5 minutes.
- node: node ports can see
other ports.
- state inactive
- No transactions have completed within the last 5 minutes.
Note: It
can take up to 10 seconds after a command for a controller
port to change from inactive to active. It can take up to 5 minutes
after a command for a host port to change from inactive to active.
- type
- One of the following values is
displayed:
- host
- node
- controller
- unknown
You can issue
this command to view
all the information about the connections that are available
to your cluster.
An invocation example
svcinfo lsfabric -delim :
The
resulting output Each row of output contain the following
colon-separated columns:
remote_wwpn:remote_nportid: id:node_name:local_wwpn:
local_port:local_nportid:state:name:cluster_name:type