Datasource
name | data type | constraints | description |
---|---|---|---|
name | string | datasource name | |
role | string | datasource role | |
state | ResourceState | datasource state | |
groupId | number | required int | datasource group id |
lastShunResult | string | last shun result | |
lastError | string | last error | |
alertStatus | DataSourceAlertStatus | alert status | |
alertMessage | string | alert message | |
standby | boolean | required boolean | true if it is a standby node |
archive | boolean | required boolean | true if it is an archive |
witness | boolean | required boolean | true if it is a witness |
manager | Manager | manager properties | |
replicator | Replicator | replicator properties | |
dataserver | DataServer | dataserver properties | |
connections | Connections | connections number |
Example
{ "name" : "db1", "role" : "master", "state" : "ONLINE", "groupId" : 12345, "lastShunResult" : "...", "lastError" : "...", "alertStatus" : "OK", "alertMessage" : "...", "standby" : true, "archive" : true, "witness" : true, "manager" : { "state" : "ONLINE" }, "replicator" : { "role" : "MASTER", "state" : "ONLINE", "seqno" : 12345, "minStoredSeqno" : 12345, "maxStoredSeqno" : 12345, "appliedLatency" : 1.0, "relativeLatency" : 1.981, "appliedLastEventId" : "mysql-bin.000153:0000000000000873;-1", "pipelineSource" : "thls://db1:2112/", "version" : "Tungsten Clustering 7.0.0 build 7" }, "dataserver" : { "state" : "ONLINE" }, "connections" : { "active" : 12345, "created" : 12345 } }