HP StorageWorks Command View XP Advanced Edition Device Manager CLI User Guide (December 2005)
Command Line Interface Commands 65
4-4-2 AddLunScan
AddLunScan scans a storage array for LUNs not assigned to a logical group (see Table 4-40). It assigns those
LUNs to subgroups of the “LUN Scan” group according to port and security. AddLunScan creates those
subgroups, as necessary, returning the specified storage array, and each of the previously unassigned LUNs.
Users with access to this command:
• Yes: System Administrator, Storage Administrator
• No: Guest, Local System Administrator, Local Storage Administrator, Local Guest
Table 4-40 AddLunScan Command Parameters
Parameter Name Status Description
serialnum Required Serial number of the storage array to scan.
model Required Model of the storage array to scan.
Command execution example:
hdvmcli AddLunScan -o "D:\logs\XP1024 AddLunScan.log" "serialnum=10001" "model=XP1024"
Command execution result:
RESPONSE:
An instance of StorageArray
.
. (Attributes of StorageArray are omitted here)
.
List of 94 HostStorageDomain elements:
An instance of HostStorageDomain
objectID=HSDOMAIN.HDS9980V.10001.0.0
portID=0
domainID=0
hostMode=HP
displayName=CL1-A-0
nickname=1A-G00
.
. (repeated for other HostStorageDomain instances)
.
List of 283 Path elements:
An instance of Path
objectID=PATH.HDS9980V.10001.0.0.101
devNum=101
portID=0
domainID=0
scsiID=15
LUN=8
wwnSecurityValidity=true
.
. (repeated for other Path instances)
.
4-4-3 AddObjectForLogicalGroup
AddObjectForLogicalGroup adds one or more existing objects (HostStorageDomain or host) to a specified
logical group on the Device Manager server (see Table 4-41).
Users with access to this command:
• Yes: System Administrator, Storage Administrator, Local System Administrator, Local Storage
Administrator
• No: Guest, Local Guest
NOTE: If AddObjectForLogicalGroup is used with Web Client, Web Client may not display logical
groups and hosts.