Broker Leader

Question

How can I check which broker is the leader?

 

Answer

 

The following command will list all brokers while specify the broker leader:

--command "set property showServerConfig value true; show domain summary"

Hosts:
[broker] * support/127.0.0.1:48020 (DEFAULT_REGION) (LEADER) CONNECTED

Database: nuodb_test, template [Single Host] MET, processes [1 TE, 1 SM], ACTIVE
[SM] support/127.0.0.1:32778 (DEFAULT_REGION) [ pid = 8782 ] [ nodeId = 1 ] RUNNING
[TE] support/127.0.0.1:45851 (DEFAULT_REGION) [ pid = 8991 ] [ nodeId = 2 ] RUNNING

 

More information and examples can be found here.

Have more questions? Submit a request

Comments