ClusterStatusPayload Data Type

Cluster status payload.

Properties
name data type description
payload ClusterStatus
Properties inherited from TungstenPayload
payloadType string
payloadVersion string

Example

{
  "payload" : {
    "name" : "global",
    "type" : "clustered_master_slave",
    "composite" : true,
    "multimaster" : true,
    "policy" : "AUTOMATIC",
    "coordinators" : [ "db1", "db4" ],
    "services" : [ {
      "name" : "west",
      "type" : "clustered_master_slave",
      "role" : "MASTER",
      "state" : "ONLINE",
      "policy" : "AUTOMATIC",
      "coordinator" : "db1",
      "lastShunResult" : "...",
      "lastError" : "...",
      "alertStatus" : "DIMINISHED",
      "alertMessage" : "...",
      "datasources" : [ { }, { } ],
      "error" : true,
      "errorText" : "..."
    }, {
      "name" : "east",
      "type" : "clustered_master_slave",
      "role" : "SLAVE",
      "state" : "OFFLINE",
      "policy" : "MAINTENANCE",
      "coordinator" : "db4",
      "lastShunResult" : "...",
      "lastError" : "...",
      "alertStatus" : "CRITICAL",
      "alertMessage" : "...",
      "datasources" : [ { }, { } ],
      "error" : true,
      "errorText" : "..."
    } ],
    "datasources" : [ {
      "name" : "db1",
      "role" : "master",
      "state" : "ONLINE",
      "groupId" : 12345,
      "lastShunResult" : "...",
      "lastError" : "...",
      "alertStatus" : "CRITICAL",
      "alertMessage" : "...",
      "standby" : true,
      "archive" : true,
      "witness" : true,
      "manager" : { },
      "replicator" : { },
      "dataserver" : { },
      "connections" : { }
    }, {
      "name" : "db2",
      "role" : "slave",
      "state" : "OFFLINE",
      "groupId" : 12345,
      "lastShunResult" : "...",
      "lastError" : "...",
      "alertStatus" : "DIMINISHED",
      "alertMessage" : "...",
      "standby" : true,
      "archive" : true,
      "witness" : true,
      "manager" : { },
      "replicator" : { },
      "dataserver" : { },
      "connections" : { }
    } ],
    "routers" : [ {
      "name" : "db1",
      "connections" : { }
    }, {
      "name" : "db2",
      "connections" : { }
    } ]
  },
  "payloadType" : "...",
  "payloadVersion" : "..."
}