Troubleshooting data format migration for the Presentation Server


Use this topic to troubleshoot problems related to running the dataUpgrade utility for migrating the data format before upgrading the Presentation Server.

dataUpgrade utility not running due to insufficient memory

Scenario: During an upgrade from an earlier version of TrueSight Presentation Server, when you try to run the dataUpgrade utility, the command line does not show any action or generate any message even after a waiting period of five minutes.

This issue can occur if there is an insufficient memory. To verify if this issue is caused by an insufficient memory, follow these steps:

Step 1: Check the following log file located in the Disk1\utility\DataUpgradeUtility folder:

dataupgrade.log

If any one of the the following messages appears on the last line, go to step 2 to ascertain:  

INFO  file:67 - Starting Elasticsearch Elasticsearch 5.2.2

Or,

ERROR file:1010 - Unable to start Elasticsearch 5.2.2 Exception : java.net.ConnectException: Connection refused: no further information

Step 2: Check the following log file located in Disk1\utility\DataUpgradeUtility\elasticsearch\logs\ folder:

indexserver.log

If the following message appears, refer to the solution.

Error occurred during initialization of VM

Could not reserve enough space for object heap

Solution: Ensure that at least 2 GB RAM is available before you run the dataUpgrade.bat or the dataUpgrade.sh utility.

dataupgrade utility failed to run

Scenario: When you run the dataUpgrade utility, you see the following message:

Data upgrade failed! See the logs at DataUpgradeUtility/logs. Please contact BMC support.

Additionally, in the Disk1\utility\DataUpgradeUtility\logs\dataupgrade.log file, you see one of the following messages:

  • HTTP/1.1 500 Internal Server Error
    {"error":{"root_cause":[{"type":"script_exception","reason":"compile error" ...
  • Creation of Mapping failed for type
  • HTTP/1.1 500 Internal Server Error
    {"error":{"root_cause":[{"type":"circuit_breaking_exception","reason":"[script] Too many dynamic script compilations within one minute, max: [15/min]

Solution: To fix this issue, you need to perform a set of steps and then rerun the dataUpgrade utility. For more information about the steps, see KA 000156341.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*