🎄 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.
After Active-Passive solace brokers has switched there role. what is the best way to do switchback
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
-
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.
0
Answers
-
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.
0 -
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?
0 -
will auto-revert do this health check thing behind the scene, please let me know with any supported documentation
0 -
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.
1