pete -
pls send /etc/hostname.carp0 from the other machine.
On Jan 12, 2010, at 3:14 AM, Pete Vickers wrote:
Hi,
Whilst setting up a H/A service on a pair of RELEASE4.6/i386 (+
bind/ssl
patches) machines, I observe that both become carp master
concurrently.
Debugging shows that the carp master does not appear to transmit carp
announcements:
r...@gins0 ~>tcpdump -i bnx0 -n proto carp
tcpdump: listening on bnx0, link-type EN10MB
^C [after 30 seconds]
16 packets received by filter
0 packets dropped by kernel
r...@gins0 ~>
anyone any ideas ? (all other comms work fine over the link e.g.
SSH, DNS,
ping etc.)
relevant config & dmesg follows:
s/123.456/my.correct.prefix/
r...@gins0 ~>cat /etc/hostname.bnx0
inet 123.456.250.16 255.255.255.128
r...@gins0 ~>cat /etc/hostname.carp0
inet 123.456.250.18 255.255.255.128
vhid 1 advskew 100 carpdev bnx0
description "*** Gi NS H/A ***"
r...@gins0 ~>ifconfig bnx0
bnx0:
flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST>
mtu
1500
lladdr 00:1e:0b:bd:fa:12
priority: 0
groups: egress
media: Ethernet autoselect (1000baseT full-duplex)
status: active
inet 123.456.250.16 netmask 0xffffff80 broadcast
123.456.250.127
inet6 fe80::21e:bff:febd:fa12%bnx0 prefixlen 64 scopeid 0x3
r...@gins0 ~>ifconfig carp0
carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
lladdr 00:00:5e:00:01:01
description: *** Gi NS H/A ***
priority: 0
carp: MASTER carpdev bnx0 vhid 1 advbase 1 advskew 100
groups: carp
inet 123.456.250.18 netmask 0xffffff80 broadcast
123.456.250.127
inet6 fe80::200:5eff:fe00:101%carp0 prefixlen 64 scopeid 0x5
dmesg:
r...@gins0 ~>cat /var/run/dmesg.boot
OpenBSD 4.6 (GENERIC) #0: Thu Jan 24 03:03:58 CET 2008
r...@gins0:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel(R) Xeon(R) CPU E5440 @ 2.83GHz ("GenuineIntel" 686-
class) 2.84
GHz
cpu0:
FPU,
V86,
DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUS
H,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-
CPL,VMX,EST,TM2,CX16,
xTPR
real mem = 3487485952 (3325MB)
avail mem = 3382898688 (3226MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @
0xf0000,
SMBIOS rev. 2.4 @ 0xee000 (71 entries)
bios0: vendor HP version "P56" date 01/24/2008
bios0: HP ProLiant DL380 G5
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SPCR MCFG HPET SPMI ERST APIC FFFF BERT HEST
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: apic clock running at 333MHz
cpu at mainbus0: not configured
cpu at mainbus0: not configured
cpu at mainbus0: not configured
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
acpimadt0: unknown apic structure type ff
acpiprt0 at acpi0: bus 1 (IP2P)
acpiprt1 at acpi0: bus 2 (IPTA)
acpiprt2 at acpi0: bus 4 (IPTB)
acpiprt3 at acpi0: bus 11 (IPE1)
acpiprt4 at acpi0: bus 14 (IPE2)
acpiprt5 at acpi0: bus 17 (IPE3)
acpiprt6 at acpi0: bus 10 (IPE4)
acpiprt7 at acpi0: bus 9 (PT02)
acpiprt8 at acpi0: bus 6 (PT03)
acpiprt9 at acpi0: bus 19 (PT04)
acpiprt10 at acpi0: bus 23 (PT06)
acpiprt11 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0
acpitz0 at acpi0: critical temperature 31 degC
bios0: ROM list: 0xc0000/0xb000 0xcc400/0x4000! 0xd0400/0x1800
0xe6000/0x2000!
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 5000P Host" rev 0xb1
ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE" rev 0xb1
pci1 at ppb0 bus 9
ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
pci2 at ppb1 bus 10
ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01
pci3 at ppb2 bus 11
ppb3 at pci2 dev 1 function 0 "Intel 6321ESB PCIE" rev 0x01
pci4 at ppb3 bus 14
ppb4 at pci2 dev 2 function 0 "Intel 6321ESB PCIE" rev 0x01
pci5 at ppb4 bus 17
ppb5 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01
pci6 at ppb5 bus 18
ppb6 at pci0 dev 3 function 0 "Intel 5000 PCIE" rev 0xb1
pci7 at ppb6 bus 6
ciss0 at pci7 dev 0 function 0 "Hewlett-Packard Smart Array" rev
0x03: apic
8
int 18 (irq 10)
ciss0: 1 LD, HW rev 3, FW 4.12/4.12, 64bit fifo
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <HP, LOGICAL VOLUME, 4.12> SCSI3 0/
direct
fixed
sd0: 139979MB, 512 bytes/sec, 286677120 sec total
ppb7 at pci0 dev 4 function 0 "Intel 5000 PCIE x8" rev 0xb1
pci8 at ppb7 bus 19
ppb8 at pci0 dev 5 function 0 "Intel 5000 PCIE" rev 0xb1
pci9 at ppb8 bus 22
ppb9 at pci0 dev 6 function 0 "Intel 5000 PCIE x8" rev 0xb1
pci10 at ppb9 bus 23
ppb10 at pci0 dev 7 function 0 "Intel 5000 PCIE" rev 0xb1
pci11 at ppb10 bus 26
pchb1 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0xb1
pchb2 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0xb1
pchb3 at pci0 dev 16 function 2 "Intel 5000 Error Reporting" rev 0xb1
pchb4 at pci0 dev 17 function 0 "Intel 5000 Reserved" rev 0xb1
pchb5 at pci0 dev 19 function 0 "Intel 5000 Reserved" rev 0xb1
pchb6 at pci0 dev 21 function 0 "Intel 5000 FBD" rev 0xb1
pchb7 at pci0 dev 22 function 0 "Intel 5000 FBD" rev 0xb1
ppb11 at pci0 dev 28 function 0 "Intel 6321ESB PCIE" rev 0x09
pci12 at ppb11 bus 2
ppb12 at pci12 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
pci13 at ppb12 bus 3
bnx0 at pci13 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 8
int 16
(irq
5)
ppb13 at pci0 dev 28 function 1 "Intel 6321ESB PCIE" rev 0x09
pci14 at ppb13 bus 4
ppb14 at pci14 dev 0 function 0 "ServerWorks PCIE-PCIX" rev 0xc3
pci15 at ppb14 bus 5
bnx1 at pci15 dev 0 function 0 "Broadcom BCM5708" rev 0x12: apic 8
int 17
(irq
7)
uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: apic
8 int 16
(irq 5)
uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: apic
8 int 17
(irq 7)
uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: apic
8 int 18
(irq 10)
uhci3 at pci0 dev 29 function 3 "Intel 6321ESB USB" rev 0x09: apic
8 int 19
(irq 10)
ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: apic
8 int 16
(irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb15 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd9
pci16 at ppb15 bus 1
vga1 at pci16 dev 3 function 0 "ATI ES1000" rev 0x02
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
radeondrm0 at vga1: apic 8 int 23 (irq 7)
drm0 at radeondrm0
"Compaq iLO" rev 0x03 at pci16 dev 4 function 0 not configured
"Compaq iLO" rev 0x03 at pci16 dev 4 function 2 not configured
uhci4 at pci16 dev 4 function 4 "Hewlett-Packard USB" rev 0x00:
apic 8 int
22
(irq 10)
"Hewlett-Packard IPMI" rev 0x00 at pci16 dev 4 function 6 not
configured
usb1 at uhci4: USB revision 1.0
uhub1 at usb1 "Hewlett-Packard UHCI root hub" rev 1.00/1.00 addr 1
ichpcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09: PM
disabled
pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09:
DMA, channel
0
configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <TEAC, DW-224E-V, C.CA> ATAPI 5/cdrom
removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 disabled (no drives)
usb2 at uhci0: USB revision 1.0
uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci1: USB revision 1.0
uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb4 at uhci2: USB revision 1.0
uhub4 at usb4 "Intel UHCI root hub" rev 1.00/1.00 addr 1
usb5 at uhci3: USB revision 1.0
uhub5 at usb5 "Intel UHCI root hub" rev 1.00/1.00 addr 1
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
com1: probed fifo depth: 0 bytes
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
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
mtrr: Pentium Pro MTRR support
uhidev0 at uhub1 port 1 configuration 1 interface 0 "HP Virtual
Keyboard"
rev
1.10/0.02 addr 2
uhidev0: iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes, country code 33
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub1 port 1 configuration 1 interface 1 "HP Virtual
Keyboard"
rev
1.10/0.02 addr 2
uhidev1: iclass 3/1
ums0 at uhidev1
ums0: X report 0x0002 not supported
uhub6 at uhub1 port 2 "HP Virtual Hub" rev 1.10/0.01 addr 3
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
bnx0: address 00:1e:0b:bd:fa:12
brgphy0 at bnx0 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6
bnx1: address 00:1e:0b:bd:fa:10
brgphy1 at bnx1 phy 1: BCM5708C 10/100/1000baseT PHY, rev. 6
r...@gins0 ~>