Skip Headers
Oracle® Enterprise Manager System Monitoring Plug-in Installation Guide for VMware ESX Server
Release 11 (1.2.5.0.0)

Part Number E16334-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
PDF · Mobi · ePub

Oracle® Enterprise Manager

System Monitoring Plug-in Installation Guide for VMware ESX Server

Release 11 (1.2.5.0.0)

E16334-01

December 2009

This document is the installation guide for the System Monitoring Plug-in for VMware ESX Server. You can find the following information in this document:

Description

The System Monitoring Plug-in for VMware ESX Server extends Oracle Enterprise Manager Grid Control to add support for managing the VMware ESX Server. By deploying the plug-in in your Grid Control environment, you gain the following management features:

Versions Supported

This plug-in supports the following versions of products:

Prerequisites

You must ensure that the following prerequisites are fulfilled before you use the plug-in:

Deploying the Plug-in

After you ensure that the prerequisites are met, follow these steps to deploy the plug-in:

  1. Download the VMWare ESX Server Plug-in archive to your desktop or computer on which the browser is launched. You can download the archive from the Oracle Technology Network (OTN).

  2. Log on to Enterprise Manager Grid Control as a Super Administrator.

  3. Click the Setup link in the upper right corner of the Grid Control Home page, then click the Management Plug-ins link on the left side of the Setup page.

  4. Click Import.

  5. Click Browse and select the plug-in archive.

  6. Click List Archive.

  7. Select the plug-in and click OK.

  8. Verify that you have set preferred credentials on all Agents where you want to deploy the plug-in.

  9. In the Management Plug-ins page, click the icon in the Deploy column for the VMWare ESX Server plug-in. The Deploy Management Plug-in wizard appears.

  10. Click Add Agents, then select one or more Agents for which you want to deploy the plug-in. The wizard reappears and displays the Agent or Agents selected.

  11. Click Next, then click Finish.

    If you see an error message stating that the preferred credential is not set up, go to the Preferences page and add the preferred credentials for the Agent target type.

  12. If you are using HTTPS web service calls, you must copy the keystore file(s) to the location that you specify when adding target instances (this step must be completed before adding targets to these Agents).

    If there are no errors, you can see the following screen:

    Figure 1 Successful Deployment

    Successful Deployment

Adding Instances for Monitoring

After successfully deploying the plug-in, follow these steps to add the plug-in target to Grid Control for central monitoring and management:

  1. From the Agent home page where the plug-in was deployed, select the VMware ESX Server target type from the Add drop-down list, then click Go. The Add VMware ESX Server page appears.

  2. Provide the following information for the properties:

    • Name — Name of the VMware ESX Server being monitored

    • Host Name — Fully qualified host name, including domain, of the ESX Server

    • Username — Name of the user with proper privileges for enabling the plug-in to access data through the embedded Web Service in the VMWare ESX Server

    • Password — Password for the specified Username

    • Protocol — Either HTTP or HTTPS can be specified. If HTTPS is specified, you must specify the Keystore parameter (with HTTP set, the Keystore parameter is left blank). However, due to an issue with the ESX Server, Oracle recommends using the HTTP protocol at this time. Refer to the section for more details.

    • Keystore — Either specify the full path and the file name to the keystore file, which contains the certificate for the VMware ESX Server (the agent must have access to this keystore file), or specify bypass to use the all-trusting Trust Manager as explained in Prerequisites.

  3. Click OK to add the target instance.

  4. To run EM jobs that stop, start and suspend VMs or set or exit ESX Server into/from maintenance mode, credentials must be supplied to the job. This can be accomplished either ahead of time by specifying the preferred credentials (both Agent Host Username/Password and Web Service Username/Password) in the Preferences section of EM or by specifying the same credentials when the job is actually submitted.

Note:

After you deploy and configure the plug-in to monitor one or more targets in the environment, you can customize the monitoring settings of the plug-in. This alters the collection intervals and threshold settings of the metrics to meet the particular needs of your environment. If you decide to disable one or more metric collections, this could impact the reports that the metric is part of.

