Administer > Utility Tools > DWHPeriodGenerate Tool

DWHPeriodGenerate Tool

The purpose of the DWHPeriodGenerate tool is to help you clean the Period dimension data that is generated during installation and also to generate the period according to new settings.

This tool applies to the following:

  • ITBA version 10.1 which is upgraded from 10.0
  • ITBA version 10.1 clean installed but need adjust fiscal month

Contents

The .zip file includes the following:

  • DWHPeriodGenerateTool.jar
  • DWHPeriodGenerateTool.sh
  • DWHPeriodGenerateTool_answer.properties

Install the Tool

To install the tool, do the following on the ITBA server:

  1. Backup the TARGET_SCHEMA_NAME.PERIOD_DIM, TARGET_SCHEMA_NAME.PERIOD_DIM_HIER, and APPLICATION_SCHEMA_NAME.PERIOD_DIM_V Vertica tables.
  2. Ensure that the Vertica connection is available and that the ITBA application is running. To do so, go to the $HPBA_HOME/supervisor/bin directory and execute hpba-status.sh to display the status of ITBA and vertica.
  3. Go to https://HPLN.hpe.com/group/it-business-analytics, click Resources > Tools and download the relevant version of the DWHPeriodGenerateTool.ZIP file.
  4. Unzip the .ZIP file to $HPBA_HOME as follows:

    • <HPBA_HOME>/DWHPeriodGenerateTool/DWHPeriodGenerateTool.jar
    • <HPBA_HOME>/DWHPeriodGenerateTool/DWHPeriodGenerateTool.sh
    • <HPBA_HOME>/DWHPeriodGenerateTool/DWHPeriodGenerateTool_answer.properties
  5. Modify DWHPeriodGenerateTool_answer.properties answer file to configure the Period dimension data according to your requirements.

    Note If you have input an incorrect or invalid value, you will see errors and know what happened in DWHPeriodGenerateTool_answer.properties.,

  6. Execute the DWHPeriodGenerateTool.sh shell command.
  7. The DWHPeriodGenerateToolLog.log is generated in the $HPBA_HOME folder and the Period dimension should work according to your requirements.