Owner manual

124 HP VMA SAN Gateway Users Guide AM456-9026A
The lun set command enables you to set a LUN as read-only. The lun set command is the only
command usable after a LUN has been created except the no
lun create … readonly command.
LUN Statistics Command
LUN statistics are accessed via the CLI with the following command:
show stats lun [container <container_id>] [name <lun_name>] [on global|on
host <hostname>] [continuous] [detail]
Use the container <container_id> option to restrict statistics display to a single container. If
it is omitted, statistics are shown for all the containers accessible to the hosts.
Use the
name <lun_name> option to get statistics for a single LUN. If it is committed, statistics
for all LUNs are specified.
Note: Select shell wildcard patterns can be used in the <lun_name> field to match a set of LUNs.
For example, you can use the asterisk (*) to match all characters that follow. Such as
mylun* to
match all LUN names that begin with "mylun". Or, you can specify a range of LUN names using
the [a-e] wildcard. Such as my-lun[2-4][0-9] to match all LUNs from my-lun20 to my-lun49.
Use the
on global option to get statistics for data flowing to LUNs through all nodes in a cluster.
Use the
on host <hostname> option to get statistics for data flowing to LUNs on a specific host.
Use the
continuous option to refresh displayed statistics every ten seconds.
Use the
detail option to display statistics in a verbose format.
Managing Targets
Show Targets Command
show targets [node <cluster node id>] [hostname <hostname>] [protocol
fc] [id <target id>] [sessions] [detail]
The show targets command displays all Fibre Channel targets. Use the hostname, protocol,
and
id parameters to filter the targets returned.
The command returns the node, hostname, target port, status (enabled or not), and address (WWN).
The
detail parameter returns the network bindings for each target.