After Active-Passive solace brokers has switched there role. what is the best way to do switchback

Options

Lets say After solace Active-Passive brokers has switched there role due to primary. what is the best way to handle switchback once previous primary node becomes healthy.
should there be any change in configuration? pls let me know

Best Answer

  • TomF
    TomF Member, Employee Posts: 406 Solace Employee
    edited February 14 #2 Answer ✓
    Options

    Hi @harshit12339, well, the first thing to do is ensure the primary is now healthy. The second is to work out why the failover occurred!

    To work out if the primary is healthy, the easiest way is to use the CLI. If you're using a VM we have instructions on how to get on to the CLI. Then issue the


    show redundancy


    command. A full description of the output of this command can be found here.

    If you're happy everything is as it should be, you can tell the backup broker to give up it's active status - instructions are here.

Answers

  • TomF
    TomF Member, Employee Posts: 406 Solace Employee
    edited February 14 #3 Answer ✓
    Options

    Hi @harshit12339, well, the first thing to do is ensure the primary is now healthy. The second is to work out why the failover occurred!

    To work out if the primary is healthy, the easiest way is to use the CLI. If you're using a VM we have instructions on how to get on to the CLI. Then issue the


    show redundancy


    command. A full description of the output of this command can be found here.

    If you're happy everything is as it should be, you can tell the backup broker to give up it's active status - instructions are here.

  • harshit12339
    harshit12339 Member Posts: 5
    Options

    But is there any internal configuration inside solace pubsub brokers that we can set to do this step automatically taht whenevr primary is healthy it should switchback?

  • harshit12339
    harshit12339 Member Posts: 5
    Options

    will auto-revert do this health check thing behind the scene, please let me know with any supported documentation

  • TomF
    TomF Member, Employee Posts: 406 Solace Employee
    Options

    auto-revert is an appliance only feature that doesn't apply to software brokers. In any event, I'd recommend you don't use it, as it can cause "flip-flops" when the primary is unstable. You should also stay running on the backup until you've identified why the primary has failed, as until you understand that, you have no guarantee that the problem will not recur.