Legacy HDS Forums

get all the hostgroup path combinations for an ldev

Discussion created by Legacy HDS Forums on Jan 16, 2012
Latest reply on Jan 19, 2012 by Legacy HDS Forums

Originally posted by: kirkland



on the USPV I've figured out how to add a lun to a hostgroup - example
HiCommandCLI AddLun model=R600 serialnum=11111 name=VMWare_Replicated portname=CL5-B domainnickname=hostgoup-name-on-cl lun=27 devnum=00:03:10

Because I have a VMware cluster of about 30 servers and 120 some paths I'd like to find all the pairs of
portname and domainnickname
This would allow me to script the adding of a new ldev to all the 120 paths in short order. I've been pondering the Device Manager CLI user guide but so far it is escaping me.

Outcomes