B
Sample commands for CLI migration
Because some of the Command View CLI commands cannot be mapped directly to Command View AE CLI
commands, most Command View CLI commands are mapped to the closest Command View AE CLI
commands. Sometimes different Command View AE CLI commands are required, depending on the option
specified by the Command View CLI command.
The following provides sample command descriptions to help you to map the specified commands.
Sample Command View CLI commands versus Command View AE CLI
commands
EXPAND LUN
Command View CLI
In the Command View CLI, in a single command create a LUSE and a path to it.
XP48/XP512 arrays:
expand lun <topCU>,< topLDev>, <device ldev>, <device ldev>,... -lun [<portname>],
<scsiId>, [<lunId>], <cu>, [<ldev>]
or
expand lun <topCU>,< topLDev>, -limit <ldevCount> -lun [<portname>], <scsiId>,
[<lunId>], <cu>, [<ldev>]
XP128/XP1024/XP12000/XP10000 arrays:
create luse <topCU>, <topLDev>
[-lun
<port...>,
Command View AE CLI
With Command View AE CLI, use the ADDLUSE or ADDLUN command, depending on the operation (for
example, only LUSE creation or LUSE with path creation).
XP48/XP512 arrays
Hdvmcli AddLUN serialnum=<array serial number> model=<array type> port=<PortID>
domain=<hoststoragedomain id> lun=<free lun id> lusedevnums=<comma separated ldev
ids> scsi=<scsiid>
XP128/XP1024/XP12000/XP10000 arrays
Hdvmcli AddLUSE serialnum=<array serial number> model=<array type> devnums=<
comma separated ldev ids>
or
Hdvmcli AddLUN serialnum=<array serial number> model=<array type> port=<PortID>
domain=<hoststoragedomain id> lun=<free lun id> lusedevnums=<comma separated ldev
ids>
Sample Command View CLI versus Command View AE CLI output
Command View CLI
1) list device
CV_CLI> list device
Sending Request to CV server ...
Serial#,IPAddress,Type,Location,Contact,Manage,Ftp,Protocol
10058,15.13.170.120,XP 12000,Cupertino,Wai,manage,noftp,rmi
10033,15.43.212.61,XP 1024,HULKUL,Bangalore,manage,noftp,rmi
<hostgrpnickname>, < lunid>]
Migration User Guide for the HP Command View XP Portfolio and HP XP Remote Web Console
-continuous <offset> | -disperse <deviceldevs...>
73