BMC - TrueSight Operations Management 9.0/9.5/9.6/10.0 Generic view extractor
Use the BMC - TrueSight Operations Management 9.0/9.5/9.6/10.0 Generic view extractor to collect the PATROL metrics data from the ProactiveNet Performance Management Sybase database. This is an open extractor tool and you can use it to load data collected by a PATROL Knowledge Module.
Collecting data by using the BMC TrueSight Operations Management Generic ETL
To collect data by using the BMC TrueSight Operations Management Generic ETL, do the following tasks:
I. Complete the preconfiguration tasks.
II. Configure the ETL.
III. Run the ETL.
Configure the ETL in TrueSight Capacity Optimizationset up the connection with the BMC ProactiveNet repository database, using one of the following account configurations:
For Sybase database: dba account
To set up the connection to the Sybase database: On your TrueSight Capacity Optimization ETL engine server, edit the file/opt/cpit/etl/freetds/etc/freetds.conf
to configure the connectivity to your BMC ProactiveNet Sybase database.Example[BPPMSYBASESERV] host=<your_server_ip> port = 2638 tds version=5.0
For Oracle database: proact account or any user having access to the BMC ProactiveNet database schema
To set up the connection to an Oracle database using Perl ETLs, you can either edit the
tnsnames.ora
file using the oracle user, or manually specify the host details in the Database TNS name field of the configuration panel.Configuring by editing the TNSNAMES.ORA file
On your ETL engine server, from the installation directory of the Oracle client, edit the file
$ORACLE_CLIENT_HOME/network/admin/tnsnames.ora
to configure the connectivity to your database. Ensure that you have write permissions on this file.ExampleDB= ( DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=<your_server_ip>) (PORT=<port>) ) (CONNECT_DATA= (SERVER=default) (SERVICE_NAME=<service_name>) ) )
Configuring without editing the TNSNAMES.ORA file
If you do not have the required permissions to edit
tnsnames.ora
, you can set up the connection to an Oracle database specifying the host details in the Database TNS name field of the configuration screen:host=<database_host>;sid=<DBSID>;port=1521
You must configure the ETL to connect to TrueSight Operations Management for data collection. ETL configuration includes specifying the basic and optional advanced properties. While configuring the basic properties is sufficient, you can optionally configure the advanced properties for additional customization.
A. Configuring the basic properties
Some of the basic properties display default values. You can modify these values if required.
To configure the basic properties:
- In the TrueSight Capacity Optimization console, navigate to Administration > ETL & System Tasks > and select ETL tasks.
- On the ETL tasks page, click Add > Add ETL under the Last run tab. The Add ETL page displays the configuration properties. You must configure properties in the following tabs: Run configuration, Entity catalog, SQL query, and Connection parameters.
- On the Run configuration tab, select BMC - TrueSight Operations Management 9.0/9.5/9.6/10.0 Generic view extractor. The name of the ETL is displayed in the ETL task name field. You can edit this field to customize the name.
Click the Entity catalog tab, and select one of the following options:
Shared Entity Catalog: Select if the other ETLs access the same entities that are used by this ETL.
- From the Sharing with Entity Catalog list, select an entity catalog name that is shared between ETLs.
- Private Entity Catalog: Select if you want to use this ETL independently.
On the SQL query tab, build the SQL extraction query. Specify the SQL extraction query. You can select the required parameter and operator from the list and add them to the text area. This tab is only available when a custom database query has to be built in order to get the data from a generic source. The form allows you to configure the following properties. A text area in which you can type the SQL extraction query.
Click the Connection parameters tab, and configure the following properties:
Property Description Datasource type Select one of the following options: - Select existing datasource:
- Datasource: From the Datasource list, select a datasource.
- Custom datasource:
Database type: Select a database type from the drop down list.
Database user: Type the user name to connect to the database.
Database password: Type the user name to connect to the database.
Data source name (Applicable to Microsoft SQL Server/Sybase): Type in the data source name.
Database name (Applicable to Microsoft SQL Server/Sybase): Type in the database name.
Database TNS name (Applicable to Oracle): Type in the Database TNS name.
Connection URL (Applicable to Other database): Enter the connection URL.
The following image shows the basic properties configuration.- Select existing datasource:
(Optional) Override the default values of properties in the following tabs:
- Click Save.
The ETL tasks page shows the details of the newly configured BMC TrueSight Operations Management ETL.
(Optional) B. Configuring the advanced properties
You can configure the advanced properties to change the way the ETL works.
To configure the advanced properties:
- On the Add ETL page, click Advanced.
Configure the following properties:
Click Save.
The ETL tasks page shows the details of the newly configured BMC TrueSight Operations Management ETL.
After you configure the ETL, you can run it to collect data. You can run the ETL in the following modes:
A. Simulation mode: Only validates connection to the data source, does not collect data. Use this mode when you want to run the ETL for the first time or after you make any changes to the ETL configuration.
B. Production mode: Collects data from the data source.
Note
ProactiveNet Performance Management or TrueSight Infrastructure Management has a scheduled refresh of its data once a day. By default, the refresh starts at 3:30 A.M. Ensure that the ETL run is scheduled after this refresh completes.
A. Running the ETL in the simulation mode
To run the ETL in the simulation mode:
- In the TrueSight Capacity Optimization console, navigate to Administration > ETL & System Tasks, and select ETL tasks.
- On the ETL tasks page, click the ETL. The ETL details are displayed.
- In the Run configurations table, click Edit to modify the ETL configuration settings.
- On the Run configuration tab, ensure that the Execute in simulation mode option is set to Yes, and click Save.
- Click Run active configuration. A confirmation message about the ETL run job submission is displayed.
- On the ETL tasks page, check the ETL run status in the Last exit column.
OK Indicates that the ETL ran without any error. You are ready to run the ETL in the production mode. - If the ETL run status is Warning, Error, or Failed:
- On the ETL tasks page, click in the last column of the ETL name row.
- Check the log and reconfigure the ETL if required.
- Run the ETL again.
- Repeat these steps until the ETL run status changes to OK.
B. Running the ETL in the production mode
You can run the ETL manually when required or schedule it to run at a specified time.
Running the ETL manually
- On the ETL tasks page, click the ETL. The ETL details are displayed.
- In the Run configurations table, click Edit to modify the ETL configuration settings. The Edit run configuration page is displayed.
- On the Run configuration tab, select No for the Execute in simulation mode option, and click Save.
- To run the ETL immediately, click Run active configuration. A confirmation message about the ETL run job submission is displayed.
When the ETL is run, it collects data from the source and transfers it to the TrueSight Capacity Optimization database.
Scheduling the ETL run
By default, the ETL is scheduled to run daily. You can customize this schedule by changing the frequency and period of running the ETL.
To configure the ETL run schedule:
- On the ETL tasks page, click the ETL, and click Edit. The ETL details are displayed.
On the Edit task page, do the following, and click Save:
- Specify a unique name and description for the ETL task.
- In the Maximum execution time before warning field, specify the duration for which the ETL must run before generating warnings or alerts, if any.
- Select a predefined or custom frequency for starting the ETL run. The default selection is Predefined.
- Select the task group and the scheduler to which you want to assign the ETL task.
Click Schedule. A message confirming the scheduling job submission is displayed.
When the ETL runs as scheduled, it collects data from the source and transfers it to the TrueSight Capacity Optimization database.
Verify that the ETL ran successfully and check whether the TrueSight Operations Management data is refreshed in the Workspace.
To verify whether the ETL ran successfully:
- In the TrueSight Capacity Optimization console, click Administration > ETL and System Tasks > ETL tasks.
- In the Last exec time column corresponding to the ETL name, verify that the current date and time are displayed.
To verify that the TrueSight Operations Management data is refreshed:
- In the TrueSight Capacity Optimization console, click Workspace.
- Expand BMC TrueSight Operations Management 9.0/9.5/9.6/10.0 Generic view extractor > Systems.
- In the left pane, verify that the hierarchy displays the TrueSight Operations Management instances.
- Click a TrueSight Operations Management instance, and click the Metrics tab in the right pane.
- Check if the Last Activity column in the Configuration metrics and Performance metrics tables displays the current date.
The following image shows sample metrics data.
Finding view names in the BPPM database
The following tables show patterns for naming the views that are used to store PATROL data.
For BPPM version 9.5 and later:
View name pattern | Contents |
---|---|
_PATROL__appclassname_ST_VIEW | raw stats |
_PATROL__appclassname_RT_VIEW | rate stats |
_PATROL__appclassname_BL_VIEW | baseline data |
_PATROL__appclassname_CFG_VIEW | instance information on all config attributes |
Example:
Application class name = VSM_MEMORY_V2
Hierarchy for application class = /VSM/VSM_VC/VSM_DATACENTER/VSM_CLUSTER/VSM_RESOURCE_POOL/VSM_VM
View name for stats data is: _PATROL__VSM_MEMORY_V2_ST_VIEW
For BPPM version 9.0:
View name pattern | Contents |
---|---|
_PATROL__full-path-appclassname_ST_VIEW | raw stats |
_PATROL__full-path-appclassname_RT_VIEW | rate stats |
_PATROL__full-path-appclassname_BL_VIEW | baseline data |
_PATROL__full-path-appclassname_CFG_VIEW | instance information on all config attributes |
Example:
Application class name = VSM_MEMORY_V2
Hierarchy for application class = /VSM/VSM_VC/VSM_DATACENTER/VSM_CLUSTER/VSM_RESOURCE_POOL/VSM_VM
View name for stats data is: _PATROL__VSM_VSM_VC_VSM_DATACENTER_VSM_CLUSTER_VSM_RESOURCE_POOL_VSM_VM_VSM_MEMORY_V2_ST_VIEW
Related topics
Comments
Log in or register to comment.