HP 3PAR ETL for TrueSight Capacity Optimization
Collecting data by using HP 3PAR ETL for TrueSight Capacity Optimization
To collect data by using the HP 3PAR ETL 11.5.01 for TrueSight Capacity Optimization, perform the following tasks:
I. Complete the preconfiguration tasks.
II. Configure the ETL.
III. Run the ETL.
The HP 3PAR ETL is compatible with any HP 3PAR storage system that comes with the embedded SMI-S provider. The ETL was tested on validated on CIM v3.1.3.
A. Configuring the SMI-S Provider
By default the HP 3PAR SMI-S Provider is not started on the array’s management interface. The startcim must thus be run in the HP 3PAR CLI to start the SMI-S provider. Conversely, the stopcim will be used to stop/disable the SMI-S provider. You can use the command showcim to verify the status of the CIM server.
For more information about the CLI commands, please refer to the HP 3PAR InForm Command Line Interface Reference guide.
B. Deploying the ETL module
Complete the following steps to deploy the ETL Module:
- Navigate to Administration > SYSTEM > Maintenance.
- Verify the installation status of the already uploaded packages. If their status is "READY" or "RUNNING", wait for the installation to complete before proceeding.
- At the bottom of the Maintenance page, locate the Upload patch or additional package file section.
- Click Browse.
- Locate and select the ETL installation package.
- Click Upload.
- Read the Overview and click Next to continue.
- Read and accept the End User License Agreement.
- Select the server on which the operation must be executed; that is the server on which the package will be saved. Click Proceed to continue.
A successful installation will result in a green line in the Additional Packages table.
Note
In case of unsuccessful outcome (e.g. a yellow WARNING line), click theicon to inspect the deployment log.
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 > ETL tasks.
- On the ETL tasks page, under the Last run tab, click Add > Add ETL. The Add ETL.The Add ETL page displays the configuration properties. You must configure properties in the following tabs: Run configuration, Entity catalog, and ETL additional settings.
On the Run configuration tab, select Storage - HP 3PAR Extractor Service from the ETL Module list. 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 other ETLs access the same entities that are used by the HP 3PAR ETL.- From the Sharing with Entity Catalog list, select the entity catalog name that is shared between ETLs.
- Private Entity Catalog: Select if this is the only ETL that extracts data from the HP 3PAR resources.
Click the Connection Settings tab, and configure the following properties:
Property
Description
Hostname Hostname or IP address of the HP 3PAR system.
Port Port number used to connect to HP 3PAR CIM server (Default: 5989).
Connect As Username to connect to the HP 3PAR CIM server (default: 3paradm).
Password Password to connect to the HP 3PAR CIM server.
Transport protocol Transport protocol used by the HP 3PAR CIM Server (default port is 5988 for HTTP, 5989 for HTTPS). Click Save. You are returned to the Last run tab under the ETL tasks page.
- Validate the results in simulation mode: In the ETL tasks table under ETL tasks > Last run, locate your ETL (ETL task name), click to run the ETL.
- OK: the ETL executed without any error in simulation mode.
- WARNING: The ETL execution returned some warnings in simulation mode. Check the ETL log.
- ERROR: The ETL execution returned errors and was unsuccessful. Edit the active Run configuration and try again.
- Switch the ETL to production mode: Perform the following steps:
- In the ETL tasks table under ETL tasks > Last run, click the ETL under the Name column.
- In the Run configuration table in the ETL details page, click to edit the active Run configuration.
- In the Edit run configuration page, navigate to the Run configuration expandable tab and set Execute in simulation mode to No.
- Click Save.
- Validate the results in simulation mode: In the ETL tasks table under ETL tasks > Last run, locate your ETL (ETL task name), click to run the ETL.
- Locate the ETL in the ETL tasks table and click
After you run the ETL, or schedule the ETL for a run, it will extract the data from the source and transfer it to TrueSight Capacity Optimization database. You can see the entity hierarchy in the left Navigation pane, under Workspace. to run it, or schedule an ETL run. - Click the ETL additional settings tab, and configure the following properties:
Property | Description |
---|---|
Volumes | This property allows you to disable or enable volumes monitoring and fine-tune the creation of volume entities in the TrueSight Capacity Optimization environment. For more information, refer to Customizing Volumes Monitoring. |
(Optional) B. Configuring the advanced properties
You can configure the advanced properties to change the way the ETL works or to collect additional metrics.
To configure the advanced properties:
Note
Property | Description |
---|---|
Collection level | |
Levels up to | By default, extended level metrics are not imported by the ETL. To import them, you will have to customize the collection level and set it to [4] Extended. |
Click Save. The ETL tasks page shows the details of the newly configured HP 3PAR ETL.
Complete the procedure by performing steps 6 to 8 from the Configuring the basic properties procedure.
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.
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.
a. 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.
b. 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.
Testing the connection to the HP 3PAR SMI-S Provider
The ETL relies on the HP 3PAR SMI-S Provider to collect information about HP 3PAR storage systems. Because some connectivity issues may exist and cause the ETL to fail, it is highly recommended to test the connection to this specific component. The procedure is as follows:
- Download the troubleshooting tool from EPD.
- Run the command java –jar <Troubleshooting_Tool_Name.jar> to launch the tool.
- Enter the information required to connect to the system and click Test Connection.
- Wait for the test to complete.
- If a connectivity issue is detected, an error message will appear. In this case, the issue encountered does not concern the ETL. Check your configuration to diagnose the source of the issue.
- Click Save As to export the connection test results into a txt file.
Customizing volumes monitoring
Discovering volumes and collecting their performance metrics are resource-intensive actions that can create extra workload on the system. To reduce the system resource consumption, administrators can disable or enable the volumes monitoring at will and fine-tune the creation of volume entities into the TrueSight Capacity Optimization environment.
The following metrics are no longer collected and displayed in the console when volumes monitoring is disabled:
Dataset | Metrics |
---|---|
STOGLB |
|
STOHOST |
|
Running the Extractor Service task
An ETL task can be run manually to retrieve performance metrics. Please note that the steps listed in this section are not mandatory and are only required if the ETL is not already scheduled for execution.
To run the ETL task:
- Access the TrueSight Capacity Optimization Console.
- In the Administration tab, select ETL & System Tasks > ETL Tasks.
- Click to execute the ETL task.
When the execution is complete, the value of the Status column in the ETL tasks table changes to SERVICE_ON.
Setting the collect frequency
The collect frequency is the rate at which data is collected. Collect frequency is set to 15 minutes by default, which means that it only applies to entities with an average duration of 900 seconds. It can however be modified to include more entities and performance metrics.
To know the average duration, under the Worskpace tab, select one entity, click the Metrics tab, and verify the Average duration column of the performance metrics.
To set the collect frequency:
- Edit the ETL Run Configuration:
- In the Administration tab, click ETL & System Tasks > ETL tasks.
- Click the link of the ETL task for which you wish to set the collect frequency.
- Click the Stop button to stop the service execution; then click the Edit button available in the Run configuration section.
- Click the link You can manually edit ETL properties from this page provided at the bottom of the page to display a list of editable options.
- Locate the service.period option, and enter the number of milliseconds corresponding to the frequency at which data will be collected. If you want the collect frequency to include both storage systems and storage pools for example, you will have to set the collect frequency to 7200000 milliseconds (2 hours).
- Click Save.
- Start the ETL.
Comments
Log in or register to comment.