HP StorageWorks P9000 Command View Advanced Edition Suite Software 7.1 CLI Reference Guide (TB581-96051, May 2011)

Command parameters and specified values cannot be enclosed in " and '.
Aside from parameter specifications, a \ must be specified to escape the following characters:
spaces ! " # $ % & ' ( ) * + < > ? @ [ \ ] ^ ` { | } ~
The following shows an example specification where Lun10 HOST2, a string containing a space,
is specified for the name parameter.
hdvmcli AddLun name=Lun10\ HOST2 model=XP12000 serialnum=14053
Conditions for parameters to process commands together
When commands are executed together, the following conditions must be satisfied for the parameter
values and combinations on consecutive command lines.
Condition-1: Specify the same values as the previous lines.
This means that the same parameters and parameters values as previous lines must be specified.
If you specify the same parameter but use a different value, the commands will not be executed
together.
For example, if you specify model=XP12000 for the AddExternalArrayGroup command in
the first line, you also need to specify model=XP12000 in the second line to execute commands
together.
In addition, for a parameter for which the default value is set when you omit the parameter, you
need to specify the parameter in the following line exactly as in the previous line.
For example, if you omit the luoption parameter of the AddExternalArrayGroup command,
luoption=none is assumed. To execute commands together, if you omit the parameter in the
first line, you also need to do so in the next line. If you specify luoption=none in the first line,
you also need to do so in the next line.
Condition-2: Specify the same parameters as the previous lines.
This means that the same parameters as previous lines must be specified. If you specify the same
parameter, the commands will be executed together even if the parameter value is different from
the previous line.
For example, if you specify the port and domain parameters for the AddLun command in the
first line, you also need to specify the same parameters in the second line to execute commands
together. If you add a parameter that is not specified in the first line, for example, if you specify
port, domain, and devnum parameters in the second line, the commands will not be executed
together.
Condition-3: Specify values.
This means that a parameter value must be specified. If a parameter value is specified for which
the command cannot be executed together with other commands, the command is executed by
itself.
The following table lists the parameters for each command that can be specified in a batch file, and
the specification conditions for the parameters (whether the parameter can be specified for a command
when the command is executed together with other commands, and if so, the conditions that must be
Device Manager CLI command reference336