Thread: OpenBSD CARP/PF
View Single Post
Old 8th November 2011
nekron99 nekron99 is offline
Real Name: Waldo
New User
 
Join Date: Nov 2011
Location: Dallas, Texas
Posts: 9
Default

i changed, then eliminated the competing VHID from my DMZ bind servers. Rebooted the secondary Pestilence 02. The netstat -ss cleaned up nicely but the dmesg's still show failovers for no apparent reason.

Is there anywhere else i can look for the reason why pestilence2 feels the need to assert control over the carps?

Code:
Nov  8 10:33:32 pestilence2 /bsd: carp27: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp28: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp29: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp30: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp31: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp33: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp34: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp16: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp5: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp6: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp7: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp8: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp25: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp32: state transition: BACKUP -> MASTER
Nov  8 10:33:32 pestilence2 /bsd: carp35: state transition: BACKUP -> MASTER
Nov  8 10:33:52 pestilence2 /bsd: carp5: state transition: MASTER -> BACKUP
Nov  8 10:33:52 pestilence2 /bsd: carp1: state transition: BACKUP -> MASTER
Nov  8 10:33:52 pestilence2 /bsd: carp4: state transition: BACKUP -> MASTER
Nov  8 10:34:12 pestilence2 /bsd: carp16: state transition: MASTER -> BACKUP
Nov  8 10:34:12 pestilence2 /bsd: carp4: state transition: MASTER -> BACKUP
Nov  8 10:34:12 pestilence2 /bsd: carp6: state transition: MASTER -> BACKUP
Nov  8 10:34:12 pestilence2 /bsd: carp7: state transition: MASTER -> BACKUP
Nov  8 10:34:12 pestilence2 /bsd: carp8: state transition: MASTER -> BACKUP
Nov  8 10:34:12 pestilence2 /bsd: carp1: state transition: MASTER -> BACKUP
Nov  8 10:34:12 pestilence2 /bsd: carp32: state transition: MASTER -> BACKUP
Nov  8 10:34:12 pestilence2 /bsd: carp35: state transition: MASTER -> BACKUP
Nov  8 10:34:12 pestilence2 /bsd: carp25: state transition: MASTER -> BACKUP
Nov  8 10:34:52 pestilence2 /bsd: carp34: state transition: MASTER -> BACKUP
Nov  8 10:34:52 pestilence2 /bsd: carp30: state transition: MASTER -> BACKUP
Nov  8 10:34:52 pestilence2 /bsd: carp31: state transition: MASTER -> BACKUP
Nov  8 10:34:52 pestilence2 /bsd: carp33: state transition: MASTER -> BACKUP
Nov  8 10:34:52 pestilence2 /bsd: carp27: state transition: MASTER -> BACKUP
Nov  8 10:34:52 pestilence2 /bsd: carp28: state transition: MASTER -> BACKUP
Nov  8 10:34:52 pestilence2 /bsd: carp29: state transition: MASTER -> BACKUP
Code:
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com0: console
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
vscsi0 at root
scsibus0 at vscsi0: 256 targets
softraid0 at root
root on wd0a swap on wd0b dump on wd0b
carp: pfsync0 demoted group carp by 1 to 129 (pfsync bulk start)
carp: pfsync0 demoted group pfsync by 1 to 1 (pfsync bulk start)
carp: pfsync0 demoted group carp by -1 to 128 (pfsync bulk done)
carp: pfsync0 demoted group pfsync by -1 to 0 (pfsync bulk done)
carp10: state transition: BACKUP -> MASTER
carp11: state transition: BACKUP -> MASTER
carp12: state transition: BACKUP -> MASTER
carp13: state transition: BACKUP -> MASTER
carp14: state transition: BACKUP -> MASTER
carp15: state transition: BACKUP -> MASTER
carp16: state transition: BACKUP -> MASTER
carp17: state transition: BACKUP -> MASTER
carp18: state transition: BACKUP -> MASTER
carp19: state transition: BACKUP -> MASTER
carp24: state transition: BACKUP -> MASTER
carp25: state transition: BACKUP -> MASTER
carp4: state transition: BACKUP -> MASTER
carp5: state transition: BACKUP -> MASTER
carp6: state transition: BACKUP -> MASTER
carp7: state transition: BACKUP -> MASTER
carp8: state transition: BACKUP -> MASTER
carp9: state transition: BACKUP -> MASTER
carp24: state transition: MASTER -> BACKUP
carp17: state transition: MASTER -> BACKUP
carp18: state transition: MASTER -> BACKUP
carp19: state transition: MASTER -> BACKUP
carp10: state transition: MASTER -> BACKUP
carp11: state transition: MASTER -> BACKUP
carp12: state transition: MASTER -> BACKUP
carp13: state transition: MASTER -> BACKUP
carp14: state transition: MASTER -> BACKUP
carp15: state transition: MASTER -> BACKUP
carp16: state transition: MASTER -> BACKUP
carp4: state transition: MASTER -> BACKUP
carp5: state transition: MASTER -> BACKUP
carp6: state transition: MASTER -> BACKUP
carp7: state transition: MASTER -> BACKUP
carp8: state transition: MASTER -> BACKUP
carp9: state transition: MASTER -> BACKUP
carp25: state transition: MASTER -> BACKUP
carp27: state transition: BACKUP -> MASTER
carp28: state transition: BACKUP -> MASTER
carp29: state transition: BACKUP -> MASTER
carp30: state transition: BACKUP -> MASTER
carp31: state transition: BACKUP -> MASTER
carp33: state transition: BACKUP -> MASTER
carp34: state transition: BACKUP -> MASTER
carp16: state transition: BACKUP -> MASTER
carp5: state transition: BACKUP -> MASTER
carp6: state transition: BACKUP -> MASTER
carp7: state transition: BACKUP -> MASTER
carp8: state transition: BACKUP -> MASTER
carp25: state transition: BACKUP -> MASTER
carp32: state transition: BACKUP -> MASTER
carp35: state transition: BACKUP -> MASTER
carp5: state transition: MASTER -> BACKUP
carp1: state transition: BACKUP -> MASTER
carp4: state transition: BACKUP -> MASTER
carp16: state transition: MASTER -> BACKUP
carp4: state transition: MASTER -> BACKUP
carp6: state transition: MASTER -> BACKUP
carp7: state transition: MASTER -> BACKUP
carp8: state transition: MASTER -> BACKUP
carp1: state transition: MASTER -> BACKUP
carp32: state transition: MASTER -> BACKUP
carp35: state transition: MASTER -> BACKUP
carp25: state transition: MASTER -> BACKUP
carp34: state transition: MASTER -> BACKUP
carp30: state transition: MASTER -> BACKUP
carp31: state transition: MASTER -> BACKUP
carp33: state transition: MASTER -> BACKUP
carp27: state transition: MASTER -> BACKUP
carp28: state transition: MASTER -> BACKUP
carp29: state transition: MASTER -> BACKUP


