Project

General

Profile

Bug #1248

CARP failover isn't happening as a group (preemption)

Added by Jim Pingle over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
CARP
Target version:
Start date:
02/01/2011
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:
All

Description

If you have a CARP pair and unplug/kill LAN, the VIPs do not all fail over to the slave unit. Only the VIPs on the failed interface switch.

Example, a VMware CARP team starts out with:

  • Primary:
    • WAN: Master
    • LAN: Master
  • Secondary:
    • WAN: Backup
    • LAN: Backup

CARP sysctls (same on both):
net.inet.ip.same_prefix_carp_only: 0
net.inet.carp.allow: 1
net.inet.carp.preempt: 1
net.inet.carp.log: 1
net.inet.carp.arpbalance: 0
net.inet.carp.suppress_preempt: 0
net.link.ether.inet.carp_mac: 0

Then disconnect the LAN interface and you get:

  • Primary:
    • WAN: Master
    • LAN: Init
  • Secondary:
    • WAN: Backup
    • LAN: Master

Master sysctl values:
net.inet.ip.same_prefix_carp_only: 0
net.inet.carp.allow: 1
net.inet.carp.preempt: 1
net.inet.carp.log: 1
net.inet.carp.arpbalance: 0
net.inet.carp.suppress_preempt: 1
net.link.ether.inet.carp_mac: 0

Slave:
net.inet.ip.same_prefix_carp_only: 0
net.inet.carp.allow: 1
net.inet.carp.preempt: 1
net.inet.carp.log: 1
net.inet.carp.arpbalance: 0
net.inet.carp.suppress_preempt: 0
net.link.ether.inet.carp_mac: 0

Associated revisions

Revision 1ec2bedd (diff)
Added by Ermal Luçi over 8 years ago

Ticket #1248. Do not set this higher since the slave will take more time to detect a switch needs to be done.

History

#1 Updated by Ermal Luçi over 8 years ago

  • Status changed from New to Feedback

Should be resolved. Put it on feedback to wait for any last time problems.

#2 Updated by Ermal Luçi over 8 years ago

  • Status changed from Feedback to Resolved

It was just a misconfiguration.

Also available in: Atom PDF