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

NOTE:
When executing the AddStorageArray command for a storage system, do not shut down hosts
that are using storage system volumes, and do not stop the Device Manager agent. If you do so,
the AddStorageArray command might take longer to perform.
When using the AddStorageArray command to register storage system information, HP recom-
mends that, for the parameter userid, you specify a different user ID from user IDs that other
storage system management tools use.
If execution of the AddStorageArray command results in an error, take appropriate action
according to the error message, and then re-execute the AddStorageArray command. When
the AddStorageArray command is executed, information obtained from the storage system is
divided into transactions and stored in the Device Manager database. Therefore, if an error occurs
during processing, the configuration information in the Device Manager database becomes incon-
sistent with the configuration information of the actual storage system. If the database is inconsistent,
there might be limitations on the operations below for the target storage system. To check whether
the database is inconsistent, execute the GetStorageArray command. If a value other than 0
is written for statusOfDBInconsistency (which is displayed under An instance of
StorageArray as the result of the GetStorageArray command), the status of the database
is inconsistent. For details about the meaning of the statusOfDBInconsistency values other
than 0, see StorageArray instance on page 424.
Format for P9500, XP24000/XP20000, XP12000/XP10000/SVS200, and XP1024/XP128
hdvmcli [URL] AddStorageArray [options]
ipaddress=IP address family=storage-system-family
[displayfamily=storage-system-family-to-be-displayed]
[userid=user-ID arraypasswd=user-password]
Format for SMI-S enabled storage systems
When registering an SMI-S enabled storage system:
hdvmcli [URL] AddStorageArray [options]
ipaddress={IP-address-of-SMI-S-provider|host-name-of-SMI-S-provider}
family=SMI-S_Enabled displayfamily=SMI-S_Enabled
userid=user-ID arraypasswd=user-password
[protocol={Non-secure|Secure}]
[portnumber=port-number-of-SMI-S-provider-service]
When refreshing an SMI-S enabled storage system:
hdvmcli [URL] AddStorageArray [options]
ipaddress={IP-address-of-SMI-S-provider|host-name-of-SMI-S-provider}
family=SMI-S_Enabled [displayfamily=SMI-S_Enabled]
[userid=user-ID arraypasswd=user-password]
[protocol={Non-secure|Secure}]
[portnumber=port-number-of-SMI-S-provider-service]
saobjid=object-ID-of-SMI-S-enabled-storage-system
CLI Reference Guide 89