Software AG Products 10.7 | Configuring API Gateway | API Gateway Data Store | Administering API Gateway Data Store | Renaming Data Store Windows Service
 
Renaming Data Store Windows Service
You can rename API Gateway Data Store only if you have installed it as a windows service.
1. Stop the Data Store windows service.
2. Open command prompt.
3. To rename run the following commands in the SAG_Install_Directory\InternalDataStore\bin folder in the system where the API Gateway Data Store is installed:
elasticsearch-service.bat remove current_service_name
elasticsearch-service.bat install new_service_name
For example,
<SAG_Install_Directory>\InternalDataStore\bin>elasticsearch-service.bat remove datastore
<SAG_Install_Directory>\InternalDataStore\bin>elasticsearch-service.bat install newstore
4. Restart the Data Store windows service.