Software AG Products 10.11 | Administrating API Gateway | Operating API Gateway | Data Management | Data Backup | Troubleshooting Tips: API Data Store Backup
 
Troubleshooting Tips: API Data Store Backup
I see an error while executing apigatewayUtil.bat create backup command
The apigatewayUtil.bat create backup command fails to execute with the following BeanCreationException error:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'elasticSearchClient' defined in URL file:E:/ESB/WM/IntegrationServer/instances/default/packages/WmAPIGateway/config/resources/beans/gateway-es-store.xml : Invocation of init method failed; nested exception is No NodeAvailableException[None of the configured nodes are available: [
Resolution:
Ensure that you have provided a valid elasticsearch hostname and port number in the config.properties file located at SAGInstallDir\IntegrationServer\instances\default\​packages\WmAPIGateway\config\resources\elasticsearch.
When the Elasticsearch is clustered, I am unable to backup the API Gateway database
When I attempt to backup the API Gateway database with the following commands, they fail:
*apigatewayUtil.bat create backup
*apigatewayUtil.bat status backup
*apigatewayUtil.bat list backup
*apigatewayUtil.bat list manageRepo
This is because of the path.repo specified in the elasticsearch.yml. The path.repo was pointing to a local file instead of a shared file location.
Resolution:
In the Elasticsearch cluster environment, it is mandatory to specify a shared file location as path.repo in the elasticsearch.yml located at SAGInstallDir\InternalDataStore\config.