HP StorageWorks Storage System Scripting Utility reference (September 2005)

port
portwwn ..........................: 1234-4321-1234-4231
directeventing .......................: enable
osmode ...............................: hpux
osmodebitmask ........................: n/a
Use the LS command to list the available LUNs on MainServer storage cell 3:
Archive: ls lun \Hosts\MainServer\3
LUNs available on this Cell:
\Hosts\MainServer\3 information:
object
objectid .............................: 00880710b4080560ae420100005002000000cc00
objectname ...........................: \Hosts\MainServer\3
objecttype ...........................: presentedunit
objecthexuid .........................: 6005-08b4-0001-42ae-0002-5000-00cc-0000
virtualdiskname ......................: \Virtual Disks\History\ACTIVE
virtualdiskid ........................: 00200710b4080560ae420100005002000000c700
hostname .............................: \Hosts\MainServer
hostid ...............................: 00800710b4080560ae420100005002000000cb00
lunnumber ............................: 3
Use the LS command to view the LUNs on \Hosts\MainServer\3 with XML option to format output in
XML:
Archive: ls lun \Hosts\MainServer\3 xml
\Hosts\MainServer\3 information:
<object>
<objectid>00880710b4080560ae420100005002000000cc00</objectid>
<objectname>\Hosts\MainServer\3</objectname>
<objecttype>presentedunit</objecttype>
<objecthexuid>6005-08b4-0001-42ae-0002-5000-00cc-0000</objecthexuid>
<objectdiskname>\Virtual Disks\History\ACTIVE</objectdiskname>
<objectdiskid>00200710b4080560ae420100005002000000c700</objectdiskid>
<hostname>\Hosts\MainServer</hostname>
<hostid>00800710b4080560ae420100005002000000cb00</hostid>
<lunnumber>3</lunnumber>
</object>
74
Conguration examples