Home > Dell, HW, scripting, VMware > VMware 4.1 – Dell OpenManage Offline Bundle and VIB for ESXi installation script

VMware 4.1 – Dell OpenManage Offline Bundle and VIB for ESXi installation script

September 27, 2011 Leave a comment Go to comments

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 :

  1. set’s the physical host in maintenance mode
  2. installs the Dell OpenManage Offline Bundle VIB
  3. 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 #

Advertisements
  1. May 4, 2012 at 2:16 pm

    Hi,

    That is helpful, thank you very much.

    Just wondering how you are getting on with the 515’s?

    Considering getting some, over the 510’s, will use dual CPU’s.

    Thoughts kindly appreciated.

    Good blog 🙂

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: