9.5 HP P4000 SAN/iQ Command-Line Interface User Guide (AX696-96069, September 2011)

16|HP P4000 CLI|Commands
Commands
addVirtualManager
This command adds a virtual manager to a group.
Availability: Windows, SAN/iQ
Version: 8.0
Request Syntax
cliq addVirtualManager login= userName= passWord=
login Required The IP address or DNS-resolvable names of one or more storage systems
userName Required The authentication user name for the storage system
passWord Required The password for the storage system
keyFile Required The encrypted key file (this is specified instead of the username and password
parameters)
Example
cliq addVirtualManager login=10.0.1.2 userName=admin passWord=secret
cliq addVirtualManager
assignVolume
This command assigns a volume to a server. This assignment sets the access to a volume, based on host
iqn(s).
Availability: Windows, SAN/iQ
Version: 8.0
Request Syntax
cliq assignVolume volumeName= initiator= login= userName= passWord=
login Required The IP address or DNS-resolvable names of one or more storage systems
userName Required The authentication user name for the storage system
passWord Required The password for the storage system
keyFile Required The encrypted key file (this is specified instead of the username and password
parameters)
volumeName Required The name of the volume
namePrefix Optional A prefix string for newly created objects. A unique number value will be concatenated
to this prefix to guarantee name uniqueness.
accessRights Optional The access rights to the volume: r - read-only, x - no access, rw - read-write (default)
initiator Optional A semicolon delimited string of host IQN's. If this is not specified, the IQN of the local
server is used (this parameter is required if run on a storage system).
vipLoadBalance Optional Use VIP load balancing for this host. This can be one of: 0, 1 - default
exclusiveAccess Optional Remove any previous server access rights to this volume. This can be one of: 0, 1 -
default