Starting and Stopping API Gateway Using Scripts
You can use the predefined batch files to start API API Gateway. Use the startup.bat file to start API Gateway. When you use scripts to start API Gateway, the start process is initiated immediately. You do not have the option to hold the process until all the active sessions end. This method starts API Gateway immediately.
To start and stop
API Gateway using scripts
1. Open Command Prompt.
2. Navigate to SAGInstallDirmsr/IntegrationServer/packages/WmAPIGateway/bin.
3. Run shutdown.bat to stop API Gateway.
4. Run startup.bat to start API Gateway.
In the default deployment scenario, when you start API Gateway instance, it automatically starts the external Elasticsearch and external Kibana components as these components are bundled together. If external Elasticsearch and external Kibana fails to start on their own, you have to start these components manually as follows:
Run the
startup.bat file located at
<Elastic_Dir>\bin to start the external Elasticsearch.
Run the
shutdown.bat file located at
<Elastic_Dir>\bin to stop the external Elasticsearch.
Run the
kibana.bat (Windows) or
kibana.sh (Linux) file located at
SAGInstallDir\profiles\IS_default\apigateway\dashboard\bin to start the external Kibana.