HP P9000 Command View Advanced Edition Suite Software 7.3.1-00 CLI Reference Guide

Y (condition-n): If the specification conditions for the parameter, condition-n, are satisfied, the
command can be executed together with other commands when this parameter is specified.
N: If this parameter is specified, the command cannot be executed together with other commands.
The command is executed by itself. By omitting this parameter, the command can be executed
together with other commands.
--: This parameter does not affect whether the command is executed together with other commands.
#1
If there is a command for which this parameter is specified and a command for which this para-
meter is omitted in the same batch file, specify the command with the parameter first. A value is
automatically set for this parameter when a value is omitted. As such, if the command with the
parameter omitted is executed first, the value that is automatically assigned during the first com-
mand execution might differ from the value specified for the parameter in the second command
execution, thus causing an error.
#2
If the emulation type of the parity group specified for this parameter is something other than
OPEN-V, an error occurs with the batch function and processing stops. Confirm the emulation
type of the specified parity group before executing the batch function.
#3
If the value specified is OPEN-V or if this parameter is omitted, the command can be executed
together with other commands.
#4
If you specify a value that corresponds to P9500 or XP24000/XP20000, the command can be
executed together with other commands.
#5
For this parameter, you can specify multiple THP/Smart volume device numbers. To specify five
or more device numbers, write them separately on multiple command lines. If you specify five or
more device numbers on one command line and then perform batch processing, an error might
occur with the error message KAIC90084-E that has the response value 413 Request Entity
Too Large.
Examples of batch file creation
The following shows an example of a batch file created according to the input rules from Batch file
format and input rules on page 380 to Conditions for parameters to process commands
together on page 381.
beginbatch
hdvmcli ADDLUN model=XP12000 serialnum=14053 portname=CL1-A domain=0 devnum=816 lun=100
hdvmcli ADDLUN model=XP12000 serialnum=14053 portname=CL1-A domain=0 devnum=817 lun=101
hdvmcli ADDLUN model=XP12000 serialnum=14053 portname=CL1-B domain=0 devnum=816 lun=102
hdvmcli ADDLUN model=XP12000 serialnum=14053 portname=CL1-B domain=0 devnum=817 lun=103
endbatch
Using the batch functionality
To use the batch functionality, specify the batch option (-b or --batch) and a batch file name.
When specifying the batch option, specify the following items from the command line or in the
properties file:
Device Manager server URL
Options other than -i or --input
CLI Reference Guide 385