Configuring API Gateway Data Store to run Executables
The temporary directory created in the API Gateway Data Store does not allow you to run Elasticsearch executables.
You must perform the following configuration before you run an Elasticsearch executable.
To configure
API Gateway Data Store to run executables
1. Navigate to the following location: SAGInstallDir/InternalDataStore/.
2. Create a new folder and name it temp.
3. Open the jvm.options file from the following location: SAGInstallDir/InternalDataStore/config.
4. Specify temp as value for -Djava.io.tmpdir.
5. Save the changes and close the file.
6. Navigate to the following location: SAGInstallDir/InternalDataStore/bin/.
7. Open the el_initd.sh file in Edit mode.
8. Add the following line:
export ES_TMPDIR=temp
9. Save the changes and close the file.
10. Restart API Gateway Data Store.
You can run Elasticsearch runnables on API Gateway Data Store.