11.0 HP StoreVirtual LeftHand OS Command Line Interface User Guide (AX696-96291, September 2013)

DescriptionName
The password for the storage system. Required when the userName
parameter is used.
{passWord}
The name of the volume in the management group.{volumeName}
The CHAP target secret for the volume.{targetSecret}
A prefix string for newly created objects. A unique number value will be
concatenated to this prefix to guarantee name uniqueness.
[namePrefix]
The access rights to the volume. Value are r—Read-only, x—No access, and
rw—Read-write (default).
[accessRights]
The CHAP name for the volume. If this is not specified, the IQN of the local
server is used (this parameter is required if run on a storage system).
[chapName]
The CHAP initiator secret for the volume.[initiatorSecret]
Use VIP load balancing for this host. Values are 0—Disabled and 1—Enabled.
The default value is 1.
[vipLoadBalance]
Remove any previous server access rights to this volume. Values are
0—Disabled and 1—Enabled. The default value is 1.
[exclusiveAccess]
Example 3 Windows
cliq assignVolumeChap volumeName=TheVolume targetSecret=ItsASecret
login=10.0.1.2 userName=admin passWord=secret
Example 4 SSH
assignVolumeChap volumeName=TheVolume targetSecret=ItsASecret
assignVolumeToServer
Description
Assign a volume to a server (use for either iSCSI or Fibre Channel).
Syntax
assignVolumeToServer {login=} { userName= passWord= | groupName= }
{volumeName=} {serverName=} [accessRights=] [transport=] [lun=]
Parameters
DescriptionName
The IP addresses or DNS-resolvable names of one or more storage systems.{login}
The authentication user name for the storage system. If you use this parameter,
you must include the passWord parameter with it. Or, you can use the
groupName parameter instead of userName and passWord.
{userName}
The name of the management group. Use this parameter if you do not use
the userName and passWord parameters. Because groupName has cached
credentials, it does not require the userName and passWord parameters.
{groupName}
The password for the storage system. Required when the userName
parameter is used.
{passWord}
The name of the volume in the management group.{volumeName}
The name of the server.{serverName}
assignVolumeToServer 17