نصب ESXI6.0 در سرور DL380 G5

For a VMWare Horizon View POC in our environment we recieved an old HP DL380 G5 with nice specs: 2 phy. Quad-CPUs, 32GB RAM, RAID-Controller with write Cache, and quite everything redundant.

As SSDs are getting more and more beneficial, we bought 4 Kingston 300v SSD with 480GB of space and installed them in the OEM cases of the HP disks. Yes, this works!

For our tests this hardware is more than enough.

First of all I googled around to see if there was already someone who tried to install ESXi 6.0 on an old DL380 G5 as it isn’t a supported hardware. I’ve found this article from a guy that was having problems with the HP custom iso installing it on a G5 server:

http://htluo.blogspot.ch/2015/05/esxi-60-on-hp-dl380-g5.html

So I decided to have a try with the original ISO. After booting the Image I received an error message saying that I’m using unsupported hardware. Thank’s for the information but I know this already You can accept the information an run-through.

After the installation completed, I connected to the ESXi server with the VIClient. Everything looked well with the exception of the hardware. There was no hardware listed.

This is because the HP drivers are not integrated into the image. So I downloaded the needed VIBs from the HP VIB repository and installed them (the text in the brackets is not part of the command). For those who don’t know what a VIB is, have a look on this article:

۱-cd /tmp
۲-wget http://vibsdepot.hp.com/hpq/latest/esxi-600-bundles/hp-esxi6.0uX-bundle-2.3-16.zip (CIM Providers for Monitoring)
۳-wget http://vibsdepot.hp.com/hpq/latest/esxi-600-bundles/hp-nmi-esxi6.0-bundle-2.3.14.zip (NMI No masakble driver Driver – Insight Management Log)
۴-wget http://vibsdepot.hp.com/hpq/latest/esxi-600-bundles/hp-ams-esxi6.0-bundle-10.2.0-8.zip (Agentless Management Service (AMS) – limited limited HP CIM Providers – only used for vCenter)
۵-wget http://vibsdepot.hp.com/hpq/latest/esxi-600-bundles/hp-HPUtil-esxi6.0-bundle-2.3-10.zip (Utilitys like ILO CMDs, RAID Controller CMDs)

Before I could install the VIBs I had to put the ESX server in maintenance mode:

۱-vim-cmd /hostsvc/maintenance_mode_enter

If you receive a message like this, this is because there are VMs running on the system:

۱-Enter maintenance mode mode failed
۲-‘vim.Task:haTask-ha-host-vim.HostSystem.enterMaintenanceMode-32575’

So I had to check what VMs are running on the system and stop them. You can do this with the VI Client or with the shell:

۱-esxcli vm process list
۲-vcenter1
۳-<strong>World ID: 36637</strong>
۴-Process ID: 0
۵-VMX Cartel ID: 36636
۶-UUID: 56 4d e9 93 4c 25 5b ff-27 a5 96 07 bc 35 52 75
۷-Display Name: vcenter1
۸-Config File: /vmfs/volumes/55e6de01-316d5c5d-d9ae-00237d251942/vcenter1/vcenter1.vmx

۹-

۱۰-view1
۱۱-<strong>World ID: 36956</strong>
۱۲-Process ID: 0
۱۳-VMX Cartel ID: 36955
۱۴-UUID: 56 4d 2c 80 b8 a7 43 be-67 57 83 65 83 b3 22 ba
۱۵-Display Name: view1
۱۶-Config File: /vmfs/volumes/55e6de01-316d5c5d-d9ae-00237d251942/view1/view1.vmx

Now that we have the world id of the VM (similar to the PID), we can stop the VMs with those commands:

۱-esxcli vm process kill –type=soft –world-id=36637
۲-esxcli vm process kill –type=soft –world-id=36956

Retry now to run the enter maintenance mode command and check the state with this command:

۱-vim-cmd /hostsvc/hostsummary | grep inMaintenanceMode

The output should look similar to this:

۱-inMaintenanceMode = <strong>true</strong>,

As you can see, the ESX server is now in maintenance mode. So i could begin with the installation of the VIBs. For this I used the esxcli “software vib install”. It is important that you write the full path to the VIB file. Otherwise the command ends with an error:

۱-esxcli software vib install -d /tmp/hp-nmi-esxi6.0-bundle-2.3.14.zip
۲-esxcli software vib install -d /tmp/hp-HPUtil-esxi6.0-bundle-2.3-10.zip
۳-esxcli software vib install -d /tmp/hp-ams-esxi6.0-bundle-10.2.0-8.zip
۴-esxcli software vib install -d /tmp/hp-esxi6.0uX-bundle-2.3-16.zip

The output should look similar to this:

۱-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: Hewlett-Packard_bootbank_hpnmi_600.2.3.14-2159203
۷-VIBs Removed:
۸-VIBs Skipped:

As you can see in the message, the system requires a reboot after the installation. So we can now reboot the system with the reboot command.

منبع:http://vpxa.info