ESXi6 kernel log (dmesg)

Understanding SCSI device/target NMP errors/conditions in ESX/ESXi 4.x and ESXi 5.x/6.0 (1030381)

2016-10-27T12:50:47.496Z cpu7:32798)ScsiDeviceIO: 2651: Cmd(0x439d80358400) 0x1a, CmdSN 0x1d1f2 from world 0 to dev “mpx.vmhba33:C0:T0:L0” failed H:0x0 D:0x2 P:0x0 Valid sense data: 0x5 0x24 0x0.

Host Status = 0x0 = OK
Device Status = 0x2 = Check Condition
Plugin Status = 0x0 = OK

Sense Key = 0x5 = ILLEGAL REQUEST
Additional Sense Code/ASC Qualifier = 0x24/0x0 =INVALID FIELD IN CDB
For a complete list of possible Sense Keys, see SCSI Sense Keys
For a complete list of Additional Sense Code/ASC Qualifier pairings, see ASC-NUM.TXT

ESXi disk (LUN) property check

Identifying disks when working with VMware ESXi/ESX (1014953)

 

Run these commands to collect disk and LUN information from ESXi 6:

  • Run the esxcli storage core path list command to generate a list of all LUN paths currently connected to the ESXi host.
  • Run the esxcli storage core device list command to generate a list of LUNs currently connected to the ESXi host.
  • Run the esxcli storage vmfs extent list command to generate a list of extents for each volume and mapping from device name to UUID.
  • Run the esxcli storage filesystem list command to generate a compact list of the LUNs currently connected to the ESXi host, including VMFS version.
  • Run the ls -alh /vmfs/devices/disks command to list the possible targets for certain storage operations.

 

 

 

http://pubs.vmware.com/vsphere-60/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-601-storage-guide.pdf

http://pubs.vmware.com/vsphere-60/topic/com.vmware.ICbase/PDF/vsphere-esxi-vcenter-server-602-host-management-guide.pdf

 

Local Storage as RDM

https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1017530

/vmfs/devices/disks           for local or SAN-based disks.

/vmfs/devices/lvm               for ESXi logical volumes.

/vmfs/devices/generic        for generic SCSI devices.

To configure a local device as an RDM disk:
  1. Open an SSH session to the ESXi/ESX host.
  2. Run this command to list the disks that are attached to the ESXi host:# ls -l /vmfs/devices/disks
  3. From the list, identify the local device you want to configure as an RDM and copy the device name.Note: The device name is likely be prefixed with t10. and look similar to:

    t10.F405E46494C4540046F455B64787D285941707D203F45765
  4. To configure the device as an RDM and output the RDM pointer file to your chosen destination, run this command:# vmkfstools -z /vmfs/devices/disks/diskname /vmfs/volumes/datastorename/vmfolder/vmname.vmdkFor example:

    # vmkfstools -z /vmfs/devices/disks/t10.F405E46494C4540046F455B64787D285941707D203F45765 /vmfs/volumes/Datastore2/localrdm1/localrdm1.vmdk

    Note: The size of the newly created RDM pointer file appears to be the same size and the Raw Device it it mapped to, this is a dummy file and is not consuming any storage space.

  5. When you have created the RDM pointer file, attach the RDM to a virtual machine using the vSphere Client:
    1. Right click the virtual machine you want to add an RDM disk to.
    2. Click Edit Settings.
    3. Click Add.
    4. Select Hard Disk.
    5. Select Use an existing virtual disk.
    6. Browse to the directory you saved the RDM pointer to in step 5 and select the RDM pointer file and click Next.
    7. Select the virtual SCSI controller you want to attach the disk to and click Next.
    8. Click Finish.
  6. You should now see your new hard disk in the virtual machine inventory as Mapped Raw LUN.

Four ways to update HP iLO firmware

http://techmolecules.blogspot.com/2014/08/four-ways-to-update-hp-ilo-firmware.html

HP iLO firmware are scexe (self extracting files).  To get the iLO firmware, search system model on support section of hp.com.

ONE : From OS (Linux) CLI use scexe file

– Download iLO firmware say CP023069.scexe
– Unpack it
$ cd /tmp
$ chnmod 755 CP023069.scexe
$ ./CP023069.scexe
– follow online instruction
– Check iLO new version
$ curl http:///xmldata?item=All

TWO : From iLO CLI load bin file

On some webserver ( that should be on same same vlan as iLO valn and network), copy firmware bin file in DocumentRoot.

$ ./CP023069.scexe –unpack=firmware
$ cd firmware
$ cp firmware/ilo2_NNN.bin $DocumentRoot (usually /var/www/html/)

– Login on iLO over ssh and upload firmware
$ssh -l Administrator
– To see current iLO version
iLO> show

– to check if your web servers is pingable from iLO (to get iLO bin file)
iLO> cd /map1
iLO> oemhp_ping
iLO> load -source http:///firmware/ilo2_NNN.bin

– Your session will seems to hang for 2-3 minute – do not worry ! If all is good. iLo firmware will be upgraded and iLO will be rebooted. Check iLo version
$ curl http:///xmldata?item=All

THREE : Using iLO WebUI to upload bin file

– Download and save ilo firmware bin files extracted above by keying in below in you web browser
http:///firmware/ilo2_NNN.bin
-access iLO Web UI, go to Administration tab and upload bin file to upgrade iLO firmware
http://

FOUR : HPSIM to push firmware

– Use HPSIM if you  paying SIM license fee !

Reference : http://pipe2text.com/?page_id=1908