2

Is there a way to check which node in a VerneMQ cluster a client is connected to short of using something like WireShark?

ytw
  • 1,335
  • 2
  • 20
  • 42

2 Answers2

4
sudo vmq-admin session show --client_id=ClientID --node

should give you what you need. The session command is cluster-aware.

Look up further options with --help

sudo vmq-admin session show --help
André F.
  • 356
  • 1
  • 4
0
vmq-admin cluster show
Last login: xxxxx
+------------------+-------+
|       Node       |Running|
+------------------+-------+
|VerneMQ@1.1.1.1| true  |
|VerneMQ@1.1.1.2| true  |
+------------------+-------+
alexsnemos
  • 17
  • 1
  • 5