VMware 4.1 – Dell OpenManage Offline Bundle and VIB for ESXi installation script
Dear reader,
If you ever wondered how to install Dell Openmanage agents in a VMware host only by executing a simple script, fear no more..It’s possible, it’s quite simple and i will show you how
I recently had to install 7 physical hosts [Dell R515] with VMware ESXi 4.1 Update 1 and for that i come up with a very small and easy script to install Dell Openmanage agents.
For this task i just had to download the Dell OpenManage Offline Bundle and VIB for ESXi , create a local directory [c:\vmware] and run my script.
Please be aware that you need to have installed the VMware Vsphere CLI [ i used version 4.1] and in my case i installed in a 64Bits machine.
The script does the following :
- set’s the physical host in maintenance mode
- installs the Dell OpenManage Offline Bundle VIB
- brings the physical host out from the maintenance mode
To make life easier i have zipped the Dell OpenManage Offline Bundle VIB together with the script and you download it here Dell OpenManage Offline Bundle and VIB for ESXi . Please make sure you rename the file from .doc to .zip [wordpress doesn't allow to upload zip files] and extract it to c:\vmware and not c:\vmware\vmware .
At the end you should be able to see the hardware status within the vSphere client .
Script contents # START #
#Set the physical host in Maintenance Mode
cd “C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\”
vicfg-hostops.pl –operation enter –server=your_vmware_host_ip –username=root –password=yourpassword
## Install OpenManage Agent – Dell OpenManage Offline Bundle and VIB for ESXi
cd c:\vmware
vihostupdate.pl –install –bundle C:\VMware\OM-SrvAdmin-Dell-Web-6.4.0-1266.VIB-ESX41i_A00.7.zip –server=your_vmware_host_ip –username=root –password=yourpassword
#exit maintenance mode
cd “C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\”
vicfg-hostops.pl –operation exit –server=your_vmware_host_ip –username=root –password=yourpassword
Script contents # END #
