Master suddenly switches to slave (v22.1.6)

Started by c-mu, April 27, 2022, 04:49:26 PM

Previous topic - Next topic
April 27, 2022, 04:49:26 PM Last Edit: April 27, 2022, 05:11:57 PM by c-mu
Hello, I have recently the problem that my master without warning becomes the backup server, and the slave to the master. I still can't find a clue why this happens, but in the logfile for each interface is the following entry:

2022-04-27T16:06:18 Error opnsense /usr/local/etc/rc.syshook.d/carp/20-openvpn: Carp cluster member "VLAN146 (10.27.146.250) (89@ixl1_vlan146)" has resumed the state "BACKUP" for vhid 89

I can't find any other hint in the log indicating any error.

The only difference between master and slave is that the master is running a zenarmor. can this be the cause?

EDIT: is there a way to configure a threshold like lets say "wait 5 seconds until change master/slave"?

You can set freq in carp interface to 5 which would fail over after 15 Seconds