Deploying and configuring Pure Storage REST API ETL 11.3.00 for TrueSight Capacity Optimization
This topic contains the following sections:
- Compatibility details
- Prerequisites
- Deploying the ETL module
- Configuring the ETL module
- Post-configuration steps
- Lookup details
Compatibility details
TrueSight Capacity Optimization
TrueSight Capacity Optimization v11.3.01
Pure Storage flash arrays
Any Pure Storage flash array that supports Pure Storage REST API version 1.6 or higher. The ETL was tested and validated with the REST API v1.6 and v1.11.
Prerequisites
Before installing Pure Storage REST API ETL for TrueSight Capacity Optimization, you must ensure that the following requirements are met:
- Your Pure Storage flash array supports Pure Storage REST API v1.6 or higher
- An API Token has been created as explained below.
Creating the API Token
Because the Pure Storage REST API uses authentication tokens to create sessions, you will have to first create an API token to be able to collect capacity information. The procedure is as follows:
- Log in to the Purity GUI. Default credentials are pureuser/pureuser.

- Under the SYSTEM tab, navigate to Users > API Tokens.

- Click
and select Add API Token.
- Enter a Username and click Create.

- The API Token is now created. To view it, click
next to the username you have just added and select Show API Token:
A pop-up is displayed. Copy the API token. This information will be required when configuring the Pure Storage REST API ETL.
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.
Configuring the ETL module
Complete the following steps to configure an ETL service and add it as an ETL task to extract capacity and performance metrics:
- Navigate to Administration > ETL & SYSTEM TASKS > ETL tasks.
- In the ETL tasks page, under the Last run tab, click Add > Add ETL. The Add ETL page is displayed.
In the Run configuration tab, in the ETL module property, select Storage - Pure Storage REST API Extractor Service:

Specify values for the common and advanced properties that are listed under the expandable tabs. To view or configure advanced properties, click Advanced.
For details about the common properties, see ETL common configuration properties. The following table lists the properties that are specific to the Pure Storage REST API ETL module:Property
Description
Connection settings
Hostname
Hostname or IP address of the Pure Storage system.
API Token
API token to be used by the Pure Storage REST API to create sessions and collect capacity information. For more information, refer to Creating the API Token.
ETL additional settings
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 the section "Customizing Volumes Monitoring" below.
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.
For more information about Aging Class Mapping, refer to the topic Adding and managing metric profiles.- 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.
- Locate the ETL in the ETL tasks table and click
to run it, or schedule an ETL run.
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.
Post-configuration steps
- Testing the connection to the REST API
- Hiding the API token ID
- Customizing volumes monitoring
- Running the Extractor Service task
- Setting the collect frequency
Testing the connection to the REST API
The ETL relies on the REST API to collect information about Pure 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.
Hiding the API token ID
Starting with version 11.3.01, the API token ID is displayed as a hidden password.
If you are upgrading from a previous version of the ETL and wish the API token ID to be hidden, you can either:
- Remove the ETL task and create a new one
or - Change the ETL property that manages the API token ID display.
In previous versions of the ETL, the API token ID display was managed by the apiToken property that made the API token to appear in clear in the console. In order to hide the API token ID, the ETL must use the new property apiToken.password, that is installed, by default, with version 11.3.01. Therefore, the apiToken property must be removed:
- Select the ETL task you wish to modify and click the edit
icon. - Expand the Connection Settings section and enter your API token.

- At the bottom of the page click the hyperlink this page to manually modify the ETL properties.
- Click the remove
icon next to apiToken.
- Click Save.
- Select the ETL task you wish to modify and click the edit
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 |
|
To customize volumes and shares monitoring
- Edit the Pure Storage REST API ETL Run Configuration.
- Expand the ETL additional settings menu.
From the Volumes pull-down lists, select one of the following options:
Option
Result
Disabled
- Volumes are not discovered.
- Volumes-related metrics are not loaded in the console.
Collected for metric computation (Default)
- All volumes are discovered and their metrics are collected and processed.
- Volumes-related metrics are not loaded in the console.
Collected and Imported
- All volumes are discovered and their metrics are collected and processed.
- Volumes-related metrics are saved in the database, processed and loaded in the console.
- Click Save.
Running the Extractor Service task
Setting the collect frequency
Lookup details
Pure Storage REST API ETL for TrueSight Capacity Optimization defines the following lookup fields:
Entity type | Lookup fields |
|---|---|
Storage System | DEFAULT |
Storage Pool | DEFAULT |
Storage Volume | DEFAULT |
apiToken
icon to inspect the deployment log.