Latest Articles

Install Dell OpenManage on ESXi 4.1 using vSphere CLI or vMA.

Here is a quick step-by-step guide on how to install the Dell OpenManage software on an ESXi host using the VMware vSphere Command Line interface (vSphere CLI) or the VMware vSphere Management Assistant (vMA). After the installation you’ll have to enable the CIM OEM provider so you can manage the host with Dell OpenManage Server Administrator. Before you begin make sure you have the following:

  • VMware vSphere CLI installed on your system or
  • VMware vMA up and running
  • Downloaded Dell OpenManage software bundle for ESXi
  • VMware vSphere Client (optional)

Ready? Go!

Installing the software and enabling the CIM OEM provider using the vSphere CLI

  1. First, put the ESXi host in the maintenance mode through the vCenter Server using the GUI or with vSphere CLI by typing the following command. Make sure you execute the command from the “C:Program FilesVMwareVMware vSphere CLIPerlappshost” directory. Type: C:>…hostops.pl --target_host --operation enter_maintenance --url https:///sdk/vimService.wsdl
  2. Provide the vCenter Server credentials.
  3. If successful, you will see “Host <hostname> entered maintenance mode successfully” message.
  4. Next, install the software by typing: C:\>Program FilesVMwareVMware vSphere CLI>vihostupdate.pl --server <FQDN_ESXi_Host> -i -b D:…OM-SrvAdmin-Dell-Web-6.5.0-2247.VIB-ESX41i_A01
  5. Enter the root username and password of the host and press Enter.
  6. Wait until the installation is finished. You will see the following message:.
  7. Reboot the host by typing: C:\>…hostops.pl --target_host <FQDN_ESXi_Host > --operation reboot --url https:///sdk/vimService.wsdl
  8. The installation part is finished. Next, enable the CIM OEM provider on the host.
  9. Enter the following command: C:\>…vicfg-advcfg.pl --server --set 1 UserVars.CIMoemProviderEnabled
  10. Enter the root credentials and press Enter.
  11. Reboot the host.
  12. Wait until the host is back online and exit the maintenance mode by typing: C:\>…hostops.pl --target_host --operation enter_maintenance --url https:///sdk/vimService.wsdl
  13. Enter the vCenter Server credentials and press Enter.
  14. Done! 🙂

Installing the software and enabling the CIM OEM provider using the vMA

  1. First, copy the downloaded Dell OpenManage software to a directory on the vMA. In my case, I created a directory called /Software/DellOpenManage under the /home/vi-admin directory.
  2. Login directly or through SSH to the vMA.
  3. First, add the ESXi host to the vMA: [vi-admin@vMA/]$ vifp addserver <FQDN_ESXi_Host>
  4. Provide the root password for the ESXi host and press Enter.
  5. Set the ESXi host as the target for this session: [vi-admin@vMA/]$ vifptarget –set (Tip: Hit the Tab button for a list of known servers)
  6. Place the host in the maintenance mode by typing: [vi-admin@vMA/][Server_Name]$ vicfg-hostops -o enter
  7. Wait untill the hosts enter the maintenance mode and install the software by typing: [vi-admin@vMA/][Server_Name]$ vihostupdate –i –b /home/vi-admin/Software/DellOpenManage/
  8. Wait until the software is installed and reboot the server by typing: [vi-admin@vMA/][Server_Name]$ vicfg-hostops –o reboot
  9. After the reboot, enable the CIM OEM provider by typing: [vi-admin@vMA/][Server_Name]$ vicfg-advcfg –s 1 UserVars.CIMoemProviderEnable
  10. Reboot the server once again.
  11. Done! 🙂

Alternatively, you can enable the CIM OEM provider using the vSphere Client after the software installation and reboot of the host:

  1. Select the host in the vCenter Server navigate to Configuration -> Software -> Advanced Settings.
  2. Click on UserVars in the left panel and change the value of the CIMoemProviderEnabled field to 1. Click OK.
  3. Restart the ESXi host.
  4. Wait untill the host is back online, exit the maintenance mode and you’re done! 🙂

Cheers!

– Marek.Z

About Marek (293 Articles)
Marek is an IT professional with 15+ years of experience in the IT industry and is currently working as PSO Senior Consultant SDDC at VMware for the NEMEA region.

12 Comments on Install Dell OpenManage on ESXi 4.1 using vSphere CLI or vMA.

  1. I don’t know what version you have, but for ESXi 4.1 Update 1 Build 348481, I tried OM-SrvAdmin-Dell-Web-6.5.0-2247.VIB-ESX41i_A01.zip
    Install fine, but when you use the Server Administrator Web send an error:
    Login failed….Internal Error
    Be careful when you go Update 1!!

    • Hi Alex,

      Blog post was indeed based on the pre-update 1 software of ESXi (build 260247). Thanks for sharing, appreciate it!

      Cheers!

  2. Fantastic write-up, Marek. Just had the SAME problem as Alex (Thanks for posting your information, too)… Seems to be broken with Open Manage 6.5.0-2247 on ESXi 4.1 Update 1… I actually removed the package:

    vihostupdate.pl –server host.name -r -B cross_oem-dell-openmanage-esxi_6.5-0000

    Then downloaded and re-installed:

    OM-SrvAdmin-Dell-Web-6.3.0-2075.VIB-ESX41i_A00.8.zip

    Dell doesn’t actually state this VIB is supported by ESXi 4.1 Update 1, but it DID work for me on a Poweredge 2900 series server running 4.1U1. Thanks again for the write-up.

    • Hi JR,

      Thanks for visit and comment. Nasty issue, I hope Dell will solve it soon.

      Cheers!

    • Hello JR,
      6.5.0-2247 is working under 4.0 Update1, you just have to :
      – install Open MAnage package
      – reboot
      – goto vSphere console Configuration=>Advanced Settings=>Software=>UserVars=>CIMoemProviderEnabled
      set value from 0 to 1
      – reboot again

  3. Your commands in CLI section are all messed up. For example, you have:

    hostops.pl –target_host –operation enter_maintenance –url https:///sdk/vimService.wsdl

    when it needs to be:

    hostops.pl -target_host -operation enter_maintenance -url https:///sdk/VimService.wsdl

    I also couldn’t get #9 to run at all. It kicks back an error complaining about https://localhost/sdk/VimService.wsdl. Even if you specify -url with the path to the server, it then says “must specify a path” even though the syntax is right for the UserVars. I rtied to find why it didn’t like it but gave up after about a 1/2 hour and used the vSphere client to set the variable to 1.

    Although it pointed me in the right directions, there are some serious flaws in the documentation for the CLI process.

  4. rofl, I realized why your commands are all messed up. Apparently your blog strips out angle brackets. I used them in my reply and it stripped them out there too.

    • Hi Ted,

      Yes, indeed. WordPress messes up the formatting. I tried to fixed that but it doesn’t work unfortunately…

      I hope my blog helped you somehow. I’ll put a notice in the blog for others to be aware of that. Thanks.

      Cheers!

      Update: I have fixed the double dash issue on the post when using vSphere CLI. The formatting should be correct when you copy/paste it.

  5. Nice write-up Marek, but once this is installed, how exactly do you access it? Sorry I’m new to VMware, so unsure as to how to access the DELL OMA site?
    Thanks
    –S

Leave a reply...