NodeHaStatus
{
"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"
}
Set during the initial repmgr configuration. It defines how other repmgr nodes can communicate with this node.
Location of node. This parameter is currently always default.
Short name of appliance, via reverse lookup of the eth0 ip address of the appliance.
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
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
Unique ID assigned by repmgr to each node in HA cluster, as reported by repmgr cluster show.
Current role of node, as reported by the "repmgr cluster show" command.
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
Value of current primary being followed.
- Populated when this is a standby node. Empty if this is a a primary node.