Skip to content

Useful commands for debugging

piroor edited this page Nov 30, 2014 · 5 revisions

Serfクラスタの様子を見る

$ sudo -u droonga-engine -H /home/droonga-engine/droonga/serf members -rpc-addr node0:7373
node0/protocol-adapter  192.168.100.50:8946  alive  role=protocol-adapter
node0:10031/droonga     192.168.100.50:7946  alive  role=engine,cluster_id=f52d474afd2c34511cddaf5bc92243b017670e6b
node1/protocol-adapter  192.168.100.51:8946  alive  role=protocol-adapter
node1:10031/droonga     192.168.100.51:7946  alive  role=engine,cluster_id=29a2f18f5a7f6c2f0d471ef618ed9d4369f56750
  • -rpc-addr(hostname):7373にすると、Engineから見た時のクラスタの様子が見える。
  • -rpc-addr(hostname):8373にすると、Protocol Adapterから見た時のクラスタの様子が見える。

Clone this wiki locally