Figure 2 Add VMWare ESX Server Page

Add VMWare ESX Server Page

Verifying and Validating the Plug-in

After waiting a few minutes for the plug-in to start collecting data, deploy the following steps to verify and validate that Enterprise Manager is properly monitoring the plug-in target:

  1. Click the VMware ESX Server target link from the Agent home page Monitored Targets table. The VMware ESX Server home page appears.

    Figure 3 VMware ESX Server Home Page

    VMWare ESX Server Home Page
  2. Verify that no metric collection errors are reported in the Metrics table.

  3. Ensure that reports can be seen by selecting the Reports property page.

  4. Ensure that configuration data can be seen by clicking the View Configuration link in the Configuration section. If configuration data does not appear immediately, click Refresh in the View Configuration page.

Undeploying the Plug-in

Follow these steps to undeploy the plug-in from an Agent:

  1. Log in to Enterprise Manager Grid Control as a Super Administrator.

  2. Select the Targets tab, then the All Targets subtab.

  3. Select the VMware ESX Server Plug-in target and click Remove. You must do this step for all target instances of the plug-in.

  4. Make sure that the preferred credentials are set on the Agents where the plug-in is deployed.

  5. Click the Setup link in the upper right corner of the All Targets page, then click the Management Plug-ins link on the left side of the Setup page. The Management Plug-ins page appears.

  6. Click the icon in the Undeploy column for the VMware ESX Server plug-in. The Undeploy Management Plug-in page appears.

  7. Check all the Agents that are currently deployed with the VMware ESX Server plug-in and click OK.

    You must undeploy the plug-in from every Agent in the system to completely remove it from the enterprise.

  8. Select the VMware ESX Server Plug-in on the Management Plug-ins page and click Delete.

Limitations

  1. The ESX Server VM Summary report contains a table of the VMs that have been created on a particular ESX Server. The VM column of that table contains the names of the VMs represented as links. If you click the link for a particular VM and that VM has an EM agent installed on it, the Host homepage for that VM as a host is displayed. If an agent in not installed on that VM, the homepage is still displayed, but the error message 'An error has occurred! Error finding target <VM name> from the repository. The target does not exist or you may not have the access to the target.' is displayed. This is the expected behavior since the VM is not being monitored as a host target instance if it does not have an agent installed on it.

  2. It is possible to rename a VM while it is on a particular ESX Server. When a VM is renamed, its metric history and other EM repository data will not be accessible as the key to the data is the VM name.

  3. This plug-in supports both HTTP and HTTPS-based connections to the embedded Web Service in the VMware ESX Server. However, due to an issue found in ESX Server version 3.0.2 (and earlier), configuring an EM ESX Server target instance with a protocol setting of HTTPS will cause SSL Handshake errors to eventually appear in /etc/vmware/log/hostd.log on the ESX Server while the EM Agent is collecting metrics or running jobs. When this occurs, the EM Agent is no longer able to communicate with the Web Service. The same holds true for the VMware-supplied Virtual Infrastructure Client tool.

    For details on the ESX Server issue, refer to note 455661.1 available at: http://metalink.oracle.com/. To locate document 455661.1:

    1. Click Advanced at the top of the OracleMetaLink page.

    2. Enter 455661.1 in the Document ID field and click Submit.

    Note:

    This is no longer an issue with ESX Server version 3.0.3 (and later).
  4. The VMware ESX Server target type should not be monitored by an agent that is remote from the ESX Server. Though it is possible to install an EM agent on a virtual machine running on an ESX Server and have that agent monitor that ESX Server as a target, this should not be done. The reason is that some of the administrative functionalities of the VMware ESX Server plug-in may conflict with the running of that agent. For example, you can run a job to stop the VM that the agent is running on. This can cause problems because the VM must communicate with the agent to stop the EM job. However, the agent is shut down on stopping the VM and the agent and OMS relationship is put into an indeterminate state.

