HP Storage Essentials V5.1 CLI Guide First Edition (T4283-96029, August 2006)

CLI Commands50
appiqcreate -hostsecuritygroup <storage system
id> -port <list of storage system port ids> -initiator
<list of host port wwns | list of host port Ids> [-name
<name>]
Description: Creates a host security group with the given name that is associated to the specified
list of initiators (host ports) and specified list of storage system ports.
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.
<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