Highlighted
DELL-Rob C
4 Ruthenium

How to configure ESX 4.0 for Discovery and Inventory

A useful tutorial below on how to setup ESX 4.  The Q1/2012 release will have it in the tutorial section.  But here is the raw text below.

Configuring ESX 4.x for Discovery and Inventory

Overview for Configuring ESX 4.x for Discovery and Inventory
This tutorial will guide you through the steps required to setup ESX 4.x for discovery and inventory.

You will need to complete the following steps for all ESX hosts:

1. Install the latest Dell OpenManage Server Administrator (OMSA).
2. Configure SNMP traps.

You will need to download and install the latest version of the vSphere CLI to complete one or more of the steps in this guide. This can be downloaded from http://www.vmware.com

Install Dell OpenManage Server Administrator (OMSA)
OMSA is the in-band management agent which provides the interface to manage the inventory and generate related SNMP traps on Dell Servers.

If you already have OMSA installed on the ESX host, then no further action is required for this step.

Otherwise it is recommended that you install the latest version of OMSA from one of the following locations:

1. The OpenManage media that was provided with your Dell server.
2. The Dell support website (http://support.dell.com)

You must install OMSA on each ESX host you wish to manage for complete inventory and alerting.

Configuring SNMP Traps for ESX/ESXi 4.x and 5.0
To generate virtual machine and environmental traps from ESX/ESXi hosts, you must configure and enable the embedded SNMP agent.

Note: Make sure the SNMP protocol is open in the ESX firewall.

To enable the embedded SNMP Agent and configure SNMP traps using the vSphere CLI:
1. Run this command to see if SNMP is enabled:
vicfg-snmp --show

2. Specify the communities and trap targets with this command:
vicfg-snmp.pl --server <Hostname> --username <Username> --password <Password> -t <Target Hostname>@<Port>/<Community>

For example:
vicfg-snmp.pl --server host.dell.com --username root --password password -t target.dell.com@162/public

Note: In ESX 4.x, you may need to use the -c <community> flag.

3. To enable the SNMP service, run this command:
vicfg-snmp.pl --server <Hostname> --username <Username> --password <Password> --enable

4. To verify the SNMP settings, run this command:
vicfg-snmp.pl --server <Hostname> --username <Username> --password <Password> --show

5. After you have discovered the ESX/ESXi host, you can send a test trap to verify that the agent is configured correctly with this command:
vicfg-snmp.pl --server <Hostname> --username <Username> --password <Password> --test

Information referenced from VMware KB article 1008065.


DELL-Rob C
Social Media Support
#IWork4Dell

Tags (2)
0 Kudos