Retrieving Role Balancer Status Using the CLI

Lists the CLI command to view the number of active replication role switches.

About this task

You can use the maprcli dump rolebalancerinfo command to view the number of active replication role switches. During a replication role switch, the replication role balancer selects a primary or intermediate data container and switches its replication role to that of a tail data container.

Example

Example:
# maprcli dump rolebalancerinfo -json
{
    "timestamp":1335835436698,
    "status":"OK",
    "total":1,
    "data":[
             {
                "containerid": 36659,
                "Tail IP:Port":"10.50.60.123:5660-",
                "Updates blocked Since":"Wed May 23 05:48:15 PDT 2012"
             }
 
    ]
}