Disabling high availability on cluster members by using REST Administration APIs
You can disable high availability (HA) on a pair of servers in a cluster by using REST Administration APIs.
You can disable HA on cluster members that are an HA pair by using REST Administration APIs, or by using the Amlen WebUI. For more information about using the Amlen WebUI to disable HA on cluster members, see Disabling high availability on cluster members by using the Amlen WebUI. For more information about configuring a pair of servers as an HA pair, see Configuring Eclipse Amlen servers as an HA pair by using REST Administration APIs.
You can disable HA on the primary server or the standby server. If you disable HA on the primary server, HA is also disabled on the standby server.
You might decide to disable HA on the primary server so that you use only a single server. You might decide to disable HA on the standby server so that you can replace the standby server with another server.
- If you are disabling HA on the primary server of a synchronized HA pair:
- Set
"EnableHA": false
on the primary server. - Restart the server in production mode.
Use the Eclipse Amlen REST API POST method on each server with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:port>/ima/v1/service/restart
Provide object configuration data in the payload of the POST method by using the following schema. Content-type is set to application/json:
If the standby server was synchronized, it automatically restarts in maintenance mode and with HA disabled. If the standby server was inactive or had been running in maintenance mode, do not restart it.{ "Service": "Server" }
- Do not use the former standby server. Discard this instance of the Eclipse Amlen server.
- Set
- If you are disabling HA on the standby server:
- Set
"EnableHA": false
on the standby server. - The standby server automatically restarts in maintenance mode.
- Do not continue to use this server. Discard this instance of the Eclipse Amlen server.
- Set
- If both servers in the HA pair are in maintenance mode:
- Set
"EnableHA": false
on one of the servers. - Restart this server in production mode.
Use the Eclipse Amlen REST API POST method on each server with the following Eclipse Amlen configuration URI:
http://<admin-endpoint-IP:port>/ima/v1/service/restart
Provide object configuration data in the payload of the POST method by using the following schema. Content-type is set to application/json:
{ "Service": "Server" }
- Do not continue to use the other server. Discard the instance of Eclipse Amlen that is on the other server.
- Set