NodeHaStatus

NodeHaStatus
NodeHaStatus
JSON Example
{
    "connectionString": "string",
    "location": "string",
    "name": "string",
    "nodeHealth": "string",
    "nodeRole": "string",
    "failover": {
        "mode": "string",
        "details": "string",
        "repmgrd": {
            "status": "string",
            "details": "string"
        }
    },
    "id": 0,
    "role": "string",
    "status": "string",
    "upstream": "string"
}
string
connectionString
Optional

Set during the initial repmgr configuration. It defines how other repmgr nodes can communicate with this node.

string
location
Optional

Location of node. This parameter is currently always default.

string
name
Optional

Short name of appliance, via reverse lookup of the eth0 ip address of the appliance.

string
nodeHealth
Optional

Interpreted state of the health of the node, based upon analysis of state information of all nodes in the HA cluster.
Valid values are:

  • HEALTHY - node is functioning normally
  • UNHEALTHY - node is not functioning normally
  • INACCURATE_DATA - this data is stale and may be inaccurate
  • UNRECOVERABLE - a standby node has fallen too far behind in the replication stream
string
nodeRole
Optional

Interpreted state of the role of the node, based upon analysis of state information of all nodes in the HA cluster.
Valid values are:

  • PRIMARY
  • STANDBY
  • OLD_PRIMARY
  • UNKNOWN
failover
Optional

Information on failover setting for this HA cluster

integer As int32 As int32
id
Optional

Unique ID assigned by repmgr to each node in HA cluster, as reported by repmgr cluster show.

string
role
Optional

Current role of node, as reported by the "repmgr cluster show" command.

string
status
Optional

Current status of node, as reported by the "repmgr cluster show" command.
Valid values are:

  • running : node is running as the standby
  • * running : node is running as the primary
  • ! running : node has an unexpected role
  • ? running : node is pingable but not accepting connections
  • ? unreachable : connection to the node cannot be made
  • ! running as primary : node is running as the new primary
  • ! running as standby : node is running as the new standby
string
upstream
Optional

Value of current primary being followed.

  • Populated when this is a standby node. Empty if this is a a primary node.
Property Of