Checking CMAPI Cluster Status
mcsStatuscurl -s https://127.0.0.1:8640/cmapi/0.4.0/cluster/status --header 'Content-Type:application/json' --header 'x-api-key:xxxxxxxxxxxxxxxx' -k | jq .Operational Troubleshooting Checklist
Status Output Metric Guide
{
"timestamp": "2021-12-21 19:01:50.866654",
"172.31.22.252": {
"timestamp": "2021-12-21 19:01:50.872922",
"uptime": 361172,
"dbrm_mode": "master",
"cluster_mode": "readwrite",
"dbroots": [ "1" ],
"module_id": 1,
"services": [
{ "name": "workernode", "pid": 12292 },
{ "name": "controllernode", "pid": 12370 },
{ "name": "PrimProc", "pid": 12387 },
{ "name": "ExeMgr", "pid": 12444 },
{ "name": "WriteEngine", "pid": 12465 },
{ "name": "DMLProc", "pid": 12474 },
{ "name": "DDLProc", "pid": 12504 }
]
},
"172.31.20.34": {
"timestamp": "2021-12-21 19:01:50.958150",
"uptime": 361172,
"dbrm_mode": "slave",
"cluster_mode": "readonly",
"dbroots": [ "2" ],
"module_id": 2,
"services": [
{ "name": "workernode", "pid": 10492 },
{ "name": "PrimProc", "pid": 10513 },
{ "name": "ExeMgr", "pid": 10570 },
{ "name": "WriteEngine", "pid": 10588 }
]
},
"172.31.26.62": {
"timestamp": "2021-12-21 19:01:51.013945",
"uptime": 361174,
"dbrm_mode": "slave",
"cluster_mode": "readonly",
"dbroots": [ "3" ],
"module_id": 3,
"services": [
{ "name": "workernode", "pid": 10198 },
{ "name": "PrimProc", "pid": 10219 },
{ "name": "ExeMgr", "pid": 10276 },
{ "name": "WriteEngine", "pid": 10291 }
]
},
"num_nodes": 3
}Metric Analysis Interpretations
1. Node Cluster Counts (num_nodes)
num_nodes)2. Service Balances and Daemon Presence
3. Master Operational Sockets (cluster_mode)
cluster_mode)4. Master Node Resolution Mechanics
Last updated
Was this helpful?

