How to check if one of the brokers on both sides is down.

techrahul95
techrahul95 Member Posts: 20 ✭✭

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

  • uherbst
    uherbst Member, Employee Posts: 129 Solace Employee
    #2 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

Answers

  • uherbst
    uherbst Member, Employee Posts: 129 Solace Employee
    #3 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

  • techrahul95
    techrahul95 Member Posts: 20 ✭✭

    Thank you @uherbst for resolving the query.

    I shall check it with curl or SEMP monitoring commands.

    Have a nice day.

    Regards,

    Rahul