Thankyou verymuch for your answer. Appreciate.
If we execute this command in primary device, and analyse the output. I believe we can get an understanding if the failover configuration is correct, is it ? like before performing any failover test
Original Message:
Sent: Feb 13, 2023 06:57 PM
From: Jacob Miles
Subject: Proxy SG FailOver
Hi Fernando,
I presume you are referring to failover as having configured failover groups between two proxies, and my answer will be based on that presumption.
I would agree with you that restarting the primary box in a change window would be the way to check. Do keep in mind the configured advertisement interval you put in the settings. If the interval is too long, it is possible the primary box will reboot and be back up before failover occurs.
You do not need to execute a command to execute failover. The primary box will be sending out advertisements. If the secondary box does not receive the advertisements within the specified interval, it will become primary. Once the primary box is back up again, it will begin to send advertisements again, at which point, once the secondary box receives them, it will become secondary again automatically.
You will see from the event logs when the status has changed. On the box becoming primary, you would see the below:
"Failover: State changed from 'ELECT' to 'MASTER' for group '<group IP>'
It would similarly be a similar syntax when the box was no longer primary.
I hope that helps
Original Message:
Sent: Feb 11, 2023 10:12 PM
From: fernando paul
Subject: Proxy SG FailOver
Hello Guys.
Need your help to understand the process of following
1) what is the correct way of doing Proxy SG failover Test? I believe that restarting the primary proxy is the correct way.
Please advice with your comments.
2)Is there any command to execute from primary proxy to failover to secondary ?? if so do we need to execute the same from secondary to switch back to primary. ?? If so What is the command ??
3) Will the entire operation captured under logs ?? can we see there that the primary proxy went off-line and secondary became primary ??