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!

Installing Dell OpenManage Essentials 1.1.1

Dell OpenManage Essentials, or OME, is the ITA and Server Administrator replacement. You install it on a server, then connect to that server with a web browser. It’s pretty sweet.

Here’s what it looks like when finished:

ome-0-edited

 

ome-1

Reference

Overview

  1. Install SQL Server Express R2
  2. Install the Prereqs
  3. Install OME
  4. Update to 1.1.1
  5. Discover Devices

SQL and Prereqs

  1. The SQL Install is straight-forward; nothing special is necessary.
  2. Run the following command in Powershell to install IIS:
    Import-Module ServerManager
    Add-WindowsFeature Web-Server,Web-Windows-Auth,Web-App-Dev,Web-Url-Auth,Web-Filtering,Web-IP-Security,Web-ASP,Web-ASP-Net,Web-Net-Ext,Web-ISAPI-Filter,Web-ISAPI-Ext,Web-ASP,Web-Stat-Compression,Web-Dyn-Compression,Web-Http-Redirect,Web-Default-Doc,Web-Filtering,Web-Security,Web-Common-Http,Web-Http-Errors,Web-Mgmt-Console
  3. Create a service account which the OME application will use to access SQL. I used domain\dell-ome.
  4. Download OME and the OEM 1.1.1 Update.

OME Install

  1. Run the OME Installer, and allow it to install the following prereq’s.
    • IPMI Utility
    • SNMP Service
    • DRAC Tools
  2. Run the OME Installer, and click next a few times. It’s pretty straight-forward.
    • Note — it’s difficult to change the service account, so I recommend creating one before you install.
  3. Run the OME 1.1.1 Patch. Also easy.
  4. For any users you want to give access, add them to the OMAdministrators or OMUsers local groups.
  5. Open Start -> Run -> Services.msc -> SNMP Service – Properties.
  6. On the security tab, add any SNMP community strings that you want the box to accept.
  7. Open Administrative Tools -> Advanced Firewall.
  8. Enable the “SNMP Trap” UDP and TCP rules, so that incoming traps are received.

You can now run the OME! I’ll have a post up soon about discovering ESXi boxes.