Software AG Products 10.11 | Administrating API Gateway | Operating API Gateway | Starting and Stopping API Gateway | Starting and Stopping API Gateway Using Scripts
 
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 C:\SAGInstallDir\IntegrationServer\instances\default\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 API Data Store and Kibana components as these components are bundled together. If API Data Store and Kibana fails to start on their own, you have to start these components manually as follows:
*Run the startup.bat file located at SAGInstallDir\instance_name\InternalDataStore\bin to start the API Data Store.
*Run the shutdown.bat file located at SAGInstallDir\instance_name\InternalDataStore\bin to stop the API Data Store.
*Run the kibana.bat (Windows) or kibana.sh (Linux) file located at SAGInstallDir\profiles\IS_default\apigateway\dashboard\bin to start the Kibana.