Prints verification reports for the cluster.
Prints a balance report that displays all of the unbalanced endpoints or nodes in the cluster.
rladmin verify balance [ node <ID> ]
The proxy policy determines which nodes or endpoints to report as unbalanced.
A node is unbalanced if:
all-nodesproxy policy and the node has no endpoint
An endpoint is unbalanced in the following cases:
singleproxy policy and one of the following is true:
all-master-shardsproxy policy and one of the following is true:
- None of the master shards are on the node
- Some master shards are on a different node from the endpoint
|node||integer||Specify a node ID to return a balance table for that node only (optional)|
Returns a table of unbalanced endpoints and nodes in the cluster.
Verify all nodes:
$ rladmin verify balance The table presents all of the unbalanced endpoints/nodes in the cluster BALANCE: NODE:ID DB:ID NAME ENDPOINT:ID PROXY_POLICY LOCAL SHARDS TOTAL SHARDS
Verify a specific node:
$ rladmin verify balance node 1 The table presents all of the unbalanced endpoints/nodes in the cluster BALANCE: NODE:ID DB:ID NAME ENDPOINT:ID PROXY_POLICY LOCAL SHARDS TOTAL SHARDS
Verifies that the cluster complies with the rack awareness policy and reports any discovered rack collisions, if rack-zone awareness is enabled.
rladmin verify rack_aware
Returns whether the cluster is rack aware. If rack awareness is enabled, it returns any rack collisions.
$ rladmin verify rack_aware Cluster policy is not configured for rack awareness.