Emulex OneCommand Manager Command Line Interface User Manual (P006980-01A Version 5.2, August 2011)

OneCommand Manager Command Line Interface User Manual Page 82
ListVMs
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd ListVMs <physical WWPN> <virtual WWPN>
Description: This command lists all virtual machines and their information for all manageable ports.
If you specify the host with the “h=<host>” option or just give the physical WWPN, only the virtual
machines for that host return. If you specify the physical port and the virtual port, only the virtual
machine for the specified virtual port returns.
The virtual machine name is only displayed if the virtual port is associated with a virtual machine on
VMware ESX 4.0/4.1. If you are running this command on any other server that has virtual ports, you will
not see the virtual machine name.
Parameters:
Physical WWPN - Adapter’s WWPN
Virtual WWPN - The WWPN of the virtual port
ListVPorts
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd ListVPorts <physical WWPN>
Description: This command lists virtual ports on the specified physical port. Leaving the physical
WWPN parameter blank lists all virtual ports on all manageable hosts that support virtual ports.
Parameters:
Physical WWPN - Adapter’s WWPN
VPortTargets
Supported by: Windows, Solaris, Linux and VMware ESX
Syntax:
hbacmd VPortTargets <physical WWPN> <virtual WWPN>
Description: This command lists targets visible to the specified virtual port.
Parameters:
Physical WWPN - Adapter’s WWPN
Virtual WWPN - The WWPN of the virtual port
Note: This command lists information for VMware ESX only.