The AMS can be stopped by using the API dashboard, the REST API or through the shutdown-server script:
Using API dashboard
- Login to the API dashboard.
- Navigate to Admin > Server Status.
- Click the Management Server tab and click the Stop Active Server button.
Figure 1: Stopping AMS from the dashboard
Using REST API
- Use the default SwaggerUI: http://localhost:1981/swaggerui/
- Navigate to Servers Resource.
- Look for API "/servers/shutdown-restart" with the description "Perform action (RESTART, SHUTDOWN)".
- Provide the API Access Key and action as "shutdown" in the Action object.
Figure 2: Stopping AMS using the REST API
This API can be executed from any other client as well and execute the URL: http://localhost:1981/api/ams/servers/shutdown-restart
Using Script
The AMS can be shut down using the shutdown-server script present in the <fiorano_installation_dir>/esb/server/bin folder.
This makes use of an RMI connection to the AMS to initiate the shutdown.
- -connectorType: Connection type to server. Pass RMI for shutting down servers using RMI connection.
- -address: IP Address of server
- -rmiPort: RMI port of server
Overview
Content Tools
ThemeBuilder