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