VRealize Operations Manager Configuration Guide VRealize. 6.7 V Realize 67 Config

User Manual: Pdf vRealize Operations Manager - 6.7 - Configuration Guide User Guide for VMware vRealize Software, Free Instruction Manual

Open the PDF directly: View PDF PDF.
Page Count: 304 [warning: Documents this large are best viewed by clicking the View PDF Link!]

vRealize Operations
Manager Configuration
Guide
vRealize Operations Manager 6.7
vRealize Operations Manager Configuration Guide
VMware, Inc. 2
You can find the most up-to-date technical documentation on the VMware website at:
https://docs.vmware.com/
If you have comments about this documentation, submit your feedback to
docfeedback@vmware.com
Copyright © 2018 VMware, Inc. All rights reserved. Copyright and trademark information.
VMware, Inc.
3401 Hillview Ave.
Palo Alto, CA 94304
www.vmware.com
Contents
About Configuration 7
1Connecting vRealize Operations Manager to Data Sources 8
VMware vSphere Solution in vRealize Operations Manager 8
Configure a vCenter Adapter Instance in vRealize Operations Manager 10
Configure User Access for Actions 11
End Point Operations Management Solution in vRealize Operations Manager 12
End Point Operations Management Agent Installation and Deployment 12
Roles and Privileges in vRealize Operations Manager 56
Registering Agents on Clusters 56
Manually Create Operating System Objects 57
Managing Objects with Missing Configuration Parameters 58
Mapping Virtual Machines to Operating Systems 59
Customizing How End Point Operations Management Monitors Operating Systems 60
VMware vRealize Application Management Pack 71
View the Configuration Details 71
Log Insight 72
Log Insight Page 72
Logs Tab 73
Configuring vRealize Log Insight with vRealize Operations Manager 73
Log Forwarding 75
Business Management 76
Configure the vRealize Business for Cloud Adapter 76
Cost Settings for Financial Accounting Model 77
Overview of Cost Drivers 79
Editing Cost Drivers 80
Cost Calculation Status Overview 85
Cluster Cost Overview 85
vRealize Automation Solution 85
Supported vRealize Automation Versions 86
Object Types and Relationships 86
vRealize Automation Workload Placement 87
Port Information 87
Security Guidelines 88
Configuring vRealize Automation 88
Alert Definitions 92
vSAN 92
Configure a vSAN Adapter Instance 92
VMware, Inc. 3
Verify that the Adapter Instance is Connected and Collecting Data 94
Installing Optional Solutions in vRealize Operations Manager 96
Managing Solution Credentials 96
Managing Collector Groups 97
2Configuring Alerts and Actions 98
Types of Alerts 98
Configuring Alerts 98
Defining Alerts in vRealize Operations Manager 98
Defining Symptoms for Alerts 99
Defining Recommendations for Alert Definitions 103
Create a New Alert Definition 104
Alert Definition Best Practices 105
Creating and Managing vRealize Operations Manager Alert Notifications 106
Create an Alert Definition for Department Objects 118
Alerts Group 129
Configuring Actions 130
List of vRealize Operations Manager Actions 131
Actions Supported for Automation 132
Integration of Actions with vRealize Automation 134
Working With Actions That Use Power Off Allowed 135
3Configuring and Using Workload Optimization 139
Configuring Workload Optimization 139
Workload Policy Settings 141
Tag-Based VM Placement 142
Configuring Workload Optimization Alerts 144
Using Workload Optimization 144
Example: Run Workload Optimization 145
Example: Schedule a Repeating Optimization Action 147
Example: Run Workload Optimization from Recommended Actions 148
4Configuring Policies 150
Policies 150
Policy Decisions and Objectives 152
Active Policies Tab for Policies 153
Policy Library Tab for Policies 156
Operational Policies 158
Types of Policies 159
Custom Policies 159
Default Policy in vRealize Operations Manager 161
Policies Provided with vRealize Operations Manager 161
vRealize Operations Manager Configuration Guide
VMware, Inc. 4
Using the Monitoring Policy Workspace to Create and Modify Operational Policies 163
Policy Workspace in vRealize Operations Manager 164
5Configuring Super Metrics 181
Create a Super Metric 182
Enhancing Your Super Metrics 184
Exporting and Importing a Super Metric 185
6Configuring Objects 187
Object Discovery 187
About Objects 188
Managing Objects in Your Environment 190
Managing Custom Object Groups in VMware vRealize Operations Manager 196
Managing Application Groups 200
7Configuring Data Display 202
Widgets 202
Widget Interactions 203
Manage Metric Configuration 203
Add a Resource Interaction XML File 204
Widget Definitions List 205
Dashboards 208
Types Of Dashboards 208
Create and Configure Dashboards 229
Managing Dashboards 232
Views 234
Views Overview 235
Views and Reports Ownership 236
Create and Configure a View 236
Editing, Cloning, and Deleting a View 248
User Scenario: Create, Run, Export, and Import a vRealize Operations Manager View for
Tracking Virtual Machines 249
Reports 251
Report Templates Tab 252
Generated Reports Tab 252
Create and Modify a Report Template 253
Add a Network Share Plug-In for vRealize Operations Manager Reports 256
User Scenario: Handling Reports to Monitor Virtual Machines 257
8Configuring Application Monitoring with Wavefront 262
Configure Wavefront Account Tab 263
Configure the Wavefront Account 263
vRealize Operations Manager Configuration Guide
VMware, Inc. 5
Create a Wavefront Trial Account 263
Deploy VMware Application Proxy 264
Configure VMware Application Proxy Tab 266
Add and Configure an Application Proxy 267
Agent Management Tab 268
Install an Agent 270
Manage Application Services 271
Activate and Deactivate an Application Service 272
Uninstall an Agent 272
Monitor Metrics in Wavefront 273
9Configuring Administration Settings 274
Managing Users and Access Control in vRealize Operations Manager 274
Users of vRealize Operations Manager 275
Roles and Privileges in vRealize Operations Manager 279
User Scenario: Manage User Access Control 280
Configure a Single Sign-On Source in vRealize Operations Manager 283
Audit Users and the Environment in vRealize Operations Manager 286
vRealize Operations Manager Passwords and Certificates 287
Change the vRealize Operations Manager Administrator Password 287
Generate a vRealize Operations Manager Passphrase 288
Custom vRealize Operations Manager Certificates 288
Modifying Global Settings 292
List of Global Settings 292
Global Settings 295
Create a vRealize Operations Manager Support Bundle 296
Customizing Icons 296
Customize an Object Type Icon 297
Customize an Adapter Type Icon 297
10 OPS-CLI Command-Line Tool 299
dashboard Command Operations 300
template Command Operations 301
supermetric Command Operations 302
attribute Command Operations 303
reskind Command Operations for Object Types 303
report Command Operations 303
view Command Operations 303
file Command Operations 304
vRealize Operations Manager Configuration Guide
VMware, Inc. 6
About Configuration
The VMware vRealize Operations Manager Configuration Guide describes how to configure and monitor
your environment. It shows you how to connect vRealize Operations Manager to external data sources
and analyze the data collected from them, ensure that users and their supporting infrastructure are in
place, configure resources to determine the behavior of your objects, and format the content that appears
in vRealize Operations Manager.
To help you maintain and expand your vRealize Operations Manager installation, this information
describes how to manage nodes and clusters, configure NTP, view log files, create support bundles, and
add a maintenance schedule. It provides information about license keys and groups, and shows you how
to generate a passphrase, review the certificates used for authentication, run the describe process, and
perform advanced maintenance functions.
Intended Audience
This information is intended for vRealize Operations Manager administrators, virtual infrastructure
administrators, and operations engineers who install, configure, monitor, manage, and maintain the
objects in your environment.
For users who want to configure vRealize Operations Manager programmatically, the
VMware vRealize Operations Manager REST API documentation is available in HTML format and is
installed with your vRealize Operations Manager instance. For example, if the URL of your instance is
https://vrealize.example.com, the API reference is available from
https://vrealize.example.com/suite-api/docs/rest/index.html.
VMware Technical Publications Glossary
VMware Technical Publications provides a glossary of terms that might be unfamiliar to you. For
definitions of terms as they are used in VMware technical documentation, go to
http://www.vmware.com/support/pubs.
VMware, Inc. 7
Connecting
vRealize Operations Manager to
Data Sources 1
Configure solutions in vRealize Operations Manager to connect to and analyze data from external data
sources in your environment. Once connected, you use vRealize Operations Manager to monitor and
manage objects in your environment.
A solution might be only a connection to a data source, or it might include predefined dashboards,
widgets, alerts, and views.
vRealize Operations Manager includes the VMware vSphere and End Point Operations Management
solutions. These solutions are installed when you install vRealize Operations Manager.
Other solutions can be added to vRealize Operations Manager as management packs, such as the
VMware Management Pack for NSX for vSphere. To download VMware management packs and other
third-party solutions, visit the VMware Solution Exchange at https://marketplace.vmware.com/vsx/.
This chapter includes the following topics:
nVMware vSphere Solution in vRealize Operations Manager
nEnd Point Operations Management Solution in vRealize Operations Manager
nVMware vRealize Application Management Pack
nLog Insight
nBusiness Management
nvRealize Automation Solution
nvSAN
nInstalling Optional Solutions in vRealize Operations Manager
VMware vSphere Solution in vRealize Operations Manager
The VMware vSphere solution connects vRealize Operations Manager to one or more vCenter Server
instances. You collect data and metrics from those instances, monitor them, and run actions in them.
vRealize Operations Manager evaluates the data in your environment, identifying trends in object
behavior, calculating possible problems and future capacity for objects in your system based on those
trends, and alerting you when an object exhibits defined symptoms.
VMware, Inc. 8
Configuring the vSphere Solution
The vSphere solution is installed together with vRealize Operations Manager. The solution provides the
vCenter Server adapter which you must configure to connect vRealize Operations Manager to your
vCenter Server instances.
Configure and manage
vCenter adapter instances in
one central workplace
Configure user access so that
users can run actions on objects
in vCenter Server from vRealize
Operations Manager
Enable/disable actions
Update the default monitoring policy
Add vCenter adapter instances
Configure the vSphere Solution to
connect vRealize Operations Manager
to one or more vCenter instances
To begin, access
Administration > Solutions
Create roles with permissions to determine
who can access actions
Create user groups, and assign them
action-specific roles and access to adapter
instances
How Adapter Credentials Work
The vCenter Server credentials that you use to connect vRealize Operations Manager to a
vCenter Server instance, determines what objects vRealize Operations Manager monitors. Understand
how these adapter credentials and user privileges interact to ensure that you configure adapters and
users correctly, and to avoid some of the following issues.
nIf you configure the adapter to connect to a vCenter Server instance with credentials that have
permission to access only one of your three hosts, every user who logs in to
vRealize Operations Manager sees only the one host, even when an individual user has privileges on
all three of the hosts in the vCenter Server.
nIf the provided credentials have limited access to objects in the vCenter Server, even
vRealize Operations Manager administrative users can run actions only on the objects for which the
vCenter Server credentials have permission.
nIf the provided credentials have access to all the objects in the vCenter Server, any
vRealize Operations Manager user who runs actions is using this account.
vRealize Operations Manager Configuration Guide
VMware, Inc. 9
Controlling User Access to Actions
Use the vCenter Server adapter to run actions on the vCenter Server from vRealize Operations Manager.
If you choose to run actions, you must control user access to the objects in your vCenter Server
environment. You control user access for local users based on how you configure user privileges in
vRealize Operations Manager. If users log in using their vCenter Server account, then the way their
account is configured in vCenter Server determines their privileges.
For example, you might have a vCenter Server user with a read-only role in vCenter Server. If you give
this user the vRealize Operations Manager Power User role in vCenter Server rather than a more
restrictive role, the user can run actions on objects because the adapter is configured with credentials that
has privileges to change objects. To avoid this type of unexpected result, configure local
vRealize Operations Manager users and vCenter Server users with the privileges you want them to have
in your environment.
Configure a vCenter Adapter Instance in
vRealize Operations Manager
To manage your vCenter Server instances in vRealize Operations Manager, you must configure an
adapter instance for each vCenter Server instance. The adapter requires the credentials that are used for
communication with the target vCenter Server.
Caution Any adapter credentials you add are shared with other adapter administrators and
vRealize Operations Manager collector hosts. Other administrators might use these credentials to
configure a new adapter instance or to move an adapter instance to a new host.
Prerequisites
Verify that you know the vCenter Server credentials that have sufficient privileges to connect and collect
data. If the provided credentials have limited access to objects in vCenter Server, all users, regardless of
their vCenter Server privileges see only the objects that the provided credentials can access. At a
minimum, the user account must have Read privileges and the Read privileges must be assigned at the
data center or vCenter Server level.
Procedure
1On the menu, click Administration and in the left pane click Solutions.
2On the Solutions page, select VMware vSphere and click the Configure icon.
3Enter a display name and description for the adapter instance.
4In the vCenter Server text box, enter the FQDN or IP address of the vCenter Server instance to
which you are connecting.
The vCenter Server FQDN or IP address must be reachable from all nodes in the
vRealize Operations Manager cluster.
vRealize Operations Manager Configuration Guide
VMware, Inc. 10
5To add credentials for the vCenter Server instance, click the Add icon, and enter the required
credentials.
6The adapter is configured to run actions on objects in the vCenter Server from
vRealize Operations Manager. If you do not want to run actions, select Disable.
The credentials provided for the vCenter Server instance are also used to run actions. If you do not
want to use these credentials, you can provide alternative credentials by expanding Alternate Action
Credentials, and clicking the Add icon.
7Click Test Connection to validate the connection with your vCenter Server instance.
8In the Review and Accept Certificate dialog box, review the certificate information.
uIf the certificate presented in the dialog box matches the certificate for your target vCenter Server,
click OK.
uIf you do not recognize the certificate as valid, click Cancel. The test fails and the connection to
vCenter Server is not completed. You must provide a valid vCenter Server URL or verify the
certificate on the vCenter Server is valid before completing the adapter configuration.
9To modify the advanced options regarding collectors, object discovery, or change events, expand the
Advanced Settings.
For information about these advanced settings, search for the VMware vSphere Solution Workspace
Options in the Information Center.
10 To adjust the default monitoring policy that vRealize Operations Manager uses to analyze and display
information about the objects in your environment, click Define Monitoring Goals.
For information about monitoring goals, search for the VMware vSphere Solution Workspace Options
in the Information Center.
11 Click Save Settings.
The adapter instance is added to the list.
vRealize Operations Manager begins collecting data from the vCenter Server instance. Depending on the
number of managed objects, the initial collection can take more than one collection cycle. A standard
collection cycle begins every five minutes.
What to do next
If you configured the adapter to run actions, configure user access for the actions by creating action roles
and user groups.
Configure User Access for Actions
To ensure that users can run actions in vRealize Operations Manager, you must configure user access to
the actions.
You use role permissions to control who can run actions. You can create multiple roles. Each role can
give users permissions to run different subsets of actions. Users who hold the Administrator role or the
default super user role already have the required permissions to run actions.
vRealize Operations Manager Configuration Guide
VMware, Inc. 11
You can create user groups to add action-specific roles to a group rather than configuring individual user
privileges.
Procedure
1On the menu, click Administration and in the left pane click Access > Access Control.
2To create a role:
a Click the Roles tab.
b Click the Add icon, and enter a name and description for the role.
3To apply permissions to the role, select the role, and in the Permissions pane, click the Edit icon.
a Expand Environment, and then expand Action.
b Select one or more of the actions, and click Update.
4To create a user group:
a Click the User Groups tab, and click the Add icon.
b Enter a name for the group and a description, and click Next.
c Assign users to the group, and click the Objects tab.
d Select a role that has been created with permissions to run actions, and select the Assign this
role to the user check box.
e Configure the object privileges by selecting each adapter instance to which the group needs
access to run actions.
f Click Finish.
What to do next
Test the users that you assigned to the group. Log out, and log back in as one of the users. Verify that this
user can run the expected actions on the selected adapter.
End Point Operations Management Solution in
vRealize Operations Manager
You configure End Point Operations Management to gather operating system metrics and to monitor
availability of remote platforms and applications. This solution is installed with
vRealize Operations Manager.
End Point Operations Management Agent Installation and
Deployment
Use the information in these links to help you to install and deploy End Point Operations Management
agents in your environment.
vRealize Operations Manager Configuration Guide
VMware, Inc. 12
Prepare to Install the End Point Operations Management Agent
Before you can install the End Point Operations Management agent, you must perform preparatory tasks.
Prerequisites
nTo configure the agent to use a keystore that you manage yourself for SSL communication, set up a
JKS-format keystore for the agent on its host and import its SSL certificate. Make a note of the full
path to the keystore, and its password. You must specify this data in the agent's agent.properties
file.
Verify that the agent keystore password and the private key password are identical.
nDefine the agent HQ_JAVA_HOME location.
vRealize Operations Manager platform-specific installers include JRE 1.8.x . Depending on your
environment and the installer you use, you may need to define the location of the JRE to ensure that
the agent can find the JRE to use. See Configuring JRE Locations for End Point Operations
Management Components.
Supported Operating Systems for the End Point Operations Management
Agent
These tables describe the supported operating systems for End Point Operations Management agent
deployments.
These configurations are supported for the agent in both development and production environments.
Table 11. Supported Operating Systems for the End Point Operations Management Agent
Operating System Processor Architecture JVM
RedHat Enterprise Linux (RHEL) 5.x, 6.x,
7.x
x86_64, x86_32 Oracle Java SE8
CentOS 5.x, 6.x, 7.x x86_64, x86_32 Oracle Java SE8
SUSE Enterprise Linux (SLES) 11.x, 12.x x86_64 Oracle Java SE8
Windows 2008 Server, 2008 Server R2 x86_64, x86_32 Oracle Java SE8
Windows 2012 Server, 2012 Server R2 x86_64 Oracle Java SE8
Windows Server 2016 x86_64 Oracle Java SE8
Solaris 10, 11 x86_64, SPARC Oracle Java SE7
AIX 6.1, 7.1 Power PC IBM Java SE7
VMware Photon Linux 1. 0 x86_64 Open JDK 1.8.0_72-BLFS
Oracle Linux versions 5, 6, 7 x86_64, x86_32 Open JDK Runtime Environment 1.7
Selecting an Agent Installer Package
The End Point Operations Management agent installation files are included in the
vRealize Operations Manager installation package.
vRealize Operations Manager Configuration Guide
VMware, Inc. 13
You can install the End Point Operations Management agent from a tar.gz or .zip archive, or from an
operating system-specific installer for Windows or for Linux-like systems that support RPM.
Note that when you install a non-JRE version of End Point Operations Management agent, to avoid being
exposed to security risks related to earlier versions of Java, VMware recommends that you only use the
latest Java version.
nInstall the Agent on a Linux Platform from an RPM Package
You can install the End Point Operations Management agent from a RedHat Package Manager
(RPM) package. The agent in the noarch package does not include a JRE.
nInstall the Agent on a Linux Platform from an Archive
You can install an End Point Operations Management agent on a Linux platform from a tar.gz
archive.
nInstall the Agent on a Windows Platform from an Archive
You can install an End Point Operations Management agent on a Windows platform from a .zip file.
nInstall the Agent on a Windows Platform Using the Windows Installer
You can install the End Point Operations Management agent on a Windows platform using a
Windows installer.
nInstalling an End Point Operations Management Agent Silently on a Windows Machine
You can install an End Point Operations Management agent on a Windows machine using silent or
very silent installation.
nInstall the Agent on an AIX Platform
You can install the End Point Operations Management agent on an AIX platform.
nInstall the Agent on a Solaris Platform
You can install the End Point Operations Management agent on a Solaris platform.
Install the Agent on a Linux Platform from an RPM Package
You can install the End Point Operations Management agent from a RedHat Package Manager (RPM)
package. The agent in the noarch package does not include a JRE.
Agent-only archives are useful when you deploy agents to a large number of platforms with various
operating systems and architectures. Agent archives are available for Windows and UNIX-like
environments, with and without built-in JREs.
The RPM performs the following actions:
nCreates a user and group named epops if they do not exist. The user is a service account that is
locked and you cannot log into it.
nInstalls the agent files into /opt/vmware/epops-agent.
nInstalls an init script to /etc/init.d/epops-agent.
nAdds the init script to chkconfig and sets it to on for run levels 2, 3, 4, and 5.
vRealize Operations Manager Configuration Guide
VMware, Inc. 14
If you have multiple agents to install, see Install Multiple End Point Operations Management Agents
Simultaneously.
Prerequisites
nVerify that you have sufficient privileges to deploy an End Point Operations Management agent. You
must have vRealize Operations Manager user credentials that include a role that allows you to install
End Point Operations Management agents. See Roles and Privileges in vRealize Operations
Manager.
nIf you plan to run ICMP checks, you must install the End Point Operations Management agent with
root privileges.
nTo configure the agent to use a keystore that you manage yourself for SSL communication, set up a
JKS-format keystore for the agent on its host and configure the agent to use its SSL certificate. Note
the full path to the keystore, and its password. You must specify this data in the agent
agent.properties file.
Verify that the agent keystore password and the private key password are identical.
nIf you are installing a non-JRE package, define the agent HQ_JAVA_HOME location.
End Point Operations Management platform-specific installers include JRE 1.8.x. Platform-
independent installers do not. Depending on your environment and the installer you use, you might
need to define the location of the JRE to ensure that the agent can find the JRE to use. See
Configuring JRE Locations for End Point Operations Management Components.
nIf you are installing a non-JRE package, verify that you are using the latest Java version. You might
be exposed to security risks with earlier versions of Java.
nVerify that the installation directory for the End Point Operations Management agent does not contain
a vRealize Hyperic agent installation.
nIf you are using the noarch installation, verify that a JDK or JRE is installed on the platform.
nVerify that you use only ASCII characters when specifying the agent installation path. If you want to
use non-ASCII characters, you must set the encoding of the Linux machine and SSH client
application to UTF-8.
Procedure
1Download the appropriate RPM bundle to the target machine.
Operating System RPM Bundle to Download
64bit Operating System epops-agent-x86-64-linux-version.rpm
32bit Operating System epops-agent-x86-linux-version.rpm
No Arch epops-agent-noarch-linux-version.rpm
2Open an SSH connection using root credentials.
3Run rpm -i epops-agent-Arch-linux-version.rpm to install the agent on the platform that the
agent will monitor, where Arch is the name of the archive and version is the version number.
vRealize Operations Manager Configuration Guide
VMware, Inc. 15
The End Point Operations Management agent is installed, and the service is configured to start at boot.
What to do next
Before you start the service, verify that the epops user credentials include any permissions that are
required to enable your plug-ins to discover and monitor their applications, then perform one of the
following processes.
nRun service epops-agent start to start the epops-agent service.
nIf you installed the End Point Operations Management agent on a machine running SuSE 12.x, start
the End Point Operations Management agent by running the [EP Ops Home]/bin/ep-agent.sh
start command.
nWhen you attempt to start an End Point Operations Management agent you might receive a message
that the agent is already running. Run ./bin/ep-agent.sh stop before starting the agent.
nConfigure the agent in the agent.properties file, then start the service. See Activate End Point
Operations Management Agent to vRealize Operations Manager Server Setup Properties.
Install the Agent on a Linux Platform from an Archive
You can install an End Point Operations Management agent on a Linux platform from a tar.gz archive.
By default, during installation, the setup process prompts you to provide configuration values. You can
automate this process by specifying the values in the agent properties file. If the installer detects values in
the properties file, it applies those values. Subsequent deployments also use the values specified in the
agent properties file.
Prerequisites
nVerify that you have sufficient privileges to deploy an End Point Operations Management agent. You
must have vRealize Operations Manager user credentials that include a role that allows you to install
End Point Operations Management agents. See Roles and Privileges in vRealize Operations
Manager.
nIf you plan to run ICMP checks, you must install the End Point Operations Management agent with
root privileges.
nVerify that the installation directory for the End Point Operations Management agent does not contain
a vRealize Hyperic agent installation.
nVerify that you use only ASCII characters when specifying the agent installation path. If you want to
use non-ASCII characters, you must set the encoding of the Linux machine and SSH client
application to UTF-8.
vRealize Operations Manager Configuration Guide
VMware, Inc. 16
Procedure
1Download and extract the End Point Operations Management agent installation tar.gz file that is
appropriate for your Linux operating system.
Operating System tar.gz Bundle to Download
64bit Operating System epops-agent-x86-64-linux-version.tar.gz
32bit Operating System epops-agent-x86-linux-version.tar.gz
No Arch epops-agent-noJRE-version.tar.gz
2Run cd agent name/bin to open the bin directory for the agent.
3Run ep-agent.sh start.
The first time that you install the agent, the command launches the setup process, unless you already
specified all the required configuration values in the agent properties file.
4(Optional) Run ep-agent.sh status to view the current status of the agent, including the IP address
and port.
What to do next
Register the client certificate for the agent. See Regenerate an Agent Client Certificate.
Install the Agent on a Windows Platform from an Archive
You can install an End Point Operations Management agent on a Windows platform from a .zip file.
By default, during installation, the setup process prompts you to provide configuration values. You can
automate this process by specifying the values in the agent properties file. If the installer detects values in
the properties file, it applies those values. Subsequent deployments also use the values specified in the
agent properties file.
Prerequisites
nVerify that you have sufficient privileges to deploy a End Point Operations Management agent. You
must have vRealize Operations Manager user credentials that include a role that allows you to install
End Point Operations Management agents. See Roles and Privileges in vRealize Operations
Manager.
nVerify that the installation directory for the End Point Operations Management agent does not contain
a vRealize Hyperic agent installation.
nVerify that you do not have any End Point Operations Management or vRealize Hyperic agent
installed on your environment before running the agent Windows installer.
vRealize Operations Manager Configuration Guide
VMware, Inc. 17
Procedure
1Download and extract the End Point Operations Management agent installation .zip file that is
appropriate for your Windows operating system.
Operating System ZIP Bundle to Download
64bit Operating System epops-agent-x86-64-win-version.zip
32bit Operating System epops-agent-win32-version.zip
No Arch epops-agent-noJRE-version.zip
2Run cd agent name\bin to open the bin directory for the agent.
3Run ep-agent.bat install.
4Run ep-agent.bat start.
The first time that you install the agent, the command starts the setup process, unless you already
specified the configuration values in the agent properties file.
What to do next
Generate the client certificate for the agent. See Regenerate an Agent Client Certificate.
Install the Agent on a Windows Platform Using the Windows Installer
You can install the End Point Operations Management agent on a Windows platform using a Windows
installer.
You can perform a silent installation of the agent. See Installing an End Point Operations Management
Agent Silently on a Windows Machine.
Prerequisites
nVerify that you have sufficient privileges to deploy an End Point Operations Management agent. You
must have vRealize Operations Manager user credentials that include a role that allows you to install
End Point Operations Management agents. See Roles and Privileges in vRealize Operations
Manager.
nVerify that the installation directory for the End Point Operations Management agent does not contain
a vRealize Hyperic agent installation.
nIf you already have an End Point Operations Management agent installed on the machine, verify that
it is not running.
nVerify that you do not have any End Point Operations Management or vRealize Hyperic agent
installed on your environment before running the agent Windows installer.
nYou must know the user name and password for the vRealize Operations Manager, the
vRealize Operations Manager server address (FQDN), and the server certificate thumbprint value.
You can see additional information about the certificate thumbprint in the procedure.
vRealize Operations Manager Configuration Guide
VMware, Inc. 18
Procedure
1Download the Windows installation EXE file that is appropriate for your Windows platform.
Operating System RPM Bundle to Download
64bit Operating System epops-agent-x86-64-win-version.exe
32bit Operating System epops-agent-x86-win-version.exe
2Double-click the file to open the installation wizard.
3Complete the steps in the installation wizard.
Verify that the user and system locales are identical, and that the installation path contains only
characters that are part of the system locale's code page. You can set user and system locales in the
Regional Options or Regional Settings control panel.
Note the following information related to defining the server certificate thumbprint.
nThe server certificate thumbprint is required to run a silent installation.
nEither the SHA1 or SHA256 algorithm can be used for the thumbprint.
nBy default, the vRealize Operations Manager server generates a self-signed CA certificate that is
used to sign the certificate of all the nodes in the cluster. In this case, the thumbprint must be the
thumbprint of the CA certificate, to allow for the agent to communicate with all nodes.
nAs a vRealize Operations Manager administrator, you can import a custom certificate instead of
using the default. In this instance, you must specify a thumbprint corresponding to that certificate
as the value of this property.
nTo view the certificate thumbprint value, log into the vRealize Operations Manager Administration
interface at https://IP Address/admin and click the SSL Certificate icon located on the right
of the menu bar. Unless you replaced the original certificate with a custom certificate, the second
thumbprint in the list is the correct one. If you did upload a custom certificate, the first thumbprint
in the list is the correct one.
4(Optional) Run ep-agent.bat query to verify if the agent is installed and running.
The agent begins running on the Windows platform.
Caution The agent will run even if some of the parameters that you provided in the installation wizard
are missing or invalid. Check the wrapper.log and agent.log files in the product installation
path/log directory to verify that there are no installation errors.
Installing an End Point Operations Management Agent Silently on a Windows Machine
You can install an End Point Operations Management agent on a Windows machine using silent or very
silent installation.
Silent and very silent installations are performed from a command line interface using a setup installer
executable file.
vRealize Operations Manager Configuration Guide
VMware, Inc. 19
Verify that you do not have any End Point Operations Management or vRealize Hyperic agent installed on
your environment before running the agent Windows installer.
Use the following parameters to set up the installation process. For more information about these
parameters, see Specify the End Point Operations Management Agent Setup Properties.
Caution The parameters that you specify for the Windows installer are passed to the agent
configuration without validation. If you provide an incorrect IP address or user credentials, the
End Point Operations Management agent cannot start.
Table 12. Silent Command Line Installer Parameters
Parameter Value
Mandator
y/Optional Comments
-serverAddress FQDN/iP
address
Mandatory FQDN or IP address of the vRealize Operations Manager
server.
-username string Mandatory
-securePort number Optional Default is 443
-password string Mandatory
-serverCertificateThumbprint string Mandatory The vRealize Operations Manager server certificate
thumbprint. You must enclose the certificate thumbprint in
opening and closing quotation marks, for example, -
serverCertificateThumbprint "31:32:FA:1F:FD:
78:1E:D8:9A:15:32:85:D7:FE:54:49:0A:1D:9F:6D" .
Parameters are available to define various other attributes for the installation process.
Table 13. Additional Silent Command Line Installer Parameters
Parameter Default Value Comments
/DIR C:\ep-agent Specifies the installation path. You cannot use spaces in the
installation path, and you must connect the /DIR command and
the installation path with an equal sign, for example, /DIR=C:\ep-
agent.
/SILENT none Specifies that the installation is to be silent. In a silent installation,
only the progress window appears.
/VERYSILENT none Specifies that the installation is to be very silent. In a very silent
installation, the progress window does not appear, however
installation error messages are displayed, as is the startup prompt
if you did not disable it.
Install the Agent on an AIX Platform
You can install the End Point Operations Management agent on an AIX platform.
Prerequisites
1 Install IBM Java 7.
vRealize Operations Manager Configuration Guide
VMware, Inc. 20
2 Add the latest JCE from the IBM JRE security directory:
JAVA_INSTALLATION_DIR/jre/lib/security. For more information, see Downloading and
installing the unrestricted JCE policy files
Procedure
1When you configure the PATH variable, add /usr/java7_64/jre/bin:/usr/java7_64/bin or
PATH=/usr/java7_64/jre/bin:/usr/java7_64/bin:$PATH.
2Configure HQ_JAVA_HOME=path_to_current_java_directory.
For more information on setting up and checking your AIX environment, see
https://www.ibm.com/support/knowledgecenter/SSYKE2_7.0.0/com.ibm.java.aix.
70.doc/diag/problem_determination/aix_setup.html.
3Download the noJre version of the End Point Operations Management agent and install the agent on
an AIX machine.
4For agent installation information, see Install the Agent on a Linux Platform from an Archive
Install the Agent on a Solaris Platform
You can install the End Point Operations Management agent on a Solaris platform.
Prerequisites
1 Install Java 7 or above for Solaris from the Oracle site:
https://java.com/en/download/help/solaris_install.xml
2 Add the latest JCE from
http://www.oracle.com/technetwork/java/javase/downloads/jce-7-download-432124.html
Procedure
1When you configure the PATH variable, add /usr/java7_64/jre/bin:/usr/java7_64/bin or
PATH=/usr/java7_64/jre/bin:/usr/java7_64/bin:$PATH.
2Configure HQ_JAVA_HOME=path_to_current_java_directory.
3Download and install the noJre version of the End Point Operations Management agent on a Solaris
machine.
4For agent installation information, see Install the Agent on a Linux Platform from an Archive
Java Prerequisites for the End Point Operations Management Agent
All End Point Operations Management agents require Java Cryptography Extension (JCE) Unlimited
Strength Jurisdiction policy files be included as part of the Java package.
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction policy files are included in the JRE
End Point Operations Management agent installation options.
You can install an End Point Operations Management agent package that does not contain JRE files, or
choose to add JRE later.
vRealize Operations Manager Configuration Guide
VMware, Inc. 21
If you select a non-JRE installation option, you must ensure that your Java package includes Java
Cryptography Extension (JCE) Unlimited Strength Jurisdiction policy files to enable registration of the
End Point Operations Management agent. If you select a non-JRE option and your Java package does
not include Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction policy files, you receive
these error messages Server might be down (or wrong IP/port were used) and Cannot
support TLS_RSA_WITH_AES_256_CBC_SHA with currently installed providers.
Configuring JRE Locations for End Point Operations Management
Components
End Point Operations Management agents require a JRE. The platform-specific
End Point Operations Management agent installers include a JRE. Platform-independent
End Point Operations Management agent installers do not include a JRE.
If you select a non-JRE installation option, you must ensure that your Java package includes Java
Cryptography Extension (JCE) Unlimited Strength Jurisdiction policy files to enable registration of the End
Point Operations Management agent. For more information , see Java Prerequisites for the End Point
Operations Management Agent.
Depending on your environment and the installation package that you use, you might need to define the
location of the JRE for your agents. The following environments require JRE location configuration.
nPlatform-specific agent installation on a machine that has its own JRE that you want to use
nPlatform-independent agent installation
How the Agent Resolves its JRE
The agent resolves its JRE based on platform type.
UNIX-like Platforms On UNIX-like platforms, the agent determines which JRE to use in the
following order:
1HQ_JAVA_HOME environment variable
2 Embedded JRE
3JAVA_HOME environment variable
Linux Platforms On Linux platforms, you use export HQ_JAVA_HOME=
path_to_current_java_directory to define a system variable.
Windows Platforms On Windows platforms, the agent resolves the JRE to use in the following
order:
1HQ_JAVA_HOME environment variable
vRealize Operations Manager Configuration Guide
VMware, Inc. 22
The path defined in the variable must not contain spaces. Consider
using a shortened version of the path, using the tild (~) character. For
example,c:\Program Files\Java\jre7 can become
c:\Progra~1\Java\jre7. The number after the tild depends on the
alphabetical order (where a = 1, b =2, and so on) of files whose name
begins with progra in that directory.
2 Embedded JRE
You define a system variable from the My Computer menu. Select
Properties > Advanced > Environment Variables > System Variables >
New.
Because of a known issue with Windows, on Windows Server 2008 R2 and 2012 R2, Windows services
might keep old values of system variables, even though they have been updated or removed. As a result,
updates or removal of the HQ_JAVA_HOME system variable might not be propagated to the
End Point Operations Management Agent service. In this event, the End Point Operations Management
agent might use an obsolete value for HQ_JAVA_HOME, which will cause it to use the wrong JRE version.
System Prerequisites for the End Point Operations Management Agent
If you do not define localhost as the loopback address, the End Point Operations Management agent
does not register and the following error appears: Connection failed. Server may be down (or
wrong IP/port were used). Waiting for 10 seconds before retrying.
As a workaround, complete the following steps:
Procedure
1Open the hosts file /etc/hosts on Linux or C:\Windows\System32\Drivers\etc\hosts on
Windows.
2Modify the file to include a localhost mapping to the IPv4 127.0.0.1 loopback address, using
127.0.0.1 localhost.
3Save the file.
Configure the End Point Operations Management Agent to
vRealize Operations Manager Server Communication Properties
Before first agent startup, you can define the properties that enable the agent to communicate with the
vRealize Operations Manager server, and other agent properties, in the agent.properties file of an
agent. When you configure the agent in the properties file you can streamline the deployment for multiple
agents.
If a properties file exists, back it up before you make configuration changes. If the agent does not have a
properties file, create one.
An agent looks for its properties file in AgentHome/conf. This is the default location of
agent.properties.
vRealize Operations Manager Configuration Guide
VMware, Inc. 23
If the agent does not find the required properties for establishing communications with the
vRealize Operations Manager server in either of these locations, it prompts for the property values at
initial start up of the agent.
A number of steps are required to complete the configuration.
You can define some agent properties before or after the initial startup. You must always configure
properties that control the following behaviors before initial startup.
nWhen the agent must use an SSL keystore that you manage, rather than a keystore that
vRealize Operations Manager generates.
nWhen the agent must connect to the vRealize Operations Manager server through a proxy server.
Prerequisites
Verify that the vRealize Operations Manager server is running.
Procedure
1Activate End Point Operations Management Agent to vRealize Operations Manager Server Setup
Properties
In the agent.properties file, properties relating to communication between the
End Point Operations Management agent and the vRealize Operations Manager server are inactive
by default. You must activate them.
2Specify the End Point Operations Management Agent Setup Properties
The agent.properties file contains properties that you can configure to manage communication.
3Configure an End Point Operations Management Agent Keystore
The agent uses a self-signed certificate for internal communication, and a second certificate that is
signed by the server during the agent registration process. By default, the certificates are stored in a
keystore that is generated in the data folder. You can configure your own keystore for the agent to
use.
4Configure the End Point Operations Management Agent by Using the Configuration Dialog Box
The End Point Operations Management agent configuration dialog box appears in the shell when
you start an agent that does not have configuration values that specify the location of the
vRealize Operations Manager server. The dialog box prompts you to provide the address and port of
the vRealize Operations Manager server, and other connection-related data.
5Overriding Agent Configuration Properties
You can specify that vRealize Operations Manager override default agent properties when they differ
from custom properties that you have defined.
6End Point Operations Management Agent Properties
Multiple properties are supported in the agent.properties file for an
End Point Operations Management agent. Not all supported properties are included by default in the
agent.properties file.
vRealize Operations Manager Configuration Guide
VMware, Inc. 24
What to do next
Start the End Point Operations Management agent.
Activate End Point Operations Management Agent to vRealize Operations Manager Server
Setup Properties
In the agent.properties file, properties relating to communication between the
End Point Operations Management agent and the vRealize Operations Manager server are inactive by
default. You must activate them.
Procedure
1In the agent.properties file, locate the following section.
## Use the following to automate agent setup
## using these properties.
##
## If any properties do not have values specified, the setup
## process prompts for their values.
##
## If the value to use during automatic setup is the default, use the string *default* as the
value for the option.
2Remove the hash tag at the beginning of each line to activate the properties.
#agent.setup.serverIP=localhost
#agent.setup.serverSSLPort=443
#agent.setup.serverLogin=username
#agent.setup.serverPword=password
The first time that you start the End Point Operations Management agent, if
agent.setup.serverPword is inactive, and has a plain text value, the agent encrypts the value.
3(Optional) Remove the hash tag at the beginning of the line
#agent.setup.serverCertificateThumbprint= and provide a thumbprint value to activate pre-
approval of the server certificate.
Specify the End Point Operations Management Agent Setup Properties
The agent.properties file contains properties that you can configure to manage communication.
Agent-server setup requires a minimum set of properties.
Procedure
1Specify the location and credentials the agent must use to contact the vRealize Operations Manager
server.
Property Property Definition
agent.setup.serverIP Specify the address or hostname of the vRealize Operations Manager server.
agent.setup.serverSSLPort The default value is the standard SSL vRealize Operations Manager server listen
port. If your server is configured for a different listen port, specify the port number.
vRealize Operations Manager Configuration Guide
VMware, Inc. 25
Property Property Definition
agent.setup.serverLogin Specify the user name for the agent to use when connecting to the
vRealize Operations Managerserver. If you change the value from the username
default value, verify that the user account is correctly configured on the
vRealize Operations Manager server.
agent.setup.serverPword Specify the password for the agent to use, together with the user name specified
in agent.setup.camLogin, when connecting to thevRealize Operations Manager
server. Verify that the password is the one configured in
vRealize Operations Manager for the user account.
2(Optional) Specify the vRealize Operations Manager server certificate thumbprint.
Property Property Definition
agent.setup.serverCertificateThum
bprint
Provides details about the server certificate to trust.
This parameter is required to run a silent installation.
Either the SHA1 or SHA256 algorithm can be used for the thumbprint.
By default, the vRealize Operations Manager server generates a self-signed CA
certificate that is used to sign the certificate of all the nodes in the cluster. In this
case, the thumbprint must be the thumbprint of the CA certificate, to allow for the
agent to communicate with all nodes.
As a vRealize Operations Manager administrator, you can import a custom
certificate instead of using the default. In this instance, you must specify a
thumbprint corresponding to that certificate as the value of this property.
To view the certificate thumbprint value, log into the vRealize Operations Manager
Administration interface at https://IP Address/admin and click the SSL
Certificate icon located on the right of the menu bar. Unless you replaced the
original certificate with a custom certificate, the second thumbprint in the list is the
correct one. If you did upload a custom certificate, the first thumbprint in the list is
the correct one.
3(Optional) Specify the location and file name of the platform token file.
This file is created by the agent during installation and contains the identity token for the platform
object.
Property Property Definition
Windows:
agent.setup.tokenFileWindows
Linux: agent.setup.tokenFileLinux
Provides details about the location and name of the platform token file.
The value cannot include backslash (\) or percentage(%) characters, or
environment variables.
Ensure that you use forward slashes (/) when specifying the Windows path.
4(Optional) Specify any other required properties by running the appropriate command.
Operating System Command
Linux ./bin/ep-agent.sh set-property PropertyKey PropertyValue
Windows ./bin/ep-agent.bat set-property PropertyKey PropertyValue
The properties are encrypted in the agent.properties file.
vRealize Operations Manager Configuration Guide
VMware, Inc. 26
Configure an End Point Operations Management Agent Keystore
The agent uses a self-signed certificate for internal communication, and a second certificate that is signed
by the server during the agent registration process. By default, the certificates are stored in a keystore
that is generated in the data folder. You can configure your own keystore for the agent to use.
Important To use your own keystore, you must perform this task before the first agent activation.
Procedure
1In the agent.properties file, activate the # agent.keystore.path= and #
agent.keystore.password= properties.
Define the full path to the keystore with agent.keystore.path and the keystore password with
agent.keystore.password.
2Add the [agent.keystore.alias] property to the properties file, and set it to the alias of the
primary certificate or private key entry of the keystore primary certificate.
Configure the End Point Operations Management Agent by Using the Configuration Dialog
Box
The End Point Operations Management agent configuration dialog box appears in the shell when you
start an agent that does not have configuration values that specify the location of the
vRealize Operations Manager server. The dialog box prompts you to provide the address and port of the
vRealize Operations Manager server, and other connection-related data.
The agent configuration dialog box appears in these cases:
nThe first time that you start an agent, if you did not supply one or more of the relevant properties in
the agent.properties file.
nWhen you start an agent for which saved server connection data is corrupt or was removed.
You can also run the agent launcher to rerun the configuration dialog box.
Prerequisites
Verify that the server is running.
Procedure
1Open a terminal window on the platform on which the agent is installed.
2Navigate to the AgentHome/bin directory.
vRealize Operations Manager Configuration Guide
VMware, Inc. 27
3Run the agent launcher using the start or setup option.
Platform Command
UNIX-like ep-agent.sh start
Windows Install the Windows service for the agent, then run the it: ep-agent.bat
install ep-agent.bat start command.
When you configure an End Point Operations Management agent as a Windows
service, make sure that the credentials that you specify are sufficient for the
service to connect to the monitored technology. For example, if you have
anEnd Point Operations Management agent that is running on Microsoft SQL
Server, and only a specific user can log in to that server, the Windows service
login must also be for that specific user.
4Respond to the prompts, noting the following as you move through the process.
Prompt Description
Enter the server hostname or IP
address
If the server is on the same machine as the agent, you can enter localhost. If a
firewall is blocking traffic from the agent to the server, specify the address of the
firewall.
Enter the server SSL port Specify the SSL port on the vRealize Operations Manager server to which the
agent must connect. The default port is 443.
The server has presented an untrusted
certificate
If this warning appears, but your server is signed by a trusted certificate or you
have updated the thumbprint property to contain the thumbprint, this agent
might be subject to a man-in-the-middle attack. Review the displayed certificate
thumbprint details carefully.
Enter your server username Enter the name of a vRealize Operations Manager user with agentManager
permissions.
Enter your server password Enter the password for the specified vRealize Operations Manager. Do not store
the password in the agent.properties file.
The agent initiates a connection to the vRealize Operations Manager server and the server verifies that
the agent is authenticated to communicate with it.
The server generates a client certificate that includes the agent token. The message The agent has
been successfully registered appears. The agent starts discovering the platform and supported
products running on it.
Overriding Agent Configuration Properties
You can specify that vRealize Operations Manager override default agent properties when they differ from
custom properties that you have defined.
In the Advanced section of the Edit Object dialog, if you set the Override agent configuration data to
false, default agent configuration data is applied. If you set Override agent configuration data to true,
the default agent parameter values are ignored if you have set alternative values, and the values that you
set are applied.
vRealize Operations Manager Configuration Guide
VMware, Inc. 28
If you set the value of Override agent configuration data to true when editing an MSSQL object
(MSSQL, MSSQL Database, MSSQL Reporting Services, MSSQL Analysis Service, or MSSQL Agent)
that runs in a cluster, it might result in inconsistent behavior.
End Point Operations Management Agent Properties
Multiple properties are supported in the agent.properties file for an End Point Operations Management
agent. Not all supported properties are included by default in the agent.properties file.
You must add any properties that you want to use that are not included in the default agent.properties
file.
You can encrypt properties in the agent.properties file to enable silent installation.
Encrypt End Point Operations Management Agent Property Values
After you have installed an End Point Operations Management agent, you can use it to add encrypted
values to the agent.properties file to enable silent installation.
For example, to specify the user password, you can run ./bin/ep-agent.sh set-property
agent.setup.serverPword serverPasswordValue to add the following line to the agent.properties
file.
agent.setup.serverPword = ENC(4FyUf6m/c5i+RriaNpSEQ1WKGb4y
+Dhp7213XQiyvtwI4tMlbGJfZMBPG23KnsUWu3OKrW35gB+Ms20snM4TDg==)
The key that was used to encrypt the value is saved in AgentHome/conf/agent.scu. If you encrypt other
values, the key that was used to encrypt the first value is used.
Prerequisites
Verify that the End Point Operations Management agent can access AgentHome/conf/agent.scu.
Following the encryption of any agent-to-server connection properties, the agent must be able to access
this file to start.
Procedure
uOpen a command prompt and run ./bin/ep-agent.sh set-property
agent.setup.propertyName propertyValue.
The key that was used to encrypt the value is saved in AgentHome/conf/agent.scu.
What to do next
If your agent deployment strategy involves distributing a standard agent.properties file to all agents,
you must also distribute agent.scu. See Install Multiple End Point Operations Management Agents
Simultaneously.
Adding Properties to the agent.properties File
You must add any properties that you want to use that are not included in the default agent.properties file.
Following is a list of the available properties.
vRealize Operations Manager Configuration Guide
VMware, Inc. 29
nagent.keystore.alias Property
This property configures the name of the user-managed keystore for the agent for agents configured
for unidirectional communication with the vRealize Operations Manager server.
nagent.keystore.password Property
This property configures the password for an End Point Operations Management agent's SSL
keystore.
nagent.keystore.path Property
This property configures the location of a End Point Operations Management agent's SSL keystore.
nagent.listenPort Property
This property specifies the port where the End Point Operations Management agent listens to
receive communication from the vRealize Operations Manager server.
nagent.logDir Property
You can add this property to the agent.properties file to specify the directory where the
End Point Operations Management agent writes its log file. If you do not specify a fully qualified
path, agent.logDir is evaluated relative to the agent installation directory.
nagent.logFile Property
The path and name of the agent log file.
nagent.logLevel Property
The level of detail of the messages the agent writes to the log file.
nagent.logLevel.SystemErr Property
Redirects System.err to the agent.log file.
nagent.logLevel.SystemOut Property
Redirects System.out to the agent.log file.
nagent.proxyHost Property
The host name or IP address of the proxy server that the End Point Operations Management agent
must connect to first when establishing a connection to the vRealize Operations Manager server.
nagent.proxyPort Property
The port number of the proxy server that the End Point Operations Management agent must connect
to first when establishing a connection to the vRealize Operations Manager server.
nagent.setup.acceptUnverifiedCertificate Property
This property controls whether an End Point Operations Management agent issues a warning when
the vRealize Operations Manager server presents an SSL certificate that is not in the agent's
keystore, and is either self-signed or signed by a different certificate authority than the one that
signed the agent's SSL certificate.
vRealize Operations Manager Configuration Guide
VMware, Inc. 30
nagent.setup.camIP Property
Use this property to define the IP address of the vRealize Operations Manager server for the agent.
The End Point Operations Management agent reads this value only in the event that it cannot find
connection configuration in its data directory.
nagent.setup.camLogin Property
At first startup after installation, use this property to define the End Point Operations Management
agent user name to use when the agent is registering itself with the server.
nagent.setup.camPort Property
At first startup after installation, use this property to define the End Point Operations Management
agent server port to use for non-secure communications with the server.
nagent.setup.camPword Property
Use this property to define the password that the End Point Operations Management agent uses
when connecting to the vRealize Operations Manager server, so that the agent does not prompt a
user to supply the password interactively at first startup.
nagent.setup.camSecure
This property is used when you are registering the End Point Operations Management with the
vRealize Operations Manager server to communicate using encryption.
nagent.setup.camSSLPort Property
At first startup after installation, use this property to define the End Point Operations Management
agent server port to use for SSL communications with the server.
nagent.setup.resetupToken Property
Use this property to configure an End Point Operations Management agent to create a new token to
use for authentication with the server at startup. Regenerating a token is useful if the agent cannot
connect to the server because the token has been deleted or corrupted.
nagent.setup.unidirectional Property
Enables unidirectional communications between the End Point Operations Management agent and
vRealize Operations Manager server.
nagent.startupTimeOut Property
The number of seconds that the End Point Operations Management agent startup script waits before
determining that the agent has not started up successfully. If the agent is found to not be listening for
requests within this period, an error is logged, and the startup script times out.
nautoinventory.defaultScan.interval.millis Property
Specifies how frequently the End Point Operations Management agent performs a default
autoinventory scan.
nautoinventory.runtimeScan.interval.millis Property
Specifies how frequently an End Point Operations Management agent performs a runtime scan.
vRealize Operations Manager Configuration Guide
VMware, Inc. 31
nhttp.useragent Property
Defines the value for the user-agent request header in HTTP requests issued by the
End Point Operations Management agent.
nlog4j Properties
The log4j properties for the End Point Operations Management agent are described here.
nplatform.log_track.eventfmt Property
Specifies the content and format of the Windows event attributes that an
End Point Operations Management agent includes when logging a Windows event as an event in
vRealize Operations Manager.
nplugins.exclude Property
Specifies plug-ins that the End Point Operations Management agent does not load at startup. This is
useful for reducing an agent's memory footprint.
nplugins.include Property
Specifies plug-ins that the End Point Operations Management agent loads at startup. This is useful
for reducing the agent's memory footprint.
npostgresql.database.name.format Property
This property specifies the format of the name that the PostgreSQL plug-in assigns to auto-
discovered PostgreSQL Database and vPostgreSQL Database database types.
npostgresql.index.name.format Property
This property specifies the format of the name that the PostgreSQL plug-in assigns to auto-
discovered PostgreSQL Index and vPostgreSQL Index index types.
npostgresql.server.name.format Property
This property specifies the format of the name that the PostgreSQL plug-in assigns to auto-
discovered PostgreSQL and vPostgreSQL server types.
npostgresql.table.name.format Property
This property specifies the format of the name that the PostgreSQL plug-in assigns to auto-
discovered PostgreSQL Table and vPostgreSQL Table table types.
nscheduleThread.cancelTimeout Property
This property specifies the maximum time, in milliseconds, that the ScheduleThread allows a metric
collection process to run before attempting to interrupt it.
nscheduleThread.fetchLogTimeout Property
This property controls when a warning message is issued for a long-running metric collection
process.
nscheduleThread.poolsize Property
This property enables a plug-in to use multiple threads for metric collection. The property can
increase metric throughput for plug-ins known to be thread-safe.
vRealize Operations Manager Configuration Guide
VMware, Inc. 32
nscheduleThread.queuesize Property
Use this property to limit the metric collection queue size (the number of metrics) for a plug-in.
nsigar.mirror.procnet Property
mirror /proc/net/tcp on Linux.
nsigar.pdh.enableTranslation Property
Use this property to enable translation based on the detected locale of the operating system.
nsnmpTrapReceiver.listenAddress Property
Specifies the port on which the End Point Operations Management agent listens for SNMP traps
agent.keystore.alias Property
This property configures the name of the user-managed keystore for the agent for agents configured for
unidirectional communication with the vRealize Operations Manager server.
Example: Defining the Name of a Keystore
Given this user-managed keystore for a unidirectional agent
hq self-signed cert), Jul 27, 2011, trustedCertEntry,
Certificate fingerprint (MD5): 98:FF:B8:3D:25:74:23:68:6A:CB:0B:9C:20:88:74:CE
hq-agent, Jul 27, 2011, PrivateKeyEntry,
Certificate fingerprint (MD5): 03:09:C4:BC:20:9E:9A:32:DC:B2:E8:29:C0:3C:FE:38
you define the name of the keystore like this
agent.keystore.alias=hq-agent
If the value of this property does not match the keystore name, agent-server communication fails.
Default
The default behavior of the agent is to look for the hq keystore.
For unidirectional agents with user-managed keystores, you must define the keystore name using this
property.
agent.keystore.password Property
This property configures the password for an End Point Operations Management agent's SSL keystore.
Define the location of the keystore using the agent.keystore.path Property property.
By default, the first time you start the End Point Operations Management agent following installation, if
agent.keystore.password is uncommented and has a plain text value, the agent automatically
encrypts the property value. You can encrypt this property value yourself, prior to starting the agent.
It is good practice to specify the same password for the agent keystore as for the agent private key.
Default
By default, the agent.properties file does not include this property.
vRealize Operations Manager Configuration Guide
VMware, Inc. 33
agent.keystore.path Property
This property configures the location of a End Point Operations Management agent's SSL keystore.
Specify the full path to the keystore. Define the password for the keystore using the
agent.keystore.password property. See agent.keystore.password Property.
Specifying the Keystore Path on Windows
On Windows platforms, specify the path to the keystore in this format.
C:/Documents and Settings/Desktop/keystore
Default
AgentHome/data/keystore.
agent.listenPort Property
This property specifies the port where the End Point Operations Management agent listens to receive
communication from the vRealize Operations Manager server.
The property is not required for unidirectional communication.
agent.logDir Property
You can add this property to the agent.properties file to specify the directory where the
End Point Operations Management agent writes its log file. If you do not specify a fully qualified path,
agent.logDir is evaluated relative to the agent installation directory.
To change the location for the agent log file, enter a path relative to the agent installation directory, or a
fully qualified path.
Note that the name of the agent log file is configured with the agent.logFile property.
Default
By default, the agent.properties file does not include this property.
The default behavior is agent.logDir=log, resulting in the agent log file being written to the
AgentHome/log directory.
agent.logFile Property
The path and name of the agent log file.
Default
In the agent.properties file, the default setting for the agent.LogFile property is made up of a
variable and a string
agent.logFile=${agent.logDir}\agent.log
where
nagent.logDir is a variable that supplies the value of an identically named agent property. By default,
the value of agent.logDir is log, interpreted relative to the agent installation directory.
vRealize Operations Manager Configuration Guide
VMware, Inc. 34
nagent.log is the name for the agent log file.
By default, the agent log file is named agent.log, and is written to the AgentHome/log directory.
agent.logLevel Property
The level of detail of the messages the agent writes to the log file.
Permitted values are INFO and DEBUG.
Default
INFO
agent.logLevel.SystemErr Property
Redirects System.err to the agent.log file.
Commenting out this setting causes System.err to be directed to agent.log.startup.
Default
ERROR
agent.logLevel.SystemOut Property
Redirects System.out to the agent.log file.
Commenting out this setting causes System.out to be directed to agent.log.startup.
Default
INFO
agent.proxyHost Property
The host name or IP address of the proxy server that the End Point Operations Management agent must
connect to first when establishing a connection to the vRealize Operations Manager server.
This property is supported for agents configured for unidirectional communication.
Use this property in conjunction with agent.proxyPort and agent.setup.unidirectional.
Default
None
agent.proxyPort Property
The port number of the proxy server that the End Point Operations Management agent must connect to
first when establishing a connection to the vRealize Operations Manager server.
This property is supported for agents configured for unidirectional communication.
Use this property in conjunction with agent.proxyPort and agent.setup.unidirectional.
Default
None
vRealize Operations Manager Configuration Guide
VMware, Inc. 35
agent.setup.acceptUnverifiedCertificate Property
This property controls whether an End Point Operations Management agent issues a warning when the
vRealize Operations Manager server presents an SSL certificate that is not in the agent's keystore, and is
either self-signed or signed by a different certificate authority than the one that signed the agent's SSL
certificate.
When the default is used, the agent issues the warning
The authenticity of host 'localhost' can't be established.
Are you sure you want to continue connecting? [default=no]:
If you respond yes, the agent imports the server's certificate and will continue to trust the certificate from
this point on.
Default
agent.setup.acceptUnverifiedCertificate=no
agent.setup.camIP Property
Use this property to define the IP address of the vRealize Operations Manager server for the agent. The
End Point Operations Management agent reads this value only in the event that it cannot find connection
configuration in its data directory.
You can specify this and other agent.setup.* properties to reduce the user interaction required to
configure an agent to communicate with the server.
The value can be provided as an IP address or a fully qualified domain name. To identify an server on the
same host as the server, set the value to 127.0.0.1.
If there is a firewall between the agent and server, specify the address of the firewall, and configure the
firewall to forward traffic on port 7080, or 7443 if you use the SSL port, to the
vRealize Operations Manager server.
Default
Commented out, localhost.
agent.setup.camLogin Property
At first startup after installation, use this property to define the End Point Operations Management agent
user name to use when the agent is registering itself with the server.
The permission required on the server for this initialization is Create, for platforms.
Log in from the agent to the server is only required during the initial configuration of the agent.
The agent reads this value only in the event that it cannot find connection configuration in its data
directory.
You can specify this and other agent.setup.* properties to reduce the user interaction required to
configure an agent to communicate with the server.
vRealize Operations Manager Configuration Guide
VMware, Inc. 36
Default
Commented our hqadmin.
agent.setup.camPort Property
At first startup after installation, use this property to define the End Point Operations Management agent
server port to use for non-secure communications with the server.
The agent reads this value only in the event that it cannot find connection configuration in its data
directory.
You can specify this and other agent.setup.* properties to reduce the user interaction required to
configure an agent to communicate with the server.
Default
Commented out 7080.
agent.setup.camPword Property
Use this property to define the password that the End Point Operations Management agent uses when
connecting to the vRealize Operations Manager server, so that the agent does not prompt a user to
supply the password interactively at first startup.
The password for the user is that specified by agent.setup.camLogin.
The agent reads this value only in the event that it cannot find connection configuration in its data
directory.
You can specify this and other agent.setup.* properties to reduce the user interaction required to
configure an agent to communicate with the server.
The first time you start the End Point Operations Management agent after installation, if
agent.keystore.password is uncommented and has a plain text value, the agent automatically
encrypts the property value. You can encrypt these property values prior to starting the agent.
Default
Commented our hqadmin.
agent.setup.camSecure
This property is used when you are registering the End Point Operations Management with the
vRealize Operations Manager server to communicate using encryption.
Use yes=secure, encrypted, or SSL, as appropriate, to encrypt communication.
Use no=unencrypted for unencrypted communication.
agent.setup.camSSLPort Property
At first startup after installation, use this property to define the End Point Operations Management agent
server port to use for SSL communications with the server.
vRealize Operations Manager Configuration Guide
VMware, Inc. 37
The agent reads this value only in the event that it cannot find connection configuration in its data
directory.
You can specify this and other agent.setup.* properties to reduce the user interaction required to
configure an agent to communicate with the server.
Default
Commented out 7443.
agent.setup.resetupToken Property
Use this property to configure an End Point Operations Management agent to create a new token to use
for authentication with the server at startup. Regenerating a token is useful if the agent cannot connect to
the server because the token has been deleted or corrupted.
The agent reads this value only in the event that it cannot find connection configuration in its data
directory.
Regardless of the value of this property, an agent generates a token the first time it is started after
installation.
Default
Commented out no.
agent.setup.unidirectional Property
Enables unidirectional communications between the End Point Operations Management agent and
vRealize Operations Manager server.
If you configure an agent for unidirectional communication, all communication with the server is initiated
by the agent.
For a unidirectional agent with a user-managed keystore, you must configure the keystore name in the
agent.properties file.
Default
Commented out no.
agent.startupTimeOut Property
The number of seconds that the End Point Operations Management agent startup script waits before
determining that the agent has not started up successfully. If the agent is found to not be listening for
requests within this period, an error is logged, and the startup script times out.
Default
By default, the agent.properties file does not include this property.
The default behavior of the agent is to timeout after 300 seconds.
vRealize Operations Manager Configuration Guide
VMware, Inc. 38
autoinventory.defaultScan.interval.millis Property
Specifies how frequently the End Point Operations Management agent performs a default autoinventory
scan.
The default scan detects server and platform services objects, typically using the process table or the
Windows registry. Default scans are less resource-intensive than runtime scans.
Default
The agent performs the default scan at startup and every 15 minutes thereafter.
Commented out 86,400,000 milliseconds, or one day.
autoinventory.runtimeScan.interval.millis Property
Specifies how frequently an End Point Operations Management agent performs a runtime scan.
A runtime scan may use more resource-intensive methods to detect services than a default scan. For
example, a runtime scan might involve issuing an SQL query or looking up an MBean.
Default
86,400,000 milliseconds, or one day.
http.useragent Property
Defines the value for the user-agent request header in HTTP requests issued by the
End Point Operations Management agent.
You can use http.useragent to define a user-agent value that is consistent across upgrades.
By default, the agent.properties file does not include this property.
Default
By default, the user-agent in agent requests includes the End Point Operations Management agent
version, so changes when the agent is upgraded. If a target HTTP server is configured to block requests
with an unknown user-agent, agent requests fail after an agent upgrade.
Hyperic-HQ-Agent/Version, for example, Hyperic-HQ-Agent/4.1.2-EE.
log4j Properties
The log4j properties for the End Point Operations Management agent are described here.
log4j.rootLogger=${agent.logLevel}, R
log4j.appender.R.File=${agent.logFile}
log4j.appender.R.MaxBackupIndex=1
log4j.appender.R.MaxFileSize=5000KB
log4j.appender.R.layout.ConversionPattern=%d{dd-MM-yyyy HH:mm:ss,SSS z} %-5p [%t] [%c{1}@%L] %m%n
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R=org.apache.log4j.RollingFileAppender
##
## Disable overly verbose logging
##
vRealize Operations Manager Configuration Guide
VMware, Inc. 39
log4j.logger.org.apache.http=ERROR
log4j.logger.org.springframework.web.client.RestTemplate=ERROR
log4j.logger.org.hyperic.hq.measurement.agent.server.SenderThread=INFO
log4j.logger.org.hyperic.hq.agent.server.AgentDListProvider=INFO
log4j.logger.org.hyperic.hq.agent.server.MeasurementSchedule=INFO
log4j.logger.org.hyperic.util.units=INFO
log4j.logger.org.hyperic.hq.product.pluginxml=INFO
# Only log errors from naming context
log4j.category.org.jnp.interfaces.NamingContext=ERROR
log4j.category.org.apache.axis=ERROR
#Agent Subsystems: Uncomment individual subsystems to see debug messages.
#-----------------------------------------------------------------------
#log4j.logger.org.hyperic.hq.autoinventory=DEBUG
#log4j.logger.org.hyperic.hq.livedata=DEBUG
#log4j.logger.org.hyperic.hq.measurement=DEBUG
#log4j.logger.org.hyperic.hq.control=DEBUG
#Agent Plugin Implementations
#log4j.logger.org.hyperic.hq.product=DEBUG
#Server Communication
#log4j.logger.org.hyperic.hq.bizapp.client.AgentCallbackClient=DEBUG
#Server Realtime commands dispatcher
#log4j.logger.org.hyperic.hq.agent.server.CommandDispatcher=DEBUG
#Agent Configuration parser
#log4j.logger.org.hyperic.hq.agent.AgentConfig=DEBUG
#Agent plugins loader
#log4j.logger.org.hyperic.util.PluginLoader=DEBUG
#Agent Metrics Scheduler (Scheduling tasks definitions & executions)
#log4j.logger.org.hyperic.hq.agent.server.session.AgentSynchronizer.SchedulerThread=DEBUG
#Agent Plugin Managers
#log4j.logger.org.hyperic.hq.product.MeasurementPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.AutoinventoryPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.ConfigTrackPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.LogTrackPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.LiveDataPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.ControlPluginManager=DEBUG
platform.log_track.eventfmt Property
Specifies the content and format of the Windows event attributes that an
End Point Operations Management agent includes when logging a Windows event as an event in
vRealize Operations Manager.
By default, the agent.properties file does not include this property.
Default
vRealize Operations Manager Configuration Guide
VMware, Inc. 40
When Windows log tracking is enabled, an entry in the form [Timestamp] Log Message
(EventLogName):EventLogName:EventAttributes is logged for events that match the criteria you
specified on the resource's Configuration Properties page.
Attribute Description
Timestamp When the event occurred
Log Message A text string
EventLogName The Windows event log type System, Security, or Application
EventAttributes A colon delimited string made of the Windows event Source and Message attributes
For example, the log entry: 04/19/2010 06:06 AM Log Message (SYSTEM): SYSTEM: Print:
Printer HP LaserJet 6P was paused. is for a Windows event written to the Windows System event
log at 6:06 AM on 04/19/2010. The Windows event Source and Message attributes, are "Print" and
"Printer HP LaserJet 6P was paused.", respectively.
Configuration
Use the following parameters to configure the Windows event attributes that the agent writes for a
Windows event. Each parameter maps to Windows event attribute of the same name.
Parameter Description
%user% The name of the user on whose behalf the event occurred.
%computer% The name of the computer on which the event occurred.
%source% The software that logged the Windows event.
%event% A number identifying the particular event type.
%message% The event message.
%category% An application-specific value used for grouping events.
For example, with the property setting platform.log_track.eventfmt=%user%@%computer% %source
%:%event%:%message%, the End Point Operations Management agent writes the following data when
logging the Windows event 04/19/2010 06:06 AM Log Message (SYSTEM): SYSTEM:
HP_Admistrator@Office Print:7:Printer HP LaserJet 6P was paused.. This entry is for a
Windows event written to the Windows system event log at 6:06 AM on 04/19/2010. The software
associated with the event was running as "HP_Administrator" on the host "Office". The Windows event's
Source, Event, and Message attributes, are "Print", "7", and "Printer HP LaserJet 6P was paused.",
respectively.
plugins.exclude Property
Specifies plug-ins that the End Point Operations Management agent does not load at startup. This is
useful for reducing an agent's memory footprint.
vRealize Operations Manager Configuration Guide
VMware, Inc. 41
Usage
Supply a comma-separated list of plug-ins to exclude. For example,
plugins.exclude=jboss,apache,mysql
plugins.include Property
Specifies plug-ins that the End Point Operations Management agent loads at startup. This is useful for
reducing the agent's memory footprint.
Usage
Supply a comma-separated list of plug-ins to include. For example,
plugins.include=weblogic,apache
postgresql.database.name.format Property
This property specifies the format of the name that the PostgreSQL plug-in assigns to auto-discovered
PostgreSQL Database and vPostgreSQL Database database types.
By default, the name of a PostgreSQL or vPostgreSQL database is Database DatabaseName, where
DatabaseName is the auto-discovered name of the database.
To use a different naming convention, define postgresql.database.name.format. The variable data
you use must be available from the PostgreSQL plug-in.
Use the following syntax to specify the default table name assigned by the plug-in,
Database ${db}
where
postgresql.db is the auto-discovered name of the PostgreSQL or vPostgreSQL database.
Default
By default, the agent.properties file does not include this property.
postgresql.index.name.format Property
This property specifies the format of the name that the PostgreSQL plug-in assigns to auto-discovered
PostgreSQL Index and vPostgreSQL Index index types.
By default, the name of a PostgreSQL or vPostgreSQL index is Index DatabaseName.Schema.Index,
comprising the following variables
Variable Description
DatabaseName The auto-discovered name of the database.
Schema The auto-discovered schema for the database.
Index The auto-discovered name of the index.
vRealize Operations Manager Configuration Guide
VMware, Inc. 42
To use a different naming convention, define postgresql.index.name.format. The variable data you
use must be available from the PostgreSQL plug-in.
Use the following syntax to specify the default index name assigned by the plug-in,
Index ${db}.${schema}.${index}
where
Attribute Description
db Identifies the platform that hosts the PostgreSQL or vPostgreSQL server.
schema Identifies the schema associated with the table.
index The index name in PostgreSQL.
Default
By default, the agent.properties file does not include this property.
postgresql.server.name.format Property
This property specifies the format of the name that the PostgreSQL plug-in assigns to auto-discovered
PostgreSQL and vPostgreSQL server types.
By default, the name of a PostgreSQL or vPostgreSQL server is Host:Port, comprising the following
variables
Variable Description
Host The FQDN of the platform that hosts the server.
Port The PostgreSQL listen port.
To use a different naming convention, define postgresql.server.name.format. The variable data you
use must be available from the PostgreSQL plug-in.
Use the following syntax to specify the default server name assigned by the plug-in,
${postgresql.host}:${postgresql.port}
where
Attribute Description
postgresql.host Identifies the FQDN of the hosting platform.
postgresql.port Identifies the database listen port.
Default
By default, the agent.properties file does not include this property.
postgresql.table.name.format Property
This property specifies the format of the name that the PostgreSQL plug-in assigns to auto-discovered
PostgreSQL Table and vPostgreSQL Table table types.
vRealize Operations Manager Configuration Guide
VMware, Inc. 43
By default, the name of a PostgreSQL or vPostgreSQL table is Table DatabaseName.Schema.Table,
comprising the following variables
Variable Description
DatabaseName The auto-discovered name of the database.
Schema The auto-discovered schema for the database.
Table The auto-discovered name of the table.
To use a different naming convention, define postgresql.table.name.format. The variable data you
use must be available from the PostgreSQL plug-in.
Use the following syntax to specify the default table name assigned by the plug-in,
Table ${db}.${schema}.${table}
where
Attribute Description
db Identifies the platform that hosts the PostgreSQL or vPostgreSQL server.
schema Identifies the schema associated with the table.
table The table name in PostgreSQL.
Default
By default, the agent.properties file does not include this property.
scheduleThread.cancelTimeout Property
This property specifies the maximum time, in milliseconds, that the ScheduleThread allows a metric
collection process to run before attempting to interrupt it.
When the timeout is exceeded, collection of the metric is interrupted, if it is in a wait(), sleep() or non-
blocking read() state.
Usage
scheduleThread.cancelTimeout=5000
Default
5000 milliseconds.
scheduleThread.fetchLogTimeout Property
This property controls when a warning message is issued for a long-running metric collection process.
If a metric collection process exceeds the value of this property, which is measured in milliseconds, the
agent writes a warning message to the agent.log file.
Usage
scheduleThread.fetchLogTimeout=2000
vRealize Operations Manager Configuration Guide
VMware, Inc. 44
Default
2000 milliseconds.
scheduleThread.poolsize Property
This property enables a plug-in to use multiple threads for metric collection. The property can increase
metric throughput for plug-ins known to be thread-safe.
Usage
Specify the plug-in by name and the number of threads to allocate for metric collection
scheduleThread.poolsize.PluginName=2
where PluginName is the name of the plug-in to which you are allocating threads. For example,
scheduleThread.poolsize.vsphere=2
Default
1
scheduleThread.queuesize Property
Use this property to limit the metric collection queue size (the number of metrics) for a plug-in.
Usage
Specify the plug-in by name and the maximum metric queue length number:
scheduleThread.queuesize.PluginName=15000
where PluginName is the name of the plug-in on which you are imposing a metric limit.
For example,
scheduleThread.queuesize.vsphere=15000
Default
1000
sigar.mirror.procnet Property
mirror /proc/net/tcp on Linux.
Default
true
sigar.pdh.enableTranslation Property
Use this property to enable translation based on the detected locale of the operating system.
snmpTrapReceiver.listenAddress Property
Specifies the port on which the End Point Operations Management agent listens for SNMP traps
vRealize Operations Manager Configuration Guide
VMware, Inc. 45
By default, the agent.properties file does not include this property.
Typically SNMP uses the UDP port 162 for trap messages. This port is in the privileged range, so an
agent listening for trap messages on it must run as root, or as an administrative user on Windows.
You can run the agent in the context of a non-administrative user, by configuring the agent to listen for
trap messages on an unprivileged port.
Usage
Specify an IP address (or 0.0.0.0 to specify all interfaces on the platform) and the port for UDP
communications in the format
snmpTrapReceiver.listenAddress=udp:IP_address/port
To enable the End Point Operations Management agent to receive SNMP traps on an unprivileged port,
specify port 1024 or higher. The following setting allows the agent to receive traps on any interface on the
platform, on UDP port 1620.
snmpTrapReceiver.listenAddress=udp:0.0.0.0/1620
Managing Agent Registration on vRealize Operations Manager Servers
The End Point Operations Management agents identify themselves to the server using client certificates.
The agent registration process generates the client certificate.
The client certificate includes a token that is used as the unique identifier. If you suspect that a client
certificate was stolen or compromised, you must replace the certificate.
You must have AgentManager credentials to perform the agent registration process.
If you remove and reinstall an agent by removing the data directory, the agent token is retained to enable
data continuity. See Understanding Agent Uninstallation and Reinstallation Implications.
Regenerate an Agent Client Certificate
An End Point Operations Management agent client certificate might expire and need to be replaced. For
example, you would replace a certificate that you suspected was corrupt or compromised.
Prerequisites
Verify that you have sufficient privileges to deploy an End Point Operations Management agent. You must
have vRealize Operations Manager user credentials that include a role that allows you to install
End Point Operations Management agents. See Roles and Privileges in vRealize Operations Manager.
vRealize Operations Manager Configuration Guide
VMware, Inc. 46
Procedure
uStart the registration process by running the setup command that is appropriate for the operating
system on which the agent is running.
Operating System Run Command
Linux ep-agent.sh setup
Windows ep-agent.bat setup
The agent installer runs the setup, requests a new certificate from the server, and imports the new
certificate to the keystore.
Securing Communications with the Server
Communication from an End Point Operations Management agent to the vRealize Operations Manager
server is unidirectional, however both parties must be authenticated. Communication is always secured
using transport layer security (TLS).
The first time an agent initiates a connection to the vRealize Operations Manager server following
installation, the server presents its SSL certificate to the agent.
If the agent trusts the certificate that the server presented, the agent imports the server's certificate to its
own keystore.
The agent trusts a server certificate if that certificate, or one of its issuers (CA) already exists in the
agent's keystore.
By default, if the agent does not trust the certificate that the server presents, the agent issues a warning.
You can choose to trust the certificate, or to terminate the configuration process. The
vRealize Operations Manager server and the agent do not import untrusted certificates unless you
respond yes to the warning prompt.
You can configure the agent to accept a specific thumb print without warning by specifying the thumb print
of the certificate for the vRealize Operations Manager server.
By default, the vRealize Operations Manager server generates a self-signed CA certificate that is used to
sign the certificate of all the nodes in the cluster. In this case, the thumbprint must be the thumbprint of
the issuer, to allow for the agent to communicate with all nodes.
As a vRealize Operations Manager administrator, you can import a custom certificate instead of using the
default. In this instance, you must specify a thumbprint corresponding to that certificate as the value of
this property.
Either the SHA1 or SHA256 algorithm can be used for the thumbprint.
Launching Agents from a Command Line
You can launch agents from a command line on both Linux and Windows operating systems.
Use the appropriate process for your operating system.
vRealize Operations Manager Configuration Guide
VMware, Inc. 47
If you are deleting the data directory, do not use Windows Services to stop and start an
End Point Operations Management agent. Stop the agent using epops-agent.bat stop. Delete the
data directory, then start the agent using epops-agent.bat start.
Run the Agent Launcher from a Linux Command Line
You can initiate the agent launcher and agent lifecycle commands with the epops-agent.sh script in the
AgentHome/bin directory.
Procedure
1Open a command shell or terminal window.
2Enter the required command, using the format sh epops-agent.sh command, where command is one
of the following.
Option Description
start Starts the agent as a daemon process.
stop Stops the agent's JVM process.
restart Stops and then starts the agent's JVM process.
status Queries the status of the agent's JVM process.
dump Runs a thread dump for the agent process, and writes the result to the
agent.log file in AgentHome/log.
ping Pings the agent process.
setup Re-registers the certificate using the existing token.
Run the Agent Launcher from a Windows Command Line
You can initiate the agent launcher and agent lifecycle commands with the epops-agent.bat script in the
AgentHome/bin directory.
Procedure
1Open a terminal window.
2Enter the required command, using the format epops-agent.bat command, where command is one of
the following.
Option Description
install Installs the agent NT service. You must run start after running install.
start Starts the agent as an NT service.
stop Stops the agent as an NT service.
remove Removes the agent's service from the NT service table.
query Queries the current status of the agent NT service (status).
dump Runs a thread dump for the agent process, and writes the result to the
agent.log file in AgentHome/log.
ping Pings the agent process.
setup Re-registers the certificate using the existing token.
vRealize Operations Manager Configuration Guide
VMware, Inc. 48
Managing an End Point Operations Management Agent on a Cloned Virtual
Machine
When you clone a virtual machine that is running an End Point Operations Management agent that is
collecting data, there are processes that you must complete related to data continuity to ensure data
continuity.
Cloning a Virtual Machine to Delete the Original Virtual Machine
If you are cloning the virtual machine so that you can delete the original virtual machine, you need to
verify that the original machine is deleted from thevCenter Server and from vRealize Operations Manager
so that the new operating system to virtual machine relationship can be created.
Cloning a Virtual Machine to Run Independently of the Original Machine
If you are cloning the virtual machine so that you can run the two machines independently of the other,
the cloned machine requires a new agent because an agent can only monitor a single machine.
Procedure
uOn the cloned machine, delete the End Point Operations Management token and the data folder,
according to the operating system of the machine.
Operating System Process
Linux Stop the End Point Operations Management services and
delete the End Point Operations Management token and the
data folder.
Windows 1 Run epops-agent remove.
2 Remove the agent token and the data folder.
3 Run epops-agent install.
4 Run epops-agent start.
Moving Virtual Machines between vCenter Server Instances
When you move a virtual machine from one vCenter Server to another, you must delete the original
machine from vRealize Operations Manager to enable the new operating system relationship with the
virtual machine to be created.
Understanding Agent Uninstallation and Reinstallation Implications
When you uninstall or reinstall an End Point Operations Management agent, various elements are
affected, including existing metrics that the agent has collected, and the identification token that enables a
reinstalled agent to report on the previously discovered objects on the server. To ensure that you maintain
data continuity, it is important that you aware of the implications of uninstalling and reinstalling an agent.
vRealize Operations Manager Configuration Guide
VMware, Inc. 49
There are two key locations related to the agent that are preserved when you uninstall an agent. Before
reinstalling the agent, you must decide whether to retain or delete the files.
nThe /data folder is created during agent installation. It contains the keystore, unless you chose a
different location for it, and other data related to the currently installed agent.
nThe epops-token platform token file is created before agent registration and is stored as follows:
nLinux: /etc/vmware/epops-token
nWindows: %PROGRAMDATA%/VMware/EP Ops Agent/epops-token
When you uninstall an agent, you must delete the /data folder. This does not affect data continuity.
However, to enable data continuity it is important that you do not delete the epops-token file. This file
contains the identity token for the platform object. Following agent reinstallation, the token enables the
agent to be synchronized with the previously discovered objects on the server.
When you reinstall the agent, the system notifies you whether it found an existing token, and provides its
identifier. If a token is found, the system uses that token. If a token in not found, the system creates a new
one. In the case of an error, the system prompts you to provide either a location and file name for the
existing token file, or a location and file name for a new one.
The method that you use to uninstall an agent depends on how it was installed.
nUninstall an Agent that was Installed from an Archive
You can use this procedure to uninstall agents that you installed on virtual machines in your
environment from an archive.
nUninstall an Agent that was Installed Using an RPM Package
You can use this procedure to uninstall agents that you installed on virtual machines in your
environment using an RPM package.
nUninstall an Agent that was Installed Using a Windows Executable
You can use this procedure to uninstall agents that you installed on virtual machines in your
environment from a Windows EXE file.
nReinstall an Agent
If you change the IP address, hostname or port number of the vRealize Operations Manager server,
you need to uninstall and reinstall your agents.
Uninstall an Agent that was Installed from an Archive
You can use this procedure to uninstall agents that you installed on virtual machines in your environment
from an archive.
Prerequisites
Verify that the agent is stopped.
Procedure
1(Optional) If you have a Windows operating system, run ep-agent.bat remove to remove the agent
service.
vRealize Operations Manager Configuration Guide
VMware, Inc. 50
2Select the uninstall option that is appropriate to your situation.
nIf you do not intend to reinstall the agent after you have uninstalled it, delete the agent directory.
The default name of the directory is epops-agent-version.
nIf you are reinstalling the agent after you have uninstalled it, delete the /data directory.
3(Optional) If you do not intend to reinstall the agent after you have uninstalled it, or you do not need to
maintain data continuity, delete the epops-token platform token file.
Depending on your operating system, the file to delete is one of the following, unless otherwise
defined in the properties file.
nLinux: /etc/epops/epops-token
nWindows: %PROGRAMDATA%/VMware/EP Ops Agent/epops-token
Uninstall an Agent that was Installed Using an RPM Package
You can use this procedure to uninstall agents that you installed on virtual machines in your environment
using an RPM package.
When you are uninstalling an End Point Operations Management agent, it is good practice to stop the
agent running, to reduce unnecessary load on the server.
Procedure
uOn the virtual machine from which you are removing the agent, open a command line and run rpm -e
epops-agent.
The agent is uninstalled from the virtual machine.
Uninstall an Agent that was Installed Using a Windows Executable
You can use this procedure to uninstall agents that you installed on virtual machines in your environment
from a Windows EXE file.
When you are uninstalling an End Point Operations Management agent, it is good practice to stop the
agent running, to reduce unnecessary load on the server.
Procedure
uDouble-click unins000.exe in the installation destination directory for the agent.
The agent is uninstalled from the virtual machine.
Reinstall an Agent
If you change the IP address, hostname or port number of the vRealize Operations Manager server, you
need to uninstall and reinstall your agents.
Prerequisites
To maintain data continuity, you must have retained the epops-token platform token file when you
uninstalled your agent. See Uninstall an Agent that was Installed from an Archive.
vRealize Operations Manager Configuration Guide
VMware, Inc. 51
When you reinstall an End Point Operations Management agent on a virtual machine, objects that had
previously been detected are no longer monitored. To avoid this situation, do not restart the
End Point Operations Management agent until the plug-in synchronization is complete.
Procedure
uRun the agent install procedure that is relevant to your operating system.
See Selecting an Agent Installer Package.
What to do next
After you reinstall an agent, MSSQL resources might stop receiving data. If this happens, edit the
problematic resources and click OK.
Install Multiple End Point Operations Management Agents Simultaneously
If you have multiple End Point Operations Management agents to install at one time, you can create a
single standardized agent.properties file that all the agents can use.
Installing multiple agents entails a number of steps. Perform the steps in the order listed.
Prerequisites
Verify that the following prerequisites are satisfied.
1 Set up an installation server.
An installation server is a server that can access the target platforms from which to perform remote
installation.
The server must be configured with a user account that has permissions to SSH to each target
platform without requiring a password.
2 Verify that each target platform on which an End Point Operations Management agent will be installed
has the following items.
nA user account that is identical to that created on the installation server.
nAn identically named installation directory, for example /home/epomagent.
nA trusted keystore, if required.
Procedure
1Create a Standard End Point Operations Management Agent Properties File
You can create a single properties file that contains property values that multiple agents use.
2Deploy and Start Multiple Agents One-By-One
You can perform remote installations to deploy multiple agents that use a single agent.properties
file one-by-one.
3Deploy and Start Multiple Agents Simultaneously
You can perform remote installations to simultaneously deploy agents that use a single
agent.properties file.
vRealize Operations Manager Configuration Guide
VMware, Inc. 52
Create a Standard End Point Operations Management Agent Properties File
You can create a single properties file that contains property values that multiple agents use.
To enable multiple agent deployment, you create an agent.properties file that defines the agent
properties required for the agent to start up and connect with the vRealize Operations Manager server. If
you supply the necessary information in the properties file, each agent locates its setup configuration at
startup, rather than prompting you for the location. You can copy the agent properties file to the agent
installation directory, or to a location available to the installed agent.
Prerequisites
Verify that the prerequisites in Install Multiple End Point Operations Management Agents Simultaneously
are satisfied.
Procedure
1Create an agent.properties file in a directory.
You will copy this file later to other machines.
2Configure the properties as required.
The minimum configuration is the IP address, user name, password, thumb print, and port of the
vRealize Operations Manager installation server.
3Save your configurations.
The first time that the agents are started, they read the agent.properties file to identify the server
connection information. The agents connect to the server and register themselves.
What to do next
Perform remote agent installations. See Deploy and Start Multiple Agents One-By-One or Deploy and
Start Multiple Agents Simultaneously.
Deploy and Start Multiple Agents One-By-One
You can perform remote installations to deploy multiple agents that use a single agent.properties file
one-by-one.
Prerequisites
nVerify that the prerequisites in Install Multiple End Point Operations Management Agents
Simultaneously are satisfied.
nVerify that you configured a standard agent properties file and copied it to the agent installation, or to
a location available to the agent installation.
Procedure
1Log in to the installation server user account that you configured with permissions to use SSH to
connect to each target platform without requiring a password.
2Use SSH to connect to the remote platform.
vRealize Operations Manager Configuration Guide
VMware, Inc. 53
3Copy the agent archive to the agent host.
4Unpack the agent archive.
5Copy the agent.properties file to the AgentHome/conf directory of the unpacked agent archive on
the remote platform.
6Start the new agent.
The agent registers with the vRealize Operations Manager server and the agent runs an autodiscovery
scan to discover its host platform and supported managed products that are running on the platform.
Deploy and Start Multiple Agents Simultaneously
You can perform remote installations to simultaneously deploy agents that use a single
agent.properties file.
Prerequisites
nVerify that the prerequisites in Install Multiple End Point Operations Management Agents
Simultaneously are satisfied.
nVerify that you configured a standard agent properties file and copied it to the agent installation, or to
a location available to the agent installation. See Create a Standard End Point Operations
Management Agent Properties File.
Procedure
1Create a hosts.txt file on your installation server that maps the hostname to the IP address of each
platform on which you are installing an agent.
2Open a command-line shell on the installation server.
3Type the following command in the shell, supplying the correct name for the agent package in the
export command.
$ export AGENT=epops-agent-x86-64-linux-1.0.0.tar.gz
$ export PATH_TO_AGENT_INSTALL=</path/to/agent/install>
$ for host in `cat hosts.txt`; do scp $AGENT $host:$PATH_TO_AGENT_INSTALL && ssh $host "cd
$PATH_TO_AGENT_INSTALL; tar zxfp $AGENT &&
./epops-agent-1.0.0/ep-agent.sh start"; done
4(Optional) If the target hosts have sequential names, for example host001, host002, host003, and so
on, you can skip the hosts.txt file and use the seq command.
$ export AGENT=epops-agent-x86-64-linux-1.0.0.tar.gz
$ for i in `seq 1 9`; do scp $AGENT host$i: && ssh host$i "tar zxfp $AGENT &&
./epops-agent-1.0.0/ep-agent.sh start"; done
The agents register with the vRealize Operations Manager server and the agents run an autodiscovery
scan to discover their host platform and supported managed products that are running on the platform.
vRealize Operations Manager Configuration Guide
VMware, Inc. 54
Upgrade the End Point Operations Management Agent
You can upgrade the 6.3 or 6.4 version of an End Point Operations Management agent to a 6.5 version or
later, from the vRealize Operations Manager administration interface.
Prerequisites
nDownload the End Point Operations Management PAK file.
nBefore you install the PAK file, or upgrade your vRealize Operations Manager instance, clone any
customized content to preserve it. Customized content can include alert definitions, symptom
definitions, recommendations, and views. Then, during the software update, you select the options
named Install the PAK file even if it is already installed and Reset out-of-the-box content.
Procedure
1Log into the vRealize Operations Manager administration interface of your cluster at https://IP-
address/admin.
2Click Software Update in the left panel.
3Click Install a Software Update in the main panel.
4From the Add Software Update dialog box, click Browse to select the PAK file.
5Click Upload and follow the steps in the wizard to install your PAK file.
6After Step 4 of the install is complete, you return to the Software Update page of the
End Point Operations Management administration interface.
7A message that indicates that the software update completed successfully appears in the main pane.
If any of the agents have not installed successfully, rerun the upgrade steps and ensure that you have
selected Install the PAK file even if it is already installed in the Add Software Update - Select
Software Update page.
What to do next
You can view the log files from the vRealize Operations Manager administration interface > Support page.
Access and View the Log Files
You can access and view the log files to troubleshoot agent upgrade failure. You can verify the status of
the agents during and after the upgrade process to find out if the agents have upgraded successfully.
You can view the status of the agents during the upgrade from the epops-agent-upgrade-status.txt
file. You can view a final report of the number of agents that have successfully upgraded or failed upgrade
from the epops-agent-bundle-upgrade-summary.txt file.
Procedure
1Log into the vRealize Operations Manager administration interface of your cluster at https://IP-
address/admin.
2Click Support in the left panel.
vRealize Operations Manager Configuration Guide
VMware, Inc. 55
3Click the Logs tab in the right pane and double-click EPOPS.
4Double-click the log file to view the contents.
Roles and Privileges in vRealize Operations Manager
vRealize Operations Manager provides several predefined roles to assign privileges to users. You can
also create your own roles.
You must have privileges to access specific features in the vRealize Operations Manager user interface.
The roles associated with your user account determine the features you can access and the actions you
can perform.
Each predefined role includes a set of privileges for users to perform create, read, update, or delete
actions on components such as dashboards, reports, administration, capacity, policies, problems,
symptoms, alerts, user account management, and adapters.
Administrator Includes privileges to all features, objects, and actions in
vRealize Operations Manager.
PowerUser Users have privileges to perform the actions of the Administrator role
except for privileges to user management and cluster management.
vRealize Operations Manager maps vCenter Server users to this role.
PowerUserMinusReme
diation
Users have privileges to perform the actions of the Administrator role
except for privileges to user management, cluster management, and
remediation actions.
ContentAdmin Users can manage all content, including views, reports, dashboards, and
custom groups in vRealize Operations Manager.
AgentManager Users can deploy and configure End Point Operations Management
agents.
GeneralUser-1 through
GeneralUser-4
These predefined template roles are initially defined as ReadOnly roles.
vCenter Server administrators can configure these roles to create
combinations of roles to give users multiple types of privileges. Roles are
synchronized to vCenter Server once during registration.
ReadOnly Users have read-only access and can perform read operations, but cannot
perform write actions such as create, update, or delete.
Registering Agents on Clusters
You can streamline the process of registering agents on clusters by defining a DNS name for a cluster
and configuring that cluster so that the metrics are shared sequentially in a loop.
You only need to register the agent on the DNS, not on the IP address of each individual machine in the
cluster. If you do register the agent on each node in the cluster, it affects the scale of your environment.
vRealize Operations Manager Configuration Guide
VMware, Inc. 56
When you have configured the cluster so that the received metrics are shared in a sequential loop, each
time that the agent queries the DNS server for an IP address, the returned address is for one of the virtual
machines in the cluster. The next time the agent queries the DNS, it sequentially supplies the IP address
of the next virtual machine in the cluster, and so on. The clustered machines are set up in a loop
configuration so that each machine receives metrics in turn, ensuring a balanced load.
After you configure the DNS, it is important to maintain it, ensuring that when machines are added or
removed from the cluster, their IP address information is updated accordingly.
Manually Create Operating System Objects
The agent automatically discovers some of the objects to monitor. You can manually add other objects,
such as files, scripts or processes, and specify the details so that the agent can monitor them.
The Monitor OS Object action only appears in the Actions menu of a object that can be a parent object.
Procedure
1In the left pane of vRealize Operations Manager, select the agent adapter object that is to be the
parent under which you are creating an OS object.
2Select Actions > Monitor OS Object.
A list of parent object context-sensitive objects appear in the menu.
3Choose one of the following options.
nClick an object type from the list to open the Monitor OS Object dialog for that object type.
The three most popularly selected object types appear in the list.
nIf the object type that you want to select is not in the list, click More to open the Monitor OS
Object dialog, and select the object type from the complete list of objects that are available for
selection in the Object Type menu.
4Specify a display name for the OS object.
5Enter the appropriate values in the other text boxes.
The options in the menu are filtered according to the OS object type that you select.
Some text boxes might display default values, which you can overwrite if necessary. Note the
following information about default values.
vRealize Operations Manager Configuration Guide
VMware, Inc. 57
Option Value
Process Supply the PTQL query in the form: Class.Attribute.operator=value.
For example, Pid.PidFile.eq=/var/run/sshd.pid.
Where:
nClass is the name of the Sigar class without the Proc prefix.
nAttribute is an attribute of the given Class, index into an array or key in a Map class.
noperator is one of the following (for String values):
neq Equal to value
nne Not Equal to value
new Ends with value
nsw Starts with value
nct Contains value (substring)
nre Regular expression value matches
Delimit queries with a comma.
Windows
Service
Monitor an application that runs as a service under Windows.
To configure it, you supply its Service Name in Windows.
To determine the Service Name:
1 Select Run from the Windows Start menu.
2 Type services.msc in the run dialog and click OK.
3 In the list of services displayed, right-click the service to monitor and choose Properties.
4 Locate the Service Name on the General tab.
Script Configure vRealize Operations Manager to periodically run a script that collects a system or application metric.
6Click OK.
You cannot click OK until you enter values for all the mandatory text boxes.
The OS object appears under its parent object and monitoring begins.
Caution If you enter invalid details when you create an OS object, the object is created but the agent
cannot discover it, and metrics are not collected.
Managing Objects with Missing Configuration Parameters
Sometimes when an object is discovered by vRealize Operations Manager for the first time, the absence
of values for some mandatory configuration parameters is detected. You can edit the object's parameters
to supply the missing values.
If you select Custom Groups > Objects with Missing Configuration (EP Ops) in the Environment
Overview view of vRealize Operations Manager, you can see the list of all objects that have missing
mandatory configuration parameters. In addition, objects with such missing parameters return an error in
the Collection Status data.
If you select an object in the vRealize Operations Manager user interface that has missing configuration
parameters, the red Missing Configuration State icon appears on the menu bar. When you point to the
icon, details about the specific issue appear.
You can add the missing parameter values through the Action > Edit Object menu.
vRealize Operations Manager Configuration Guide
VMware, Inc. 58
Mapping Virtual Machines to Operating Systems
You can map your virtual machines to an operating system to provide additional information to assist you
to determine the root cause of why an alert was triggered for a virtual machine.
vRealize Operations Manager monitors your ESXi hosts and the virtual machines located on them. When
you deploy an End Point Operations Management agent, it discovers the virtual machines and the objects
that are running on them. By correlating the virtual machines discovered by the
End Point Operations Management agent with the operating systems monitored by
vRealize Operations Manager you have more details to determine the exact cause of an alert being
triggered.
Verify that you have the vCenter Adapter configured with the vCenter Server that manages the virtual
machines. You also need to ensure that you have VMware Tools that are compatible with the
vCenter Server installed on each of the virtual machines.
User Scenario
vRealize Operations Manager is running but you have not yet deployed the
End Point Operations Management agent in your environment. You configured
vRealize Operations Manager to send you alerts when CPU problems occur. You see an alert on your
dashboard because insufficient CPU capacity is available on one of your virtual machines that is running
a Linux operating system. You deploy another two virtual CPUs but the alert remains. You struggle to
determine what is causing the problem.
In the same situation, if you deployed the End Point Operations Management agent, you can see the
objects on your virtual machines, and determine that an application-type object is using all available CPU
capacity. When you add more CPU capacity, it also uses that. You disable the object and your CPU
availability is no longer a problem.
Viewing Objects on Virtual Machines
After you deploy an End Point Operations Management agent on a virtual machine, the machine is
mapped to the operating system and you can see the objects on that machine.
All the actions and the views that are available to other objects in your vRealize Operations Manager
environment are also available for newly discovered server, service, and application objects, and for the
deployed agent.
You can see the objects on a virtual machine in the inventory when you select the machine by clicking
Environment from the menu, and then from the left pane click vSphere Environment > vSphere Hosts
and Clusters. You can see the objects and the deployed agent under the operating system.
When you select an object, the center pane of the user interface displays data relevant to that objects.
vRealize Operations Manager Configuration Guide
VMware, Inc. 59
Customizing How End Point Operations Management Monitors
Operating Systems
End Point Operations Management gathers operating system metrics through agent-based collections. In
addition to the features available after initial configuration of End Point Operations Management, you can
enable remote monitoring, enable or disable plug-ins for additional monitoring, and customize
End Point Operations Management logging.
Configuring Remote Monitoring
With remote monitoring you can monitor the state of an object from a remote location by configuring a
remote check.
You can configure remote monitoring using HTTP, ICMP TCP methods.
When you configure a remote HTTP, ICMP or TCP check, it is created as a child object of the tested
object that you are monitoring and of the monitoring agent.
If the object that you select to remotely monitor does not already have an alert configured, one is created
automatically in the format Remote check type failed on a object type. If the object has an
existing alert, that is used.
Configure Remote Monitoring of an Object
Use this procedure to configure remote monitoring of an object.
Configuration options are defined in HTTP Configuration Options, ICMP Configuration Optionsand TCP
Configuration Options. You might need to refer to this information when you are completing this
procedure.
Procedure
1In the vRealize Operations Manager user interface, select the remote object to monitor.
2On the details page for the object, select Monitor this Object Remotely from the Actions menu.
3In the Monitor Remote Object dialog, select the End Point Operations Management agent that will
remotely monitor the object from the Monitored From menu.
4Select the method with which the remote object will be monitored from the Check Method menu.
The relevant parameters for the selected object type appear.
5Enter values for all of the configuration options and click OK.
HTTP Configuration Options
Here are the options in the configuration schema for the HTTP resource.
For the HTTP resource, the netservices plug-in descriptor default values are:
nport: 80
nsslport: 443
vRealize Operations Manager Configuration Guide
VMware, Inc. 60
HTTP Configuration Options
Table 14. ssl Option
Option Information Value
Description Use ssl
Default false
Optional true
Type boolean
Notes N/A
Parent Schema ssl
Table 15. hostname Option
Option Information Value
Description Hostname
Default localhost
Optional false
Type N/A
Notes The hostname of system that hosts the service to monitor. For
example: mysite.com
Parent Schema sockaddr
Table 16. port Option
Option Information Value
Description Port
Default A default value for port is usually set for each type of network
service by properties in the netservices plug-in descriptor.
Optional false
Type N/A
Notes The port on which the service listens.
Parent Schema sockaddr
Table 17. sotimeout Option
Option Information Value
Description Socket Timeout (in seconds)
Default 10
Optional true
Type int
vRealize Operations Manager Configuration Guide
VMware, Inc. 61
Table 17. sotimeout Option (Continued)
Option Information Value
Notes The maximum length of time the agent waits for a response to a
request to the remote service.
Parent Schema sockaddr
Table 18. path Option
Option Information Value
Description Path
Default /
Optional false
Type N/A
Notes Enter a value to monitor a specific page or file on the site. for
example: /Support.html.
Parent Schema url
Table 19. method Option
Option Information Value
Description Request Method
Default HEAD
Optional false
Type enum
Notes Method for checking availability.
Permitted values: HEAD, GET
HEAD results in less network traffic.
Use GET to return the body of the request response to specify a
pattern to match in the response.
Parent Schema http
Table 110. hostheader Option
Option Information Value
Description Host Header
Default none
Optional true
Type N/A
Notes Use this option to set a Host HTTP header in the request. This
is useful if you use name-based virtual hosting. Specify the host
name of the Vhost's host, for example, blog.mypost.com.
Parent Schema http
vRealize Operations Manager Configuration Guide
VMware, Inc. 62
Table 111. follow Option
Option Information Value
Description Follow Redirects
Default enabled
Optional true
Type boolean
Notes Enable if the HTTP request that is generated will be re-directed.
This is important, because an HTTP server returns a different
code for a redirect and vRealize Operations Manager
determines that the HTTP service check is unavailable if it is a
redirect, unless this redirect configuration is set.
Parent Schema http
Table 112. pattern Option
Option Information Value
Description Response Match (substring or regex)
Default none
Optional true
Type N/A
Notes Specify a pattern or substring for vRealize Operations Manager
to attempt to match against the content in the HTTP response.
This enables you to check that in addition to being available, the
resource is serving the content you expect.
Parent Schema http
Table 113. proxy Option
Option Information Value
Description Proxy Connection
Default none
Optional true
Type N/A
Notes If the connection to the HTTP service goes through a proxy
server, supply the hostname and port for the proxy server. For
example, proxy.myco.com:3128.
Parent Schema http
Table 114. requestparams Option
Option Information Value
Description Request arguments. For example, arg0=val0, arg1=val1, and
so on.
Default N/A
vRealize Operations Manager Configuration Guide
VMware, Inc. 63
Table 114. requestparams Option (Continued)
Option Information Value
Optional true
Type string
Notes Request parameters added to the URL to be tested.
Parent Schema http
Table 115. Credential Option
Option Information Value
Description Username
Default N/A
Optional true
Type N/A
Notes Supply the user name if the target site is password-protected.
Parent Schema credentials
ICMP Configuration Options
Here are the options in the configuration schema for the ICMP resource.
ICMP configuration is not supported in Windows environments. When attempting to run an ICMP check
for remote monitoring from an Agent running on a Windows platform, no data is returned.
Table 116. hostname Option
Option Information Value
Description Hostname
Default localhost
Optional N/A
Type N/A
Notes The hostname of system that hosts the object to monitor. For
example: mysite.com
Parent Schema netservices plug-in descriptor
Table 117. sotimeout Option
Option Information Value
Description Socket Timeout (in seconds)
Default 10
Optional N/A
Type int
vRealize Operations Manager Configuration Guide
VMware, Inc. 64
Table 117. sotimeout Option (Continued)
Option Information Value
Notes The maximum period of time the agent waits for a response to a
request to the remote service.
Parent Schema netservices plug-in descriptor
TCP Configuration Options
Here are the options in the configuration schema to enable TCP checking.
Table 118. port Option
Option Information Value
Description Port
Default A default value for port is usually set for each type of network
service by properties in the netservices plug-in descriptor.
Optional false
Type N/A
Notes The port on which the service listens.
Parent Schema sockaddr
Table 119. hostname Option
Option Information Value
Description Hostname
Default localhost
Optional N/A
Type N/A
Notes The hostname of system that hosts the object to monitor. For
example: mysite.com
Parent Schema netservices plug-in descriptor
Make sure you use the IP address of the machine on which the remote check is to run, not the host
name.
Table 120. sotimeout Option
Option Information Value
Description Socket Timeout (in seconds)
Default 10
Optional N/A
Type int
vRealize Operations Manager Configuration Guide
VMware, Inc. 65
Table 120. sotimeout Option (Continued)
Option Information Value
Notes The maximum amount of time the agent waits for a response to
a request to the remote service.
Parent Schema netservices plug-in descriptor
Agent Management
You can add, edit, and delete End Point Operations Management agents and enable or disable the
End Point Operations Management plug-ins from the tabs in the Agent Management page.
Where You Find the Agent Management Page
In the menu, click Administration, and then in the left pane click Configuration > End Point
Operations.
Agents Tab
You can view the End Point Operations Management agents that are installed and deployed in your
environment.
Where You Find the Agents Tab
In the menu, click Administration, and then in the left pane click Configuration > End Point
Operations.
How the Agents Tab Works
You can view all the agents that are installed, the virtual machines on which they are installed, their
operating system and the agent bundle version. You can also view the collection details of each agent.
You can filter the list of agents based on the name of the agent. You add a filter from the upper-right
corner of the toolbar. You can sort the Agent Token, Agent Name, Collection State, and Collection Status
columns by clicking the column name.
Plug-ins Tab
End Point Operations Management agents include plug-ins that determine which objects to monitor, how
they should be monitored, which metrics to collect, and so on. Some plug-ins are included in the default
End Point Operations Management agent installation, and other plug-ins might be added as part of any
management pack solution that you install to extend the vRealize Operations Manager monitoring
process.
You can use the Plug-ins tab from the Agents Management page to disable or enable the agent plug-ins
that are deployed in your environment as part of a solution installation. For example, you might want to
temporarily disable a plug-in so that you can analyze the implication of that plug-in on a monitored virtual
machine. To access the Plug-ins tab, in the menu, click Administration, and then in the left pane click
Configuration > End Point Operations. You can sort all the columns in the tab by clicking the column
name.
vRealize Operations Manager Configuration Guide
VMware, Inc. 66
All the default plug-ins and the plug-ins that are deployed when you installed one or more solutions are
listed alphabetically on the tab.
You must have Manage Plug-ins permissions to enable and disable plug-ins.
When you disable a plug-in, it is removed from all the agents on which it has existed, and the agent no
longer collects the metrics and other data related to that plug-in. The plug-in is marked as disabled on the
vRealize Operations Manager server.
You cannot disable the default plug-ins that are installed during the vRealize Operations Manager
installation.
You use the action menu that appears when you click the gear wheel icon to disable or enable plug-ins.
Before you deploy a new version of a plug-in, you must implement a shutdown method. If you do not
implement a shutdown method, the existing plug-in version does not shut down so that a new instance is
created and allocated resources such as static threads are not released. Implement a shutdown method
for these plug-ins.
nPlug-ins that use third-party libraries
nPlug-ins that use native libraries
nPlug-ins that use connection pools
nPlug-ins that might lock files, which cause issues on Windows operating systems
It is good practice that plug-ins do not use threads, third-party libraries, or static collection.
Configuring Plug-in Loading
At startup, an End Point Operations Management agent loads all the plug-ins in the
AgentHome/bundles/agent-x.y.z-nnnn/pdk/plugins directory. You can configure properties in the
agent.properties file to reduce an agent's memory footprint by configuring it to load only the plug-ins
that you use.
Plug-ins are deployed to all agents when a solution is installed. You might want to use the properties
described here in a situation in which you need to remove one or more plug-ins from a specific machine.
You can either specify a list of plug-ins to exclude, or configure a list of plug-ins to load.
plugins.exclude
Use this property to specify the plug-ins that the End Point Operations Management agent must not load
at startup.
You supply a comma-separated list of plugins to exclude. For example,
plugins.exclude=jboss,apache,mysql.
plugins.include
Use this property to specify the plug-ins that the End Point Operations Management agent must load at
startup.
You supply a comma-separated list of plugins to include. For example,
plugins.include=weblogic,apache.
vRealize Operations Manager Configuration Guide
VMware, Inc. 67
Understanding the Unsynchronized Agents Group
An unsynchronized agent is an agent that is not synchronized with the vRealize Operations Manager
server in terms of its plug-ins. The agent might be missing plug-ins that are registered on the server,
include plug-ins that are not registered on the server, or include plug-ins that have a different version to
that registered on the server.
Each agent must be synchronized with the vRealize Operations Manager server. During the time that an
agent is not synchronized with the server, it appears in the Unsynchronized Agents list. The list is located
in the vRealize Operations Manager user interface on the Groups tab in the Environment view.
The first time an agent is started, a status message is sent to the server. The server compares the status
sent by the agent with that on the server. The server sends commands to the agent to synchronize,
download or delete plug-ins, as required by the differences that it detects.
When a plug-in is deployed, disabled, or enabled as part of a management pack solution update, the
vRealize Operations Manager server detects that change and sends a new command to the agents so
that synchronization occurs.
Commonly, multiple agents are affected at the same time when a plug-in is deployed, disabled or
enabled. All agents have an equal need to be updated so, to avoid overloading the server and creating
performance issues that might occur if many agents were all synchronized at the same time,
synchronization is performed in batches and is staggered in one-minute periods. You will notice that the
list of unsynchronized agents decrements over time.
Configuring Agent Logging
You can configure the name, location, and logging level for End Point Operations Management agent
logs. You can also redirect system messages to the agent log, and configure the debug log level for an
agent subsystem.
Agent Log Files
The End Point Operations Management agent log files are stored in the AgentHome/log directory.
Agent log files include the following:
agent.log
agent.operations.log This log is applicable to Windows-based agents only.
This is an audit log that records the commands that were run on the agent,
together with the parameters that the agent used to action them.
wrapper.log The Java service wrapper-based agent launcher writes messages to the
wrapper.log file. For a non-JRE agent, this file is located in
agentHome/wrapper/sbin.
In the event that the value was changed ifr the agent.logDir property, the
file is also located in agentHome/wrapper/sbin.
vRealize Operations Manager Configuration Guide
VMware, Inc. 68
Configuring the Agent Log Name or Location
Use these properties to change the name or location of the agent log file.
agent.logDir
You can add this property to the agent.properties file to specify the directory where the
End Point Operations Management agent will write its log file. If you do not specify a fully qualified path,
agent.logDir is evaluated relative to the agent installation directory.
This property does not exist in the agent.properties file unless you explicitly add it. The default
behavior is equivalent to the agent.logDir=log setting, resulting in the agent log file being written to the
AgentHome/log directory.
To change the location for the agent log file, add agent.logDir to the agent.properties file and enter
a path relative to the agent installation directory, or a fully qualified path.
The name of the agent log file is configured with the agent.logFile property.
agent.logFile
This property specifies the path and name of the agent log file.
In the agent.properties file, the default setting for the agent.LogFile property is made up of a
variable and a string, agent.logFile=${agent.logDir}\agent.logDir.
nagent.logDir is a variable that supplies the value of an identically named agent property. By default,
the value of agent.logDir is log, interpreted relative to the agent installation directory.
nagent.log is the name for the agent log file.
By default, the agent log file is named agent.log and is written to the AgentHome/log directory.
To configure the agent to log to a different directory, you must explicitly add the agent.logDir property to
the agent.properties file.
Configuring the Agent Logging Level
Use this property to control the severity level of messages that the End Point Operations Management
agent writes to the agent log file.
agent.logLevel
This property specifies the level of detail of the messages that the End Point Operations Management
agent writes to the log file.
Setting the agent.logLevel property value to DEBUG level is not advised. This level of logging across all
subsystems imposes overhead, and can also cause the log file to roll over so frequently that log
messages of interest are lost. It is preferable to configure debug level logging only at the subsystem level.
The changes that you make to this property become effective approximately five minutes after you save
the properties file. It is not necessary to restart the agent to initiate the change.
vRealize Operations Manager Configuration Guide
VMware, Inc. 69
Redirecting System Messages to the Agent Log
You can use these properties to redirect system-generated messages to the
End Point Operations Management agent log file.
agent.logLevel.SystemErr
This property redirects System.err to agent.log. Commenting out this setting causes System.err to
be directed to agent.log.startup.
The default value is ERROR.
agent.logLevel.SystemOut
This property redirects System.out to agent.log. Commenting out this setting causes System.out to
be directed to agent.log.startup.
The default value is INFO.
Configuring the Debug Level for an Agent Subsystem
For troubleshooting purposes, you can increase the logging level for an individual agent subsystem.
To increase the logging level for an individual agent subsystem, uncomment the appropriate line in the
section of the agent.properties file that is labelled Agent Subsystems: Uncomment individual
subsystems to see debug messages.
Agent log4j Properties
This is the log4j properties in the agent.properties file.
log4j.rootLogger=${agent.logLevel}, R
log4j.appender.R.File=${agent.logFile}
log4j.appender.R.MaxBackupIndex=1
log4j.appender.R.MaxFileSize=5000KB
log4j.appender.R.layout.ConversionPattern=%d{dd-MM-yyyy HH:mm:ss,SSS z} %-5p [%t] [%c{1}@%L] %m%n
log4j.appender.R.layout=org.apache.log4j.PatternLayout
log4j.appender.R=org.apache.log4j.RollingFileAppender
##
## Disable overly verbose logging
##
log4j.logger.org.apache.http=ERROR
log4j.logger.org.springframework.web.client.RestTemplate=ERROR
log4j.logger.org.hyperic.hq.measurement.agent.server.SenderThread=INFO
log4j.logger.org.hyperic.hq.agent.server.AgentDListProvider=INFO
log4j.logger.org.hyperic.hq.agent.server.MeasurementSchedule=INFO
log4j.logger.org.hyperic.util.units=INFO
log4j.logger.org.hyperic.hq.product.pluginxml=INFO
# Only log errors from naming context
log4j.category.org.jnp.interfaces.NamingContext=ERROR
log4j.category.org.apache.axis=ERROR
vRealize Operations Manager Configuration Guide
VMware, Inc. 70
#Agent Subsystems: Uncomment individual subsystems to see debug messages.
#-----------------------------------------------------------------------
#log4j.logger.org.hyperic.hq.autoinventory=DEBUG
#log4j.logger.org.hyperic.hq.livedata=DEBUG
#log4j.logger.org.hyperic.hq.measurement=DEBUG
#log4j.logger.org.hyperic.hq.control=DEBUG
#Agent Plugin Implementations
#log4j.logger.org.hyperic.hq.product=DEBUG
#Server Communication
#log4j.logger.org.hyperic.hq.bizapp.client.AgentCallbackClient=DEBUG
#Server Realtime commands dispatcher
#log4j.logger.org.hyperic.hq.agent.server.CommandDispatcher=DEBUG
#Agent Configuration parser
#log4j.logger.org.hyperic.hq.agent.AgentConfig=DEBUG
#Agent plugins loader
#log4j.logger.org.hyperic.util.PluginLoader=DEBUG
#Agent Metrics Scheduler (Scheduling tasks definitions & executions)
#log4j.logger.org.hyperic.hq.agent.server.session.AgentSynchronizer.SchedulerThread=DEBUG
#Agent Plugin Managers
#log4j.logger.org.hyperic.hq.product.MeasurementPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.AutoinventoryPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.ConfigTrackPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.LogTrackPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.LiveDataPluginManager=DEBUG
#log4j.logger.org.hyperic.hq.product.ControlPluginManager=DEBUG
VMware vRealize Application Management Pack
The VMware vRealize Application Management Pack enables application monitoring from Wavefront.
Do not add, edit, or modify operations. For information about adding an application proxy, see Add and
Configure an Application Proxy.
View the Configuration Details
You can view configuration details of the VMware vRealize Application Management Pack.
To access and view the configuration details, complete the following steps:
1 In the menu, select Administration, and then from the left pane, select Solutions.
2 From the Solutions pane in the right pane, select VMware vRealize Application Management Pack.
3 Click the Configure icon.
vRealize Operations Manager Configuration Guide
VMware, Inc. 71
Table 121. Configuration Details
Options Description
Instance Name Displays the vCenter servers that have been mapped with the
VMware Application Proxy.
Display Name Displays the IP address of the VMware Application Proxy and
the vCenter Server.
UCP Host Displays the IP address of the VMware Application Proxy you
have configured.
Mapped vCenter(s) Displays the IP address of the vCenter Server you mapped to
the VMware Application Proxy.
Credentials Displays the name of the credential, which is the IP address of
the VMware Application Proxy.
To add credentials, click the plus sign.
nCredential Name: The name by which you are identifying
and managing the configured credentials.
nApplication Proxy Username: The user account details
used in VMware Application Proxy.
nApplication Proxy Password: Password of the user
account in VMware Application Proxy.
Collectors/Groups Select the collector that is used to manage the adapter
processes.
Log Insight
When vRealize Operations Manager is integrated with Log Insight, you can view the Log Insight page, the
Troubleshoot with Logs dashboard, and the Logs tab. You can collect and analyze log feeds. You can
filter and search for log messages. You can also dynamically extract fields from log messages based on
customized queries.
Log Insight Page
When vRealize Operations Manager is integrated with vRealize Log Insight, you can search and filter log
events. From the Interactive Analytics tab in the Log Insight page, you can create queries to extract
events based on timestamp, text, source, and fields in log events . vRealize Log Insight presents charts of
the query results.
To access the Log Insight page from vRealize Operations Manager, you must either:
nConfigure the vRealize Log Insight adapter from the vRealize Operations Manager interface, or
nConfigure vRealize Operations Manager in vRealize Log Insight.
For more information about configuring, see Configuring vRealize Log Insight with vRealize
Operations Manager.
For information about vRealize Log Insight interactive analytics, see the vRealize Log Insight
documentation.
vRealize Operations Manager Configuration Guide
VMware, Inc. 72
Logs Tab
When vRealize Operations Manager is integrated with vRealize Log Insight, you can view the logs for a
selected object from the Logs tab. You can troubleshoot a problem in your environment by correlating the
information in the logs with the metrics. You can then most likely determine the root cause of the problem.
How the Logs Tab Works
By default, the Logs tab displays different event types for the last hour. For vSphere objects, the logs are
filtered to show the event types for the specific object you select. For more information on the different
filtering and querying capabilities, see the vRealize Log Insight documentation.
Where You Find the Logs Tab
In the menu, select Environment and then from the left pane select an inventory object. Click the Logs
tab. To view the Logs tab, you have to configure vRealize Operations Manager in vRealize Log Insight.
For more information, see Configuring vRealize Log Insight with vRealize Operations Manager.
After integrating vRealize Operations Manager with vRealize Log Insight, refresh the browser to see the
Logs tab.
Configuring vRealize Log Insight with
vRealize Operations Manager
To use the Log Insight page, the Troubleshoot with Logs dashboard, and Logs tab in
vRealize Operations Manager, you must configure vRealize Log Insight with
vRealize Operations Manager.
Configuring the vRealize Log Insight Adapter in vRealize Operations Manager
To access the Log Insight page and the Troubleshoot with Logs dashboard from
vRealize Operations Manager, you must configure the vRealize Log Insight adapter in
vRealize Operations Manager.
vRealize Operations Manager accesses the first instance of the vRealize Log Insight adapter that is
configured.
Prerequisites
nVerify that vRealize Log Insight and vRealize Operations Manager are installed.
nVerify that you know the IP address, user name, and password of the vRealize Log Insight instance
you have installed.
Procedure
1 In the menu, click Administration, and then in the left pane click Solutions.
2 From the Solutions page, click VMware vRealize Log Insight.
3 Click the Configure icon. You see the Manage Solution-VMware vRealize Log Insight dialog box.
vRealize Operations Manager Configuration Guide
VMware, Inc. 73
4 In the Manage Solutions dialog box perform the following steps:
nEnter a name in the Display Name text box.
nEnter the IP address in the Log Insight server text box of the vRealize Log Insight you have
installed and want to integrate with.
nClick Test Connection to verify that the connection is successful.
nClick Save Settings.
nClick Close.
5 From the vRealize Operations Manager Home page, click Troubleshoot > Using Logs from the left
pane. If you see a statement at the bottom of the page, click the link and accept the certificate
exception in vRealize Log Insight or contact your IT support for more information.
6 From the vRealize Operations Manager Home page, click Troubleshoot > Using Logs from the left
pane and enter the user name and password of the vRealize Log Insight instance you have installed.
Configuring vRealize Operations Manager in vRealize Log Insight
You configure vRealize Operations Manager in vRealize Log Insight in the following scenarios:
nTo access the Logs tab in vRealize Operations Manager.
nTo access the Troubleshoot with Logs dashboard and the Log Insight page from
vRealize Operations Manager.
Prerequisites
nVerify that vRealize Log Insight and vRealize Operations Manager are installed.
nVerify that you know the IP address, hostname, and password of the vRealize Operations Manager
instance you want to integrate with.
Procedure
1 From the Administration page of vRealize Log Insight, click the vRealize Operations icon from the
left pane. You see the vRealize Operations Integration pane.
2 In the Hostname and Username text boxes, enter the IP address and hostname of the
vRealize Operations Manager instance you want to integrate with.
3 In the Password text box, select Update Password and enter the password of the
vRealize Operations Manager instance you want to integrate with.
4 Select the Enable launch in context option.
5 Click Test Connection to verify that the connection is successful.
6 Click Save.
You can now view the log details for an object in vRealize Operations Manager.
vRealize Operations Manager Configuration Guide
VMware, Inc. 74
Log Forwarding
For troubleshooting in the product UI, you can send the logs to an external log server or a
vRealize Log Insight server.
If you have configured log forwarding from Administration > Support > Logs in earlier versions of
vRealize Operations Manager, VMware recommends that you reconfigure in this version of
vRealize Operations Manager.
Where You Find the Log Forwarding Page
In the menu, select Administration and then from the left pane select Management > Log Forwarding.
Table 122. Log Forwarding Page Options
Options Description
Output logs to the external log server Forwards the logs to an external log server.
Forwarded Logs You can select the set of logs you want to forward to the external
log server or the vRealize Log Insight server.
Log Insight Servers You can select an available vRealize Log Insight server IP.
If there is no available vRealize Log Insight server IP, select
Other from the drop-down menu and manually enter the
configuration details.
Host IP address of the external log server where logs have to be
forwarded.
Port The default port value depends on whether or not SSL has been
set up for each protocol. The following are the possible default
port values:
Protocol SSL Default Port
cfapi No 9000
cfapi Yes 9543
syslog No 514
syslog Yes 6514
Use SSL Allows the vRealize Log Insight agent to send data securely.
Certificate Path You can enter the path to the trusted root certificates bundle file.
If you do not enter a certificate path, the vRealize Log Insight
Windows agent uses system root certificates and the
vRealize Log Insight Linux agent attempts to load trusted
certificates from /etc/pki/tls/certs/ca-bundle.crt
or /etc/ssl/certs/ca-certificates.crt.
Protocol You can select either cfapi or syslog from the drop-down
menu to send event logging messages.
vRealize Operations Manager Configuration Guide
VMware, Inc. 75
Modifying Existing Log Types
If you manually modified the existing entries or logs sections and then modify the log forwarding settings
from vRealize Operations Manager, you lose the changes that you made.
The following server entries are overwritten by the vRealize Operations Manager log forwarding settings.
port
proto
hostname
ssl
reconnect
ssl_ca_path
The following [common | global] tags are being added or overwritten by the
vRealize Operations Manager log forwarding settings.
vmw_vr_ops_appname
vmw_vr_ops_clustername
vmw_vr_ops_clusterrole
vmw_vr_ops_hostname
vmw_vr_ops_nodename
Note Cluster role changes do not change the value of the vmw_vr_ops_clusterrole tag. You can
either manually modify or ignore it.
Business Management
When vRealize Operations Manager is integrated with vRealize Business for Cloud, you can display
infrastructure performance and cost information in the Business Management page.
To display infrastructure performance and cost information, you must configure the
vRealize Business for Cloud adapter. For information about configuring this adapter, refer to Configure
the vRealize Business for Cloud Adapter.
After you have configured the adapter, you can click the link at the bottom of the Business Management
page to log in to vRealize Business for Cloud, and accept the certificate exception.
You must accept the certificate exception each time you log in to vRealize Business for Cloud to see data
in the Business Management page.
Configure the vRealize Business for Cloud Adapter
Integrate VMware vRealize Business for Cloud with vRealize Operations Manager to view your
infrastructure performance, cost information, and also troubleshooting tips.
You can connect vRealize Operations Manager to a single instance of vRealize Business for Cloud.
vRealize Operations Manager Configuration Guide
VMware, Inc. 76
Procedure
1On the menu, click Administration and in the left pane click Solutions.
2Select VMware vRealize Business for Cloud, and click the Configure icon.
3Enter a name for the adapter instance.
4In the vRealize Business for Cloud Server text box, enter the IP address of the vRealize Business
for Cloud server to which you want to connect.
5Click Test Connection to verify that the connection is successful.
6Click Advanced Settings, and in the Collectors/Groups text box, select the
vRealize Operations Manager collector used to manage the adapter process.
If you have one adapter instance, select Default collector group. If you have multiple collectors in
your environment, to distribute the workload and optimize performance, select the collector to
manage the adapter processes for this instance.
7Click Save Settings to finish configuration of the adapter, and click Close.
What to do next
To view data in the Business Management page:
1 On the menu, click Administration and in the left pane click Business Management.
2 Click the link at the bottom of the Business Management page and log into vRealize Business for
Cloud.
3 Accept the certificate exception.
Cost Settings for Financial Accounting Model
You can configure Server Hardware cost driver and resource utilization parameters to calculate the
accurate cost and improve the efficiency of your environment.
Cost Drivers analyzes the resources and the performance of your virtual environment. Based on the
values you define, Cost Drivers can identify reclamation opportunities and can provide recommendations
to reduce wastage of resources and cost.
Configuring Depreciation Preferences
To compute the amortized cost of the Server Hardware cost driver, you can configure the depreciation
method and the depreciation period. Cost Drivers supports two yearly depreciation methods and you can
set the depreciation period from two to seven years.
Note Cost Drivers calculates the yearly depreciation values and then divides the value by 12 to arrive at
the monthly depreciation.
vRealize Operations Manager Configuration Guide
VMware, Inc. 77
Method Calculation
Straight line Yearly straight line depreciation = [(original cost - accumulated depreciation) /
number of remaining depreciation years]
Max of Double or
Straight
Yearly max of Double or Straight = Maximum (yearly depreciation of double declining
balance method, yearly depreciation of straight line method)
Yearly depreciation of double declining method= [(original cost - accumulated
depreciation) * depreciation rate].
Depreciation rate = 2 / number of depreciation years.
Note Double declining depreciation for the last year = original cost - accumulated
depreciation
Example: Example for Straight Line Depreciation Method
Year Original Cost Accumulated Depreciation Straight Line Depreciation Cost
Year 1 10000 0 [(10000-0)/5] = 2000
Year 2 10000 2000 [(10000-2000)/4] = 2000
Year 3 10000 4000 [(10000-2000)/3] = 2000
Year 4 10000 6000 [(10000-2000)/2] = 2000
Year 5 10000 8000 [(10000-2000)/1] = 2000
Example: Example for Max of Double and Straight Line Depreciation Method
Year Original Cost Depreciation Rate
Accumulated
Depreciation Straight Line Depreciation Cost
Year 1 10000 0.4 0 Maximum([(10000-0)*0.4],[(10000-0)/5])
= Maximum(4000, 2000) = 4000
which is 333.33 per month.
Year 2 10000 0.4 4000 Maximum([(10000-4000)*0.4],[(10000-4000)/4])
= Maximum (2400, 1500) = 2400
which is 200 per month.
Year 3 10000 0.4 6400 Maximum([(10000-6400)*0.4],[(10000-6400)/3])
= Maximum (1440, 1200) = 1440
which is 120 per month.
vRealize Operations Manager Configuration Guide
VMware, Inc. 78
Year Original Cost Depreciation Rate
Accumulated
Depreciation Straight Line Depreciation Cost
Year 4 10000 0.4 7840 Maximum([(10000-7840)*0.4],[(10000-7840)/2])
= Maximum (864, 1080) = 1080
which is 90 per month.
Year 5 10000 0.4 8920 Maximum([(10000-8920)*0.4],[(10000-8920)/1])
= Maximum (432, 1080) = 1080
which is 90 per month.
Overview of Cost Drivers
Cost Drivers are the aspect that contributes to the expense of your business operations. Cost drivers
provide a link between a pool of costs. To provide a granular cost visibility and to track your expenses of
virtual machines accurately in a private cloud, vRealize Operations Manager has identified eight key cost
drivers. You can see the total projected expense on your private cloud accounts for the current month and
the trend of cost over time.
According to the industry standard, vRealize Operations Manager maintains a reference cost for these
cost drivers. This reference cost helps you for calculating the cost of your setup, but might not be
accurate. For example, you might have received some special discounts during a bulk purchase or you
might have an ELA with VMware that may not match the socket-based pricing available in the reference
database. To get accurate values, you can modify the reference cost of cost drivers in
vRealize Operations Manager, which overrides the values in reference database. Based on your inputs,
vRealize Operations Manager recalculates the total amount of private cloud expenses. After you add a
private cloud into vRealize Operations Manager, vRealize Operations Manager automatically discovers
one or more vCenter Servers that are part of your Private Cloud. In addition, it also retrieves the inventory
details from each vCenter Server. The details include:
nAssociated clusters: Count and names
nESXi hosts: Count, model, configuration, and so on.
nData stores: Count, storage, type, capacity
nVMs: Count, OS type, tags, configuration, utilization
Based on these configuration and utilizations of inventory, and the available reference cost,
vRealize Operations Manager calculates the estimated monthly cost of each cost driver. The total cost of
your private cloud is the sum of all these cost driver expenses.
You can modify the expense of your data center. These costs can be in terms of percentage value or unit
rate, and might not always be in terms of the overall cost. Based on your inputs, the final amount of
expense is calculated. If you do not provide inputs regarding expenses, the default values are taken from
the reference database.
vRealize Operations Manager Configuration Guide
VMware, Inc. 79
You can see the projected cost of private cloud for the current month and the trend of total cost over time.
For all the expenses, cost drivers invRealize Operations Manager display the monthly trend of the cost
variations, the actual expense, and a chart that represents the actual expense and the reference cost of
the expense.
Note If the vCenter Server was added from more than six months, the trend displays the total cost for
the last six months only. Otherwise, the trend displays the total cost from the month the vCenter Server
was added into vRealize Operations Manager.
Table 123. Expense Types
Cost Drivers Description
Server
Hardware
The Server Hardware cost driver tracks all the expenses for purchasing of hardware servers that are part of
vCenter Servers. You see the server cost based on CPU age and server cost details.
Storage You can calculate the storage cost at the level of a datastore based on tag category information collected from
vCenter Server. You see the storage total distribution based on category and the uncategorized cost details.
License You see the licenses cost distribution for the operating systems cost and VMware license of your cloud
environment.
Note For Non-ESX physical servers, VMware license is not applicable.
Maintenance You see the maintenance cost distribution for the server hardware and operating system maintenance. You can
track your total expense with hardware and operating system vendors.
Labor You see the labor cost distribution for the servers, virtual infrastructure, and operating systems. You can view
the total administrative cost for managing physical servers, operating systems and virtual machines. You can
track all expenses spent on human resources to manage the datacenters.
Note
nLabor cost includes expenses on backup appliance virtual machine (VDP virtual appliance).
nFor physical servers, operating system labor cost and servers labor costs are applicable, virtual
infrastructure cost is not considered.
Network You see the networks costs by NIC type. You can track a network expense based on different types of NICs
attached to the ESX server. You can view the total cost of physical network infrastructure that includes internet
bandwidth, and is is estimated by count and type of network ports on the ESXi Servers.
Note For physical servers, the network details are not captured. So, the network cost is considered as zero.
Facilities You see the cost distribution for the facilities such as real estate costs, such as rent or cost of data center
buildings, power, cooling, racks, and associated facility management labor cost. You can point to the chart to
see the cost details for each facility type.
Additional Cost You can see the additional expenses such as backup and restore, high availability, management, licensing,
VMware software licensing.
You can select a data center to view the information specific to the data center.
Editing Cost Drivers
You can manually edit monthly cost of all the eight expense types from the current month onwards.
The configuration used for cost drivers determines how vRealize Operations Manager calculates and
displays the cost.
vRealize Operations Manager Configuration Guide
VMware, Inc. 80
Editing Server Hardware
You can view, add, edit, or delete the cost of each server group, based on their configuration and the
purchase date of a batch server running in your cloud environment. After you update the server hardware
cost, cost drivers updates the total monthly cost and average monthly cost for each server group. You can
also see the details about the list of storage arrays that the EMC SRM identifies in the server.
Procedure
1Click Administration and in the left pane click Configuration > Cost Drivers.
2Click Server Hardware tab.
3Click any server from the list of Server Group Description.
The cost drivers groups all server hardware from all data centers in your inventory based on their
hardware configuration.
Category Description
Server Group Description Displays the name of the server in your inventory.
Number of Servers Displays the total number of servers of any particular hardware configuration in your inventory.
Monthly Cost Displays the average monthly cost for server. This value is calculated as a weighted average of
prices of purchased and leased batches.
4After selecting a server group, you can manually enter the required fields.
a Click Split Batch to enter your purchase date, cost, and type. Click split batch to enter multiple
batch details of the purchase or lease of server hardware.
b Enter the Number of Servers and select the Purchase Type.
c Click Save.
Edit Monthly Cost of Storage
The storage hardware is categorized according to the datastore tag category. You can edit the monthly
cost per storage GB for the datastores based on their storage category (using tags) and storage type
(NAS, SAN, Fiber Channel or Block).
Prerequisites
To edit the cost based on storage category, you must create tags and apply them to the datastores on the
vCenter Server user interface. For more information, see the VMware vSphere Documentation.
Procedure
1Click Administration and in the left pane click Configuration > Cost Drivers.
2Click Storage tab.
vRealize Operations Manager Configuration Guide
VMware, Inc. 81
3(Optional) Select a tag category.
Assume that you have two tag categories (for example, Profile and Tiers) with three tags in each
category, you can select either Profile or Tiers from Tag Category to categorize the datastores based
on tags.
Category Description
Tag Category nCategory displays the tag categories for datastores and also the tags associated with the category.
Note If you have performed a fresh installation of vCenter Server 6.0, and not assigned tags to
the datastores, cost drivers displays tag category for datastores as uncategorized.
Datastores Displays the total number of datastores for a specific category or type. You can click the datastore
value to see list of datastores and its details such as monthly cost, total GB for each datastore.
Total Storage (GB) Displays the total storage for a specific category or type.
Monthly Cost Per
GB
Displays the monthly cost per GB for a specific category or type. You can edit this value for defining the
monthly cost per GB for datastores.
Monthly Cost Displays the total monthly cost for a specific category or type.
4Click Save.
Edit Monthly Cost of License
You can edit the total operating system licensing cost and VMware license cost of your cloud
environment. You can edit the license cost by either selecting the ELA charging policy or selecting the per
socket value.
Procedure
1Click Administration and in the left pane click Configuration > Cost Drivers.
2Click License tab.
The Cost drivers display all the licenses in your cloud environment.
Category Description
Name Displays the category of the operating system. If the operating system is not Windows or Linux, cost drivers
categorize the operating system under Other Operating Systems.
VMs Displays the number of virtual machines that are running on the specific operating system.
Sockets Displays the number of sockets on which the specific operating system is running.
Charged by Displays whether a cost is charged by socket or ELA.
Total Cost Displays the total cost of the specific operating system.
3Click Save.
According to your inputs, vRealize Operations Manager calculates and displays the total cost and
updates the Charged by column with the option that you have selected.
vRealize Operations Manager Configuration Guide
VMware, Inc. 82
Edit Monthly Cost of Maintenance
You can edit the monthly cost of maintaining your cloud environment. Maintenance cost is categorized
into hardware maintenance cost and operating system maintenance cost. Hardware maintenance cost is
calculated as a percentage of the purchase cost of servers. Operating system maintenance cost is
calculated as a percentage of the Windows licensing costs.
Procedure
1Click Administration and in the left pane click Configuration > Cost Drivers.
2Click Maintenance tab.
3Edit the monthly maintenance cost.
nEdit the percentage value of the hardware maintenance cost.
nEdit the percentage value of the operating system maintenance cost.
4Click Save.
Edit Monthly Cost of Labor
You can edit the monthly cost of labor for your cloud environment. The labor cost is combination of the
total cost of the server administrator, virtual infrastructure administrator, and the operating system
administrator.
Procedure
1Click Administration and in the left pane click Configuration > Cost Drivers.
2Select the Labor tab.
The monthly labor cost is displayed.
Category Description
Category Displays the categories of labor cost, servers, virtual infrastructure, and operating system
Calculated by Displays whether the cost is calculated hourly or monthly
Total Monthly Cost Displays the total monthly cost of the particular category
Reference Cost Displays the reference cost for the category from the cost drivers database
3Click Save.
The total monthly cost is updated. The hourly rate option or the monthly cost option that you select is
updated in the Calculated by column.
Edit Monthly Cost of the Network
You can edit the monthly cost for each Network Interface Controller (NIC) type or can edit the total cost of
all the networking expenses associated with the cloud.
vRealize Operations Manager Configuration Guide
VMware, Inc. 83
Procedure
1Click Administration and in the left pane click Configuration > Cost Drivers.
2Click Network tab.
3Edit the monthly cost of network.
nModify the values for 1 Gigabit NIC and the 10 Gigabit NIC.
nModify the total monthly cost of all network expenses associated with the cloud.
4Click Save.
The total monthly network expenses are updated.
Edit Monthly Cost of Facilities
For your cloud environment, you can specify the total monthly cost of facilities or edit the facilities cost for
real estate, power, and cooling requirements.
Procedure
1Click Administration and in the left pane click Configuration > Cost Drivers.
2Click Facilities tab.
3Edit the monthly facilities cost.
nModify the cost of rent or real estate per rack unit and modify the monthly cost of power and
cooling per kilowatt-hour.
nModify the total monthly cost of facilities.
4Click Save to save to update the changes.
The monthly facilities cost is updated.
Editing Additional Costs
The additional cost lets you add any additional or extra expense that is not covered by other expenses
categorized by vRealize Operations Manager. No reference value is present for this expense.
Procedure
1Click Administration and in the left pane click Configuration > Cost Drivers.
2Click Additonal Costs tab.
3Select the monthly cost type for the expenses.
4Select the Entity Type and Entity Selection.
5Enter the Monthly Cost per entity and Total Cost per month.
6Click Save.
vRealize Operations Manager Configuration Guide
VMware, Inc. 84
Cost Calculation Status Overview
You can check the ongoing status of manually triggered cost calculation process.
Cost calculation by default, occurs daily and whenever there is a change in the inventory or cost drivers
values. You can trigger the cost calculation manually so that changes in the inventory and cost driver
values reflect accordingly on the VM cost without having to wait there for any failures in the cost
calculation process. It also shows default schedules time for next cost calculation process.
Cluster Cost Overview
vRealize Operations Manager calculates the base rates of CPU and memory so that they can be used for
virtual machine cost computation. Base rates are determined for each cluster, which are homogeneous
provisioning groups. Hence, base rates might change across clusters, but are the same within a cluster.
Unclustered hosts in a vCenter Server are grouped according to their vendor, model, and configuration. If
you have enabled the data center mode, unclustered hosts are grouped under data centers.
1 vRealize Operations Manager first arrives at the fully loaded cost of the cluster from the cost drivers.
After the cost of a cluster is determined, this cost is split into CPU and memory costs based on the
industry standard cost ratios for the different models of the server.
2 The CPU base rate is first computed by dividing the CPU cost of the cluster by the CPU capacity of
the cluster. CPU base rate is then prorated by dividing the CPU base rate by expected CPU utilization
percentage to arrive at true base rate for charging the virtual machines.
3 The memory base rate is first computed by dividing the memory cost of the cluster by the memory
capacity of the cluster. Memory base rate is then prorated by dividing the memory base rate by
expected memory utilization percentage to arrive at true base rate for charging the virtual machines.
4 You can either provide the expected CPU and memory utilization or can derive the expected CPU and
memory utilization based on 3-month utilization average of ESXi hosts.
Cluster Cost Elements Calculation
Total Compute Cost Total Compute Cost = (Total Infrastructure cost, which is sum of all cost drivers) – (Storage cost) –
(Direct VM cost, which is sum of OS labor, VM labor and any Windows Desktop licenses)
Expected CPU and Memory
utilization
Expected CPU and Memory utilization = These percentages are arrived based on historical actual
utilization of clusters
Per gHZ CPU base rate Per gHZ CPU base rate = (Cost attributed to CPU out of Total compute cost) / (Expected CPU
Utilization * Cluster CPU Capacity in gHZ)
Per GB RAM base rate Per GB RAM base rate = (Cost attributed to RAM out of Total compute cost) / (Expected Memory
Utilization * Cluster RAM Capacity in GB)
vRealize Automation Solution
The vRealize Automation solution extends operational management capabilities of the
vRealize Operations Manager platform to provide tenant-aware operational visibility of the cloud
infrastructure.
vRealize Operations Manager Configuration Guide
VMware, Inc. 85
The vRealize Automation solution enables you as a cloud provider to monitor the health and capacity risk
of your cloud infrastructure in the context of the tenant's business groups.
You can use the vRealize Automation solution to perform some of the following key tasks:
nTo gain visibility into the performance and health of the tenant’s business groups that the underlying
cloud infrastructure supports.
nTo minimize the time taken to troubleshoot, if there is a tenant workload or an underlying
infrastructure problem. The vRealize Automation solution provides visibility into the impact to
performance, health, and capacity risk of the business groups because of an operational problem in
the underlying cloud infrastructure layer.
nTo manage the placements of VMs that are part of the clusters managed by vRealize Automation.
Supported vRealize Automation Versions
The vRealize Automation solution is supported with vRealize Automation 7.0 versions. Workload
placement is supported from vRealize Automation 7.3 onwards with vRealize Operations Manager 6.6
and above.
If you upgrade from a previous version to vRealize Operations Manager 6.7, that has the
vRealize Automation Management Pack 3.0 installed, the following behavior is observed:
nvRealize Automation Management Pack 3.0 is upgraded to 4.0.
Object Types and Relationships
The vRealize Automation solution brings in cloud constructs and their relationships from
vRealize Automation into vRealize Operations Manager for operational analysis.
You can use the following items in the virtual infrastructure as object types in
vRealize Operations Manager.
nTenant
nReservation
nBusiness Group
nDeployment
nBlueprint
nManaged Resources
nReservation Policy
nVirtual Machine
nDatastore
nvRealize Automation World
nvRealize Automation Management Pack Instance
vRealize Operations Manager Configuration Guide
VMware, Inc. 86
Objects types in an enterprise environment are related to other objects types in that environment. Object
types are either part of a larger object type, or they contain smaller component objects, or both. When
you select a parent object type, vRealize Operations Manager shows any related child objects types.
Table 124. Relationship Model
Relationship View Parent-Child Relationship Between Objects
Application View Tenant > Deployment > Virtual Machine
Infrastructure View Tenant > Business Group > Reservation > Cluster and Datastore
Blueprint View Tenant > Business Group > Blueprint > Deployment > Virtual Machine
Deployment View Tenant > Deployment > Virtual Machine
Reservation Policy View Reservation Policy > Reservation > Cluster
vRealize Automation Workload Placement
You can enable workload placement when you add vRealize Operations Manager 6.6 as an endpoint in
vRealize Automation 7.3. You cannot enable workload placement by adding a version of
vRealize Operations Manager that is previous to version 6.6, as an endpoint in vRealize Automation 7.3.
To add vRealize Operations Manager as an endpoint in vRealize Automation 7.3, complete the following
steps.
Procedure
1Log in to vRealize Automation as a tenant user.
2Select Infrastructure > Endpoint > Endpoints.
3Select New > Management > vRealize Operations Manager.
4Enter the general information for the vRealize Operations Manager endpoint.
5Click OK.
Port Information
In environments where strict firewalls are in place, specific ports must be open for the
vRealize Automation solution to retrieve data from vRealize Operations Manager.
nvRealize Automation CAFÉ Appliance/VIP URL on port 443
nvRealIze Automation IAAS URL on port 443
nvRealize Automation SSO URL on port 7444
Note The vRealize Automation solution supports only vCenter objects used and managed by
vRealize Automation. No other object kinds such as AWS or Openstack resources are supported at this
time.
vRealize Operations Manager Configuration Guide
VMware, Inc. 87
Security Guidelines
Solutions in vRealize Operations Manager execute independently. They execute within a common
runtime environment within the vRealize Operations Manager collector host.
Java language security protects the adapters from interference with other adapters. All adapters execute
within the common JRE process trust zone. You must only load and use adapters that you obtain from a
publisher you trust and only after you verify the adapter's code integrity before loading into
vRealize Operations Manager.
Even though adapters execute independently, they can make configuration changes to the collector host
or Java runtime environment that may affect the security of other adapters. For example, at installation
time an adapter can modify the list of trusted certificates. During execution an adapter can change the
TLS/SSL certificate validation scheme and thereby change how other adapters validate certificates. The
vRealize Operations Manager system and collector hosts do not isolate adapters beyond the natural
isolation provided by Java execution. The system trusts all adapters equally.
Adapters are responsible for their own data security. When they collect data or make configuration
changes to data sources, each adapter provides its own mechanisms and guarantees with regard to the
confidentiality, integrity, and authenticity of the collected data.
The vRealize Automation solution enforces certificate checks when communicating with the
vRealize Automation servers. These certificates are presented when the user clicks the Test button on
the Adapter Instance setup page. Once these certificates are accepted by the user, they will be
associated with that adapter instance. Any communication to the vRealize Automation servers will ensure
that the certificates presented by the servers match the ones accepted by the user.
Configuring vRealize Automation
You can configure an instance of the vRealize Automation from which you are collecting data.
Prerequisites
nThe super user must have the following privileges:
nInfrastructure administrator rights for all tenants.
nInfrastructure architect rights for all tenants.
nTenant administrator rights for all tenants.
nSoftware architect roles for all tenants.
nFabric group administrator rights for all fabric groups, in all tenants.
nConfigure the vCenter adapter instance for the same vCenter that is added as an endpoint in the
vRealize Automation system.
nUse only DNS names and not IP addresses when you configure the vRealize Automation solution in a
vRealize Automation distributed setup. Add host file entries on all vRealize Operations Manager
nodes in the /etc/hosts location if the DNS is not reachable using vRealize Operations Manager.
vRealize Operations Manager Configuration Guide
VMware, Inc. 88
nThe super user account must be created for all the tenants by using an identical user name and
password with the required permissions for successful data collection.
Procedure
1In the menu, click Administration, and then from the left pane click Solutions.
2Select VMware vRealize Automation and click the Configure icon.
3Configure the solution.
Option Description
Display Name The name for the adapter instance.
Description (Optional) The description of the adapter instance.
vRealize Automation Appliance URL The URL of the vRealize Automation CAFÉ appliance from which you are
collecting data. Enter the host name, https://HostName, or the IP address,
https://IP.
If there is a load balancer for the CAFÉ appliances, the URL must have
HostName or IP address of the load balancer in the format https://HostName or
https://IP.
Credential To add the credentials to access the vRealize Automation environment, click the
plus sign.
nCredential name. The name by which you are identifying the configured
credentials.
nSysAdmin Username. The user name of the vRealize Automation system
administrator.
For information on the System Administrator, see System-Wide Role
Overview.
nSysAdmin Password. The password of the vRealize Automation system
administrator.
nSuperUser Username. The user name of the vRealize Automation super
user. Create a user in vRealize Automation with specific privileges mentioned
in the following note.
nSuperUser Password. The password of the vRealize Automation super user.
Advanced Settings To configure the advanced settings, click the drop-down menu.
Collectors/Groups The collector on which the vRealize Automation solution runs.
nFor one collector instance, select Automatically select collector.
nFor multiple collectors, to distribute the workload and optimize performance,
select the collector to manage the adapter process for this instance.
vRealize Operations Manager Configuration Guide
VMware, Inc. 89
Option Description
Tenants Collects data for specific tenants associated with vRealize Automation. To collect
data, configure the tenants in the following manner:
n* (by default). Data is collected for all tenants.
Note
nTenant test is attempted for the first two tenants that are sorted based on
alphabetical order. If some tenants do not have the required privileges,
then the vRealize Automation solution continues to collect data for the
other tenants. Failure in collecting data for a tenant that does not have
the required privileges is logged in the adapter.log file.
nIf any of the tenants do not have the required privileges, data is not
collected for that tenant.
nComma separated list. Data is collected for the specific tenants that are
listed and separated by comma.
n!. Data is collected for all tenants except the ones listed after !.
vRealize Automation Endpoint
Monitoring
nEnabled: Collects and monitors data for all the vRealize Automation object
types with the compute clusters under managed resources.
nDisabled: Collects and monitors data for only the reservation object type with
the compute clusters under managed resources.
vRealize Automation Enabled
Intelligent Placement
Default is On. Allows vRealize Automation to manage the placements of VMs that
are part of the clusters managed by vRealize Automation. This mode is always
On and used for work-load placement (WLP).
vRealize Automation adapter collection
interval (minutes)
The time interval between data collections by the vRealize Automation solution.
Default is 15 minutes. You can increase or decrease the amount of time between
data collections. It is recommended that you do not change this value in large-
scale environments.
To change this value to less than 5 minutes, you must change the collection
interval value in the adapter.
Tenant resource collection interval
(minutes)
The time interval between the data collected by the tenants in the
vRealize Automation solution.
Default is 240 minutes. You can increase or decrease the amount of time
between data collections. It is recommended that you do not change this value in
large-scale environments.
To change this value to less than 5 minutes, you must change the collection
interval value in the adapter.
Business group resource collection
interval (minutes)
The time interval between the data collected by the business groups in the
vRealize Automation.
Default is 60 minutes. You can increase or decrease the amount of time between
data collections. It is recommended that you do not change this value in large-
scale environments.
To change this value to less than 5 minutes, you must change the collection
interval value in the adapter.
vRealize Operations Manager Configuration Guide
VMware, Inc. 90
Option Description
Blueprint resource collection interval
(minutes)
The time interval between the data collected by the blueprints in the
vRealize Automation solution.
Default is 60 minutes. You can increase or decrease the amount of time between
data collections. It is recommended that you do not change this value in large-
scale environments.
To change this value to less than 5 minutes, you must change the collection
interval value in the adapter.
Autodiscovery Discover objects automatically.
nTo set automatic discovery for objects, select True.
nTo set the automatic discovery off, select False.
4Click Test Connection to validate the connection.
If one of the tenant connections is successful, Test Connection is successful.
5Click Save Settings.
Configuration Properties
In large scale environments, multiple simultaneous API calls might cause performance problems in
vRealize Automation. When an adapter sends multiple parallel requests to WAPI in particular, it severely
impacts the database. Configuration properties are used to configure the settings with appropriate values.
Table 125. Configuration Properties
Property Name Description Default Value
wapiCollectionMaxSeconds The upper limit for the amount of time that
the adapter needs to try and retrieve the
data from API calls. This property must be
increased in large-scale environments, in
addition to increasing the adapter's
collection time interval.
60 (1 minute)
wapiThreadCount The number of threads that are querying
WAPI at a time.
This property may be increased or
decreased based on speed or
performance requirements.
2
querySuiteAPIPageSize The number of the items to fetch in a suite
API call.
100
queryVraAPIPageSize The number of the items to fetch in a
single CAFE query.
100
Note It is recommended that you keep the
maximum value as 100.
Refer to the sizing guidelines for large scale
environment guidelines: Sizing Guidelines
vRealize Operations Manager Configuration Guide
VMware, Inc. 91
Alert Definitions
Alert definitions are combinations of symptoms and recommendations that identify problem areas in your
environment and generate alerts on which you can act. Symptom and alert definitions are defined for
vRealize Automation objects. The alerts are population-based alerts based on the risk or health of a
certain percentage of child objects.
The health and risk thresholds are as follows:
Health
nWhen 25%-50% of the child objects have health issues, the parent object triggers an alert with a
Warning health level.
nWhen 50%-75% of the child objects have health issues, the parent object triggers an alert with an
Immediate health level.
nWhen 75%-100% of the child objects have health issues, the parent object triggers an alert with a
Critical health level.
Risk
nWhen 25%-50% of the child objects have risk issues, the parent object triggers an alert with a
Warning risk level.
nWhen 50%-75% of the child objects have risk issues, the parent object triggers an alert with an
Immediate risk level.
nWhen 75%-100% of the child objects have risk issues, the parent object triggers an alert with a
Critical risk level.
vSAN
You can make vSAN operational in a production environment by using dashboards to evaluate, manage,
and optimize the performance of vSAN objects and vSAN-enabled objects in your vCenter Server system.
vSAN extends the following features:
nDiscovers vSAN disk groups in a vSAN datastore.
nIdentifies the vSAN-enabled cluster compute resource, host system, and datastore objects in a
vCenter Server system.
nAutomatically adds related vCenter Server components that are in the monitoring state.
Configure a vSAN Adapter Instance
When configuring an adapter instance for vSAN, you add credentials for a vCenter Server.
vRealize Operations Manager Configuration Guide
VMware, Inc. 92
Prerequisites
Only vCenter Server systems that are configured for both the vCenter adapter and the vSAN adapter
appear in the inventory tree under the vSAN and Storage Devices. Verify that the vCenter Server that you
use to configure the vSAN adapter instance is also configured as a vCenter adapter instance for the
VMware vSphere® solution. If not, add a vCenter adapter instance for that vCenter Server.
You must open port 5989 between the host and any vRealize Operations Manager node on which the
vSAN adapter resides. This is applicable when the vSAN version in vSphere is 6.6 or lower.
Procedure
1In the vCenter Server text box, enter the FQDN or IP address of the vCenter Server instance to which
you are connecting.
The vCenter Server FQDN or IP address must be reachable from all nodes in the
vRealize Operations Manager cluster.
2To add credentials on the Manage Solution page, click the plus sign.
a In the Credential name text box, enter the name by which you are identifying the configured
credentials.
b Type the User name and Password for the vCenter Server instance.
c Click OK.
You configured credentials to connect to a vCenter Server instance.
3Click Advanced Settings.
4For Collection Interval, select a value of five minutes or greater.
The vSAN adapter collects Health Check Service and Performance Service metrics from vSphere
objects. The Health Check Service interval is configured in the vSphere interface and is 60 minutes
by default. If the Health Check Service interval is 60 minutes and the vSAN adapter collection interval
is 5 minutes, the vSAN adapter reports:
nMost recent Performance Service metrics for each cycle.
5Click Test Connection to validate the connection with your vCenter Server instance.
6Accept the vCenter Server security certificate.
7Click Save Settings.
The adapter is added to the Adapter Instance list and is active.
What to do next
To verify that the adapter is configured and collecting data from vSAN objects, wait a few collection
cycles, then view application-related data.
nInventory Explorer. Verify that all the objects related to the vSAN instance are listed. Objects should
be in the collecting state and receiving data.
vRealize Operations Manager Configuration Guide
VMware, Inc. 93
nDashboards. Verify that vSAN Capacity Overview, Migrate to vSAN, vSAN Operations Overview, and
Troubleshoot vSAN, are added to the default dashboards.
nUnder Environment > vSAN and Storage Devices, verify that the vSAN hierarchy includes the
following related vCenter Server system objects:
nvSAN World
nCache Disk
nCapacity Disk
nvSAN-enabled vCenter Server clusters
nvSAN Fault Domains (optional)
nvSAN-enabled Hosts
nvSAN Datastores
nvSAN Disk Groups
nvSAN Datastore related VMs
nvSAN Witness Hosts (optional)
Verify that the Adapter Instance is Connected and Collecting Data
You configured an adapter instance of vSAN with credentials for a vCenter Server. Now you want to verify
that your adapter instance can retrieve information from vSAN objects in your environment.
To view the object types, in the menu, click Administration > Configuration > Inventory Explorer >
Adapter Instances > vSAN Adapter Instance > <User_Created_Instance>.
Table 126. Object Types that vSAN Discovers
Object Type Description
vSAN Adapter Instance The vRealize Operations Management Pack for vSAN instance.
vSAN Cluster vSAN clusters in your data center.
vSAN Datastore vSAN datastores in your data center.
vSAN Disk Group A collection of SSDs and magnetic disks used by vSAN.
vSAN Fault Domain A tag for a fault domain in your data center.
vSAN Host vSAN hosts in your data center.
vSAN Witness Host A tag for a witness host of a stretched cluster, if the stretched cluster feature is enabled on the vSAN
cluster.
vSAN World A vSAN World is a group parent resource for all vSAN adapter instances. vSAN World displays
aggregated data of all adapter instances and a single root object of the entire vSAN hierarchy.
Cache Disk A local physical device on a host used for storing VM files in vSAN.
Capacity Disk A local physical device on a host used for read or write caching in vSAN
vRealize Operations Manager Configuration Guide
VMware, Inc. 94
The vSAN adapter also monitors the following objects discovered by the VMware vSphere adapter.
nCluster Compute Resources
nHost System
nDatastore
Procedure
1In the menu, clickAdministration and then in the left pane, click Configuration > Inventory
Explorer.
2In the list of tags, expand Adapter Instances and expand vSAN Adapter Instance.
3Select the adapter instance name to display the list of objects discovered by your adapter instance.
4Slide the display bar to the right to view the object status.
Object Status Description
Collection State If green, the object is connected.
Collection Status If green, the adapter is retrieving data from the object.
5Deselect the adapter instance name and expand the Object Types tag.
Each Object Type name appears with the number of objects of that type in your environment.
What to do next
If objects are missing or not transmitting data, check to confirm that the object is connected. Then check
for related alerts.
To ensure that the vSAN adapter can collect all performance data, the Virtual SAN performance service
must be enabled in vSphere. For instructions on how to enable the service, see Turn on Virtual SAN
Performance Service in the VMware Virtual SAN documentation.
If the Virtual SAN performance service is disabled or experiencing issues, an alert is triggered for the
vSAN adapter instance and the following errors appear in the adapter logs.
ERROR com.vmware.adapter3.vsan.metricloader.VsanDiskgroupMetricLoader.collectMetrics
- Failed to collect performance metrics for Disk Group
com.vmware.adapter3.vsan.metricloader.VsanDiskgroupMetricLoader.collectMetrics
- vSAN Performance Service might be turned OFF.
com.vmware.adapter3.vsan.metricloader.VsanDiskgroupMetricLoader.collectMetrics
- (vim.fault.NotFound)
{
faultCause = null,
faultMessage = (vmodl.LocalizableMessage)
[
com.vmware.vim.binding.impl.vmodl.LocalizableMessageImpl@98e1294
]
}
vRealize Operations Manager Configuration Guide
VMware, Inc. 95
Installing Optional Solutions in
vRealize Operations Manager
You can extend the monitoring capabilities of vRealize Operations Manager by installing optional
solutions from VMware or third parties.
VMware solutions include adapters for Storage Devices, Log Insight, NSX for vSphere, Network Devices,
and VCM. Third-party solutions include AWS, SCOM, EMC Smarts, and many others. To download
software and documentation for optional solutions, visit the VMware Solution Exchange at
https://marketplace.vmware.com/vsx/.
Solutions can include dashboards, reports, alerts and other content, and adapters. Adapters are how
vRealize Operations Manager manages communication and integration with other products, applications,
and functions. When a management pack is installed and the solution adapters are configured, you can
use the vRealize Operations Manager analytics and alerting tools to manage the objects in your
environment.
If you upgrade from an earlier version of vRealize Operations Manager, your management pack files are
copied to the /usr/lib/vmware-vcops/user/plugins/.backup file in a folder with the date and time
as the folder name. Before migrating your data to your new vRealize Operations Manager instance, you
must configure the adapter instances again. If you have customized the adapter, your adapter
customizations are not included in the migration, and you must reconfigure the customizations.
If you update a management pack in vRealize Operations Manager to a newer version, and you have
customized the adapter, your adapter customizations are not included in the upgrade, and you must
reconfigure them.
Managing Solution Credentials
Credentials are the user accounts that vRealize Operations Manager uses to enable one or more
solutions and associated adapters, and to establish communication with the target data sources. The
credentials are supplied when you configure each adapter. You can add or modify the credential settings
outside the adapter configuration process to accommodate changes to your environment.
For example, if you are modifying credentials to accommodate changes based on your password policy,
the adapters configured with these credentials begin using the new user name and password to
communicate between vRealize Operations Manager and the target system.
Another use of credential management is to remove misconfigured credentials. If you delete valid
credentials that were in active use by an adapter, you disable the communication between the two
systems.
If you need to change the configured credential to accommodate changes in your environment, you can
edit the credential settings without being required to configure a new adapter instance for the target
system. You can edit credential settings by clicking Administration on the menu, and then clicking
Credentials.
vRealize Operations Manager Configuration Guide
VMware, Inc. 96
Any adapter credential you add is shared with other adapter administrators and
vRealize Operations Manager collector hosts. Other administrators might use these credentials to
configure a new adapter instance or to move an adapter instance to a new host.
Manage Credentials
To configure or reconfigure credentials that you use to enable an adapter instance, you must provide the
collection configuration settings, for example, user name and password, that are valid on the target
system. You can also modify the connection settings for an existing credential instance.
Where You Manage Credentials
On the menu, click Administration and in the left pane click Management > Credentials.
Manage Credentials Options
The Manage Credentials dialog box is used to add new or modifies existing adapter credentials. The
dialog box varies depending on the type of adapter and whether you are adding or editing. The following
options describe the basic options. Depending on the solution, the options other than the basic ones vary.
Caution Any adapter credentials you add are shared with other adapter administrators and
vRealize Operations Manager collector hosts. Other administrators might use these credentials to
configure a new adapter instance or to move an adapter instance to a new host.
Table 127. Manage Credential Add or Edit Options
Option Description
Adapter Type Adapter type for which you are configuring the credentials.
Credential Kind Credentials associated with the adapter. The combination of
adapter and credential type affects the additional configuration
options.
Credential Name Descriptive name by which you are managing the credentials.
User Name User account credentials that are used in the adapter
configuration to connect vRealize Operations Manager to the
target system.
Password Password for the provided credentials.
Managing Collector Groups
vRealize Operations Manager uses collectors to manage adapter processes such as gathering metrics
from objects. You can select a collector or a collector group when configuring an adapter instance.
If there are remote collectors in your environment, you can create a collector group, and add remote
collectors to the group. When you assign an adapter to a collector group, the adapter can use any
collector in the group. Use collector groups to achieve adapter resiliency in cases where the collector
experiences network interruption or becomes unavailable. If this occurs, and the collector is part of a
group, the total workload is redistributed among all the collectors in the group, reducing the workload on
each collector.
vRealize Operations Manager Configuration Guide
VMware, Inc. 97
Configuring Alerts and Actions 2
In VMware vRealize Operations Manager, alerts and actions play key roles in monitoring the objects.
This chapter includes the following topics:
nTypes of Alerts
nConfiguring Alerts
nConfiguring Actions
Types of Alerts
Different types of alerts are triggered on a certain object.
The alerts are of three types:
nHealth Alerts
nRisk Alerts
nEfficiency Alerts
Configuring Alerts
Whenever there is a problem in the environment, the alerts are generated. You can create the alert
definitions so that the generated alerts tell you about the problems in the monitored environment.
Defining Alerts in vRealize Operations Manager
An alert definition comprises one or more symptom definitions, and the alert definition is associated with a
set of recommendations and actions that help you resolve the problem. Alert definitions include triggering
symptom definitions and actionable recommendations. You create the alert definitions so that the
generated alerts tell you about problems in the monitored environment. You can then respond to the
alerts with effective solutions that are provided in the recommendations.
Predefined alerts are provided in vRealize Operations Manager as part of your configured adapters. You
can add or modify alert definitions to reflect the needs of your environment.
VMware, Inc. 98
Symptoms in Alert Definitions
Symptom definitions evaluate conditions in your environment that, if the conditions become true, trigger a
symptom and can result in a generated alert. You can add symptom definitions that are based on metrics
or super metrics, properties, message events, fault events, or metric events. You can create a symptom
definition as you create an alert definition or as an individual item in the appropriate symptom definition
list.
When you add a symptom definition to an alert definition, it becomes a part of a symptom set. A symptom
set is the combination of the defined symptom with the argument that determines when the symptom
condition becomes true.
A symptom set combines one or more symptom definitions by applying an Any or All condition, and
allows you to choose the presence or absence of a particular symptom. If the symptom set pertains to
related objects rather than to Self, you can apply a population clause to identify a percentage or a specific
count of related objects that exhibit the included symptom definitions.
An alert definition comprises one or more symptom sets. If an alert definition requires all of the symptom
sets to be triggered before generating an alert, and only one symptom set is triggered, an alert is not
generated. If the alert definition requires only one of several symptom sets to be triggered, then the alert
is generated even though the other symptom sets were not triggered.
Recommendations in Alert Definitions
Recommendations are the remediation options that you provide to your users to resolve the problems
that the generated alert indicates.
When you add an alert definition that indicates a problem with objects in your monitored environment, add
a relevant recommendation. Recommendations can be instructions to your users, links to other
information or instruction sources, or vRealize Operations Manager actions that run on the target
systems.
Modifying Alert Definitions
If you modify the alert impact type of an alert definition, any alerts that are already generated will have the
previous impact level. Any new alerts will be at the new impact level. If you want to reset all the generated
alerts to the new level, cancel the old alerts. If they are generated after cancellation, they will have the
new impact level.
Defining Symptoms for Alerts
Symptoms are conditions that indicate problems in your environment. You define symptoms that you add
to alert definitions so that you know when a problem occurs with your monitored objects.
As data is collected from your monitored objects, the data is compared to the defined symptom condition.
If the condition is true, then the symptom is triggered.
You can define symptoms based on metrics and super metrics, properties, message events, fault events,
and metric events.
vRealize Operations Manager Configuration Guide
VMware, Inc. 99
Defined symptoms in your environment are managed in the Symptom Definitions. When the symptoms
that are added to an alert definition are triggered, they contribute to a generated alert.
Define Symptoms to Cover All Possible Severities and Conditions
Use a series of symptoms to describe incremental levels of concern. For example, Volume nearing
capacity limit might have a severity value of Warning while Volume reached capacity limit
might have a severity level of Critical. The first symptom is not an immediate threat. The second symptom
is an immediate threat.
About Metrics and Super Metrics Symptoms
Metric and super metric symptoms are based on the operational or performance values that
vRealize Operations Manager collects from target objects in your environment. You can configure the
symptoms to evaluate static thresholds or dynamic thresholds.
You define symptoms based on metrics so that you can create alert definitions that let you know when the
performance of an object in your environment is adversely affected.
Static Thresholds
Metric symptoms that are based on a static threshold compare the currently collected metric value against
the fixed value you configure in the symptom definition.
For example, you can configure a static metric symptom where, when the virtual machine CPU workload
is greater than 90, a critical symptom is triggered.
Dynamic Thresholds
Metric symptoms that are based on dynamic thresholds compare the currently collected metric value
against the trend identified by vRealize Operations Manager, evaluating whether the current value is
above, below, or generally outside the trend.
For example, you can configure a dynamic metric symptom where, when the virtual machine CPU
workload is above the trended normal value, a critical symptom is triggered.
Property Symptoms
Property symptoms are based on the configuration properties that vRealize Operations Manager collects
from the target objects in your environment.
You define symptoms based on properties so that you can create alert definitions that let you know when
changes to properties on your monitored objects can affect the behavior of the objects in your
environment.
Message Event Symptoms
Message event symptoms are based on events received as messages from a component of
vRealize Operations Manager or from an external monitored system through the system's REST API. You
define symptoms based on message events to include in alert definitions that use these symptoms. When
the configured symptom condition is true, the symptom is triggered.
vRealize Operations Manager Configuration Guide
VMware, Inc. 100
The adapters for the external monitored systems and the REST API are inbound channels for collecting
events from external sources. Adapters and the REST server both run in the
vRealize Operations Manager system. The external system sends the messages, and
vRealize Operations Manager collects them.
You can create message event symptoms for the supported event types. The following list is of supported
event types with example events.
nSystem Performance Degradation. This message event type corresponds to the
EVENT_CLASS_SYSTEM and EVENT_SUBCLASS_PERFORM_DEGRADATION type and subtype
in the vRealize Operations Manager API SDK.
nChange. The VMware adapter sends a change event when the CPU limit for a virtual machine is
changed from unlimited to 2 GHz. You can create a symptom to detect CPU contention issues as a
result of this configuration change. This message event type corresponds to the
EVENT_CLASS_CHANGE and EVENT_SUBCLASS_CHANGE type and subtype in the
vRealize Operations Manager API SDK.
nEnvironment Down. The vRealize Operations Manager adapter sends an environment down event
when the collector component is not communicating with the other components. You can create a
symptom that is used for internal health monitoring. This message event type corresponds to the
EVENT_CLASS_ENVIRONMENT and EVENT_SUBCLASS_DOWN type and subtype in the
vRealize Operations Manager API SDK.
nNotification. This message event type corresponds to the EVENT_CLASS_NOTIFICATION and
EVENT_SUBCLASS_EXTEVENT type and subtype in the vRealize Operations Manager API SDK.
Fault Symptoms
Fault symptoms are based on events published by monitored systems. vRealize Operations Manager
correlates a subset of these events and delivers them as faults. Faults are intended to signify events in
the monitored systems that affect the availability of objects in your environment. You define symptoms
based on faults to include in alert definitions that use these symptoms. When the configured symptom
condition is true, the symptom is triggered.
You can create fault symptoms for the supported published faults. Some object types have multiple fault
definitions from which to choose, while others have no fault definitions.
If the adapter published fault definitions for an object type, you can select one or more fault events for a
given fault while you define the symptom. The symptom is triggered if the fault is active because of any of
the chosen events. If you do not select a fault event, the symptom is triggered if the fault is active
because of a fault event.
Metric Event Symptoms
Metric event symptoms are based on events communicated from a monitored system where the selected
metric violates a threshold in a specified manner. The external system manages the threshold, not
vRealize Operations Manager.
vRealize Operations Manager Configuration Guide
VMware, Inc. 101
Metric event symptoms are based on conditions reported for selected metrics by an external monitored
system, as compared to metric symptoms, which are based on thresholds that
vRealize Operations Manager is actively monitoring.
The metric event thresholds, which determine whether the metric is above, below, equal to, or not equal
to the threshold set on the monitored system, represent the type and subtype combination that is
specified in the incoming metric event.
nAbove Threshold. Corresponds to type and subtype constants EVENT_CLASS_HT and
EVENT_SUBCLASS_ABOVE defined in the vRealize Operations Manager API SDK.
nBelow Threshold. Corresponds to type and subtype constants EVENT_CLASS_HT and
EVENT_SUBCLASS_BELOW defined in the vRealize Operations Manager API SDK.
nEqual Threshold. Corresponds to type and subtype constants EVENT_CLASS_HT and
EVENT_SUBCLASS_EQUAL defined in the vRealize Operations Manager API SDK.
nNot Equal Threshold. Corresponds to type and subtype constants EVENT_CLASS_HT and
EVENT_SUBCLASS_NOT_EQUAL defined in the vRealize Operations Manager API SDK.
Understanding Negative Symptoms for vRealize Operations Manager Alerts
Alert symptoms are conditions that indicate problems in your environment. When you define an alert, you
include symptoms that generate the alert when they become true in your environment. Negative
symptoms are based on the absence of the symptom condition. If the symptom is not true, the symptom
is triggered.
To use the absence of the symptom condition in an alert definition, you negate the symptom in the
symptom set.
All defined symptoms have a configured criticality. However, if you negate a symptom in an alert
definition, it does not have an associated criticality when the alert is generated.
All symptom definitions have a configured criticality. If the symptom is triggered because the condition is
true, the symptom criticality will be the same as the configured criticality. However, if you negate a
symptom in an alert definition and the negation is true, it does not have an associated criticality.
When negative symptoms are triggered and an alert is generated, the effect on the criticality of the alert
depends on how the alert definition is configured.
The following table provides examples of the effect negative symptoms have on generated alerts.
vRealize Operations Manager Configuration Guide
VMware, Inc. 102
Table 21. Negative Symptoms Eect on Generated Alert Criticality
Alert Definition Criticality
Negative Symptom
Configured Criticality
Standard Symptom Configured
Criticality
Alert Criticality When
Triggered
Warning One Critical Symptom One Immediate Symptom Warning. The alert criticality
is based on the defined alert
criticality.
Symptom Based One Critical Symptom One Warning Symptom Warning. The negative
symptom has no associated
criticality and the criticality of
the standard symptom
determines the criticality of
the generated alert.
Symptom Based One Critical Symptom No standard symptom included Info. Because an alert must
have a criticality and the
negative alert does not have
an associated criticality, the
generated alert has a
criticality of Info, which is the
lowest possible criticality
level.
Defining Recommendations for Alert Definitions
Recommendations are instructions to your users who are responsible for responding to alerts. You add
recommendations to vRealize Operations Manager alerts so that your users can maintain the objects in
your environment at the required levels of performance.
Recommendations provide your network engineers or virtual infrastructure administrators with information
to resolve alerts.
Depending on the knowledge level of your users, you can provide more or less information, including the
following options, in any combination.
nOne line of instruction.
nSteps to resolve the alert on the target object.
nHyperlink to a Web site, runbook, wiki, or other source.
nAction that makes a change on the target object.
When you define an alert, provide as many relevant action recommendations as possible. If more than
one recommendation is available, arrange them in priority order so that the solution with the lowest effect
and highest effectiveness is listed first. If no action recommendation is available, add text
recommendations. Be as precise as possible when describing what the administrator should do to fix the
alert.
vRealize Operations Manager Configuration Guide
VMware, Inc. 103
Create a New Alert Definition
Based on the root cause of the problem, and the solutions that you used to fix the problem, you can
create a new alert definition for vRealize Operations Manager to alert you. When the alert is triggered on
your host system, vRealize Operations Manager alerts you and provides recommendations on how to
solve the problem.
To alert you before your host systems experience critical capacity problems, and have
vRealize Operations Manager notify you of problems in advance, you create alert definitions, and add
symptom definitions to the alert definition.
Procedure
1In the menu, click Alerts and then in the left pane, select Alert Settings > Alert Definitions.
2Enter capacity in the search text box.
Review the available list of capacity alert definitions. If a capacity alert definition does not exist for
host systems, you can create one.
3Click the plus sign to create a new capacity alert definition for your host systems.
a In the alert definition workspace, for the Name and Description, enter
Hosts - Alert on Capacity Exceeded.
b For the Base Object Type, select vCenter Adapter > Host System
c For the Alert Impact, select the following options.
Option Selection
Impact Select Risk.
Criticality Select Immediate.
Alert Type and Subtype Select Application : Capacity.
Wait Cycle Select 1.
Cancel Cycle Select 1.
d For Add Symptom Definitions, select the following options.
Option Selection
Defined On Select Self.
Symptom Definition Type Select Metric / Supermetric.
Quick filter (Name) Enter capacity.
e From the Symptom Definition list, click Host System Capacity Remaining is moderately low
and drag it to the right pane.
In the Symptoms pane, make sure that the Base object exhibits criteria is set to All by default.
vRealize Operations Manager Configuration Guide
VMware, Inc. 104
f For Add Recommendations, enter virtual machine in the quick filter text box.
g Click Review the symptoms listed and remove the number of vCPUs from the virtual
machine as recommended by the system, and drag it to the recommendations area in the right
pane.
This recommendation is set to Priority 1.
4Click Save to save the alert definition.
Your new alert appears in the list of alert definitions.
You have added an alert definition to have vRealize Operations Manager alert you when the capacity of
your host systems begins to run out.
Alert Definition Best Practices
As you create alert definitions for your environment, apply consistent best practices so that you optimize
alert behavior for your monitored objects.
Alert Definitions Naming and Description
The alert definition name is the short name that appears in the following places:
nIn data grids when alerts are generated
nIn outbound alert notifications, including the email notifications that are sent when outbound alerts
and notifications are configured in your environment
Ensure that you provide an informative name that clearly states the reported problem. Your users can
evaluate alerts based on the alert definition name.
The alert definition description is the text that appears in the alert definition details and the outbound
alerts. Ensure that you provide a useful description that helps your users understand the problem that
generated the alert.
Wait and Cancel Cycle
The wait cycle setting helps you adjust for sensitivity in your environment. The wait cycle for the alert
definition goes into effect after the wait cycle for the symptom definition results in a triggered symptom. In
most alert definitions you configure the sensitivity at the symptom level and configure the wait cycle of
alert definition to 1. This configuration ensures that the alert is immediately generated after all of the
symptoms are triggered at the desired symptom sensitivity level.
The cancel cycle setting helps you adjust for sensitivity in your environment. The cancel cycle for the alert
definition goes into affect after the cancel cycle for the symptom definition results in a cancelled symptom.
In most definitions you configure the sensitivity at the symptom level and configure the cancel cycle of
alert definition to 1. This configuration ensures that the alert is immediately cancelled after all of the
symptoms conditions disappear after the desired symptom cancel cycle.
vRealize Operations Manager Configuration Guide
VMware, Inc. 105
Create Alert Definitions to Generate the Fewest Alerts
You can control the size of your alert list and make it easier to manage. When an alert is about a general
problem that can be triggered on a large number of objects, configure its definition so that the alert is
generated on a higher level object in the hierarchy rather than on individual objects.
As you add symptoms to your alert definition, do not overcrowd a single alert definition with secondary
symptoms. Keep the combination of symptoms as simple and straightforward as possible.
You can also use a series of symptom definitions to describe incremental levels of concern. For example,
Volume nearing capacity limit might have a severity value of Warning while Volume reached
capacity limit might have a severity level of Critical. The first symptom is not an immediate threat, but
the second one is an immediate threat. You can then include the Warning and Critical symptom definitions
in a single alert definition with an Any condition and set the alert criticality to be Symptom Based. These
settings cause the alert to be generated with the right criticality if either of the symptoms is triggered.
Avoid Overlapping and Gaps Between Alerts
Overlaps result in two or more alerts being generated for the same underlying condition. Gaps occur
when an unresolved alert with lower severity is canceled, but a related alert with a higher severity cannot
be triggered.
A gap occurs in a situation where the value is <=50% in one alert definition and >=75% in a second alert
definition. The gap occurs because when the percentage of volumes with high use falls between 50
percent and 75 percent, the first problem cancels but the second does not generate an alert. This
situation is problematic because no alert definitions are active to cover the gap.
Actionable Recommendations
If you provide text instructions to your users that help them resolve a problem identified by an alert
definition, precisely describe how the engineer or administrator should fix the problem to resolve the alert.
To support the instructions, add a link to a wiki, runbook, or other sources of information, and add actions
that you run from vRealize Operations Manageron the target systems.
Creating and Managing vRealize Operations Manager Alert
Notifications
When alerts are generated in vRealize Operations Manager, they appear in the alert details and object
details, but you can also configure vRealize Operations Manager to send your alerts to outside
applications using one or more outbound alert options.
You configure notification options to specify which alerts are sent out for the Standard Email, REST,
SNMP, and Log File outbound alert plug-ins. For the other plug-in types, all the alerts are sent when the
target outbound alert plug-in is enabled.
The most common outbound alert plug-in is the Standard Email plug-in. You configure the Standard Email
plug-in to send notifications to one or more users when an alert is generated that meets the criteria you
specify in the notification settings.
vRealize Operations Manager Configuration Guide
VMware, Inc. 106
List of Outbound Plug-Ins in vRealize Operations Manager
vRealize Operations Manager provides outbound plug-ins. This list includes the name of the plug-in and
whether you can filter the outbound data based on your notification settings.
If the plug-in supports configuring notification rules, then you can filter the messages before they are sent
to the target system. If the plug-in does not support notifications, all messages are sent to the target
system, and you can process them in that application.
If you installed other solutions that include other plug-in options, they appear as a plug-in option with the
other plug-ins.
Messages and alerts are sent only when the plug-in is enabled.
Table 22. Notification Support for Outbound Plug-Ins
Outbound Plug-In Configure Notification Rules
Automated Action Plug-in No
The Automated Action plug-in is enabled by default. If automated actions stop working, check the
Automated Action plug-in and enable it if necessary. If you edit the Automated Action plug-in, you
only need to provide the instance name.
Log File Plug-In Yes
To filter the log file alerts, you can either configure the file named TextFilter.xml or configure
the notification rules.
Smarts SAM Notification Plug-
In
No
REST Notification Plug-In Yes
Network Share Plug-In No
Standard Email Plug-In Yes
SNMP Trap Plug-In Yes
Add Outbound Notification Plug-Ins in vRealize Operations Manager
You add outbound plug-in instances so that you can notify users about alerts or capture alert data outside
of vRealize Operations Manager.
You can configure one or more instances of the same plug-in type if you need to direct alert information to
multiple target systems.
The Automated Action plug-in is enabled by default. If automated actions stop working, check the
Automated Action plug-in and enable it if necessary. If you edit the Automated Action plug-in, you only
need to provide the instance name.
nAdd a Standard Email Plug-In for vRealize Operations Manager Outbound Alerts
You add a Standard Email Plug-In so that you can use Simple Mail Transfer Protocol (SMTP) to
email vRealize Operations Manager alert notifications to your virtual infrastructure administrators,
network operations engineers, and other interested individuals.
vRealize Operations Manager Configuration Guide
VMware, Inc. 107
nAdd a REST Plug-In for vRealize Operations Manager Outbound Alerts
You add a REST Plug-In so that you can send vRealize Operations Manager alerts to another
REST-enabled application where you built a REST Web service to accept these messages.
nAdd a Log File Plug-In for vRealize Operations Manager Outbound Alerts
You add a Log File plug-in when you want to configure vRealize Operations Manager to log alerts to
a file on each of your vRealize Operations Manager nodes. If you installed
vRealize Operations Manager as a multiple node cluster, each node processes and logs the alerts
for the objects that it monitors. Each node logs the alerts for the objects it processes.
nAdd a Network Share Plug-In for vRealize Operations Manager Reports
You add a Network Share plug-in when you want to configure vRealize Operations Manager to send
reports to a shared location. The Network Share plug-in supports SMB version 2.0.
nAdd an SNMP Trap Plug-In for vRealize Operations Manager Outbound Alerts
You add an SNMP Trap plug-in when you want to configure vRealize Operations Manager to log
alerts on an existing SNMP Trap server in your environment.
nAdd a Smarts Service Assurance Manager Notification Plug-In for vRealize Operations Manager
Outbound Alerts
You add a Smarts SAM Notification plug-in when you want to configure
vRealize Operations Manager to send alert notifications to EMC Smarts Server Assurance Manager.
Add a Standard Email Plug-In for vRealize Operations Manager Outbound Alerts
You add a Standard Email Plug-In so that you can use Simple Mail Transfer Protocol (SMTP) to email
vRealize Operations Manager alert notifications to your virtual infrastructure administrators, network
operations engineers, and other interested individuals.
Prerequisites
Ensure that you have an email user account that you can use as the connection account for the alert
notifications. If you choose to require authentication, you must also know the password for this account.
Procedure
1In the menu, click Administration and then in the left pane, click Management.
2Click Outbound Settings and click the plus sign to add a plug-in.
3From the Plug-In Type drop-down menu, select Standard Email Plugin.
The dialog box expands to include your SMTP settings.
4Enter an Instance Name.
This is the name that identifies this instance that you select when you later configure notification
rules.
vRealize Operations Manager Configuration Guide
VMware, Inc. 108
5Configure the SMTP options appropriate for your environment.
Option Description
Use Secure Connection Enables secure communication encryption using SSL/TLS. If you select this
option, you must select a method in the Secure Connection Type drop-down
menu.
Requires Authentication Enables authentication on the email user account that you use to configure this
SMTP instance. If you select this option, you must provide a password for the
user account.
SMTP Host URL or IP address of your email host server.
SMTP Port Default port SMTP uses to connect with the server.
Secure Connection Type Select either SSL/TLS as the communication encryption method used in your
environment from the drop-down menu. You must select a connection type if you
select Use Secure Connection.
User Name Email user account that is used to connect to the email server.
Password Password for the connection user account. A password is required if you select
Requires Authentication.
Sender Email Address Email address that appears on the notification message
Sender Name Displayed name for the sender email address.
6Click Save.
7To start the outbound alert service for this plug-in, select the instance in the list and click Enable on
the toolbar.
This instance of the standard email plug-in for outbound SMTP alerts is configured and running.
What to do next
Create notification rules that use the standard email plug-in to send a message to your users about alerts
requiring their attention. See User Scenario: Create a vRealize Operations Manager Email Alert
Notification.
Add a REST Plug-In for vRealize Operations Manager Outbound Alerts
You add a REST Plug-In so that you can send vRealize Operations Manager alerts to another REST-
enabled application where you built a REST Web service to accept these messages.
The REST Plug-In supports enabling an integration, it does not provide an integration. Depending on your
target application, you might need an intermediary REST service or some other mechanism that will
correlate the alert and object identifiers included in the REST alert output with the identifiers in your target
application.
Determine which content type you are delivering to your target application. If you select application/json,
the body of the POST or PUT calls that are sent have the following format. Sample data is included.
{
"startDate":1369757346267,
"criticality":"ALERT_CRITICALITY_LEVEL_WARNING",
"Risk":4.0,
vRealize Operations Manager Configuration Guide
VMware, Inc. 109
"resourceId":"sample-object-uuid",
"alertId":"sample-alert-uuid",
"status":"ACTIVE",
"subType":"ALERT_SUBTYPE_AVAILABILITY_PROBLEM",
"cancelDate":1369757346267,
"resourceKind":"sample-object-type",
"alertName":"Invalid IP Address for connected Leaf Switch",
"attributeKeyID":5325,
"Efficiency":1.0,
"adapterKind":"sample-adapter-type",
"Health":1.0,
"type":"ALERT_TYPE_APPLICATION_PROBLEM",
"resourceName":"sample-object-name",
"updateDate":1369757346267,
"info":"sample-info"
}
If you select application/xml, the body of the POST or PUT calls that are sent have the following format:
<alert>
<startDate>1369757346267</startDate>
<criticality>ALERT_CRITICALITY_LEVEL_WARNING</criticality>
<Risk>4.0</Risk>
<resourceId>sample-object-uuid</resourceId>
<alertId>sample-alert-uuid</alertId>
<status>ACTIVE</status>
<subType>ALERT_SUBTYPE_AVAILABILITY_PROBLEM</subType>
<cancelDate>1369757346267</cancelDate>
<resourceKind>sample-object-type</resourceKind>
<alertName>Invalid IP Address for connected Leaf Switch</alertName>
<attributeKeyId>5325</attributeKeyId>
<Efficiency>1.0</Efficiency>
<adapterKind>sample-adapter-type</adapterKind>
<Health>1.0</Health>
<type>ALERT_TYPE_APPLICATION_PROBLEM</type>
<resourceName>sample-object-name</resourceName>
<updateDate>1369757346267</updateDate>
<info>sample-info</info>
</alert>
Note If the alert is triggered by a non-metric violation, the attributeKeyID is omitted from the REST
output and is not sent.
If the request is processed as POST, for either JSON or XML, the Web service returns an HTTP status
code of 201, which indicates the alert was successfully created at the target. If the request is processed
as PUT, the HTTP status code of 202, which indicates the alert was successfully accepted at the target.
Prerequisites
Ensure that you know how and where the alerts sent using the REST plug-in are consumed and
processed in your environment, and that you have the appropriate connection information available.
vRealize Operations Manager Configuration Guide
VMware, Inc. 110
Procedure
1In the left pane of vRealize Operations Manager, click the Administration icon.
2Click Outbound Settings and click the plus sign to add a plug-in.
3From the Plug-In Type drop-down menu, select Rest Notification Plugin.
The dialog box expands to include your REST settings.
4Enter an Instance Name.
This is the name that identifies this instance that you select when you later configure notification
rules.
5Configure the Rest options appropriate for your environment.
Option Description
URL URL to which you are sending the alerts. The URL must support HTTPS. When
an alert is sent to the REST Web server, the plug-in appends /{alertID} to the
POST or PUT call.
User Name User account on the target REST system.
Password User account password.
Content Type Specify the format for the alert output.
napplication/json. Alert data is transmitted using JavaScript Object Notation as
human-readable text.
napplication/xml. Alert data is transmitted using XML that is human-readable
and machine-readable content.
Certificate thumbprint Thumbprint for the public certificate for your HTTPS service. Either the SHA1 or
SHA256 algorithm can be used.
Connection count Limits the number of simultaneous alerts that are sent to the target REST server.
Use this number to ensure that your REST server is not overwhelmed with
requests.
6Click Save.
7To start the outbound alert service for this plug-in, select the instance in the list and click Enable on
the toolbar.
This instance of the REST plug-in for outbound alerts is configured and running.
What to do next
Create notification rules that use the REST plug-in to send alerts to a REST-enabled application or
service in your environment. See User Scenario: Create a vRealize Operations Manager REST Alert
Notification.
Add a Log File Plug-In for vRealize Operations Manager Outbound Alerts
You add a Log File plug-in when you want to configure vRealize Operations Manager to log alerts to a file
on each of your vRealize Operations Manager nodes. If you installed vRealize Operations Manager as a
multiple node cluster, each node processes and logs the alerts for the objects that it monitors. Each node
logs the alerts for the objects it processes.
vRealize Operations Manager Configuration Guide
VMware, Inc. 111
All alerts are added to the log file. You can use other applications to filter and manage the logs.
Prerequisites
Ensure that you have write access to the file system path on the target vRealize Operations Manager
nodes.
Procedure
1In the menu, click Administration and then in the left pane, click Management.
2Click Outbound Settings and click the plus sign to add a plug-in.
3From the Plug-In Type drop-down menu, select Log File.
The dialog box expands to include your log file settings.
4In the Alert Output Folder text box, enter the folder name.
If the folder does not exist in the target location, the plug-in creates the folder in the target location.
The default target location is: /usr/lib/vmware-vcops/common/bin/.
5Click Save.
6To start the outbound alert service for this plug-in, select the instance in the list and click Enable on
the toolbar.
This instance of the log file plug-in is configured and running.
What to do next
When the plug-in is started, the alerts are logged in the file. Verify that the log files are created in the
target directory as the alerts are generated, updated, or canceled.
Add a Network Share Plug-In for vRealize Operations Manager Reports
You add a Network Share plug-in when you want to configure vRealize Operations Manager to send
reports to a shared location. The Network Share plug-in supports SMB version 2.0.
Prerequisites
Verify that you have read, write, and delete permissions to the network share location.
Procedure
1In the menu, click Administration and then in the left pane, click Management > Outbound
Settings.
2From the toolbar, click the Add icon.
3From the Plug-In Type drop-down menu, select Network Share Plug-in.
The dialog box expands to include your plug-in instance settings.
vRealize Operations Manager Configuration Guide
VMware, Inc. 112
4Enter an Instance Name.
This is the name that identifies this instance that you select when you later configure notification
rules.
5Configure the Network Share options appropriate for your environment.
Option Description
Domain Your shared network domain address.
User Name The domain user account that is used to connect to the network.
Password The password for the domain user account.
Network share root The path to the root folder where you want to save the reports. You can specify
subfolders for each report when you configure the schedule publication.
You must enter an IP address. For example, \\IP_address\ShareRoot. You can
use the host name instead of the IP address if the host name is resolved to an
IPv4 when accessed from the vRealize Operations Manager host.
Note Verify that the root destination folder exists. If the folder is missing, the
Network Share plug-in logs an error after 5 unsuccessful attempts.
6Click Test to verify the specified paths, credentials, and permissions.
The test might take up to a minute.
7Click Save.
The outbound service for this plug-in starts automatically.
8(Optional) To stop an outbound service, select an instance and click Disable on the toolbar.
This instance of the Network Share plug-in is configured and running.
What to do next
Create a report schedule and configure it to send reports to your shared folder.
Add an SNMP Trap Plug-In for vRealize Operations Manager Outbound Alerts
You add an SNMP Trap plug-in when you want to configure vRealize Operations Manager to log alerts on
an existing SNMP Trap server in your environment.
You can provide filtering when you define a Notification using an SNMP Trap destination.
Prerequisites
Ensure that you have an SNMP Trap server configured in your environment, and that you know the IP
address or host name, port number, and community that it uses.
Procedure
1In the menu, click Administration and then in the left pane, click Management.
2Click Outbound Settings and click the plus sign to add a plug-in.
vRealize Operations Manager Configuration Guide
VMware, Inc. 113
3From the Plug-In Type drop-down menu, select SNMP Trap.
The dialog box expands to include your SNMP trap settings.
4Type an Instance Name.
5Configure the SNMP trap settings appropriate to your environment.
Option Description
Destination Host IP address or fully qualified domain name of the SNMP management system to
which you are sending alerts.
Port Port used to connect to the SNMP management system. Default port is 162.
Community Text string that allows access to the statistics. SNMP Community strings are used
only by devices that support SNMPv3 protocol.
Username Username to configure SNMP trap settings in your environment. If the username
is specified, SNMPv3 is considered as the protocol by the plugin.
If left blank, SNMPv2c is considered as the protocol by the plugin.
Authentication Protocol Authentication algorithms available are SHA-224, SHA-256, SHA-384, SHA-512.
Authentication Password Authentication password.
Privacy Protocol Privacy algorithms available are AES192, AES2564.
Privacy Password Privacy password.
6Click Save.
This instance of the SNMP Trap plug-in is configured and running.
What to do next
When the plug-in is added, Configuring Notifications for receiving the SNMP traps.
Add a Smarts Service Assurance Manager Notification Plug-In for
vRealize Operations Manager Outbound Alerts
You add a Smarts SAM Notification plug-in when you want to configure vRealize Operations Manager to
send alert notifications to EMC Smarts Server Assurance Manager.
This outbound alert option is useful when you manage the same objects in Server Assurance Manager
and in vRealize Operations Manager, and you added the EMC Smarts management pack and configured
the solution in vRealize Operations Manager. Although you cannot filter the alerts sent to Service
Assurance Manager in vRealize Operations Manager, you can configure the Smarts plug-in to send the
alerts to the Smarts Open Integration server. You then configure the Open Integration server to filter the
alerts from vRealize Operations Manager, and send only those that pass the filter test to the Smarts
Service Assurance Manager service.
Prerequisites
nVerify that you configured the EMC Smarts solution. For documentation regarding EMC Smarts
integration, see https://solutionexchange.vmware.com/store.
nEnsure that you have the EMC Smarts Broker and Server Assurance Manager instance host name or
IP address, user name, and password.
vRealize Operations Manager Configuration Guide
VMware, Inc. 114
Procedure
1In the menu, click Administration and then in the left pane, click Management.
2Click Outbound Settings and click the plus sign to add a plug-in.
3From the Plug-In Type drop-down menu, select Smarts SAM Notification.
The dialog box expands to include your Smarts settings.
4Enter an Instance Name.
This is the name that identifies this instance that you select when you later configure notification
rules.
5Configure the Smarts SAM notification settings appropriate for your environment.
Option Description
Broker Type the host name or IP address of the EMC Smarts Broker that manages
registry for the Server Assurance Manager instance to which you want the
notifications sent.
Broker Username If the Smarts broker is configured as Secure Broker, type the user name for the
Broker account.
Broker Password If the Smarts broker is configured as Secure Broker, type the password for the
Broker user account.
SAM Server Type the host name or IP address of the Server Assurance Manager server to
which you are sending the notifications.
User Name Type the user name for the Server Assurance Manager server instance. This
account must have read and write permissions for the notifications on the Smarts
server as specified in the SAM Server.
Password Type the password for the Server Assurance Manager server account.
6Click Save.
7Modify the Smarts SAM plug-in properties file.
a Open the properties file at: /usr/lib/vmware-vcops/user/plugins/outbound/vcops-
smartsalert-plugin/conf/plugin.properties
b Add the following string to the properties file: #
sendByType=APPLICATION::AVAILABILITY,APPLICATION::PERFORMANCE,APPLICATION::CA
PACITY,APPLICATION::COMPLIANCE,VIRTUALIZATION::AVAILABILITY,VIRTUALIZATION::P
ERFORMANCE,VIRTUALIZATION::CAPACITY,VIRTUALIZATION::COMPLIANCE,HARDWARE::AVAI
LABILITY,HARDWARE::PERFORMANCE,HARDWARE::CAPACITY,HARDWARE::COMPLIANCE,STORAG
E::AVAILABILITY,STORAGE::PERFORMANCE,STORAGE::CAPACITY,STORAGE::COMPLIANCE,NE
TWORK::AVAILABILITY,NETWORK::PERFORMANCE,NETWORK::CAPACITY,NETWORK::COMPLIANC
E
c Save the properties file.
8To start the outbound alert service for this plug-in, select the instance in the list and click Enable on
the toolbar.
vRealize Operations Manager Configuration Guide
VMware, Inc. 115
This instance of the Smarts SAM Notifications plug-in is configured and running.
What to do next
In Smarts Service Assurance Manager, configure your Notification Log Console to filter the alerts from
vRealize Operations Manager. To configure the filtering for Service Assurance Manager, see the EMC
Smarts Service Assurance Manager documentation.
Configuring Notifications
Notifications are alert notifications that meet the filter criteria in the notification rules before they are sent
outside vRealize Operations Manager. You configure notification rules for the supported outbound alerts
so that you can filter the alerts that are sent to the selected external system.
You use the notifications list to manage your rules. You then use the notification rules to limit the alerts
that are sent to the external system. To use notifications, the supported outbound alert plug-ins must be
added and running.
With notification rules, you can limit the data that is sent to the following external systems.
nStandard Email. You can create multiple notification rules for various email recipients based on one or
more of the filter selections. If you add recipients but do not add filter selections, all the generated
alerts are sent to the recipients.
nREST. You can create a rule to limit alerts that are sent to the target REST system so that you do not
need to implement filtering on that target system.
nSNMP Trap. You can configure vRealize Operations Manager to log alerts on an existing SNMP Trap
server in your environment.
nLog File. You can configure vRealize Operations Manager to log alerts to a file on each of your
vRealize Operations Manager nodes.
User Scenario: Create a vRealize Operations Manager Email Alert Notification
As a virtual infrastructure administrator, you need vRealize Operations Manager to send email
notifications to your advanced network engineers when critical alerts are generated for mmbhost object,
the host for many virtual machines that run transactional applications, where no one has yet taken
ownership of the alert.
Prerequisites
nEnsure that you have at least one alert definition for which you are sending a notification. For an
example of an alert definition, see Create an Alert Definition for Department Objects.
nEnsure that at least one instance of the standard email plug-in is configured and running. See Add a
Standard Email Plug-In for vRealize Operations Manager Outbound Alerts.
Procedure
1In the menu, click Alerts and then in the left pane, click Alert Settings.
2Click Notification Settings and click the plus sign to add a notification rule.
vRealize Operations Manager Configuration Guide
VMware, Inc. 116
3In the Name text box type a name similar to Unclaimed Critical Alerts for mmbhost.
4In the Method area, select Standard Email Plug-In from the drop-down menu, and select the
configured instance of the email plug-in.
5Configure the email options.
a In the Recipients text box, type the email addresses of the members of your advance
engineering team, separating the addresses with a semi-colon (;).
b To send a second notification if the alert is still active after a specified amount of time, type the
number of minutes in the Notify again text box.
c Type number of notifications that are sent to users in the Max Notifications text box.
6Configure the scope of filtering criteria.
a From the Scope drop-down menu, select Object.
b Click Click to select Object and type the name of the object.
In this example, type mmbhost.
c Locate and select the object in the list, and click Select.
7Configure the Notification Trigger.
a From the Notification Trigger drop-down menu, select Impact.
b From the adjacent drop-down menu, select Health.
8In the Criticality area, click Critical.
9Expand the Advanced Filters and from the Alert States drop-down menu, select Open.
The Open state indicates that no engineer or administrator has taken ownership of the alert.
10 Click Save.
You created a notification rule that sends an email message to the members of your advance network
engineering team when any critical alerts are generated for the mmbhost object and the alert is not
claimed by an engineer. This email reminds them to look at the alert, take ownership of it, and work to
resolve the triggering symptoms.
What to do next
Respond to alert email notifications. See vRealize Operations Manager User Guide.
User Scenario: Create a vRealize Operations Manager REST Alert Notification
As a virtual infrastructure administrator, you need vRealize Operations Manager to send alerts in JSON or
XML to a REST-enabled application that has REST Web service that accepts these messages. You want
only alerts where the virtualization alerts that affect availability alert types go to this outside application.
You can then use the provided information to initiate a remediation process in that application to address
the problem indicated by the alert.
vRealize Operations Manager Configuration Guide
VMware, Inc. 117
The notification configuration limits the alerts sent to the outbound alert instance to those matching the
notification criteria.
Prerequisites
nVerify that you have at least one alert definition for which you are sending a notification. For an
example of an alert definition, see Create an Alert Definition for Department Objects.
nVerify that at least one instance of the REST plug-in is configured and running. See Add a REST
Plug-In for vRealize Operations Manager Outbound Alerts.
Procedure
1In the menu, click Alerts and then in the left pane, click Alert Settings.
2Click Notifications and click the plus sign to add a notification rule.
3In the Name text box type a name similar to Virtualization Alerts for Availability.
4In the Method area, select REST Plug-In from the drop-down menu, and select the configured
instance of the email plug-in.
5Configure the Notification Trigger.
a From the Notification Trigger drop-down menu, select Alert Type.
b Click Click to select Alert type/subtype and select Virtualization/Hypervisor Alerts
Availability.
6In the Criticality area, click Warning.
7Expand the Advanced Filters and from the Alert Status drop-down menu, select New.
The New status indicates that the alert is new to the system and not updated.
8Click Save.
You created a notification rule that sends the alert text to the target REST-enabled system. Only the alerts
where the configured alert impact is Virtualization/Hypervisor Availability and where the alert is configured
as a warning are sent to the target instance using the REST plug-in.
Create an Alert Definition for Department Objects
As a virtual infrastructure administrator, you are responsible for the virtual machines and hosts that the
accounting department uses. You can create alerts to manage the accounting department objects.
You received several complaints from your users about delays when they are using their accounting
applications. Using vRealize Operations Manager, you identified the problem as related to CPU
allocations and workloads. To better manage the problem, you create an alert definition with tighter
symptom parameters so that you can track the alerts and identify problems before your users encounter
further problems.
Using this scenario, you create a monitoring system that monitors your accounting objects and provides
timely notifications when problems occur.
vRealize Operations Manager Configuration Guide
VMware, Inc. 118
Add Description and Base Object to Alert Definition
To create an alert to monitor the CPUs for the accounting department virtual machines and monitor host
memory for the hosts on which they operate, you begin by describing the alert.
When you name the alert definition and define alert impact information, you specify how the information
about the alert appears in vRealize Operations Manager. The base object is the object around which the
alert definition is created. The symptoms can be for the base object and for related objects.
Procedure
1In the menu, click Alerts and then in the left pane, click Alert Settings > Alert Definitions.
2Click the plus sign to add a definition.
3Type a name and description.
In this scenario, type Acct VM CPU early warning as the alert name, which is a quick overview of
the problem. The description, which is a detailed overview. should provide information that is as
useful as possible. When the alert is generated, this name and description appears in the alert list
and in the notification.
4Click Base Object Type.
5From the drop-down menu, expand vCenter Adapter and select Host System.
This alert is based on host systems because you want an alert that acts as an early warning to
possible CPU stress on the virtual machines used in the accounting department. By using host
systems as the based object type, you can respond to the alert symptom for the virtual machines with
bulk actions rather than responding to an alert for each virtual machine.
6Click Alert Impact and configure the metadata for this alert definition.
a From the Impact drop-down menu, select Risk.
This alert indicates a potential problem and requires attention in the near future.
b From the Criticality drop-down menu, select Immediate.
As a Risk alert, which is indicative of a future problem, you still want to give it a high criticality so
that it is ranked for correct processing. Because it is designed as an early warning, this
configuration provides a built-in buffer that makes it an immediate risk rather than a critical risk.
c From the Alert Type and Subtype drop-down menu, expand Virtualization/Hypervisor and
select Performance.
d To ensure that the alert is generated during the first collection cycle after the symptoms become
true, set the Wait Cycle to 1.
e To ensure that the an alert is removed as soon as the symptoms are no longer triggered, set the
Cancel Cycle to 1.
The alert is canceled in the next collection cycle if the symptoms are no long true.
vRealize Operations Manager Configuration Guide
VMware, Inc. 119
These alert impact options help you identify and prioritize alerts as they are generated.
You started an alert definition where you provided the name and description, selected host system as the
base object type, and defined the data that appears when the alert generated.
What to do next
Continue in the workspace, adding symptoms to your alert definition. See Add a Virtual Machine CPU
Usage Symptom to the Alert Definition.
Add a Virtual Machine CPU Usage Symptom to the Alert Definition
To generate alerts related to CPU usage on your accounting virtual machines, you add symptoms to your
vRealize Operations Manager alert definition after you provide the basic descriptive information for the
alert. The first symptom you add is related to CPU usage on virtual machines. You later use a policy and
group to apply alert to the accounting virtual machines.
This scenario has two symptoms, one for the accounting virtual machines and one to monitor the hosts
on which the virtual machines operate.
Prerequisites
Begin configuring the alert definition. See Add Description and Base Object to Alert Definition.
Procedure
1In the Alert Definition Workspace window, after you configure the Name and Description, Base
Object Type, and Alert Impact, click Add Symptom Definitions and configure the symptoms.
2Begin configuring the symptom set related to virtual machines CPU usage.
a From the Defined On drop-down menu, select Child.
b From the Filter by Object Type drop-down menu, select Virtual Machine.
c From the Symptom Definition Type drop-down menu, select Metric / Supermetric.
d Click the Add button to open the Add Symptom Definition workspace window.
3Configure the virtual machine CPU usage symptom in the Add Symptom Definition workspace
window.
a From the Base Object Type drop-down menu, expand vCenter Adapter and select Virtual
Machine.
The collected metrics for virtual machines appears in the list.
b In the metrics list Search text box, which searches the metric names, type usage.
c In the list, expand CPU and drag Usage (%) to the workspace on the right.
d From the threshold drop-down menu, select Dynamic Threshold.
Dynamic thresholds use vRealize Operations Manager analytics to identify the trend metric
values for objects.
vRealize Operations Manager Configuration Guide
VMware, Inc. 120
e In the Symptom Definition Name text box, type a name similar to
VM CPU Usage above trend.
f From the criticality drop-down menu, select Warning.
g From the threshold drop-down menu, select Above Threshold.
h Leave the Wait Cycle and Cancel Cycle at the default values of 3.
This Wait Cycle setting requires the symptom condition to be true for 3 collection cycles before
the symptom is triggered. This wait avoids triggering the symptom when there is a short spike in
CPU usage.
i Click Save.
The dynamic symptom, which identifies when the usage is above the tracked trend, is added to the
symptom list.
4In the Alert Definition Workspace window, drag VM CPU Usage above trend from the symptom
definition list to the symptom workspace on the right.
The Child-Virtual Machine symptom set is added to the symptom workspace.
5In the symptoms set, configure the triggering condition so that when the symptom is true on half of
the virtual machines in the group to which this alert definition is applied, the symptom set is true.
a From the value operator drop-down menu, select >.
b In the value text box, enter 50.
c From the value type drop-down menu, select Percent.
You defined the first symptom set for the alert definition.
What to do next
Add the host memory usage symptom to the alert definition. See Add a Host Memory Usage Symptom to
the Alert Definition.
Add a Host Memory Usage Symptom to the Alert Definition
To generate alerts related to CPU usage on your accounting virtual machines, you add a second
symptom to your vRealize Operations Manager alert definition after you add the first symptom. The
second symptom is related to host memory usage for the hosts on which the accounting virtual machines
operate.
Prerequisites
Add the virtual machine CPU usage symptom. See Add a Virtual Machine CPU Usage Symptom to the
Alert Definition.
Procedure
1In the Alert Definition Workspace window, after you configure the Name and Description, Base
Object Type, and Alert Impact, click Add Symptom Definitions.
vRealize Operations Manager Configuration Guide
VMware, Inc. 121
2Configure the symptom related to host systems for the virtual machines.
a From the Defined On drop-down menu, select Self.
b From the Symptom Definition Type drop-down menu, select Metric / Supermetric.
c Click the Add button to configure the new symptom.
3Configure the host system symptom in the Add Symptom Definition workspace window.
a From the Base Object Type drop-down menu, expand vCenter Adapters and select Host
System.
b In the metrics list, expand Memory and drag Usage (%) to the workspace on the right.
c From the threshold drop-down menu, select Dynamic Threshold.
Dynamic thresholds use vRealize Operations Manager analytics to identify the trend metric
values for objects.
d In the Symptom Definition Name text box, enter a name similar to
Host memory usage above trend.
e From the criticality drop-down menu, select Warning.
f From the threshold drop-down menu, select Above Threshold.
g Leave the Wait Cycle and Cancel Cycle at the default values of 3.
This Wait Cycle setting requires the symptom condition to be true for three collection cycles
before the symptom is triggered. This wait avoids triggering the symptom when a short spike
occurs in host memory usage.
h Click Save.
The dynamic symptom identifies when the hosts on which the accounting virtual machines run are
operating above the tracked trend for memory usage.
The dynamic symptom is added to the symptom list.
4In the Alert Definition Workspace window, drag Host memory usage above trend from the
symptoms list to the symptom workspace on the right.
The Self-Host System symptom set is added to the symptom workspace.
5On the Self-Host System symptom set, from the value type drop-down menu for This Symptom set
is true when, select Any.
With this configuration, when any of the hosts running accounting virtual machines exhibit memory
usage that is above the analyzed trend, the symptom condition is true.
6At the top of the symptom set list, from the Match {operator} of the following symptoms drop-down
menu, select Any.
With this configuration, if either of the two symptom sets, virtual machine CPU usage or the host
memory, are triggered, an alert is generated for the host.
vRealize Operations Manager Configuration Guide
VMware, Inc. 122
You defined the second symptom set for the alert definition and configured how the two symptom sets are
evaluated to determine when the alert is generated.
What to do next
Add recommendations to your alert definition so that you and your engineers know how to resolve the
alert when it is generated. See Add Recommendations to the Alert Definition.
Add Recommendations to the Alert Definition
To resolve a generated alert for the accounting department's virtual machines, you provide
recommendations so that you or other engineers have the information you need to resolve the alert
before your users encounter performance problems.
As part of the alert definition, you add recommendations that include actions that you run from
vRealize Operations Manager and instructions for making changes in vCenter Server that resolve the
generated alert.
Prerequisites
Add symptoms to your alert definition. See Add a Host Memory Usage Symptom to the Alert Definition.
Procedure
1In the Alert Definition Workspace window, after you configure the Name and Description, Base
Object Type, Alert Impact, and Add Symptom Definitions, click Add Recommendations and add
the recommended actions and instructions.
2Click Add and select an action recommendation to resolve the virtual machine alerts.
a In the New Recommendation text box, enter a description of the action similar to
Add CPUs to virtual machines.
b From the Actions drop-down menu, select Set CPU Count for VM.
c Click Save.
3Click Add and provide an instructive recommendation to resolve host memory problems similar to this
example.
If this host is part of a DRS cluster, check the DRS settings to verify that the
load balancing setting are configured correctly. If necessary, manually vMotion
the virtual machines.
4Click Add and provide an instructive recommendation to resolve host memory alerts.
a Enter a description of the recommendation similar to this example.
If this is a standalone host, add more memory to the host.
b To make the URL a hyperlink in the instructions, copy the URL, for example,
https://www.vmware.com/support/pubs/vsphere-esxi-vcenter-server-pubs.html, to your clipboard.
c Highlight the text in the text box and click Create a hyperlink.
vRealize Operations Manager Configuration Guide
VMware, Inc. 123
d Paste the URL in the Create a hyperlink text box and click OK.
e Click Save.
5In the Alert Definition Workspace, drag Add CPUs to virtual machines, If this host is part of a
DRS cluster, and the If this is a standalone host recommendations from the list to the
recommendation workspace in the order presented.
6Click Save.
You provided the recommended actions and instructions to resolve the alert when it is generated. One of
the recommendations resolves the virtual machine CPU usage problem and the other resolves the host
memory problem.
What to do next
Create a group of objects to use to manage your accounting objects. See Create a Custom Accounting
Department Group.
Create a Custom Accounting Department Group
To manage, monitor, and apply policies to the accounting objects as a group, you create a custom object
group.
Prerequisites
Verify that you completed the alert definition for this scenario. See Add Recommendations to the Alert
Definition.
Procedure
1In the menu, click Environment and click the Custom Groups tab.
2Click the New Custom Group icon to create a new custom group.
3Type a name similar to Accounting VMs and Hosts.
4From the Group Type drop-down menu, select Department.
5From the Policy drop-down menu, select Default Policy.
When you create a policy, you apply the new policy to the accounting group.
6In the Define membership criteria area, from the Select the Object Type that matches the
following criteria drop-down menu, expand vCenter Adapter, select Host System, and configure
the dynamic group criteria.
a From the criteria drop-down menu, select Relationship.
b From the relationships options drop-down menu, select Parent of.
c From the operator drop-down menu, select contains.
d In the Object name text box, enter acct.
e From the navigation tree drop-down list, select vSphere Hosts and Clusters.
vRealize Operations Manager Configuration Guide
VMware, Inc. 124
You created a dynamic group where host objects that are the host for virtual machines with acct in the
virtual machine name are included in the group. If a virtual machine with acct in the object name is
added or moved to a host, the host object is added to the group.
7Click Preview in the lower-left corner of the workspace, and verify that the hosts on which your virtual
machines that include acct in the object name appear in the Preview Group window.
8Click Close.
9Click Add another criteria set.
A new criteria set is added with the OR operator between the two criteria sets.
10 From the Select the Object Type that matches the following criteria drop-down menu, expand
vCenter Adapter, select Virtual Machine, and configure the dynamic group criteria.
a From the criteria drop-down menu, select Properties.
b From the Pick a property drop-down menu, expand Configuration and double-click Name.
c From the operator drop-down menu, select contains.
d In the Property value text box, enter acct.
You created a dynamic group where virtual machine objects with acct in the object name are included
in the group that depends on the presence of those virtual machines. If a virtual machine with acct in
the name is added to your environment, it is added to the group.
11 Click Preview in the lower-left corner of the workspace, and verify that the virtual machines with acct
in the object name are added to the list that also includes the host systems.
12 Click Close.
13 Click OK.
The Accounting VMs and Hosts group is added to the Groups list.
You created a dynamic object group that changes as virtual machines with acct in their names are added,
removed, and moved in your environment.
What to do next
Create a policy that determines how vRealize Operations Manager uses the alert definition to monitor
your environment. See Create a Policy for the Accounting Alert.
Create a Policy for the Accounting Alert
To configure how vRealize Operations Manager evaluates the accounting alert definition in your
environment, you configure a policy that determines behavior so that you can apply the policy to an object
group. The policy limits the application of the alert definition to only the members of the selected object
group.
vRealize Operations Manager Configuration Guide
VMware, Inc. 125
When an alert definition is created, it is added to the default policy and enabled, ensuring that any alert
definitions that you create are active in your environment. This alert definition is intended to meet the
needs of the accounting department, so you disable it in the default policy and create a new policy to
govern how the alert definition is evaluated in your environment, including which accounting virtual
machines and related hosts to monitor.
Prerequisites
nVerify that you completed the alert definition for this scenario. See Add Recommendations to the Alert
Definition.
nVerify that you created a group of objects that you use to manage you accounting objects. See Create
a Custom Accounting Department Group.
Procedure
1In the menu, click Administration and then in the left pane, click Policies.
2Click the Policy Library tab.
3Click Add New Policy.
4Type a name similar to Accounting Objects Alerts Policy and provide a useful description
similar to the following example.
This policy is configured to generate alerts when
Accounting VMs and Hosts group objects are above trended
CPU or memory usage.
5Click Select Base Policies and select Default Policy from the Start with drop-down menu.
6On the left, click Customize Alert / Symptom Definitions and disable all the alert definitions except
the new Acct VM CPU early warning alert.
a In the Alert Definitions area, click Actions and select Select All.
The alerts on the current page are selected.
b Click Actions and select Disable.
The alerts indicate Disabled in the State column.
c Repeat the process on each page of the alerts list.
d Select Acct VM CPU early warning in the list, click Actions and select Enable.
The Acct VM CPU early warning alert is now enabled.
7On the left, click Apply Policy to Groups and select Accounting VMs and Hosts.
8Click Save.
You created a policy where the accounting alert definition exists in a custom policy that is applied only to
the virtual machines and hosts for the accounting department.
vRealize Operations Manager Configuration Guide
VMware, Inc. 126
What to do next
Create an email notification so that you learn about alerts even you when you are not actively monitoring
vRealize Operations Manager. See Configure Notifications for the Department Alert.
Configure Notifications for the Department Alert
To receive an email notification when the accounting alert is generated, rather than relying on your ability
to generally monitor the accounting department objects in vRealize Operations Manager, you create
notification rules.
Creating an email notification when accounting alerts are triggered is an optional process, but it provides
you with the alert even when you are not currently working in vRealize Operations Manager.
Prerequisites
nVerify that you completed the alert definition for this scenario. See Add Recommendations to the Alert
Definition.
nVerify that standard email outbound alerts are configured in your system. See Add a Standard Email
Plug-In for vRealize Operations Manager Outbound Alerts.
Procedure
1In the menu, click Alerts and then in the left pane, click Alert Settings.
2Click Notification Settings and click the plus sign to add a notification rule.
3Configure the communication options.
a In the Name text box, type a name similar to Acct Dept VMs or Hosts Alerts.
b From the Select Plug-In Type drop-down menu, select StandardEmailPlugin.
c From the Select Instance drop-down menu, select the standard email instance that is configured
to send messages.
d In the Recipients text box, type your email address and the addresses of other recipients
responsible for the accounting department alerts. Use a semicolon between recipients.
e Leave the Notify again text box blank.
If you do not provide a value, the email notice is sent only once. This alert is a Risk alert and is
intended as an early warning rather than requiring an immediate response.
You configured the name of the notification when it is sent to you and the method that is used to send
the message.
4In the Filtering Criteria area, configure the accounting alert notification trigger.
a From the Notification Trigger drop-down menu, select Alert Definition.
b Click Click to select Alert Definition.
c Select Acct VM CPU early warning and click Select.
5Click Save.
vRealize Operations Manager Configuration Guide
VMware, Inc. 127
You created a notification rule that sends you and your designated engineers an email message when
this alert is generated for your accounting department alert definition.
What to do next
Create a dashboard with alert-related widgets so that you can monitor alerts for the accounting object
group. See Create a Dashboard to Monitor Department Objects.
Create a Dashboard to Monitor Department Objects
To monitor all the alerts related to the accounting department object group, you create a dashboard that
includes the alert list and other widgets. The dashboard provides the alert data in a single location for all
related objects.
Creating a dashboard to monitor the accounting virtual machines and related hosts is an optional
process, but it provides you with a focused view of the accounting object group alerts and objects.
Prerequisites
Create an object group for the accounting department virtual machines and related objects. See Create a
Custom Accounting Department Group.
Procedure
1In the menu, click Dashboards > Actions > Create Dashboard.
2In the Dashboard Configuration definition area, type a tab name similar to
Accounting VMs and Hosts and configure the layout options.
3Click Widget List and drag the following widgets to the workspace.
nAlert List
nEfficiency
nHealth
nRisk
nTop Alerts
nAlert Volume
The blank widgets are added to the workspace. To change the order in which they appear, you can
drag them to a different location in the workspace.
4On the Alert List widget title bar, click Edit Widget and configure the settings.
a In the Title text box, change the title to Acct Dept Alert List.
b For the Refresh Content option, select On.
c Type Accounting in the Search text box and click Search.
The Accounting value corresponds to the name of the object group for the accounting department
virtual machines and related hosts.
vRealize Operations Manager Configuration Guide
VMware, Inc. 128
d In the filtered resource list, select the Accounting VMs and Hosts group.
The Accounting VMs and Hosts group is identified in the Selected Resource text box.
e Click OK.
The Acct Dept Alert List is now configured to display alerts for the Accounting VMs and Hosts group
objects.
5Click Widget Interactions and configure the following interactions.
a For Acct Dept Alert List, leave the selected resources blank.
b For Top Alerts, Health, Risk, Efficiency, and Alert Volume select Acct Dept Alert List from the
Selected Resources drop-down menu.
c Click Apply Interactions.
With the widget interaction configured in this way, the select alert in the Acct Dept Alert List is the
source for the data in the other widgets. When you select an alert in the alert list, the Health, Risk,
and Efficiency widgets display alerts for that object, Top Alerts displays the topic issues affecting the
health of the object, and Alert Volume displays an alert trend chart.
6Click Save.
You created a dashboard that displays the alerts related to the accounting virtual machines and hosts
group, including the Risk alert you created.
Alerts Group
For easy and better management of alerts, you can arrange them as a group as per your requirement.
It is complicated to identify a problem in large environments as you receive different kind of alerts. To
manage alerts easily, group them by their definitions.
For example, there are 1000 alerts in your system. To identify different types of alerts, group them based
on their alert definitions. It is also easy to detect the alert having the highest severity in the group.
When you group alerts, you can see the number of times the alerts having the same alert definition are
triggered. By grouping alerts, you can perform the following tasks easily and quickly:
nFind the noisiest alert: The alert that has triggered maximum number of times is known as the noisiest
alert. Once you find it, you can disable it to avoid further noise.
vRealize Operations Manager Configuration Guide
VMware, Inc. 129
nFilter alerts: You can filter alerts based on a substring in alert definitions. The result shows the group
of alerts that contain the substring.
Note
nIf you cancel or disable an alert group, the alerts are not canceled instantly. It might take some time if
the group is large.
nOnly one group can be expanded at a time.
nThe number next to the group denotes the number of alerts in that particular group.
n
The criticality sign indicates the highest level of severity of an alert in a group.
Grouping Alerts
You can group alerts by time, criticality, definition, and object type.
To group alerts:
Procedure
1In the menu, click Alerts.
2Select from the various options available from the Group By drop-down menu.
Disable Alerts
In an alerts group, you can disable an alert by a single click.
To disable an alert, in the menu, click Alerts and then in the left pane, click All Alerts. Select the alert
name from the data grid, and click Actions > Disable.
The alerts can be disabled by two methods:
nDisable Alert in All Policies: You disable the alert for all the objects for all the policies.
nDisable Alert in Selected Policies: You disable the alert for the objects having the selected policy.
Note that this method will work only for objects with alerts.
Configuring Actions
Actions are the ability to update objects or read data about objects in monitored systems, and are
commonly provided in vRealize Operations Manager as part of a solution. The actions added by solutions
are available from the object Actions menu, list and view menus, including some dashboard widgets, and
can be added to alert definition recommendations.
The possible actions include read actions and update actions.
The read actions retrieve data from the target objects.
vRealize Operations Manager Configuration Guide
VMware, Inc. 130
The update actions modifies the target objects. For example, you can configure an alert definition to notify
you when a virtual machine is experiencing memory issues. Add an action in the recommendations that
runs the Set Memory for Virtual Machine action. This action increases the memory and resolves the likely
cause of the alert.
To see or use the actions for your vCenter Server objects, you must enable actions in the vCenter
Adapter for each monitored vCenter Server instance. Actions can only be viewed and accessed if you
have the required permissions.
List of vRealize Operations Manager Actions
The list of actions includes the name of the action, the objects that each one modifies, and the object
levels at which you can run the action. You use this information to ensure that you correctly apply the
actions as alert recommendations and when the actions are available in the Actions menu.
Actions and Modified Objects
vRealize Operations Manager actions make changes to objects in your managed vCenter Server
instances.
When you grant a user access to actions in vRealize Operations Manager, that user can take the granted
action on any object that vRealize Operations Manager manages, and not only on objects that the user
can access outside of vRealize Operations Manager.
Action Object Levels
The actions are available when you work with different object levels, but they modify only the specified
object. If you are working at the cluster level and select Power On VM, all the virtual machines in the
cluster for which you have access permission are available for you to run the action. If you are working at
the virtual machine level, only the selected virtual machine is available.
Table 23. vRealize Operations Manager Actions Aected Objects
Action Modified Object Object Levels
Rebalance Container Virtual Machines nData Center
nCustom Data Center
Delete Idle VM Virtual Machines nClusters
nHost Systems
nVirtual Machines
Set DRS Automation Cluster nClusters
Move VM Virtual Machine nVirtual Machines
Power Off VM Virtual Machine nClusters
nHost Systems
nVirtual Machines
Shut Down Guest OS for VM Virtual Machine
VMware Tools must be installed and running on the
target virtual machines to run this action.
nClusters
nHost Systems
nVirtual Machines
vRealize Operations Manager Configuration Guide
VMware, Inc. 131
Table 23. vRealize Operations Manager Actions Aected Objects (Continued)
Action Modified Object Object Levels
Power On VM Virtual Machine nClusters
nHost Systems
nVirtual Machines
Delete Powered Off VM Virtual Machine nClusters
nHost Systems
nVirtual Machines
Set Memory for VM
and
Set Memory for VM Power Off
Allowed
Virtual Machine nClusters
nHost Systems
nVirtual Machines
Set Memory Resources for VM Virtual Machine nClusters
nHost Systems
nVirtual Machines
Set CPU Count for VM
and
Set CPU Count for VM Power Off
Allowed
Virtual Machine nClusters
nHost Systems
nVirtual Machines
Set CPU Resources for VM Virtual Machine nClusters
nHost Systems
nVirtual Machines
Set CPU Count and Memory for VM
and
Set CPU Count and Memory for VM
Power Off Allowed
Virtual Machine nClusters
nHost Systems
nVirtual Machines
Delete Unused Snapshots for VM Snapshot nClusters
nHost Systems
nVirtual Machines
Delete Unused Snapshots for
Datastore
Snapshot nClusters
nDatastores
nHost Systems
Actions Supported for Automation
Recommendations can identify ways to remediate problems indicated by an alert. Some of these
remediations can be associated with actions defined in your vRealize Operations Manager instance. You
can automate several of these remediation actions for an alert when that recommendation is the first
priority for that alert.
You enable actionable alerts in your policies. By default, automation is disabled in policies. To configure
automation for your policy, in the menu, click Administration > Policies > Policy Library. Then, you edit
a policy, access the Alert / Symptom Definitions workspace, and select Local for the Automate setting
in the Alert / Symptom Definitions pane.
vRealize Operations Manager Configuration Guide
VMware, Inc. 132
When an action is automated, you can use the Automated and Alert columns in Administration >
History > Recent Tasks to identify the automated action and view the results of the action.
nvRealize Operations Manager uses the automationAdmin user account to trigger automated
actions. For these automated actions that are triggered by alerts, the Submitted By column displays
the automationAdmin user.
nThe Alert column displays the alert that triggered the action. When an alert is triggered that is
associated to the recommendation, it triggers the action without any user intervention.
The following actions are supported for automation:
nDelete Powered Off VM
nDelete Idle VM
nMove VM
nPower Off VM
nPower On VM
nSet CPU Count And Memory for VM
nSet CPU Count And Memory for VM Power Off Allowed
nSet CPU Count for VM
nSet CPU Count for VM Power Off Allowed
nSet CPU Resources for VM
nSet Memory for VM
nSet Memory for VM Power Off Allowed
nSet Memory Resources for VM
nShut Down Guest OS for VM
Roles Needed to Automate Actions
To automate actions, your role must have the following permissions:
nCreate, edit, and import policies in Administration > Policies > Policy Library.
nCreate, clone, edit, and import alert definitions in Alerts > Alert Settings > Alert Definitions.
nCreate, edit, and import recommendation definitions in Alerts > Alert Settings >
Recommendations.
Important You set the permissions used to run the actions separately from the alert and
recommendation definition. Anyone who can modify alerts, recommendations, and policies can also
automate the action, even if they do not have permission to run the action.
vRealize Operations Manager Configuration Guide
VMware, Inc. 133
For example, if you do not have access to the Power Off VM action, but you can create and modify alerts
and recommendations, you can see the Power Off VM action and assign it to an alert recommendation.
Then, if you automate the action in your policy, vRealize Operations Manager uses the automationAdmin
user to run the action.
Example Action Supported for Automation
For the Alert Definition named Virtual machine has chronic high CPU workload leading to
CPU stress, you can automate the action named Set CPU Count for VM.
When CPU stress on your virtual machines exceeds a critical, immediate, or warning level, the alert
triggers the recommended action without user intervention.
Integration of Actions with vRealize Automation
vRealize Operations Manager restricts actions on objects that vRealize Automation manages, so that the
actions do not violate any constraints set forth by vRealize Automation.
When objects in your environment are managed by vRealize Automation, actions in
vRealize Operations Manager are not available on those objects. For example, if a host or parent object
is being managed by vRealize Automation, actions are not available on that object.
This behavior is true for all actions, including Power Off VM, Move VM, Rebalance Container, and so
on.
You cannot turn on or turn off the exclusion of actions on vRealize Automation managed objects.
Actions Determine Whether Objects Are Managed
Actions check the objects in the vRealize Automation managed resource container to determine which
objects are being managed by vRealize Automation.
nActions such as Rebalance Container check the child objects of the data center container or custom
data center container to determine whether the objects are managed by vRealize Automation. If the
objects are being managed, the action does not appear on those objects.
nThe Move VM action checks whether the virtual machine to be moved is being managed by
vRealize Automation.
Is the Virtual
Machine
Managed? Result of Move VM Action
Yes The Move VM action does not appear in the vRealize Operations Manager user interface for that virtual
machine.
No The Move VM action moves the virtual machine to a new host, datastore, or new host and datastore. The
Move VM action does not check whether the new host or datastore is being managed by
vRealize Automation.
nThe Delete Snapshots action checks whether the virtual machine or datastore is being managed by
vRealize Automation.
vRealize Operations Manager Configuration Guide
VMware, Inc. 134
Actions on Objects that vRealize Automation Does Not Manage
For a host or parent object that is not managed by vRealize Automation, only the virtual machines that
are not being managed by vRealize Automation appear in the action dialog, and you can only take action
on the virtual machines that are not being managed by vRealize Automation. If all child objects are being
managed by vRealize Automation, the user interface displays the message No objects are eligible
for the selected action.
If You Attempt to Run an Action on Multiple Objects
If you select multiple objects and attempt to run an action, such as Power Off VM, only the objects that
are not being managed by vRealize Automation, which might include a subset of the virtual machines,
appear in the Power Off VM action dialog box.
Working With Actions That Use Power O Allowed
Some of the actions provided with vRealize Operations Manager require the virtual machines to shut
down or power off, depending on the configuration of the target machines, to run the actions. You should
understand the impact of the Power Off Allowed option before running the actions so that you select the
best options for your target virtual machines.
Power O and Shut Down
The actions that you can run on your vCenter Server instances include actions that shut down virtual
machines and actions that power off virtual machines. It also includes actions where the virtual machine
must be in a powered off state to complete the action. Whether the virtual machine is shut down or
powered off depends on how it is configured and what options you select when you run the action.
The shut down action shuts down the guest operating system and then powers off the virtual machine. To
shut down a virtual machine from vRealize Operations Manager, the VMware Tools must be installed and
running on the target objects.
The power off action turns the virtual machine off without regard for the state of the guest operating
system. In this case, if the virtual machine is running applications, your user could lose data. After the
action is finished, for example, modifying the CPU count, the virtual machine is returned to the power
state it was in when the action began.
Power O Allowed and VMware Tools
For the actions where you are increasing the CPU count or the amount of memory on a virtual machine,
some operating systems support the actions if the Hot Plug is configured on the virtual machine, but for
other operating systems, the virtual machine must be in a powered off state to change the configuration.
To accommodate this need where the VMware Tools are not running, the Set CPU Count, Set Memory,
and Set CPU Count and Memory actions include the Power Off Allowed option.
vRealize Operations Manager Configuration Guide
VMware, Inc. 135
If you select Power Off Allowed, and the machine is running, the action verifies whether VMware Tools is
installed and running.
nIf VMware Tools are installed and running, the virtual machine is shut down before completing the
action.
nIf VMware Tools are not running or not installed, the virtual machine is powered off without regard for
the state of the operating system.
If you do not select Power Off Allowed and you are decreasing the CPU count or memory, or the hot plug
is not enabled for increasing the CPU count or memory, the action does not run and the failure is reported
in Recent Tasks.
Power O Allowed When Changing CPU Count or Memory
When you run the actions that change the CPU count and the amount of memory, you must consider
several factors to determine if you want to use the Power Off Allowed option. These factors include
whether you are increasing or decreasing the CPU or memory and whether the target virtual machines
are powered on. If you increasing the CPU or memory values, whether hot plug is enabled also affects
how you apply the option when you run the action.
How you use Power Off Allowed when you are decreasing the CPU count or the amount of memory
depends on the power state of the target virtual machines.
Table 24. Decreasing CPU Count and Memory Behavior Based On Options
Virtual Machine Power State Power Off Allowed Selected Results
On Yes If VMware Tools is installed and running,
the action shuts down the virtual machine,
decreases the CPU or memory, and
powers the machine back on.
If VMware Tools is not installed, the action
powers off the virtual machine, decreases
the CPU or memory, and powers the
machine back on.
On No The action does not run on the virtual
machine.
Off Not applicable. The virtual machine is
powered off.
The action decreases the value and
leaves the virtual machine in a powered
off state.
How you use Power Off Allowed when you are increasing the CPU count or the amount of memory
depends on several factors, including the state of the target virtual machine and whether hot plug is
enabled. Use the following information to determine which scenario applies to your target objects.
If you are increasing the CPU count, you must consider the power state of the virtual machine and
whether CPU Hot Plug is enabled when determining whether to apply Power Off Allowed.
vRealize Operations Manager Configuration Guide
VMware, Inc. 136
Table 25. Increasing CPU Count Behavior.
Virtual Machine Power State CPU Hot Plug Enabled Power Off Allowed Selected Results
On Yes No The action increases the CPU
count to the specified amount.
On No Yes If VMware Tools is installed
and running, the action shuts
down the virtual machine,
increases the CPU count, and
powers the machine back on.
If VMware Tools is not
installed, the action powers off
the virtual machine, increases
the CPU count, and powers the
machine back on.
Off Not applicable. The virtual
machine is powered powered
off.
Not required. The action increases the CPU
count to the specified amount.
If you are increasing the memory, you must consider the power state of the virtual machine, whether
Memory Hot Plug is enabled, and whether there is a Hot Memory Limit when determining how to apply
Power Off Allowed.
Table 26. Increasing Memory Amount Behavior
Virtual Machine Power
State
Memory Hot Plug
Enabled Hot Memory Limit
Power Off Allowed
Selected Results
On Yes New memory value ≤
hot memory limit
No The action increases the
memory the specified
amount.
On Yes New memory value >
hot memory limit
Yes If VMware Tools is
installed and running,
the action shuts down
the virtual machine,
increases the memory,
and powers the machine
back on.
If VMware Tools is not
installed, the action
powers off the virtual
machine, increases the
memory, and powers the
machine back on.
vRealize Operations Manager Configuration Guide
VMware, Inc. 137
Table 26. Increasing Memory Amount Behavior (Continued)
Virtual Machine Power
State
Memory Hot Plug
Enabled Hot Memory Limit
Power Off Allowed
Selected Results
On No Not applicable. The hot
plug is not enabled.
Yes If VMware Tools is
installed and running,
the action shuts down
the virtual machine,
increases the memory,
and powers the machine
back on.
If VMware Tools is not
installed, the action
powers off the virtual
machine, increases the
memory, and powers the
machine back on.
Off Not applicable. The
virtual machine is
powered off.
Not applicable. Not required The action increases the
memory the specified
amount.
vRealize Operations Manager Configuration Guide
VMware, Inc. 138
Configuring and Using
Workload Optimization 3
Workload Optimization provides for moving virtual compute resources and their file systems dynamically
across datastore clusters within a data center or custom data center.
Using Workload Optimization, you can rebalance virtual machines and storage across clusters, relieving
demand on an overloaded individual cluster and maintaining or improving cluster performance.
Workload Optimization further enables you potentially to automate a significant portion of your data center
compute and storage optimization efforts. With properly defined policies determining the threshold at
which resource contention triggers an alert and automatically runs an action, a data center performs at
optimum.
This chapter includes the following topics:
nConfiguring Workload Optimization
nUsing Workload Optimization
Configuring Workload Optimization
Workload Optimization offers you the potential to automate fully a significant portion of your cluster
workload rebalancing tasks. The tasks to accomplish workload automation are as follows:
1 Set the policies that define demand limits for cluster CPU and memory. See Workload Policy Settings.
2 Configure the Workload Automation Details to complement the policies, including tagging VMs for
cluster placement. See Workload Automation Details and Tag-Based VM Placement
3 Configure the two Workload Optimization alerts to be triggered when cluster CPU/memory limits are
breached, and configure them as automated. When the alerts are automated, the actions calculated
by Workload Optimization are run automatically. See Configuring Workload Optimization Alerts
Prerequisites
Workload Optimization acts on objects associated with the VMware vSphere Solution that connects
vRealize Operations Manager to one or more vCenter Server instances. The virtual objects in this
environment include a vCenter Server, data centers and custom data centers, cluster compute and
storage resources, host systems, and virtual machines. Specific requirements:
nA vCenter Adapter configured with the actions enabled for each vCenter Server instance.
VMware, Inc. 139
nA vCenter Server instance with at least two datastore clusters with sDRS enabled and fully
automated.
nAny non-datastore clusters must have DRS enabled and fully automated
nStorage vMotion must be set to ON at Workload Automation Details. The default is On.
nYou must have permission to access all objects in the environment.
Design Considerations
The following rules constrain the possible computer and storage resource moves that can be performed.
Note When vRealize Operations Manager suggests that you optimize clusters in a data center, the
system does not guarantee it can run an optimization action. vRealize Operations Manager analytics can
determine that optimization is desirable and can create a rebalancing plan. However, the system cannot
automatically identify all the architectural constraints that may be present. Such constraints may prevent
an optimization action, or cause an action in progress to fail.
nMoving compute and storage resources is allowed only within, not across data centers or custom
data centers.
nStorage resources cannot be moved across non-datastore clusters. Storage can move only across
datastore clusters that have sDRS fully automated.
nCompute-resource-only moves are permitted through shared storage.
nVirtual machines defined with affinity rules or anti-affinity rules are not to be moved.
nVirtual machines cannot be moved when residing on a local datastore, unless a storage swap exists
on the local datastore.
nVirtual machines cannot be moved if they have data residing across multiple datastore clusters.
Compute-only moves with similar shared storage are not permitted.
nA virtual machine cannot have data that resides across different storage types. For example, if a
virtual machine has a VM disk on a datastore and a second VM disk on a datastore cluster, the virtual
machine does not move, even when the datastore is shared with the destination or has swap on it.
nA virtual machine can use RDM so long as the destination datastore cluster can access the RDM
LUN.
nA virtual machine can implement VM disks on multiple datastores inside a single datastore cluster.
nVirtual machines cannot be placed inside clusters managed by vRealize Automation.
nWorkload Optimization may suggest moving virtual machines that are protected by vSphere
Replication or Array Based Replication. You must ensure that all the clusters within a selected data
center or custom data center have replication available. You can set up DRS affinity rules on virtual
machines that you do not want moving across clusters.
vRealize Operations Manager Configuration Guide
VMware, Inc. 140
Workload Policy Settings
The key element in effecting workload optimization is appropriately setting the policies that determine
when alerts are fired to signal that performance issues are detected. The issues are alleviated through
the optimization of system resources. For information on setting policies in vRealize Operations Manager
see the following:
nPolicies
nDefault Policy in vRealize Operations Manager
nPolicy Library Tab for Policies
nPolicy Alert Definitions
nUsing the Monitoring Policy Workspace to Create and Modify Operational Policies
Key among various settings relevant to the cluster workload is acceptable demand for CPU and memory.
Disk space demand is not considered as part of the workload optimization equation.
In setting policies at the Add/Edit Monitoring Policy workspace, you arrive at a workload score. These
policies determine when demands on computing and memory are within an acceptable zone (green),
moving toward contention (orange) or unacceptably high (red).
Note If a cluster CPU or memory use has reached the maximum configured capacity, there is no room
left to move compute resources, and optimization is not possible. Set workload scores to values that
trigger an alert well before absolute maximum capacity is reached.
Cluster Headroom Policy and Storage vMotion
The Add/Edit Monitoring Policy workspace includes additional options that more generally define how and
when optimization actions occur. Display the Workload Automation Details page to set:
nWorkload Optimization to Balance, Relieve Stress, or Consolidate
nCluster Headroom to 0-50%
nTag-Based VM Placement
nAdvanced Settings - you must ensure Storage vMotion is set to ON - the default
The Headroom option can potentially act more directly on optimizing actions than the Balance or
Consolidate workload options, because it sets a value that directly impacts the cluster workload limit
policy. Headroom sets a buffer, that is, a workload limit separate from the workload score you defined as
within the green zone in your policy settings. If your headroom buffer is, for example, 20 percent, the
workload limit is effectively 80 percent. That percentage holds even if you set a workload score in the
policy settings that permits the green zone to reach 90 percent. When Workload Balance calculates an
optimization plan, it abides by the more restrictive metric.
vRealize Operations Manager Configuration Guide
VMware, Inc. 141
Tag-Based VM Placement
You can use vCenter Server tagging to tag VMs and clusters with specific tags. These tags define - for a
given cluster - the set of VMs that is placed in that cluster and remains within the cluster. When the
system runs an optimization action, it uses VM-to-cluster tag matching to ensure that VMs are moved to -
or stay with - the appropriate cluster.
Using Tags for Cluster Flexibility
When configuring custom data centers and clusters without tags, you configure CDCs as relatively
homogeneous. All cluster resources must support, for example, the same OS or the same security
requirements so that optimization actions do not place VMs in an incompatible cluster.
The tagging approach enables you to define zones of infrastructure within cluster boundaries. For
example, you can ensure that during workload optimization actions, Windows VMs are moved only to
Windows-licensed clusters and Oracle VMs are moved only to Oracle-licensed clusters. Similarly, you can
enable tiers of service in an application, where "Tier 1" VMs are moved only to Tier 1 clusters. Other
examples include separating VMs according to OS, or creating network boundaries.
VMs and clusters can be tagged with more than one tag. VMs with multiple tags are placed only on
clusters with all matching tags.
vCenter Server tags are implemented as key:value labels that enable operators to add meta-data to
vCenter Server objects. In vCenter Server terminology, the key is the tag category and the value is the tag
name. Using this construct, the tag OS: Linux can indicate a cluster or VM that is assigned to the
category OS with a tag name of Linux. For complete information on vCenter Server tagging capabilities,
refer to the vCenter Server and Host Management guide.
In vRealize Operations Manager, you assign category and name tags in Policies, at the Workload
Automation Details page. You can also set priorities for optimization moves, dictating which VMs are
moved first.
Tag Implementation Example: Zones of Service and Licensing
The following example shows how an administrator assigned tags to clusters and VMs to create zones
within a data center:
vRealize Operations Manager Configuration Guide
VMware, Inc. 142
1
6
11
2 3
78
12 13
4 5
9 10
14 15
Clusters
Data Center A
Production
Gold Silver Oracle
Staging
Dev
Using vCenter Server, the administrator sets up these tag categories and associated tag names:
nEnvironment: Production, Staging, Dev
nService Tier: Gold, Silver
nLicensing: Oracle
Data Center A includes 15 clusters. The administrator tags the clusters and VMs in those clusters as
follows:
Cluster Environment Service Tier Licensing
1 Production Gold
2, 3 Production Silver
4, 5 Production Oracle
6 Staging Gold
7, 8 Staging Silver
9, 10 Staging Oracle
11 Dev Gold
12, 13 Dev Silver
14, 15 Dev Oracle
Opening the vRealize Operations Manager policies to Tag-Based VM Placement in Workload Automation
Details, the administrator prioritizes the Environment: Production and Service Tier: Gold category-tag
combinations. Because the Optimization policies emphasize balance, clusters with those tags are
balanced first.
vRealize Operations Manager Configuration Guide
VMware, Inc. 143
Configuring Workload Optimization Alerts
vRealize Operations Manager provides two preconfigured alerts designed to work with the Workload
Optimization feature. You must take additional action in the Policies area to turn on the alerts and
automate them so that recommended actions are executed when the alerts fire.
The following preconfigured alerts are designed to work with the Workload Optimization feature:
nDatacenter performance can potentially be optimized in one or more clusters.
nCustom Datacenter performance can potentially be optimized in one or more clusters.
Prerequisites
Ensure you have all required permissions to access the Workload Optimization UI pages and manage
vCenter Server objects.
Procedure
1Select Administration from the menu, then Policies from the left pane.
2Click Policy Library and select the policy that includes settings for the relevant datacenters and
custom datacenters, for example, vSphere Solution’s Default Policy.
3Click Edit.
4Click the object grouping containing the relevant datacenters, for example, vCenter Adapter Cluster
Compute Resource:
5Click #6 on the lower left, Alert/Symptom Definitions.
6Search on "can potentially be optimized" to locate the two alerts you want.
7The alerts are turned ON by default/inheritance (State column).
8The alerts are not automated by default/inheritance (Automate column). To automate the alerts, click
the menu symbol to the right of the inherited value and select the green check mark.
Workload Optimization should be fully automated for your environment.
What to do next
Monitor rebalance activity at the Workload Optimization screen to confirm that actions are taken
automatically.
Using Workload Optimization
Use the Workload Optimization UI pages to monitor optimizing moves in a fully automated system. If your
system is not fully automated, you can use the UI to conduct research and execute actions directly.
vRealize Operations Manager Configuration Guide
VMware, Inc. 144
vRealize Operations Manager monitors virtual objects and collects and analyzes related data that is
presented to you in graphical form at the Workload Optimization screen. Depending on what appears on
the screen, you may determine that you need to use optimization functions to distribute workload
differently in a datacenter or custom datacenter. Or you may decide to perform more research, including
checking the Alerts page to determine if any alerts have been generated for objects of interest.
For comprehensive general instructions on responding to alerts and analyzing problems related to objects
in your environment, see .
For comprehensive general instructions on responding to alerts and analyzing problems related to objects
in your environment, see the vRealize Operations Manager User Guide.
The following examples demonstrate the primary ways you can use Workload Optimization to keep your
datacenters balanced and performing their best.
Example: Run Workload Optimization
As a virtual infrastructure administrator or other IT professional, you use Workload Optimization functions
to identify points of resource contention or imbalance. In this example, you manually run an optimization
action to consolidate demand.
When you log into vRealize Operations Manager, you see the Quick Start page. In the left-most column,
Optimize Performance, is the alert 3 DATACENTERS REQUIRING OPTIMIZATION.
Prerequisites
Ensure that you have all required permissions to access the Workload Optimization UI and manage
vCenter Server objects.
Procedure
1Click Workload Optimization in the Optimize Performance column.
The Workload Optimization page appears. Datacenters are grouped by Criticality, with the three
troubled datacenters appearing in a carousel across the top of the page: DC-Bangalore-18, DC-
Bangalore-19, DC-Bangalore-20. A Not Optimized badge appears in the lower right-hand corner of
each graphic.
2If no datacenter is preselected, select DC-Bangalore-18 from the carousel.
Comprehensive data about the state of the datacenter appears below.
vRealize Operations Manager Configuration Guide
VMware, Inc. 145
3Based on the available data, you determine an optimization action is required.
CPU workloads can be consolidated such that a host in Cluster 3 can be freed up.
Table 31. Panes and Widgets
Pane Contents
Workload Optimization Status shows as Not Optimized. A system message states,
"You can consolidate workloads to maximize utilization and
potentially free up 1 host."
The message reflects that you have set policies to emphasize
consolidation as a goal in optimization moves. The system is
saying you can free up a host through consolidation.
Settings The current policy is Consolidate. The system advises: Avoid
Performance Issues, Consolidate Workloads.
vMotion in last 24 hours There have been no vMotions in the last day.
Cluster Workloads Cluster 1 CPU Workload is 16%. Cluster 2 CPU Workload is
29%. Cluster 3 CPU Workload is 14%. Cluster 4 CPU
Workload is 22%.
4Click OPTIMIZE NOW in the Workload Optimization pane.
The system creates a optimization plan, which depicts BEFORE and (projected) AFTER workload
statistics for the optimization action.
5If you are satisfied with the projected results of the optimization action, click NEXT.
The dialog box updates to show the planned moves.
6Review the optimization moves, then click BEGIN ACTION.
The system runs the compute and storage resource moves.
The optimization action moved compute and storage resources from some clusters to other clusters in the
data center, thus freeing up a host on one cluster.
Note The Workload Optimization page refreshes every five minutes. Depending on when you run an
optimization action, the system might not reflect the result for up to five minutes, or longer when longer-
running actions extend the processing time.
vRealize Operations Manager Configuration Guide
VMware, Inc. 146
What to do next
To confirm that your optimization action was completed, go to the Recent Tasks page by selecting
Administration on the top menu, and clicking History > Recent Tasks in the left pane. In the Recent
Tasks page, use the Status function on the menu bar to locate your action by its status. You can also
search using a range of filters. For example, first filter on Starting Time and scroll to the time when you
began the action, then select the Object Name filter and enter the name of one of the VMs in the
rebalance plan.
Note Sometimes an optimizing action may be recommended, for example to consolidate two hosts, but
when you run the optimization, the generated placement plan does not show any potential consolidation.
The seeming inconsistency results from the fact that recommended optimization actions are based on
current conditions, whereas the placement plan logic includes forecasting. If forecasting predicts that
consolidation would incur stress in the future, then consolidation is not recommended.
Example: Schedule a Repeating Optimization Action
As a virtual infrastructure administrator or other IT professional, you determine that compute and storage
resources in a given datacenter are volatile and a regularly scheduled optimization action would address
the problem.
vRealize Operations Manager monitors virtual objects and collects and analyzes related data that is
presented to you in graphical form at the Workload Optimization page. Depending on what appears, you
may determine that you need to schedule optimization functions to distribute workload more evenly in a
datacenter or custom datacenter.
Prerequisites
Ensure you have all required permissions to access the Workload Optimization UI and manage vCenter
Server objects.
Procedure
1From the Home screen, click Optimize Capacity > Workload Optimization in the left pane.
2From the carousel of datacenters across the top of the page, select a datacenter for which you want
to schedule repeated optimization actions.
3In the Workload Optimization pane, click SCHEDULE.
4Give the schedule a name and choose a time zone.
5Determine how often you want to repeat the optimization action and click the relevant radio button
under Recurrence.
Depending on your selection under Recurrence, additional options appear to the right. In this
instance, you choose to repeat the optimization daily.
6Leave the current date and time.
vRealize Operations Manager Configuration Guide
VMware, Inc. 147
7Select the Repeat every day radio button.
8Select the Expire after radio button and tick the counter up to 6.
9Click Save.
The optimization action repeats for six days, then stops.
At the Workload Optimization page, the Scheduled button appears in the upper right of the Workload
Optimization pane as long as optimization actions are scheduled for the selected datacenter. If you want
to edit or delete a schedule, click the Scheduled button. The Optimization Schedules page appears,
where you can perform those actions.
Note If you schedule a number of optimization actions close together, and the optimization plans of two
or more actions include overlapping functions, that is, they impact the same set of resources, the system
shifts the actions into a queue. As a result, some actions may complete later than expected, with longer
running actions and other potential system constraints extending the lag time. Optimization actions that
do not overlap can run concurrently.
What to do next
To confirm that your optimization action was finished, go to the Recent Tasks screen by selecting
Administration on the top menu, and clicking History > Recent Task in the left pane. In the Recent
Tasks screen, use the Status function on the menu bar to locate your action by its status. You can also
search using a range of filters. For example, filter on Event Source and enter the name of the scheduled
optimization plan.
Note Because real-time datacenter resource contention is dynamic, the system calculates a new
optimization plan each time the scheduled optimization action starts, but before it executes. If the system
determines that the datacenter container is balanced at this moment, then the action is not executed. On
the Recent Tasks page, the name of the affected datacenter appears in the Object Name column, and the
Message “The optimization of the selected container cannot be improved” appears under Details. Another
possibility is that a scheduled optimization plan is attempted, but does not go forward. In this event -
which is not the same as a "failed" action - the name of the affected datacenter also appears in the Object
Name column.
Example: Run Workload Optimization from Recommended
Actions
From the Home screen, click Recommendations under Optimize Performance - first column on the left.
The Recommended Actions screen appears, with data center and custom data center errors highlighted.
If a suggested optimization action is available, it appears in the bottom third of the screen, with details.
To execute the action, click the blue Run Action arrow.
vRealize Operations Manager Configuration Guide
VMware, Inc. 148
Prerequisites
Ensure you have all required permissions to access the Workload Optimization UI and manage vCenter
Server objects.
The system executes the proposed rebalancing action.
What to do next
The Workload Optimization screen appears, where you can review the results of the rebalancing actions.
Additional information is available at the Recent Tasks page: in the menu, select Administration, then
click History > Recent Tasks in the left pane. Choose the Event Source filter and enter part of the alert
name to search on. If the action succeeded, the Event Source column shows Alert: <alert name>.
vRealize Operations Manager Configuration Guide
VMware, Inc. 149
Configuring Policies 4
To create a policy, you can inherit the settings from an existing policy, and you can modify the settings in
existing policies if you have adequate permissions. After you create a policy, or edit an existing policy, you
can apply the policy to one or more groups of objects.
This chapter includes the following topics:
nPolicies
nOperational Policies
nTypes of Policies
nUsing the Monitoring Policy Workspace to Create and Modify Operational Policies
Policies
A policy is a set of rules that you define for vRealize Operations Manager to use to analyze and display
information about the objects in your environment. You can create, modify, and administer policies to
determine how vRealize Operations Manager displays data in dashboards, views, and reports.
How Policies Relate to Your Environment
vRealize Operations Manager policies support the operational decisions established for your IT
infrastructure and business units. With policies, you control what data vRealize Operations Manager
collects and reports on for specific objects in your environment. Each policy can inherit settings from other
policies, and you can customize and override various analysis settings, alert definitions, and symptom
definitions for specific object types, to support the service Level agreements and business priorities
established for your environment.
When you manage policies, you must understand the operational priorities for your environment, and the
tolerances for alerts and symptoms to meet the requirements for your business critical applications. Then,
you can configure the policies so that you apply the correct policy and threshold settings for your
production and test environments.
VMware, Inc. 150
Policies define the settings that vRealize Operations Manager applies to your objects when it collects
data from your environment. vRealize Operations Manager applies policies to newly discovered objects,
such as the objects in an object group. For example, you have an existing VMware adapter instance, and
you apply a specific policy to the group named World. When a user adds a new virtual machine to the
vCenter Server instance, the VMware adapter reports the virtual machine object to
vRealize Operations Manager. The VMware adapter applies the same policy to that object, because it is a
member of the World object group.
To implement capacity policy settings, you must understand the requirements and tolerances for your
environment, such as CPU use. Then, you can configure your object groups and policies according to
your environment.
nFor a production environment policy, a good practice is to configure higher performance settings, and
to account for peak use times.
nFor a test environment policy, a good practice is to configure higher utilization settings.
vRealize Operations Manager applies policies in priority order, as they appear on the Active Policies tab.
When you establish the priority for your policies, vRealize Operations Manager applies the configured
settings in the policies according to the policy rank order to analyze and report on your objects. To change
the priority of a policy, you click and drag a policy row. The default policy is always kept at the bottom of
the priority list, and the remaining list of active policies starts at priority 1, which indicates the highest
priority policy. When you assign an object to b