Determining driver ESXi 5

~ # esxcfg-scsidevs -a

vmhba38 ahci              link-n/a  sata.vmhba38                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba39 ahci              link-n/a  sata.vmhba39                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba0  ahci              link-n/a  sata.vmhba0                             (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba1  qla2xxx           link-n/a  fc.20000024ff0aa474:21000024ff0aa474    (0:17:0.0) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HBA
vmhba2  megaraid_sas      link-n/a  unknown.vmhba2                          (0:22:0.0) LSI / Symbios Logic MegaRAID SAS Fusion Controller
vmhba3  qla2xxx           link-n/a  fc.20000024ff0aa479:21000024ff0aa479    (0:32:0.0) QLogic Corp ISP2532-based 8Gb Fibre Channel to PCI Express HBA
vmhba40 ahci              link-n/a  sata.vmhba40                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba32 bnx2i             unbound   iscsi.vmhba32                           Broadcom iSCSI Adapter
vmhba33 bnx2i             unbound   iscsi.vmhba33                           Broadcom iSCSI Adapter
vmhba34 bnx2i             unbound   iscsi.vmhba34                           Broadcom iSCSI Adapter
vmhba35 bnx2i             unbound   iscsi.vmhba35                           Broadcom iSCSI Adapter
vmhba36 ahci              link-n/a  sata.vmhba36                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller
vmhba37 ahci              link-n/a  sata.vmhba37                            (0:0:31.2) Intel Corporation Patsburg 6 Port SATA AHCI Controller

~ # vmkload_mod -s qla2xxx | grep Version

 Version: Version 902.k1.1-9vmw, Build: 799733, Interface: 9.2 Built on: Aug  1 2012
~ #

Determining driver ESXi 5

How to view ip address from command line ESXI


Find ID Virtual Machine:

~ # vim-cmd vmsvc/getallvms

Vmid      Name                         File                         Guest OS       Version                                                                                                        Annotation                 
10     Virtual_Lab   [storage216] Virtual_Lab/drv_va.vmx        otherLinuxGuest    vmx-04  

 
If virtual machine is power on:

~ # vim-cmd vmsvc/get.summary 10 | egrep ‘(power|ip)’
      powerState = “poweredOn”,
      ipAddress = “x.x.x.x”,

If virtual machine is power off:

~ # vim-cmd vmsvc/get.summary 10 | egrep ‘(power|ip)’
      powerState = “poweredOff”,
      ipAddress = ,
Power on the virtual machine:

~ # vim-cmd vmsvc/power.on 10

reuse the command :
 vim-cmd vmsvc/get.summary 10 | egrep ‘(power|ip)’


How to view ip address from command line ESXI