Re: mute CARP with i368/4.6 on HP ProLiant DL380 G5

2010-01-12 Thread Pete Vickers
this is with the other machine powered off, so it's config is  
irrelevant.






Den 12. jan. 2010 kl. 17.08 skrev Ben Calvert :


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

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 0xff80 broadcast  
123.456.250.127

  inet6 fe80::21e:bff:febd:fa12%bnx0 prefixlen 64 scopeid 0x3

r...@gins0 ~>ifconfig carp0
carp0: flags=8843 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 0xff80 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 @  
0xf,

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  BERT HEST
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: 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 0xfec0, 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: 0xc/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:  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

Re: mute CARP with i368/4.6 on HP ProLiant DL380 G5

2010-01-12 Thread Ben Calvert
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
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 0xff80 broadcast 123.456.250.127
>inet6 fe80::21e:bff:febd:fa12%bnx0 prefixlen 64 scopeid 0x3
>
> r...@gins0 ~>ifconfig carp0
> carp0: flags=8843 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 0xff80 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 @ 0xf,
> 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  BERT HEST
> acpi0: wakeup devices
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpihpet0 at acpi0: 14318179 Hz
> acpimadt0 at acpi0 addr 0xfee0: 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 0xfec0, 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: 0xc/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:  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 R

Re: mute CARP with i368/4.6 on HP ProLiant DL380 G5

2010-01-12 Thread Pete Vickers
Hi,

r...@gins0 ~>grep pf /etc/rc.conf.local
pf=NO   # Packet filter / NAT


switches are fine, and couldn't affect outgoing packets anyway.

/Pete


On 12. jan. 2010, at 12.55, Rogier Krieger wrote:

> On Tue, Jan 12, 2010 at 12:14, Pete Vickers  wrote:
>> Debugging shows that the carp master does not appear to transmit carp
>> announcements:
>
> Neither does it seem to receive any announcements. A silly question,
> are you blocking CARP advertisements on the interfaces? Since a
> pf.conf output appears to be missing, that may be the issue.
>
> Another cause may be present in switches; on some of our older Cisco
> equipment a configuration with port security (if memory serves) caused
> us trouble. Try if a direct cable or dumb switch/hub lets packets flow
> if PF is not the source of the problem.
>
> All that is assuming that the basics were set up properly.
>
> Hope that helps,
>
> Rogier
>
> --
> If you don't know where you're going, any road will get you there.



mute CARP with i368/4.6 on HP ProLiant DL380 G5

2010-01-12 Thread Pete Vickers
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 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 0xff80 broadcast 123.456.250.127
inet6 fe80::21e:bff:febd:fa12%bnx0 prefixlen 64 scopeid 0x3

r...@gins0 ~>ifconfig carp0
carp0: flags=8843 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 0xff80 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 @ 0xf,
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  BERT HEST
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpihpet0 at acpi0: 14318179 Hz
acpimadt0 at acpi0 addr 0xfee0: 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 0xfec0, 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: 0xc/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:  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 fu