beautypg.com

Table 4-12 addstoragearray command parameters – HP StorageWorks XP10000 Disk Array User Manual

Page 31

background image

Command Line Interface Commands 31


Yes: System Administrator, Storage Administrator

No: Guest, Local Guest

Restricted: A Local System Administrator or Local Storage Administrator can use this command only
when updating the registered information.

NOTE:

When you are performing this command, do not shut down the hosts that are using storage

subsystem volumes, or the host for the Device Manager agent, or execution might take longer.

Format for StorageWorks XP12000/XP10000 and StorageWorks XP1024/XP128:

hdvmcli [URL] AddStorageArray [options] ipaddress=IP address family=array-family

(displayfamily=array-family-to-be-displayed) [userid=user-name arraypasswd=user-password]

Format for StorageWorks XP512/XP48:

hdvmcli [URL] AddStorageArray [options] ipaddress=IP address family=array-family

(displayfamily=array-family-to-be-displayed) [searchcommunity=searchcommunity]

Table 4-12

AddStorageArray Command Parameters

Parameter Name

Status

Description

arraypasswd

Optional
(XP12000/XP10000
and XP1024/XP128
only)

User password for array access.
For StorageWorks XP12000/XP10000 and XP1024/XP128, required only at
the initial identification.
If you are refreshing information, you can omit this parameter if the user
password was not changed.

displayfamily

Optional

Display array family of the target array.
This parameter is required at the initial identification. Obtain the values
available for this parameter from the execution result of the GetServerInfo
command. In the execution result of this command, a combination of the
arrayFamily

and displayArrayFamily values appears. For the

StorageWorks XP Disk Array, use the displayArrayFamily value to
specify the family and displayfamily parameters.

family

Required

Array family of the target array.

ipaddress

Required

Array IP address.

searchcommunity

Optional
(XP512/XP48 only)

SNMP Community string, used for identifying device elements via SNMP
(StorageWorks XP512/XP48 array). Default is public.

userid

Optional
(XP12000/XP10000
and XP1024/XP128
only)

User ID for array access.
For StorageWorks XP12000/XP10000 and StorageWorks XP1024/XP128,
required only at the initial identification.
When refreshing information, you can omit this parameter if the user ID was
not changed.

Command execution example: In this example, the CLI command accesses and detects the storage
subsystems in an array family (family: XP1024/128, IP address: 172.16.45.1). The command specifies the
user ID (root) and the user password (hdvm). Information about the detected storage subsystems is
registered in the Device Manager database.

hdvmcli AddStorageArray -o "D:\logs\XP1024 AddStorageArray.log" ipaddress=172.16.45.1

family=XP1024/128 userid=root arraypasswd=hdvm displayfamily=XP1024/128

Command execution result:

RESPONSE:

An instance of StorageArray

objectID=ARRAY.HDS9980V.10001

[email protected]

description=XP1024 (10001) at 172.16.45.1

serialNumber=10001

arrayFamily=HDS9900V

arrayType=HDS9980V

microcodeVersion=21-03-00/00