6-2 addlungroup, Table 4-66 addlungroup command parameters – HP XP Command View Advanced Edition Software User Manual
Page 174
Command line interface commands
174
scsiID=15
LUN=120
wwnSecurityValidity=true
*****
: The value is encoded by the CLI.
4-6-2 AddLunGroup
AddLunGroup
adds a LUN group to a port on the target storage subsystem. The path from the host
is set for the LUN group added to the port (see
A user who has only View permission cannot execute this command. A user to whom a user-defined
resource group is assigned, and who also has Modify permission, can execute this command for
any resources.
NOTE:
AddLunGroup is supported by XP512/XP48 storage subsystems only.
Table 4-66
AddLunGroup command parameters
Parameter Name Status
Description
serialnum
Required
Serial number of the target storage array to which the LUN group is added
model
Required
Model of the target storage array to which the LUN group is added
port
Optional
Port number of the LUN group
NOTE:
Specify either port or portname. Do not specify both parameters
at the same time. This might cause an error to occur.
portname
Optional
Port name of the LUN group
NOTE:
Specify either port or portname. Do not specify both parameters
at the same time. This might cause an error to occur.
groupelements
Required
Comma-separated list of one or more object IDs of the paths to be added
to the LUN group
Specify the comma-delimited objectIDs obtained from another CLI
response. The values are encoded by the CLI.
nickname
Required
Unique nickname of the LUN group
You can use the following characters:
A-Z a-z 0-9 ! # $ % & ' ( )
+ - . = @ [ ] ^ _ ` { } ~
The number of characters that can be used for a nickname is 1-8 bytes.
name
Optional
The name given to the LUN group
The number of characters that can be used for a name is 1-64 bytes.
NOTE:
Spaces at the beginning or end of a name are not registered.
Command execution example:
hdvmcli AddLunGroup -o "D:\logs\XP512 AddLunGroup.log" "serialnum=10001"
"model=XP512" "port=19" "groupelements=*****" "nickname=hp" "name=hp"
*****
: The value is encoded by the CLI.
Command execution result:
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)