High Availability
Description |
Allows users to retrieve information and control the High Availability cluster |
|||||||||||
Request URL |
/neo/app/ha/ |
|||||||||||
Main Operations |
|
Description |
Gets information and status of the High availability cluster |
|
Request URL |
GET /neo/app/ha |
|
Request Data |
N/A |
Response:
{
"nodes"
:[
{
"status"
: "OK"
,
"hostName"
: "reg-r-vrt-052-005.mtr.labs.mlnx"
,
"ip"
: "10.215.52.5"
,
"lastFileSync"
: "2016-08-09 19:48:57"
,
"priority"
: 1
,
"role"
: "Active"
,
"syncStatus"
: "OK"
},
{
"status"
: "OK"
,
"hostName"
: "reg-r-vrt-052-006.mtr.labs.mlnx"
,
"ip"
: "10.215.52.6"
,
"lastFileSync"
: "2016-08-09 19:48:57"
,
"priority"
: 2
,
"role"
: "Standby "
,
"syncStatus"
: "OK"
},
{
"status"
: "OK"
,
"hostName"
: "reg-r-vrt-052-007.mtr.labs.mlnx"
,
"ip"
: "10.215.52.7"
,
"lastFileSync"
: "2016-08-09 19:48:57"
,
"priority"
: 2
,
"role"
: "Standby "
,
"syncStatus"
: "OK"
}
],
"haStatus"
: "OK"
,
"virtualIP"
: "10.215.53.99"
Description |
Migrates all resources from Active node to highest priority standby node |
|
Request URL |
POST /neo/app/ha/failover |
|
Request Data |
N/A |
|
Response |
N/A |
Description |
Migrates all resources from Active node to a specific standby node |
|
Request URL |
POST /neo/app/ha/failover/<node_id> |
|
Request Data |
IP of standby node |
|
Response |
N/A |