🎄 Happy Holidays! 🥳
Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.
Happy Holidays!
Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.
How to check if one of the brokers on both sides is down.
Hi Community,
I wanted to check if one of the brokers on both side is down due to HA switch or similar issue.
Is there any option available to find out if both sides are down or only one side is down ? I have checked the System logs but I can only see the HA redundancy state changes or VPN_BRIDGING_LINK_DOWN.
Kindly let me know your suggestions.
Thanks.
Best Answer
-
Hi techrahul95,
you can query the health check:
Most often the health-check port is 5550,
so, something like
curl http://<broker-ip>:5550/health-check/guaranteed-active
Should give you meaningful responses.
For sure, you can also use SEMP to query the state of the messaging vpn.
Have a nice day.
Uli
1
Answers
-
Hi techrahul95,
you can query the health check:
Most often the health-check port is 5550,
so, something like
curl http://<broker-ip>:5550/health-check/guaranteed-active
Should give you meaningful responses.
For sure, you can also use SEMP to query the state of the messaging vpn.
Have a nice day.
Uli
1 -
Thank you @uherbst for resolving the query.
I shall check it with curl or SEMP monitoring commands.
Have a nice day.
Regards,
Rahul
0