netstat From Pestilence 02 - i haven't cleared counters/rebooted on pest01 yet.
Code:
# netstat -ss  
ip:
        279386 total packets received
        181147 packets for this host
        11861 packets forwarded
        117 packets not forwardable
        7503 packets sent from this host
        279386 input datagrams checksum-processed by hardware
        30334 output datagrams checksum-processed by hardware
        7973 multicast packets which we don't join
icmp:
        122 calls to icmp_error
        Output packet histogram:
                echo reply: 324
                destination unreachable: 122
        Input packet histogram:
                echo: 324
        324 message responses generated
igmp:
ipencap:
tcp:
        6361 packets sent
                3245 data packets (1082676 bytes)
                1 data packet (21 bytes) retransmitted
                2495 ack-only packets (4407 delayed)
                620 control packets
        7576 packets received
                4436 acks (for 1082987 bytes)
                626 duplicate acks
                5025 packets (329128 bytes) received in-sequence
                5 completely duplicate packets (488 bytes)
                1 out-of-order packet (0 bytes)
                7576 packets hardware-checksummed
        620 connection accepts
        620 connections established (including accepts)
        622 connections closed (including 0 drops)
        4376 segments updated rtt (of 3781 attempts)
        2 retransmit timeouts
        24 correct ACK header predictions
        1885 correct data packet header predictions
        1249 PCB cache misses
                        cwr by timeout: 2
        621 SYN cache entries added
                620 completed
                1 dropped due to RST
        2 SYN,ACKs retransmitted
        2 duplicate SYNs received for entries already in the cache
        3 SACK options received
udp:
        1088 datagrams received
        1088 input packets hardware-checksummed
        5 dropped due to no socket
        394 broadcast/multicast datagrams dropped due to no socket
        689 delivered
        695 datagrams output
        7 missed PCB cache
esp:
ah:
etherip:
ipcomp:
carp:
        130278 packets received (IPv4)
        63 packets sent (IPv4)
        35 transitions to master
pfsync:
        41881 packets received (IPv4)
                14 states discarded for bad values
                687 stale states
                277 failed state lookup/inserts
        10970 packets sent (IPv4)
divert:
pflow:
ip6:
        166 total packets received
        377 packets sent from this host
        Input packet histogram:
                UDP: 166
        Mbuf statistics:
                166 one ext mbufs
        source addresses on an outgoing I/F
                35 link-locals
        source addresses of same scope
                35 link-locals
divert6:
icmp6:
        Output packet histogram:
                multicast listener report: 330
                neighbor solicitation: 12
                neighbor advertisement: 35
        Histogram of error messages to be generated:
pim6:
rip6:
Reply With Quote