Running the Dataset Extractor tool
Describes how to run the extractor tool.
Before you begin
Check for the following:
- The tnpmDatasetExtractor.properties file is updated according to your requirements.
- The stylesheet JSP files are present or copied to stylesheetsDirectory path that is provided in the properties file.
- Java path is set correctly.Important: Ensure that you are using IBM Java 1.7 or 1.8.
For example: export PATH=/opt/IBM/java/ibm-java-i386-70/jre/bin:$PATH
- Jazz™ for Service Management server is up and running.
- Tivoli® Netcool® Performance Manager Data Provider is installed on Jazz for Service Management.
Procedure
What to do next
Verify that the extractor tool is run successfully by
following these steps:
- Verify that the following files are generated in the path that is specified in the
datasetConfigPath parameter setting in the
tnpmDatasetExtractor.properties file:
- TNPM_DS_<DataSource_Name>.xmlThis file contains the data set information. Copy the generated file to <JazzSM_home>/profile/installedApps/JazzSMNode01Cell/isc.ear/tnpmDataProvider.war/WEB-INF/resources/ directory.Note: You can find the sample template file by name TNPM_DS_ProvisoSampleDS.xml in <JazzSM_home>/profile/installedApps/JazzSMNode01Cell/isc.ear/legacyDataview.war/WEB-INF/resources folder.
- TNPM_DS_<DataSource_Name>.propertiesThis file contains the extracted metrics. Copy the generated file to <JazzSM_home>/profile/installedApps/JazzSMNode01Cell/isc.ear/tnpmDataProvider.war/WEB-INF/resources/properties directory.Note: You can find the sample template file by name TNPM_DS_ProvisoSampleDS.properties in <JazzSM_home>/profile/installedApps/JazzSMNode01Cell/isc.ear/legacyDataview.war/WEB-INF/resources/properties folder
- TNPM_DS_<DataSource_Name>.xml
- Verify the Dataset Extraction tool log file
DataProviderMetadataAutomation_<datasource>_<timestamp>.log at:
<TEMP_DIR>/Dataset_Extractor/log - Verify Dataset Extraction tool output report
DataProviderAutomationLog_<datasource>_<timestamp>.csv
generated by tool at <TEMP_DIR>/Dataset_Extractor/resources/generated.
The output report file gives the information about extracted datasets in CSV format.
- Restart the Jazz for Service Management server.