Your SlideShare is downloading. ×
Managing VMware ESX environments with HP Network Management Center
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Saving this for later?

Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime - even offline.

Text the download link to your phone

Standard text messaging rates apply

Managing VMware ESX environments with HP Network Management Center


Published on

HP Network Management Center (NMC) provides a full array of network management capabilities. Attend this session and find out how it can be used to manage VMware ESX virtual environments as well. …

HP Network Management Center (NMC) provides a full array of network management capabilities. Attend this session and find out how it can be used to manage VMware ESX virtual environments as well. We’ll describe for you a method for using the NMC to provide event, performance, configuration automation, and notification services for ESX servers and virtual switches, and we’ll present examples and tips from real deployments. We’ll show you how the method employs HP Network Node Manager for status polling, management event and trap handling—including VMware MIBs. You’ll see how HP Performance Insight can be used for virtual switch and server management using the Device Resource and System Resources support packs and including the Host Resources MIB. And we’ll explain how HP Network Automation can be used for configuration management of ESX virtual switches and AlarmPoint express for critical event notification. And you’ll come away knowing how to realize additional benefit from your network management investment by leveraging ESX.

1 Like
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

No notes for slide


  • 1. Managing VMware ESX Environments with HP Network Management Center Richard Antonick Technical Architect Melillo Consulting 1 ©2010 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice
  • 2. Introduction The HP Network Management Center provides a full array of network management capabilities. In addition, it can be used to manage VMware ESX virtual environments. This presentation describes a method for using the NMC to provide event, performance, configuration automation and notification services for VMware ESX hosts and virtual switches.
  • 3. Assumptions •Familiarity with the NMC products and SNMP •NMC products are installed, patched, configured and integrated, as needed •VMware ESX version 4.0 environment •vSphere client will be installed on an administration workstation •Administrator/root access to the vCenter server and all ESX host service consoles •vSphere Management Assistant (VMA) and VMware guests will not be covered Tip: Get the version with vmware -v
  • 4. Terms (1) • vSphere - virtualizes and aggregates the underlying physical hardware resources across multiple systems and provides pools of virtual resources to the datacenter. • vCenter server - provides a single point of control of the vSphere datacenter. • ESX - A virtualization layer run on physical servers that abstracts processor, memory, storage, and resources into multiple virtual machines. • ESX host – physical server.
  • 5. Terms (2) • vSwitch - A virtualized network switch used by ESX server to manage traffic between virtual machines, the service console, and the physical network adapters on the ESX server machine. • Virtual machine – A software computer that, like a physical computer, runs an operating system and applications. Multiple virtual machines can operate on the same host system concurrently.
  • 6. Terms (3) • Service console - The command-line interface for an ESX server system that enables administrators to configure the system. Available locally or remotely via Telnet or SSH. • vSphere client - An interface that allows users to connect remotely to vCenter Server or ESX from any Windows PC.
  • 7. Components and Roles The method features: HP Network Node Manager for status polling, management event and trap handling, including the use of VMware MIBs HP Performance Insight for virtual switch and server management using the Device Resource and System Resources report packs and including the Host Resources MIB HP Network Automation for configuration management of ESX virtual switches AlarmPoint Systems AlarmPoint Express for critical event notification.
  • 8. NNMi • ESX Host Status Polling • Console Display – Inventory – Custom groups – Topology • ESX trap receiver • Custom poller for ESX-specific MIB objects • Current host network performance with iSPI for Performance • AlarmPoint Express integration for notification
  • 9. Network Automation Network Automation 7.60 uses the ESX APIs to gain access to the vSwitch service so that it can identify and manage the vSwitch within the ESX server. NA can isolate the vSwitch and manage it just as if it were another physical network device, using the same NA GUI and API interfaces used with physical network devices. The February, 2010 driver pack must be loaded.
  • 10. Performance Insight • NNMi integration for node synchronization • System Resources Report Pack • The SysRes RFC 1514 Datapipe collects the following data from the Host Resources MIB: – CPU utilization – Memory utilization – Number of page outs – Run queue length – Swap utilization
  • 11. AlarmPoint Express • Variety of destination device types including alpha/numeric pagers, phones, email, SMS • Alert grouping by: – function – work shift – other • Scheduling and automatic rotation. • Included with NNMi. Great value! Tip: Additional functionality can be licensed at any time.
  • 12. VMware ESX Version 3.x SNMP Support • Virtual Center Server – vCenter Server SNMP agent functions only as a trap emitter. – Sends vCenter alarms to the management server as traps. – Does not support other SNMP operations, such as GET – Configured via vSphere GUI. • ESX host Net-SNMP agent (snmpd) – Supports standard SNMP operations (GET, SET, as well as trap) – Access via the service console. – Configured via manual editing of the SNMP configuration text file (snmpd.conf). – Generic SNMP MIB support via snmpd. – Host Resources MIB support
  • 13. VMware ESX Version 4.x SNMP Support • Virtual Center Server (traps only) • Net-SNMP agent • VMware embedded SNMP agent • hostd provides SNMP agent support • Remote configuration via vicfg CLI - Manages the SNMP agent on an ESX host from an administration client (Windows XP/Vista or Linux). • Includes VMware-specific MIB support. • NO RFC 1514 Host Resources MIB support.
  • 14. Configuration Tasks (1) 1. Download and install vSphere client and vSphere CLI onto an administration workstation 2. Configure and enable SNMP on vCenter server and ESX hosts 3. Download and load VMware MIBs, including traps, into NNMi 4. Configure NNMi to discover/load ESX servers and hosts and verify that they were loaded 5. Import/verify that ESX hosts were loaded into NA
  • 15. Configuration Tasks (2) 6. Select NA ESX host driver 7. Verify that ESX vSwitches have loaded into NA 8. Discover the vSwitch driver 9. Configure incidents in NNMi for ESX host and server traps 10. Configure AlarmPoint for ESX messages from NNMi 11. Verify/import ESX hosts into PI
  • 16. Configuration Tasks (3) 12. Verify that PI is collecting system (host resources) data from the ESX hosts and producing reports 13. Verify that the NNMi iSPI for performance is showing data for the ESX hosts
  • 17. vSphere Client Installation • The vSphere client runs faster on an administration workstation than from the vCenter server • From a Windows XP or Linux workstation, download the vSphere client by browsing to the local vCenter server (ignore any certificate errors) • When the VMware vSphere 4 Welcome page appears select the Download vSphere Client link and install the package
  • 18. vSphere CLI Download Page
  • 19. vSphere CLI Installation Error • When installing the vSphere client from the vCenter server, the installation may fail on Windows XP with error code 1603 • The workstation’s .NET Framework may need to be upgraded. Refer to VMware Knowledge Base article 1010723
  • 20. vCenter Server SNMP Configuration •Connect to the vCenter server with the vSphere client •Select Administration->vCenter Server Settings->SNMP •Enter the appropriate values •Management server (trap receiver •Trap port •Trap community string
  • 21. vCenter Server SNMP Trap/Alarm Configuration (1) • Connect to the vCenter server with the vSphere client • Select an ESX host in the left pane • Select the Alarms tab in the right pane • Click on Definitions • Double-click under the Defined in column for a given row • Click on the Actions tab • Click Add • Click on the Action item and select “Send a notification trap” from the pull-down menu.
  • 22. vCenter Server SNMP Trap/Alarm Configuration (2)
  • 23. vCenter Server SNMP Trap/Alarm Configuration (3)
  • 24. vCenter Server SNMP Trap/Alarm Configuration (4)
  • 25. vCenter Server SNMP Trap/Alarm Configuration (5)
  • 26. vSphere CLI Installation • Download the VMware vSphere CLI from the VMware web site onto the administration workstation: – tomationtools/vsphere_cli • Install the vSphere CLI: – VMware-vSphere-CLI-4.0.0-161974.exe
  • 27. vicfg-snmp Command Options (1) The following are run from a command window on an administration workstation: • --communities | -c Specifies at least one community. • --enable | -E Starts the SNMP service. • --disable | -D Stops the SNMP service. • --port | -p Set SNMP agent port (default 161) • --reset | -r Clears all previously specified communities and targets • --show | -s Displays the current SNMP configuration
  • 28. vicfg-snmp Command Options (2) • --targets | -t Configures a trap destination and trap port (default 162). • --test | -T Sends a WarmStart trap (. and validates the trap configuration when adding or changing the notification configuration. • --vihost | -h Specify a vCenter server to run the command against.
  • 29. vicfg-snmp Authentication Options • Command line – --password (echoed to screen) – --sessionfile - Password not revealed. Expires in 30 minutes – --config - Password specified in a .visdkrc configuration file in plain text • Environment variable • Credential store • Current account using Microsoft Windows Security Support Provider Interface (SSPI) • Prompt the user for a password. Password is not echoed to the screen.
  • 30. Configure the ESX Host SNMP agent • Run the vSphere CLI from the administration workstation. Specify the community string and trap destination and enable the SNMP agent: – “C:Program FilesVMwareVMware vSphere CLIbinvicfg-” --server --communities VMware – --server --targets em- – --server --enable • The vicfg-snmp command will prompt for a user name and password. The password will not be echoed to the screen.
  • 31. Configure the ESX Host SNMP agent (2) The user name and password can be passed on the command line but the password will be echoed to the screen. – --server root -- password pw123456 --show Tip: use option abbreviations and combine commands to reduce typos and save keystrokes --server -t em- –c VMWare -E
  • 32. Confirm the ESX Host SNMP Agent Configuration Display the ESX host SNMP configuration: – --server --show • Current SNMP agent settings: • Enabled : 1 • UDP port : 161 • Communities : VMWare • Notification targets : •
  • 33. Confirm the ESX Host SNMP Agent Configuration • Send a test trap to the NNMi server: --server --test Sending test notification (trap) to all configured targets... Complete. Check with each target to see if trap was received. • A warm start trap should appear in the NNMi Incident Browser. Tip: the ESX host must be in the NNMi inventory for the trap message to appear in the Incident Browser.
  • 34. ESX Host SNMP Trap Test
  • 36. Initial Configuration – NNMi Server • Download VMware MIBs – • Load VMware MIBs into NNMi using the MIB load ordered list – For example: nnmloadmib.ovpl -load VMWARE-ROOT- MIB.mib • Load VMware trap definitions into NNMi – For example: nnmincidentcfg.ovpl -loadTraps VMWARE- VMINFO-MIB.mib Tip: Create a folder outside of the NNMi product tree for additional MIBs
  • 37. Initial Configuration – NNMi Server Create VMware server profile in NNMi
  • 38. NNMi Device Profile for VMware ESX Host
  • 39. Initial Configuration – NNMi Server Load ESX hosts: – Discovery by IP range – Discovery by Enterprise OID (VMware is . – Manual loading from the NNMi console by Discovery Seed – Command line loading by Discovery Seed or by seed file • nnmloadseeds.ovpl -n • nnmloadseeds.ovpl -f ESX_hosts_to_load.txt Tip: Create a script for loading seeds
  • 40. NNMi Discovery by Enterprise OID
  • 41. Verify ESX Host Configurations in NA Config: – Product: • Vendor: VMware, Inc. • Version: 4.0.0 065 • Build: 164009 • Full Name: VMware ESX 4.0.0 build-164009 • OS Type: vmnix-x86 • Product Line ID: esx • API Type: HostAgent • API Version: 4.0
  • 42. Troubleshooting ESX Host SNMP • From the ESX host service console: – /usr/bin/snmpwalk –v 1 –c VMWare system • From the NNMi server: – %NNMInstallDir%supportnnmsnmpwalk –c VMWare system • From PI – Use the MIB Browser application from the PI Management Console – Tools->MIB Browser OR – Start->HP Software->Performance Insight->MIB Browser
  • 43. Verify ESX vSwitch Configurations in NA Sample vSwitch configuration Host server: – Virtual Switch Name: vSwitch0 – MTU: 1500 – Ports: 64 – Ports Available: 54 – Physical NICs: – Port Group: vSwitch0 Secure External Management Network key- Network key- Console
  • 44. PI System Utilization Reports
  • 45. NNMi v.9 Support for VMware HP recently announced additional support for VMwWare in NNMi v9.0 Advanced – VMware ESX Server and Virtual Machine Capability discovery • An ESX server node has a "VMware ESX Host" capability. • A VM node running on that ESX server node has a "Virtual Machine" capability. – Predefined node groups enable viewing of "VMware ESX Hosts" and "Virtual Machines“. – Tools → Find Attached Switch Port can find virtual machines using the virtual machine's hostname, IP address, or MAC address.
  • 46. Resources (1) • HP ITRC and support portal for NMC products – – • NA community (BSA Essentials Network) – • AlarmPoint web site –
  • 47. Resources (2) • VMware site – • ESX Documentation – – vsp_40_vcli.pdf – vsp_4_snmp_config.pdf – vSphere Basic System Administration • VMware Communities – – gementapi
  • 48. Outcomes • Leverage investment in existing NMC products to avoid costs of additional products • Simplify operations by using knowledge of current products • Save time required for implementing server monitoring solutions • Provide visibility of VMware ESX servers
  • 49. Questions?
  • 50. To learn more on this topic, and to connect with your peers after the conference, visit the HP Software Solutions Community: ©2010 Hewlett-Packard Development Company, L.P.
  • 51. 51