Assignvolumechap, Assignvolumetoserver – HP StoreVirtual VSA Software User Manual

Page 17

Advertising
background image

HP P4000 CLI | Commands | 17

Example

cliq assignVolume volumeName=TheVolume
initiator=iqn.1991-05.com.microsoft:w-gregorio.corp.hp.com
login=10.0.1.2 userName=admin passWord=secret

cliq assignVolume volumeName=TheVolume
initiator=iqn.1991-05.com.microsoft:w-gregorio.corp.hp.com

assignVolumeChap

This command assigns a volume to a server. This assignment sets the access to a volume, using CHAP

authentication.

Availability: Windows, SAN/iQ
Version: 8.0
Request Syntax

cliq assignVolumeChap volumeName= targetSecret= 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

targetSecret Required The CHAP target secret for 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)

chapName Optional 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).

initiatorSecret Optional The CHAP initiator secret for the volume.

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

Example

cliq assignVolumeChap volumeName=TheVolume targetSecret=ItsASecret
login=10.0.1.2 userName=admin passWord=secret

cliq assignVolumeChap volumeName=TheVolume targetSecret=ItsASecret

assignVolumeToServer

This command assigns a volume to a server.

Availability: Windows, SAN/iQ
Version: 9.0
Request Syntax

cliq assignVolumeToServer volumeName= serverName= login= userName= passWord=

Advertising
This manual is related to the following products: