cluster.ping
Pings the other node in the cluster pair. For example, if this is run on a red0 node then the red1 node is sent a ping.
JSON-RPC Request
{"jsonrpc": "2.0","id": 1,"method": "cluster.ping"}
JSON-RPC Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"hostname": "sit0002red1",
"url": "tcp://127.0.0.1:3233",
"roundtrip_time_ms": 108
}
}
CLI Example
rvc cluster ping
Response
Node Roundtrip Time URL
-------------------------------------------------------------
sit0016red1 180ms tcp://172.16.16.2:3232