Discovering ESXi Hosts in Dell OpenManage Essentials 1.1.1

Checking the RAM configuration on servers doesn’t need to involve cracking the case. Dell OpenManage to the rescue!

Overview

  1. Install and Configure Dell OME 1.1.1 on a VM.
  2. Install OMSA on the hosts (requires a reboot).
  3. Enable SNMP on the hosts and configure the trap target.
  4. Discover the ESXi boxes in Dell OME.

Installing OMSA

  1. Download the OMSA VIB file from support.dell.com. Click PowerEdge -> Systems Management.
  2. Download and install PowerCLI.
  3. Download and install vSphere CLI.
  4. Extract the file downloaded by dell, and upload the extracted folder to a datastore accessible from the target host.
  5. Modify the following command as needed, then run it in PowerCLI to install the VIB. You can copy and paste the multi-line code into the PowerCLI window.
    # Connect to vCenter Server
    $VCUserCredentials = Get-Credential
    Connect-VIServer -Server "vcenter.domain.com" -Protocol "https" -Credential $VCUserCredentials
    $vmHost = Get-VMHost -Name vmhost1.domain.com
    Install-VMHostPatch -vmhost $vmHost -HostPath /vmfs/volumes/san-esx0-lun0/VIBs/OM-SrvAdmin-Dell-Web-7.1.0-5304.VIB-ESX50i_A00/metadata.zip
  6. Modify the following command as needed, then run it in PowerCLI to configure SNMP.
    $snmpTrapReceiver = "opsmgr.domain.com"
    $snmpTrapCommunity = "public"
    $vmHostName = "vm1.domain.com"
    $rootPass = "vm host's root password"
    $expression = "perl ""C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\vicfg-snmp.pl"" --server " + $vmHostName + " --username root --password " + $rootPass + " -t " + $snmpTrapReceiver + "@162/" + $snmpTrapCommunity
    Invoke-Expression $expression
    $expression = "perl ""C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\vicfg-snmp.pl"" --server " + $vmHostName + " --username root --password " + $rootPass + " --enable"
    Invoke-Expression $expression
    $expression = "perl ""C:\Program Files (x86)\VMware\VMware vSphere CLI\bin\vicfg-snmp.pl"" --server " + $vmHostName + " --username root --password " + $rootPass + " --test"
    Invoke-Expression $expression

You’re now ready to discover the devices in OME.

OME Discovery

  1. Open the OME Website and choose “Manage” then “Discovery and Inventory”.
  2. Next, choose ‘Add Discovery Range’.
  3. Next, add the IP information for your device.
  4. ESXi only supports WS-MAN. On the WS-MAN screen, add the root username and password for the host, then check the following boxes: Enable WS-Man Discovery, Secure Mode, Skip Common name check, and Trusted Site.
    ome-3
  5. Click ‘Finish’ to start the discovery.

If you click the ‘Manage’ link, you should now see your device. Woohoo!

Advertisements

5 thoughts on “Discovering ESXi Hosts in Dell OpenManage Essentials 1.1.1

  1. Pingback: Table of Contents | windowsmasher

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