System administrators can change the server state from Maintenance
to
Running
, or from Running
to
Maintenance
, by using REST Administration APIs.
For more information about maintenance mode, see Maintenance mode.
You change the server state from Maintenance
to Running
, or
from Running
to Maintenance
, by using REST Administration APIs, or by using the Amlen WebUI. For more information about
using the Amlen WebUI to change the
server state, see Changing the server state by using the Amlen WebUI.
-
Check the current server state by using the Eclipse Amlen REST API POST method with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:port>/ima/v1/service/status/Server
- If the server status is
Running
, the server is running
in production mode.
- If the server status is
Maintenance
, the server is in
maintenance mode. For more information about maintenance mode, see Maintenance mode.
Note: If the server is not running, a failure to connect error is received in
response to the REST call. You can start the server by using docker or
systemctl commands.
- Optional:
If the server state is
Stopped
, you must start the server before you can
continue. For more information about starting the server, see Starting, restarting and stopping the Eclipse Amlen server by using REST Administration APIs
-
Set the server state to
Maintenance
or
Running
as required: