Here are both of the keepalived configs, Both after about as basic as they get. I am not sure how to force the high pid's. If you need more information from me, just let me know.
primary keepalived config (update ips to match your environment) ``` # Global Settings for notifications global_defs { enable_script_security script_user keepalived_script enable_dbus } vrrp_track_process track_haproxy { process haproxy weight 10 delay 1 } # Configuration for Virtual Interface vrrp_instance LB_VIP { interface ens5 state MASTER priority 101 virtual_router_id 51 authentication { auth_type PASS auth_pass somepassword # Password for accessing vrrpd. Same on all devices, only up to 8 chars } unicast_src_ip 10.1.1.3 # Private IP address of primary unicast_peer { 10.1.1.4 # Private IP address of the secondary haproxy } # The virtual ip address shared between the two loadbalancers virtual_ipaddress { 10.1.1.2 } # Use the Defined Script to Check whether to initiate a fail over #track_script { # chk_haproxy #} track_process { track_haproxy } } ``` backup keepalived config ``` # Global Settings for notifications global_defs { enable_script_security script_user keepalived_script enable_dbus } vrrp_track_process track_haproxy { process haproxy weight 10 delay 1 } # Configuration for Virtual Interface vrrp_instance LB_VIP { interface ens5 state BACKUP priority 100 virtual_router_id 51 authentication { auth_type PASS auth_pass somepass # Password for accessing vrrpd. Same on all devices, only up to 8 chars } unicast_src_ip 10.1.1.4 # Private IP address of primary unicast_peer { 10.1.1.3 # Private IP address of the secondary haproxy } # The virtual ip address shared between the two loadbalancers virtual_ipaddress { 10.1.1.2 } track_process { track_haproxy } } ``` -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1960036 Title: Doesnt regain quorum when tracked process restarts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/keepalived/+bug/1960036/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs