Troubleshooting issues with the migration of min and max values of entities
Issue symptoms
The imported entities show only the average (avg) values. The min and max values are missing.
Issue scope
This issue occurs after migrating data from TrueSight Capacity Optimization to BMC Helix Continuous Optimization.
Resolution
Perform the following steps.
- Prepare a text file with a list of selected system types for which you want to import the missing min and max values.
- Log in to the host computer of the Remote ETL Engine that is running the data migrator ETL.
- Create a text file and include a list of required system types:
- Use the entity prefix for the system type. For example, sys:gm:vmw for Virtual Machine - VMware.
You can also use regular expressions, for example, sys:gm:.*. or sys:.*.:vmw.
For details on the system types, see System types. - Add an entry for each system type on a separate line. Make sure that delimiters are not added between system types.
- Use the entity prefix for the system type. For example, sys:gm:vmw for Virtual Machine - VMware.
- Modify the run configuration of the data migrator ETL to read this text file.
- Log in to BMC Helix Continuous Optimization.
- Select Administration > ETL & System tasks > ETL tasks.
- On the ETL tasks page, click the name of the data migrator ETL.
- In the Run configurations table, click Edit this run configuration
.
- In the Run configuration tab, click the You can manually edit ETL properties from this page link.
- In the Add new property field at the bottom of the page, type the name of the property as extract.filter.enttypes.file and click Add.
- Locate the new property in the list of properties, type a path to a text file that contains a list of selected system types, and click Save.
- Modify or delete the last counter value.
- On the data migrator ETL details page, click Lastcounter.
- In the Status details table, do one of the following actions:
- Click Delete all lastcounters to delete all last counter values.
- Click Edit Lastcounter to change the last counter value to the start date of the migration so that data from that week onwards will be migrated.
- Click Run active configuration to re-run the data migrator ETL.
After this data migrator ETL task completes at least one run, you can see the reimported data for the last 7 days because this ETL migrates data for 7 days at a time. - Verify the ETL run and imported data.
- To verify whether the ETL ran successfully:
- On the data migrator ETL details page, review the Run History table.
- In the Last exit column, verify that the status is OK.
- In the # loaded entities column, verify that the entities are loaded in each run.
- To verify that the minimum and maximum values are imported:
- In the left pane of the Workspace tab, expand the relevant domain name and click the entity type for which you reimported the data: for example, Virtual Machine - VMware.
- Click on the entity and select the Metrics tab.
- For the required metric, run the Quick analysis. For details, see Using-the-Quick-analysis-tool.
- Edit the analysis and click Advanced.
- Expand the Statistics selection, select Statistics as MIN and MAX, and click Save.
- Verify the minimum and maximum values on the chart.
- To verify whether the ETL ran successfully:
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*