- currently it looks, like the secondary is every time master not backup as in 19.1.7- Tried to edit Virtual IP Setting and re-save it- HAVE TO CONFIRM THAT: both become master on this IP regardless of the advertising Frequency settings
So, you left mnt mode and both were master and had the sysctl from above? Strange. Then go to CLI, do a clog -f /var/log/system.log and post the new lines when leaving mnt mode
I had to revert, couldn't leave that in production. Sorry.I'll have to start over soon and try again.
Quote from: mimugmail on July 06, 2019, 09:54:02 amSo, you left mnt mode and both were master and had the sysctl from above? Strange. Then go to CLI, do a clog -f /var/log/system.log and post the new lines when leaving mnt modenode01 (normally the MASTER):when switching into maintenance mode:Jul 10 12:53:30 node01 kernel: carp: demoted by 240 to 240 (sysctl)when switching out of maintenance mode:Jul 10 12:54:42 node01 kernel: carp: demoted by -240 to 0 (sysctl)-----------------------------------------------------node02 (normally the BACKUP):when switching into maintenance mode:Jul 10 12:53:30 node02 kernel: carp: 31@igb0: BACKUP -> MASTER (preempting a slower master)Jul 10 12:53:31 node02 opnsense: /usr/local/etc/rc.syshook.d/carp/20-openvpn: Carp cluster member "xxx.xxx.xxx.xxx - VIP WAN (31@igb0)" has resumed the state "MASTER" for vhid 31Jul 10 12:53:31 node02 opnsense: /usr/local/etc/rc.syshook.d/carp/20-openvpn: Starting OpenVPN server instance on xxx.xxx.xxx.xxx - VIP WAN because of transition to CARP master.Jul 10 12:53:31 node02 kernel: ovpns1: link state changed to DOWNJul 10 12:53:35 node02 kernel: ovpns1: link state changed to UPJul 10 12:53:35 node02 opnsense: /usr/local/etc/rc.syshook.d/carp/20-openvpn: OpenVPN server 1 instance started on PID 34541.Jul 10 12:53:36 node02 opnsense: /usr/local/etc/rc.newwanip: IP renewal is starting on 'ovpns1'Jul 10 12:53:36 node02 opnsense: /usr/local/etc/rc.newwanip: Interface '' is disabled or empty, nothing to do.when switching out of maintenance mode:Jul 10 12:54:41 node02 kernel: carp: 31@igb0: MASTER -> BACKUP (more frequent advertisement received)Jul 10 12:54:41 node02 kernel: ifa_maintain_loopback_route: deletion failed for interface igb0: 3Jul 10 12:54:42 node02 opnsense: /usr/local/etc/rc.syshook.d/carp/20-openvpn: Carp cluster member "xxx.xxx.xxx.xxx - VIP WAN (31@igb0)" has resumed the state "BACKUP" for vhid 31
I don't get it ... from reading the logs after switching off mnt mode second machine should be backup???
Quote from: mimugmail on July 12, 2019, 07:22:23 amI don't get it ... from reading the logs after switching off mnt mode second machine should be backup???Yes when switching it off its Backup again. But when I turn on maintenance mode on the first node in the GUI both are shown as Master and nobody answers the requests to the VIP.
Quote from: katamadone [CH] on July 11, 2019, 03:48:15 pmI had to revert, couldn't leave that in production. Sorry.I'll have to start over soon and try again.Did you have the problem already in 19.1.8 or only after updating to 19.1.10?