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

HP P4000 CLI|Commands|55
Example
cliq help command=getSystemInfo
cliq help command=getSystemInfo
makePrimary
This command promotes a remote volume to a primary production volume.
Availability: Windows, SAN/iQ
Version: 8.0
Request Syntax
cliq makePrimary login= userName= passWord= volumeName= size=
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
size Required The size of the volume, with units specified: <n>MB - n Megabytes (1024 Kilobytes),
<n>GB - n Gigabytes (1024 Megabytes), <n>TB - n Terabytes (1024 Gigabytes)
size Optional The size of the volume, with units specified: <n>MB - n Megabytes (1024 Kilobytes),
<n>GB - n Gigabytes (1024 Megabytes), <n>TB - n Terabytes (1024 Gigabytes)
Example
cliq makePrimary login=10.1.2.3 userName=admin passWord=secret
volumeName="TheVolume" size=1GB
cliq makePrimary volumeName="TheVolume" size=1GB
makeRemote
This command demotes a primary volume to a remote snapshot target.
Availability: Windows, SAN/iQ
Version: 8.0
Request Syntax
cliq makePrimary login= userName= passWord= volumeName= snapshotName=
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
snapshotName Required The name of the remote snapshot