ytw
ytw

Reputation: 1355

Checking which node in a VerneMQ cluster a client is connected to

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

Upvotes: 2

Views: 1183

Answers (2)

alexsnemos
alexsnemos

Reputation: 35

vmq-admin cluster show
Last login: xxxxx
+------------------+-------+
|       Node       |Running|
+------------------+-------+
|[email protected]| true  |
|[email protected]| true  |
+------------------+-------+

Upvotes: -1

André F.
André F.

Reputation: 356

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

Upvotes: 4

Related Questions