Site icon Default Reasoning

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:

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

Exit mobile version