crdb-cli crdb health-report
Shows the health report of an Active-Active database.
Shows the health report of the API management layer of an Active-Active database.
crdb-cli crdb health-report --crdb-guid <guid>
Parameters
Parameter | Value | Description |
---|---|---|
crdb-guid | string | The GUID of the database (required) |
Returns
Returns the health report of the API management layer of the database.
Example
$ crdb-cli crdb health-report --crdb-guid d84f6fe4-5bb7-49d2-a188-8900e09c6f66
[
{
"active_config_version":1,
"cluster_name":"cluster2.redis.local",
"configurations":[
{
"causal_consistency":false,
"encryption":false,
"featureset_version":5,
"instances":[
{
"cluster":{
"name":"cluster1.redis.local",
"url":"https:\/\/cluster1.redis.local:9443"
},
"db_uid":"",
"id":1
},
{
"cluster":{
"name":"cluster2.redis.local",
"url":"https:\/\/cluster2.redis.local:9443"
},
"db_uid":"1",
"id":2
}
],
"name":"database1",
"protocol_version":1,
"status":"commit-completed",
"version":1
}
],
"connections":[
{
"name":"cluster1.redis.local",
"status":"ok"
},
{
"name":"cluster2.redis.local",
"status":"ok"
}
],
"guid":"d84f6fe4-5bb7-49d2-a188-8900e09c6f66",
"name":"database1",
"connection_error":null
},
{
"active_config_version":1,
"cluster_name":"cluster1.redis.local",
"configurations":[
{
"causal_consistency":false,
"encryption":false,
"featureset_version":5,
"instances":[
{
"cluster":{
"name":"cluster1.redis.local",
"url":"https:\/\/cluster1.redis.local:9443"
},
"db_uid":"4",
"id":1
},
{
"cluster":{
"name":"cluster2.redis.local",
"url":"https:\/\/cluster2.redis.local:9443"
},
"db_uid":"",
"id":2
}
],
"name":"database1",
"protocol_version":1,
"status":"commit-completed",
"version":1
}
],
"connections":[
{
"name":"cluster1.redis.local",
"status":"ok"
},
{
"name":"cluster2.redis.local",
"status":"ok"
}
],
"guid":"d84f6fe4-5bb7-49d2-a188-8900e09c6f66",
"name":"database1",
"connection_error":null
}
]