Restart the Eclipse Amlen server
Purpose
Shut down the Eclipse Amlen server and restart it. On restart, all Eclipse Amlen server processes start.URI
Use the Eclipse Amlen REST API SERVICE method with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:port>/ima/v1/service/restart
Object configuration data
Provide object configuration data in the payload of the POST method by using one of the following schemas. Content-type is set to application/json:
{"Service":"Server","Maintenance":"start"|"stop"}
{"Service":"Server","CleanStore":true|false}
where:- Maintenance
- Optional.
- CleanStore
- Optional.
Note: CleanStore and Maintenance are mutually
exclusive and cannot be specified in the same payload.
Usage NotesĀ®
When Eclipse Amlen restarts, mqconnectivity also restarts. If you need to stop mqconnectivity, you can change the MQConnectivityEnabled configuration to false. To start mqconnectivity, set MQConnectivityEnabled to true.
Related REST Administration APIs
Example
Restart an Eclipse Amlen server in Maintenance mode by using cURL:
curl -X POST \
-H 'Content-Type: application/json' \
-d '{"Service":"Server","Maintenance":"start"}
' \
http://127.0.0.1:9089/ima/v1/service/restart