beautypg.com

HP StoreVirtual VSA Software User Manual

Page 8

background image

8 | HP P4000 CLI | Syntax

• GB - gigabytes (2^30)

• TB - terabytes (2^40)
There is no default for size units - the units must be specified. These are defined as International System of

Units (SI) for file storage (popular use).
Some values may be specified as either a size or percentage, for example, reserveQuota. The units will

determine how this is interpreted. For example:
• 10MB - 1,048,576 bytes

• 10GB - 10,737,418,240 bytes

• 10% - 1/10 of the current volume size

Password prompt
When credentials are required in the CLI, you may not want to display the password by typing the

"password=" parameter. If the username parameter is specified without the password parameter, you will be

prompted interactively for the password. This password will not be displayed.

cliq getGroupInfo login=10.0.1.2 username=admin
password: *******

Key file
Instead of specifying username/password parameters, you may choose to specify an encrypted key file

which contains the credentials. This file can be kept in a secure location, or otherwise access-controlled. To

create this file, use the createKey command.

cliq createKey login=10.0.1.2 username=admin password=secret
keyfile=key.dat
cliq getGroupInfo login=10.0.1.2 keyfile=key.dat

DNS names
You can also specify managers as a host name, provided they can be resolved by DNS:

cliq getGroupInfo login=Exchange-1 username=admin password=secret

Storage System CLI
When commands are executed on the storage systems (via SSH), no authentication parameters are required:

getGroupInfo

Integrated command shell
The CLIQ command line has an integrated shell that's executed by default when connecting directly to a

storage system, or running cliq.exe without any parameters:

>cliq
SAN/iQ Command Line Interface, v9.0 (type exit to quit)
(C) Copyright 2007-2009 Hewlett-Packard Development Company, L.P.
{{}}
CLIQ>

The integrated shell supports rich command line editing features specific to the HP P4000 API. The following

editing keys are supported:

Key

Meaning

LEFT

Moves the cursor one space to the left.

This manual is related to the following products: