SJT SOLUTIONS GmbH

VMware ESXi auf EX4 Server-Update

Die Version vom Ausgelieferten ESXi-Server ist veraltet. Auslieferungs Build-Nummer: 623860
Die aktuellen Updates kann man direkt von der VMware-Homepage ziehen oder wie bei Virtualisierung mit VMware ESXi auf EX4 – Server-Vorbereitung beschrieben herunterladen.
Die aktuellen Patche kann man auch immer von hier ziehen: http://www.vmware.com/patchmgr/download.portal (Achtung, ESX kann kein WGET über HTTPS!)
Deswegen wird nun hier gezeigt, wie man die aktuellen Updates einspielt.

ESXi-Updates

Wir verwenden hier das Kommando esxcli software vib install anstelle von update, da “update” keine neuen VIBs installiert, sondern nur bereits existierende upgradet. “install” macht beides: es upgradet existierende VIBs und installiert fehlende. Bereits existierende VIBs, die im Zip nicht enthalten sind, bleiben in beiden Fällen unangetastet.
Wichtig: Vor der Installation von Updates sollten alle VMs heruntergefahren und der Host über den vSphere Client in den Maintenance Mode versetzt werden. Dies kann man natürlich auch mit Hilfe der CLI machen.

# backup ESXi configuration to persist changes /sbin/auto-backup.sh

# enter maintenance mode

vim-cmd hostsvc/maintenance_mode_enter

Installation von ESXi500-201204001 – Build Number: 653509

~ # esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201204001.zip

Installation Result

   Message: Operation finished successfully.

   Reboot Required: false

   VIBs Installed: VMware_locker_tools-light_5.0.0-1.12.653509

   VIBs Removed: VMware_locker_tools-light_5.0.0-1.11.623860

   VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.500.0.0.469512,

…

Installation von ESXi500-201205001 – Build Number: 702118

~ # esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201205001.zip

Installation Result

   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.

   Reboot Required: true

   VIBs Installed: VMware_bootbank_esx-base_5.0.0-1.13.702118

   VIBs Removed: VMware_bootbank_esx-base_5.0.0-1.11.623860

   VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-atiixp_0.4.6-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-cmd64x_0.2.5-3vmw.500.0.0.469512,

   …

Installation von ESXi500-201206001 – Build Number: 721882

~ # esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201206001.zip

Installation Result

   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.

   Reboot Required: true

   VIBs Installed: VMware_bootbank_esx-base_5.0.0-1.16.721882

   VIBs Removed: VMware_bootbank_esx-base_5.0.0-1.13.702118

   VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-atiixp_0.4.6-3vmw.500.0.0.469512,

   …

Installation von ESXi500-201207001 – Build Number: 768111

~ # esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201207001.zip

Installation Result

   Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.

   Reboot Required: true

   VIBs Installed: VMware_bootbank_esx-base_5.0.0-1.18.768111, VMware_bootbank_misc-drivers_5.0.0-1.18.768111, VMware_bootbank_net-e1000_8.0.3.1-2vmw.500.1.18.768111, VMware_bootbank_scsi-mptsas_4.23.01.00-5vmw.500.1.18.768111, VMware_locker_tools-light_5.0.0-1.18.768111

   VIBs Removed: VMware_bootbank_esx-base_5.0.0-1.16.721882, VMware_bootbank_misc-drivers_5.0.0-1.11.623860,

  …

Installation von ESXi500-201209001 – Build Number: 821926

~ # esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201209001.zip

Installation Result

   Message: Operation finished successfully.

   Reboot Required: false

   VIBs Installed: VMware_locker_tools-light_5.0.0-1.22.821926

   VIBs Removed: VMware_locker_tools-light_5.0.0-0.0.469512

   VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.500.0.0.469512,

  …

Installation von allen Updates nach einander

esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201204001.zip

sleep 10

esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201205001.zip

sleep 10

esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201206001.zip

sleep 10

esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201207001.zip

sleep 10

esxcli software vib install –depot=/vmfs/volumes/datastore1/patches/ESXi500-201209001.zip

sleep 10

reboot

Raid-Controller Update

Überprüfen der Firmware des Raid-Controllers

Die hier installierte Firmware ist die aktuellste von LSI.

/opt/lsi/MegaCLI # ./MegaCli -adpallinfo -a0|grep ^FW

FW Package Build: 12.12.0-0111

FW Version : 2.130.353-1663

Installation des Firmware Updates vom Raid-Contoller

ACHTUNG! Bei unserem Testserver war die aktuellste Firmware schon installiert. Deswegen nur exemplarisch!

/opt/lsi/MegaCLI # ./MegaCli -adpfwflash -f /vmfs/volumes/datastore1/patches/mr2108fw.rom -a0

Adapter 0: LSI MegaRAID SAS 9260-4i

Vendor ID: 0x1000, Device ID: 0x0079

Package version on the controller: 12.12.0-0111

Package version of the image file: 12.12.0-0111

ERROR: The image file has older version than or same as that on the

       controller. The controller is not flashed.

Exit Code: 0x01