Professional Documents
Culture Documents
This document supports the version of each product listed and supports all subsequent versions until the document is replaced by a new edition. To check for more recent editions of this document, see http://www.vmware.com/support/pubs.
EN-000857-03
You can find the most up-to-date technical documentation on the VMware Web site at: http://www.vmware.com/support/ The VMware Web site also provides the latest product updates. If you have comments about this documentation, submit your feedback to: docfeedback@vmware.com
Copyright 2013 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.
VMware, Inc.
Contents
How the HP BAC Adapter Collects Data 9 How the HP BAC Adapter Defines Resource Relationships 9 Installation and Configuration Requirements 10 Security Considerations 10
Install the Adapter in a Standalone Installation Install the Adapter in a vApp Installation 12 HP BAC Adapter Folders and Files 13
11
Overview of Configuration Steps 15 Configuring Data Collection and Relationship Tasks 15 Tuning Adapter Operation 24 Add an Adapter Instance 24
Troubleshooting an HP BAC Adapter Instance 27 Viewing System Log Files 27 Use Test Data to Test an Adapter Instance 28
Index 29
VMware, Inc.
VMware, Inc.
The HP BAC Installation and Configuration Guide describes how to install and configure the HP Business Availability Center (BAC) adapter. The BAC adapter is an embedded adapter for vCenter Operations Manager.
Intended Audience
This information is intended for anyone who wants to install or configure the BAC adapter.
VMware, Inc.
VMware, Inc.
Updated Information
The HP BAC Adapter Installation and Configuration Guide is updated with each release of the product or when necessary. This table provides the update history of the HP BAC Adapter Installation and Configuration Guide.
Revision EN-000857-03 Description
n n
Corrected the BPMconfig.xml and SSconfig.xml file names in Defining Tasks in the BAC Adapter Properties File, on page 16. Corrected step 7 in Add an Adapter Instance, on page 24. Added Security Considerations, on page 10. Added information about log file locations to Viewing System Log Files, on page 27. Changed the product name to reflect the new licensing model for the 5.6 release. Added the open_source_license.txt file to HP BAC Adapter Folders and Files, on page 13.
n n n n
Initial release.
VMware, Inc.
VMware, Inc.
The HP BAC adapter is an embedded adapter for vCenter Operations Manager. The adapter collects data from HP Business Availability Center (BAC). HP BAC contains components for monitoring and managing business services and applications. This chapter includes the following topics:
n n n n
How the HP BAC Adapter Collects Data, on page 9 How the HP BAC Adapter Defines Resource Relationships, on page 9 Installation and Configuration Requirements, on page 10 Security Considerations, on page 10
VMware, Inc.
Because the HP BAC adapter uses a SET flag to report parent and child relationships to the Collector, only specific children can be in a parent and child relationship for a specific parent. For example, if a relationship exists between Parent1 and (Child1, Child2), and the adapter reports a relationship between Parent 1 and (Child1, Child3) during the next collection cycle, the adapter removes Child2 and adds Child3 to the relationship with Parent1. NOTE Resource relationship management is supported only in HP BAC adapter versions 2.6 and later.
Security Considerations
The Collector service must have access to all of the configuration files in the HP BAC adapter's conf and work folders and the files should be secured. The Collector service must have read access rights to the folder that contains the HP BAC adapter properties file. You specify the location of the HP BAC adapter properties file when you configure an HP BAC adapter instance. For more information about HP BAC adapter folders and files, see HP BAC Adapter Folders and Files, on page 13. For information about BAC adapter log files, see Viewing System Log Files, on page 27.
10
VMware, Inc.
How you install the HP BAC adapter depends on whether you have a vCenter Operations Manager Standalone or vApp installation. This chapter includes the following topics:
n n n
Install the Adapter in a Standalone Installation, on page 11 Install the Adapter in a vApp Installation, on page 12 HP BAC Adapter Folders and Files, on page 13
Download the adapter installation TGZ file anonymously from ftp://ftp.integrien.com/. Make a note of the build number in the TGZ file name. The build number appears after the adapter name, for example, adaptername-buildnumber.tgz. Read the release notes that are included with the TGZ file.
Procedure 1 2 3 4 5 Open the TGZ file and extract the TAR file to a temporary folder on your vCenter Operations Manager server. In the temporary folder, open the TAR file and extract and run the installer for your operating system platform. Log in to the Custom user interface as an administrator. Select Admin > Support. On the Info tab, find the Adapters Info pane and click the Describe icon ( ). The Describe icon is located at the top right of the Adapters Info pane. 6 Click Yes to start the describe process and click OK. The Custom user interface finds the adapter files, gathers information about the abilities of the adapter, and updates the user interface with information about the adapter. If you have remote collectors, it installs the adapter on the remote collectors. The describe process might take several minutes. When the describe process is finished, the adapter appears in the Adapters Info pane. The build number is in the Adapter Version column.
VMware, Inc.
11
Verify that the build number in the Adapter Version column for the adapter matches the build number in the TGZ file that you downloaded.
The installer creates the bac_adapter3 folder and bac_adapter3.jar file in the vcenterops\user\plugins\inbound folder.
Download the adapter installation PAK file anonymously from ftp://ftp.integrien.com. Make a note of the build number in the PAK file name. The build number appears after the adapter name, for example, adaptername-buildnumber.pak. Read the release notes that are included with the PAK file.
Procedure 1 2 Save the PAK file in a temporary folder. Log in to the Admin user interface as the admin user. For example: https://ipaddress/admin/ 3 4 On the Update tab, click Browse to locate the temporary folder and select the PAK file. Click Update and click OK to confirm the update. The Admin user interface uploads the PAK file. The upload might take several minutes. 5 6 Read and accept the EULA and click OK. Click OK to confirm and start the update process. The update might take several minutes. Status information appears on the Update tab when the update is finished. 7 Log in to the Custom user interface as an administrator. For example: https://ipaddress/vcops-custom/ 8 9 Select Admin > Support. On the Info tab, find the Adapters Info pane and click the Describe icon ( ). The Describe icon is located at the top right of the Adapters Info pane. 10 Click Yes to start the describe process and click OK. The Custom user interface finds the adapter files, gathers information about the abilities of the adapter, and updates the user interface with information about the adapter. The describe process might take several minutes. When the describe process is finished, the adapter appears in the Adapters Info pane. The build number is in the Adapter Version column. 11 Verify that the build number in the Adapter Version column for the adapter matches the build number in the PAK file that you uploaded.
The installer creates the bac_adapter3 folder and bac_adapter3.jar file in the vcenterops\user\plugins\inbound folder.
12
VMware, Inc.
work
You must save your task XML configuration files in this folder.
VMware, Inc.
13
14
VMware, Inc.
To configure the HP BAC adapter, you must configure data collection and relationship tasks and add an adapter instance. You can optionally modify properties in the BAC adapter properties file to tune adapter operation. This chapter includes the following topics:
n n n n
Overview of Configuration Steps, on page 15 Configuring Data Collection and Relationship Tasks, on page 15 Tuning Adapter Operation, on page 24 Add an Adapter Instance, on page 24
VMware, Inc.
15
You can also modify properties in the bac.properties file to tune adapter operation. See Tuning Adapter Operation, on page 24.
<Format> Element
The entire content of an data collection task XML configuration file is contained within the <Format> and </Format> tags. The <Format> element contains the <Row> and <Property> elements.
<Row Element>
The <Row> element is a child element of the <Format> element. It contains elements that identify the resource and describe how to parse a row of data. The following example is of a <Row> element:
<Row> <ResourceName index="0"></ResourceName> <ResourceKind name="RUM"></ResourceKind> <Timestamp index="4"></Timestamp> <Metric name="Hits" val_index="2"></Metric> <Metric name="Server Time" val_index="3"></Metric> </Row>
<ResourceName> Element
The <ResourceName> element is a child element of the <Row> element. It contains attributes that specify the name of the resource.
16
VMware, Inc.
<ResourceKind> Element
The <ResourceKind> element is a child element of the <Row> element. It contains attributes that specify the name of the resource kind. Table 3-3. <ResourceKind> Attributes
Attribute name index Value String value that specifies the name of the resource kind. Index value that specifies the column in the row that contains the resource kind name.
<Timestamp> Element
The <Timestamp> element is a child element of the <Row> element. It contains the index attribute, which specifies the column in the row that contains the timestamp. The timestamp must be in epoch time.
<Metric> Element
The <Metric> element is a child element of the <Row> element. It contains attributes that describe metrics. Table 3-4. <Metric> Attributes
Attribute name index group_name group_index instance_index Value String value that specifies the name of the metric. Index value that specifies the column in the row that contains the metric name. String value that specifies the name of the parent group for the metric. Index value that specifies the column in the row that contains the name of the parent group for the metric. Index value that specifies the column in the row that contains the instance name of the metric. For this value to take effect, you must specify the parent group by name or index. Index value that specifies the column in the row that contains the metric value. Boolean value that specifies whether to validate the instance name against the resource name map. If true, the adapter forwards the metric that has instance_index instance name to vCenter Operations Manager if the metric contains the original resource name or any of the mapped names. If false, the default value, validation is disabled. (Optional) Regular expression to use for instance name validation. If specified, the adapter forwards to vCenter Operations Manager only metrics that have instance names that match the regular expression. (Optional) Regular expression to use for instance name validation. If specified, the adapter forwards to vCenter Operations Manager only metrics that have instance names that do not match the regular expression. NOTE exclude_instance takes precedence over valid_instance. (Optional) Comma-delimited list of group names that should not have instances. Names are not case sensitive.
val_index filter_instance
valid_instance
exclude_instance
hide_instance_for_groups
VMware, Inc.
17
<ResourceMap> Element
The <ResourceMap> element is a child element of the <Row> element. It contains a name attribute, which specifies a resource name, and one or more <Value> elements. Each <Value> element specifies a single resource to map to the resource specified in the name attribute. The following example is of a <ResourceMap> element:
<ResourceMap name="exServer"> <Value>10.1.15.22</Value> <Value>exserver.test.com</Value> <Value>exserv22.test.com</Value> </ResourceMap>
<ColumnMap> Element
The <ColumnMap> element is a child element of the <Row> element. It contains attributes that map a source column to a destination column. Table 3-5. <ColumnMap> Attributes
Attribute dest_index src_index delimiter Value Index value that specifies the destination column in the row. The destination column contains the values of the source column separated by the delimiter specified in delimiter. Index value that specifies the source column in the row. If you specify a plus sign (+) after the index value, the adapter merges all of the columns starting from the index value. String that specifies the delimiter to use to separate entries in the destination column. The default delimter is a comma (,). If you specify an empty string (""), the adapter concatenates all of the values.
In this example, if the source column contains 0,1,2,3,4,5,6, the destination column contains 0,1,2,3456. The adapter merges and concatenates the values 3,4,5,6 because the mapping is set to merge columns starting from index 3 (src_index="3,+") and the delimiter is set to an empty string (delimiter="").
<Property> Element
The <Property> element is a child element of the <Format> element. It contains attributes that define the connection type. Each attribute consists of a name and value pair, for example:
<Property name="request_type" value="soap"></Property>
request_file
For a database connection, specify the file that contains the database connection properties and query specification. For a file connection, specify the file that contains the source data.
18
VMware, Inc.
VMware, Inc.
19
<Format> Element
The entire content of a relationship task XML configuration file is contained within the <Format> and </Format> tags. The <Format> element contains the <Relationship> and <Property> elements.
<Relationship> Element
The <Relationship> element contains elements that define a single parent and child resource relationship. The following example is of the <Relationship> element.
<Relationship> <ParentResourceName index="1"></ParentResourceName> <ParentResourceKind name="BPM Location"></ParentResourceKind> <ChildResourceName name="%1$s_%2$s"></ChildResourceName> <ChildResourceKind name="BPM"></ChildResourceKind> </Relationship>
<ParentResoureName> Element
The <ParentResourceName> element is a child element of the <Relationship> element. It contains attributes that specify the name of the parent resource. Table 3-7. <ParentResourceName> Attributes
Attribute name index Value String value that specifies the name of the parent resource. Index value that specifies the column that contains the parent resource name.
<ParentResourceKind> Element
The <ParentResourceKind> element is a child element of the <Relationship> element. It contains attributes that specify the name of the parent resource kind. Table 3-8. <ParentResourceKind> Attributes
Attribute name index Value String value that specifies the name of the parent resource kind. Index value that specifies the column that contains the parent resource kind name.
<ChildResourceName> Element
The <ChildResourceName> element is a child element of the <Relationship>. It contains attributes that specify the name of the child resource. Table 3-9. <ChildResourceName> Attributes
Attribute name index Value String value that specifies the name of the child resource. Index value that specifies the column that contains the child resource name.
20
VMware, Inc.
<ChildResourceKind> Element
The <ChildResourceKind> element is a child element of the <Relationship> element. It contains attributes that specify the name of the child resource kind. Table 3-10. <ChildResourceKind> Attributes
Attribute name index Value String value that specifies the name of the child resource kind. Index value that specifies the column that contains the child resource kind name.
<Property> Element
The <Property> element is a child element of the <Format> element. It contains attributes that define the connection type. Each attribute consists of a name and value pair, for example:
<Property name="request_type" value="soap"></Property>
request_file
For a database connection, specify the file that contains the database connection properties and query specification. For a file connection, specify the file that contains the source data.
Deprecated. Same as request_file. URL of the BAC Web Service from which to retrieve data. Valid only for SOAP connections. Discovery request configuration file. Valid only for SOAP connections. Time to wait for metric data before calculating expression values. Time to wait for metric data before adding a 0 value. (Optional) Time shift to apply to the query window to avoid fluctuation. Default is 0 (no effect). Time interval to collect data from the data source. This adapter uses this value as the monitoring interval for all resources that have the specified resource kind. Boolean value that specifies whether to enable auto-discovery. When autodiscovery is enabled, resources are created for you in vCenter Operations Manager when the data collection process discovers new resources. If you set this value to false, you must manually discover resources. The default is false. NOTE Auto-discovery is supported only in HP BAC adapter versions 2.6 and later. Defines the length of the manual discovery query time window as follows: (current_time - discovery_lookback_time, current_time) The default is one hour.
discovery_lookback_time
VMware, Inc.
21
Property Attributes
The following example shows the <Property> element attributes in a task XML configuration file for a SOAP connection.
<Property name="web_service_url" value="http://10.118.48.137:80/topaz/gdeopenapi/services/GdeWsOpenAPI"></Property> <Property name="request_file" value="soaprequestBPM.xml"></Property> <Property name="discovery_file" value="BPMdiscover.xml"></Property>
22
VMware, Inc.
Property Attributes
The following example shows the <Property> element attributes in a task XML configuration file for a database connection.
<Property name="request_type" value="db"></Property> <Property name="request_file" value="db1.properties"></Property>
VMware, Inc.
23
maxQueryWindow minQueryWindow
15 1
goBacktime
historicLoadEnabled
false
timeZoneShiftPlaceholder timeZoneShift
%TZ 0
For information about configuring task properties in the bac.properties file, see Defining Tasks in the BAC Adapter Properties File, on page 16.
24
VMware, Inc.
Select the collector to use from the Collector drop-down menu. Unless you added additional collectors, the only available collector is vCenter Operations Server. You can change the name of this collector when you install the standalone version.
4 5 6 7 8 9
Select BAC from the Adapter Kind drop-down menu. Click the Add New Adapter Instance icon. Type a name for the adapter in the Adapter Instance Name text box. Type the name of the BAC adapter properties file in the Property File text box. Click Test to test the availability of the BAC adapter properties file. Click OK to save your configuration.
What to do next Start data collection. If you enabled auto-discovery for a task, resources are created when the data collection process discovers new resources. If you did not enable auto-discovery, you must use manual discovery to create resources. For information about starting data collection and discovering resources, see the administration guide for your vCenter Operations Manager version.
VMware, Inc.
25
26
VMware, Inc.
Known troubleshooting information can help you diagnose and correct problems with the HP BAC adapter. Log files contain valuable information about adapter instance operation. This chapter includes the following topics:
n n n
Troubleshooting an HP BAC Adapter Instance, on page 27 Viewing System Log Files, on page 27 Use Test Data to Test an Adapter Instance, on page 28
VMware, Inc.
27
3 4
Create a relationship task XML configuration file and name it Relationships.xml. In Relationships.xml, set the request type to file and set the request file name to relationships.txt. For example:
<Property name="request_type" value="file"></Property> <Property name="request_file="relationships.txt"></Property>
In the BAC adapter properties file, define a data collection task that uses Data.xml and a relationship task that uses Relationships.xml. For example:
TASK_COUNT=2 TASK1_CONFIG=Data.xml TASK2_CONFIG=Relationships.xml
6 7
Add an adapter instance and configure the instance to read the BAC adapter properties file. Run a script or application that writes lines in the appropriate format to the data.txt and relationships.txt files. You can purge the content of the files after each data collection cycle.
8 9
Start data collection for the adapter instance resource. If you did not enable auto-discovery, use manual discovery to discover resources.
You should see metrics and relationships in the Custom user interface.
28
VMware, Inc.
Index
A
adapter classes 28 adapter instances 24 audience information 5
B
bac_adapter3 folder 13 bac.properties file 24
C
configuration steps 15
D
data collection methods 9 data collection task XML files, syntax 16 data collection tasks 15 database connection 23
F
file connection 24
I
installing the adapter 11, 12 introduction 9
L
log files 27
R
relationship task XML configuration file 20 requirements 10 resource relationships 9
S
security considerations 10 SOAP connections 22
T
TASK properties 16 testing an adapter instance 28 troubleshooting steps 27
U
updated information 7
VMware, Inc.
29
30
VMware, Inc.