ha-groups

Manage high availability groups and floating IPs.

GET /servers/ha-groups

Parameters

No parameters...

Endpoint

curl -X GET http://mgmt-node:8080/api/servers/ha-groups
                

Response 200

id
integer
optional
-
description
string
optional
-
virtualIp
string
optional
-
service
string
optional
[nfs, rgw]
servers
array
optional
-
failback
boolean
optional
Switch back to the original server after it recovers.
failoverTime
integer
optional
Time in seconds until a failover is triggered after a fault state is detected.
failbackTime
integer
optional
Time in seconds until the service fails back to the original server after it recovers.
evictNfsClientsOnFailback
boolean
optional
Force disconnect NFS clients from a secondary when failing back to a recovering master server.

Example response

[
  {
    "id": 0,
    "description": "string",
    "virtualIp": "string",
    "service": "nfs",
    "servers": [
      {
        "server": 0,
        "nic": 0,
        "vlan": 0
      }
    ],
    "failback": true,
    "failoverTime": 0,
    "failbackTime": 0,
    "evictNfsClientsOnFailback": true
  }
]
                  

POST /servers/ha-groups

Parameters

body
object
optional
-

Endpoint

curl -X POST http://mgmt-node:8080/api/servers/ha-groups
                

Example body

{
  "id": 0,
  "description": "string",
  "virtualIp": "string",
  "service": "nfs",
  "servers": [
    {
      "server": 0,
      "nic": 0,
      "vlan": 0
    }
  ],
  "failback": true,
  "failoverTime": 0,
  "failbackTime": 0,
  "evictNfsClientsOnFailback": true
}
                

PUT /servers/ha-groups/{id}

Parameters

id
integer
path
-
body
object
optional
-

Endpoint

curl -X PUT http://mgmt-node:8080/api/servers/ha-groups/{id}
                

Example body

{
  "id": 0,
  "description": "string",
  "virtualIp": "string",
  "service": "nfs",
  "servers": [
    {
      "server": 0,
      "nic": 0,
      "vlan": 0
    }
  ],
  "failback": true,
  "failoverTime": 0,
  "failbackTime": 0,
  "evictNfsClientsOnFailback": true
}
                

DELETE /servers/ha-groups/{id}

Parameters

id
integer
path
-

Endpoint

curl -X DELETE http://mgmt-node:8080/api/servers/ha-groups/{id}