HP Storage Essentials V5.00.01 CLI guide (T4283-96015, January 2006)

CLI Commands50
obtain the host port ID or its WWN from several methods, such as from the following command:
appiqlist –device –host <host id> -port
<List of storagesystem ports IDs> - is a list of storage system port IDs.
<list of volume ids> - is a list of storage system volume IDs.
<Name> (optional) is the name you specify for the host security group
appiqcreate -hostsecuritygroup <storage system
id> -port <list of storage system ports> -initiator <list
of host port wwns | list of host port Ids> -volume <list
of volume ids> -deviceaccess <list of deviceaccess
values> [-name <name>]
Description: Creates a host security group with a given name that is associated to the specified list
of initiators (host ports), specified list of storage system ports, specified list of volumes. Device access
specifies access level to each of the specified storage volume.
where:
<storage system id> - The storage system identifier can be obtained from several methods,
such as from the appiqlist -device -storagesystem -all command.
<list of host port wwns | list of host port Ids> - is a list of host ports
(initiators). You can give either the port ID or its 16 digit world wide name (WWN). You can
obtain the host port ID or its WWN from several methods, such as from the following command:
appiqlist –device –host <host id> -port
<List of storagesystem ports IDs> - is a list of storage system port IDs.
<list of volume ids> - is a list of storage system volume IDs.
<list of deviceaccess values> - is list of volume access rights for each volume
specified by <list of volume ids> is a list of volume access rights for each volume
specified by <list of volume ids>. You must provide one of the following access types
(numbers) for each volume specified:
•0: Unknown Access
2: Read Write
•3: Read-Only
4: No Access
<Name> (optional) is the name you specify for the host security group
Adding a list of initiator, volumes or storagesystem ports to a host security group (HSG) is specific to
the storage system. Some storage system may not support adding more than one volume or initiator
to the same HSG. Some storage systems may not support adding same volume to more than one
HSG. You can obtain information about HSGs from the following command:
Appiqshow -device -storagesystem <storagesystem id> -maskingcapabilities
Security
Use the following CLI commands to view information about users, groups and roles.