Job Error Codes

Table 1 provides details of the job error codes that may be encountered if there are errors while running the jobs.

Table 1 Job Error Codes and Description

Error Codes Description

1

ESX Web Service username and/or password not supplied. Recheck the ESX Server target instance configuration.

2

ESX remote exception occurred in setting up the ESX Server task. Ensure that the ESX Server is up and retry.

3

ESX unknown host exception occurred in setting up the ESX Server task. Recheck the ESX Server target instance configuration.

4

ESX Server is in a state that is not valid for this operation. Check state of the ESX Server and retry when appropriate.

5

The request was cancelled. Retry when appropriate.

6

ESX runtime exception occurred in running the ESX Server task. Ensure that the ESX Server is up or that the ESX Server user has the proper privileges and/or roles, then retry.

7

Time out occurred in running the ESX Server task. Ensure that the ESX Server is up and retry.

8

Remote exception occurred in running the ESX Server task. Retry.

9

Invalid number of arguments passed to EM job. Recheck the ESX Server target instance configuration.

100

Invalid ESX Web Service username and/or password. Recheck the ESX Server target instance configuration.

101

ESX runtime exception occurred when connecting to the ESX Web Service. Ensure that the ESX Server is up and retry.

102

ESX remote exception occurred when connecting to the ESX Web Service. Ensure that the ESX Server is up and retry.

103

Exception occurred when connecting to the ESX Web Service. Recheck the ESX Server target instance configuration and ensure that the ESX Server is up and retry.

104

ESX Server task did not complete successfully. Check ESX Server log files and/or task status through VMware-supplied tools.

105

General exception occurred during ESX Server task execution. Check ESX Server log files and/or task status through VMware-supplied tools.

106

Permission exception occurred when connecting to the ESX Web Service. Check that the username specified in the ESX Server target instance configuration has the proper privileges (typically the Administrator role) on the ESX Server.

107

Setting ESX Server in maintenance mode timed out. Check that there are no VMs currently running on that server. You cannot set maintenance mode until all VMs on the ESX Server are shutdown. Retry, if this is not the case.

200

Invalid number of arguments passed to EM job. Recheck the ESX Server target instance configuration.

201

ESX Web Service username and/or password not supplied. Recheck the ESX Server target instance configuration.

202

VM name specified does not exist on this ESX Server. Retry with correct VM name.

203

ESX remote exception occurred in setting up the ESX Server task. Ensure that the ESX Server is up and then retry.

204

VM is in an invalid state for this operation. Check status of VM or if the ESX Server is in maintenance mode, and then retry when appropriate.

205

There is an issue with the internal files of the VM.

206

VM configuration fault received.

207

ESX task against the VM is already running. Retry when appropriate.

208

There are insufficient resources for this ESX task. Retry when appropriate.

209

ESX runtime exception occurred in running the ESX Server task. Ensure that the ESX Server is up or that the ESX Server user has the proper privileges and/or roles, then retry.

210

Remote exception occurred in running the ESX Server task. Retry.


Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible to all users, including users that are disabled. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at http://www.oracle.com/accessibility/.

Accessibility of Code Examples in Documentation

Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.

Accessibility of Links to External Web Sites in Documentation

This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.

Deaf/Hard of Hearing Access to Oracle Support Services

To reach Oracle Support Services, use a telecommunications relay service (TRS) to call Oracle Support at 1.800.223.1711. An Oracle Support Services engineer will handle technical issues and provide customer support according to the Oracle service request process. Information about TRS is available at http://www.fcc.gov/cgb/consumerfacts/trs.html, and a list of phone numbers is available at http://www.fcc.gov/cgb/dro/trsphonebk.html.


System Monitoring Plug-in Installation Guide for VMware ESX Server, Release 11 (1.2.5.0.0)

E16334-01

Copyright © 2009, Oracle and/or its affiliates. All rights reserved.

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.