DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 18th May 2017
andy andy is offline
New User
 
Join Date: May 2017
Posts: 4
Default OpenBSD Switched Cluster Member without reason

Hello everyone,

currently I am working with an old OpenBSD Cluster (OpenBSD 4.9 (GENERIC.MP)). Unfortunately the cluster switched the state and I don't find any hint why I did.

I checked every interface on the (new) backup member, which seems to be fine:

Code:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33200
        priority: 0
        groups: lo
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 ab33::1%lo0 prefixlen 64 scopeid 0xa
em0: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:26:55:e4:af:69
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet x.x.x.x netmask 0xffffff00 broadcast x.x.x.255
        inet6 ab33::226:55ff:fee4:af39%em0 prefixlen 64 scopeid 0x1
em1: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:26:55:e4:af:68
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet x.x.x.x netmask 0xffff0000 broadcast x.x.x.255
        inet6 ab33::226:55ff:fee4:af38%em1 prefixlen 64 scopeid 0x2
em2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:26:55:e4:af:6b
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
em3: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:26:55:e4:af:6a
        priority: 0
        groups: egress
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet x.x.x.6 netmask 0xffffff00 broadcast x.x.x.255
        inet6 ab33::226:55ff:fee4:af3a%em3 prefixlen 64 scopeid 0x4
em4: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:26:55:e5:7f:91
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet x.x.x.6 netmask 0xffffff00 broadcast x.x.x.255
        inet6 ab33::226:55ff:fee5:7f51%em4 prefixlen 64 scopeid 0x5
em5: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:26:55:e5:7f:90
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet x.x.x.x netmask 0xfffffff8 broadcast x.x.x.255
        inet6 ab33::226:55ff:fee5:7f50%em5 prefixlen 64 scopeid 0x6
em6: flags=8b43<UP,BROADCAST,RUNNING,PROMISC,ALLMULTI,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:26:55:e5:7f:93
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex)
        status: active
        inet x.x.x.x netmask 0xfffffe00 broadcast x.x.x.255
        inet6 ab33::226:55ff:fee5:7f53%em6 prefixlen 64 scopeid 0x7
em7: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:26:55:e5:7f:92
        priority: 0
        media: Ethernet autoselect (none)
        status: no carrier
enc0: flags=0<>
        priority: 0
        groups: enc
        status: active
bnx0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 98:4b:e1:6e:ee:64
        priority: 0
        media: Ethernet autoselect (1000baseT full-duplex,master)
        status: active
        inet x.x.x.x netmask 0xffffff00 broadcast x.x.x.255
        inet6 ab33::9a4b:e1ff:fe6e:ee34%bnx0 prefixlen 64 scopeid 0xb
bnx1: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        lladdr 98:4b:e1:6e:ee:66
        priority: 0
        media: Ethernet autoselect (none)
        status: no carrier
pfsync0: flags=41<UP,RUNNING> mtu 1500
        priority: 0
        pfsync: syncdev: bnx0 maxupd: 128 defer: off
        groups: carp pfsync
pflog0: flags=141<UP,RUNNING,PROMISC> mtu 33200
        priority: 0
        groups: pflog
carp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:69
        priority: 0
        carp: BACKUP carpdev em0 vhid 57 advbase 1 advskew 10
        groups: carp
        status: backup
        inet6 ab33::200:5eff:fe00:139%carp0 prefixlen 64 scopeid 0xd
        inet x.x.x.x netmask 0xffffff00 broadcast x.x.x.255
carp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:6a
        priority: 0
        carp: BACKUP carpdev em1 vhid 58 advbase 1 advskew 10
        groups: carp
        status: backup
        inet6 ab33::200:5eff:fe00:13a%carp1 prefixlen 64 scopeid 0xe
        inet x.x.x.x netmask 0xffff0000 broadcast x.x.x.255
carp3: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:6c
        priority: 0
        carp: BACKUP carpdev em3 vhid 60 advbase 1 advskew 10
        groups: carp
        status: backup
        inet6 ab33::200:5eff:fe00:13c%carp3 prefixlen 64 scopeid 0xf
        inet x.x.x.5 netmask 0xffffff00 broadcast x.x.x.255
carp4: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:6d
        priority: 0
        carp: BACKUP carpdev em4 vhid 61 advbase 1 advskew 10
        groups: carp
        status: backup
        inet6 ab33::200:5eff:fe00:13d%carp4 prefixlen 64 scopeid 0x10
        inet x.x.x.5 netmask 0xffffff00 broadcast x.x.x.255
carp5: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:6e
        priority: 0
        carp: BACKUP carpdev em5 vhid 62 advbase 1 advskew 10
        groups: carp
        status: backup
        inet6 ab33::200:5eff:fe00:13e%carp5 prefixlen 64 scopeid 0x11
        inet x.x.x.x netmask 0xfffffff8 broadcast x.x.x.255
carp6: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:00:5e:00:01:6f
        priority: 0
        carp: BACKUP carpdev em6 vhid 63 advbase 1 advskew 10
        groups: carp
        status: backup
        inet6 ab33::200:5eff:fe00:13f%carp6 prefixlen 64 scopeid 0x12
        inet x.x.x.x netmask 0xfffffe00 broadcast x.x.x.255
I found no information in my logs except of these:

Code:
May  3 16:33:37 openbsd01 /bsd: arp: attempt to add entry for x.x.x.25 on em1 by 00:10:e0:31:ce:7a on carp0
May  3 16:33:37 openbsd01 /bsd: arp: attempt to add entry for x.x.x.25 on em1 by 00:10:e0:31:ce:7a on em0
May  3 16:33:50 openbsd01 /bsd: arp: attempt to add entry for x.x.x.180 on em1 by 00:10:e0:32:48:d8 on carp0
May  3 16:33:50 openbsd01 /bsd: arp: attempt to add entry for x.x.x.180 on em1 by 00:10:e0:32:48:d8 on em0
May  3 16:48:55 openbsd01 /bsd: arp: attempt to add entry for x.x.x.65 on em1 by 00:10:e0:32:46:97 on carp0
May  3 16:48:55 openbsd01 /bsd: arp: attempt to add entry for x.x.x.65 on em1 by 00:10:e0:32:46:97 on em0
May  3 17:00:02 openbsd01 syslogd: restart
May  3 17:13:50 openbsd01 /bsd: arp: attempt to add entry for x.x.x.26 on em1 by 00:21:28:90:7f:55 on carp0
May  3 17:13:50 openbsd01 /bsd: arp: attempt to add entry for x.x.x.26 on em1 by 00:21:28:90:7f:55 on em0
May  3 17:15:40 openbsd01 /bsd: carp0: state transition: MASTER -> BACKUP
May  3 17:15:40 openbsd01 /bsd: carp1: state transition: MASTER -> BACKUP
May  3 17:15:40 openbsd01 /bsd: carp3: state transition: MASTER -> BACKUP
May  3 17:15:40 openbsd01 /bsd: carp5: state transition: MASTER -> BACKUP
May  3 17:15:40 openbsd01 /bsd: carp4: state transition: MASTER -> BACKUP
May  3 17:15:40 openbsd01 /bsd: carp6: state transition: MASTER -> BACKUP
May  3 17:17:54 openbsd01 ftp-proxy[24756]: #430542 client reset connection
May  3 18:00:02 openbsd01 syslogd: restart
May  3 20:00:24 openbsd01 /bsd: arp: attempt to add entry for x.x.x.60 on em1 by 5c:8a:38:3a:25:85 on carp0
May  3 20:00:24 openbsd01 /bsd: arp: attempt to add entry for x.x.x.60 on em1 by 5c:8a:38:3a:25:85 on em0
May  3 20:11:54 openbsd01 /bsd: arp: attempt to add entry for x.x.x.15 on em1 by 78:ac:c0:37:2d:00 on carp0
....
I don't know why the cluster switched states and I do not have so much knowledge how to find out, what is the problem and why it is not switching back.

The first member (now backup) has advskew 10 configured, the second one 100 (now master)
Code:
> cat hostname.carp1
inet x.x.x.x 255.255.255.0 x.x.x.255 vhid 58 pass 254546a4c87636a9fa51f36162fc2fcd advbase 1 advskew 10
Thanks for your help.
Andy

Last edited by andy; 18th May 2017 at 02:34 AM.
Reply With Quote
  #2   (View Single Post)  
Old 18th May 2017
andy andy is offline
New User
 
Join Date: May 2017
Posts: 4
Default

Hey,

I wrote a little ifstated script to print out my carp status. They all seems down...

Code:
init-state auto 
fw_carp0_up = "carp0.link.up" 
fw_carp0_init = "carp0.link.unknown" 
fw_carp0_down = "carp0.link.down" 

fw_carp1_up = "carp1.link.up" 
fw_carp1_init = "carp1.link.unknown" 
fw_carp1_down = "carp1.link.down" 

fw_carp3_up = "carp3.link.up" 
fw_carp3_init = "carp3.link.unknown" 
fw_carp3_down = "carp3.link.down" 

fw_carp4_up = "carp4.link.up" 
fw_carp4_init = "carp4.link.unknown" 
fw_carp4_down = "carp4.link.down" 

fw_carp5_up = "carp5.link.up" 
fw_carp5_init = "carp5.link.unknown" 
fw_carp5_down = "carp5.link.down" 

fw_carp6_up = "carp6.link.up" 
fw_carp6_init = "carp6.link.unknown" 
fw_carp6_down = "carp6.link.down" 

state auto { 
 if($fw_carp0_up) 
  run "echo carp0_up" 
 if($fw_carp0_init) 
  run "echo carp0_init" 
 if($fw_carp0_down) 
  run "echo carp0_down" 
 if($fw_carp1_up) 
  run "echo carp1_up" 
 if($fw_carp1_init) 
  run "echo carp1_init" 
 if($fw_carp1_down) 
  run "echo carp1_down" 
 if($fw_carp3_up) 
  run "echo carp3_up" 
 if($fw_carp3_init) 
  run "echo carp3_init" 
 if($fw_carp3_down) 
  run "echo carp3_down" 
 if($fw_carp4_up) 
  run "echo carp4_up" 
 if($fw_carp4_init) 
  run "echo carp4_init" 
 if($fw_carp4_down) 
  run "echo carp4_down" 
 if($fw_carp5_up) 
  run "echo carp5_up" 
 if($fw_carp5_init) 
  run "echo carp5_init" 
 if($fw_carp5_down) 
  run "echo carp5_down" 
 if($fw_carp6_up) 
  run "echo carp6_up" 
 if($fw_carp6_init) 
  run "echo carp6_init" 
 if($fw_carp6_down) 
  run "echo carp6_down" 
}
Code:
 
> ifstated -f /etc/ifstated_interfaces.conf -dvv
fw_carp0_up = "carp0.link.up"
fw_carp0_init = "carp0.link.unknown"
fw_carp0_down = "carp0.link.down"
fw_carp1_up = "carp1.link.up"
fw_carp1_init = "carp1.link.unknown"
fw_carp1_down = "carp1.link.down"
fw_carp3_up = "carp3.link.up"
fw_carp3_init = "carp3.link.unknown"
fw_carp3_down = "carp3.link.down"
fw_carp4_up = "carp4.link.up"
fw_carp4_init = "carp4.link.unknown"
fw_carp4_down = "carp4.link.down"
fw_carp5_up = "carp5.link.up"
fw_carp5_init = "carp5.link.unknown"
fw_carp5_down = "carp5.link.down"
fw_carp6_up = "carp6.link.up"
fw_carp6_init = "carp6.link.unknown"
fw_carp6_down = "carp6.link.down"
initial state: auto
changing state to auto
running echo carp0_down
carp0_down
running echo carp1_down
carp1_down
running echo carp3_down
carp3_down
running echo carp4_down
carp4_down
running echo carp5_down
carp5_down
running echo carp6_down
carp6_down
started
Kind Regards,
Andy
Reply With Quote
  #3   (View Single Post)  
Old 18th May 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,943
Default

Hello and welcome.

Unfortunately, from the information presented here I cannot tell you why your systems transitioned from the MASTER to the BACKUP system, nor from the fragment of ifstated rules why the state indicates down.

Setting the sysctl net.inet.carp.log to increase logging may be helpful. See the carp(4) man page.

You might consider upgrading -- though after 12 releases, reinstalling would be easier. I recommend it since 4.9 has been unsupported since May 2012, and there have been 124 patches to sys/netinet/ip_carp.c in the 12 releases between 4.9 and 6.1. You could look through the list of committed patches here:

http://cvsweb.openbsd.org/cgi-bin/cv...inet/ip_carp.c
Reply With Quote
  #4   (View Single Post)  
Old 19th May 2017
andy andy is offline
New User
 
Join Date: May 2017
Posts: 4
Default

Hey jggimi,

thanks for your advise. Unfortunately it is not possible to set up new hardware quickly.

I restarted the cluster node and noticed it was master for a short time and switched to backup again:

Code:
OpenBSD 4.9 (GENERIC.MP) #794: Wed Mar  2 07:19:02 MST 2011
    deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP
cpu0: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT
real mem  = 3747373056 (3573MB)
avail mem = 3675930624 (3505MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 12/31/99, BIOS32 rev. 0 @ 0xf0000, SMBIOS rev. 2.7 @ 0xdf7fe000 (127 entries)
bios0: vendor HP version "P64" date 01/29/2011
bios0: HP ProLiant
acpi0 at bios0: rev 2
acpi0: sleep states S0 S4 S5
acpi0: tables DSDT FACP SPCR MCFG HPET FFFF SPMI ERST APIC SRAT FFFF BERT DMAR SSDT SSDT SSDT SSDT SSDT
acpi0: wakeup devices
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpimcfg0 at acpi0 addr 0xe0000000, bus 0-63
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 133MHz
cpu1 at mainbus0: apid 4 (application processor)
cpu1: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz
cpu1: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT
cpu2 at mainbus0: apid 2 (application processor)
cpu2: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz
cpu2: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT
cpu3 at mainbus0: apid 6 (application processor)
cpu3: Intel(R) Xeon(R) CPU E5504 @ 2.00GHz ("GenuineIntel" 686-class) 2.01 GHz
cpu3: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT
ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins
ioapic1 at mainbus0: apid 0 pa 0xfec80000, version 20, 24 pins
acpiprt0 at acpi0: bus 1 (IP2P)
acpiprt1 at acpi0: bus -1 (IPT1)
acpiprt2 at acpi0: bus 3 (PT01)
acpiprt3 at acpi0: bus 12 (PT02)
acpiprt4 at acpi0: bus 8 (PT03)
acpiprt5 at acpi0: bus 13 (PT04)
acpiprt6 at acpi0: bus 14 (PT05)
acpiprt7 at acpi0: bus 15 (PT06)
acpiprt8 at acpi0: bus 16 (PT07)
acpiprt9 at acpi0: bus 2 (PT08)
acpiprt10 at acpi0: bus 4 (PT09)
acpiprt11 at acpi0: bus 17 (PT0A)
acpiprt12 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C3, C3, C1
acpicpu1 at acpi0: C3, C3, C1
acpicpu2 at acpi0: C3, C3, C1
acpicpu3 at acpi0: C3, C3, C1
acpitz0 at acpi0: critical temperature 31 degC
bios0: ROM list: 0xc0000/0xb000 0xcb000/0x3600! 0xce600/0x2e00! 0xd1400/0x4000
ipmi at mainbus0 not configured
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 5520 Host" rev 0x13
ppb0 at pci0 dev 1 function 0 "Intel X58 PCIE" rev 0x13
pci1 at ppb0 bus 3
ciss0 at pci1 dev 0 function 0 "Hewlett-Packard Smart Array" rev 0x01: apic 0 int 4 (irq 7)
ciss0: 1 LD, HW rev 2, FW 3.66/3.66, 64bit fifo rro
scsibus0 at ciss0: 1 targets
sd0 at scsibus0 targ 0 lun 0: <HP, LOGICAL VOLUME, 3.66> SCSI3 0/direct fixed
sd0: 139979MB, 512 bytes/sec, 286677120 sec total
ppb1 at pci0 dev 2 function 0 "Intel X58 PCIE" rev 0x13
pci2 at ppb1 bus 12
ppb2 at pci0 dev 3 function 0 "Intel X58 PCIE" rev 0x13
pci3 at ppb2 bus 8
ppb3 at pci3 dev 0 function 0 "IDT 89HPES12N3A" rev 0x0e
pci4 at ppb3 bus 9
ppb4 at pci4 dev 2 function 0 "IDT 89HPES12N3A" rev 0x0e
pci5 at ppb4 bus 10
em0 at pci5 dev 0 function 0 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 0 int 12 (irq 5), address 00:26:55:e4:af:69
em1 at pci5 dev 0 function 1 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 0 int 11 (irq 10), address 00:26:55:e4:af:68
ppb5 at pci4 dev 4 function 0 "IDT 89HPES12N3A" rev 0x0e
pci6 at ppb5 bus 11
em2 at pci6 dev 0 function 0 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 0 int 10 (irq 11), address 00:26:55:e4:af:6b
em3 at pci6 dev 0 function 1 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 0 int 0 (irq 7), address 00:26:55:e4:af:6a
ppb6 at pci0 dev 4 function 0 "Intel X58 PCIE" rev 0x13
pci7 at ppb6 bus 13
ppb7 at pci0 dev 5 function 0 "Intel X58 PCIE" rev 0x13
pci8 at ppb7 bus 14
ppb8 at pci0 dev 6 function 0 "Intel X58 PCIE" rev 0x13
pci9 at ppb8 bus 15
ppb9 at pci0 dev 7 function 0 "Intel X58 PCIE" rev 0x13
pci10 at ppb9 bus 16
ppb10 at pci0 dev 8 function 0 "Intel X58 PCIE" rev 0x13
pci11 at ppb10 bus 2
bnx0 at pci11 dev 0 function 0 "Broadcom BCM5709" rev 0x20: apic 0 int 7 (irq 7)
bnx1 at pci11 dev 0 function 1 "Broadcom BCM5709" rev 0x20: apic 0 int 15 (irq 11)
ppb11 at pci0 dev 9 function 0 "Intel X58 PCIE" rev 0x13
pci12 at ppb11 bus 4
ppb12 at pci12 dev 0 function 0 "IDT 89HPES12N3A" rev 0x0e
pci13 at ppb12 bus 5
ppb13 at pci13 dev 2 function 0 "IDT 89HPES12N3A" rev 0x0e
pci14 at ppb13 bus 6
em4 at pci14 dev 0 function 0 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 0 int 17 (irq 5), address 00:26:55:e5:7f:91
em5 at pci14 dev 0 function 1 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 0 int 23 (irq 10), address 00:26:55:e5:7f:90
ppb14 at pci13 dev 4 function 0 "IDT 89HPES12N3A" rev 0x0e
pci15 at ppb14 bus 7
em6 at pci15 dev 0 function 0 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 0 int 18 (irq 11), address 00:26:55:e5:7f:93
em7 at pci15 dev 0 function 1 "Intel PRO/1000 QP (82571EB)" rev 0x06: apic 0 int 8 (irq 7), address 00:26:55:e5:7f:92
ppb15 at pci0 dev 10 function 0 "Intel X58 PCIE" rev 0x13
pci16 at ppb15 bus 17
pchb1 at pci0 dev 13 function 0 vendor "Intel", unknown product 0x343a rev 0x13
pchb2 at pci0 dev 13 function 1 vendor "Intel", unknown product 0x343b rev 0x13
pchb3 at pci0 dev 13 function 2 vendor "Intel", unknown product 0x343c rev 0x13
pchb4 at pci0 dev 13 function 3 vendor "Intel", unknown product 0x343d rev 0x13
pchb5 at pci0 dev 13 function 4 "Intel 5520/X58 QuickPath" rev 0x13
pchb6 at pci0 dev 13 function 5 "Intel 5520 QuickPath" rev 0x13
pchb7 at pci0 dev 13 function 6 vendor "Intel", unknown product 0x341a rev 0x13
pchb8 at pci0 dev 14 function 0 vendor "Intel", unknown product 0x341c rev 0x13
pchb9 at pci0 dev 14 function 1 vendor "Intel", unknown product 0x341d rev 0x13
pchb10 at pci0 dev 14 function 2 vendor "Intel", unknown product 0x341e rev 0x13
pchb11 at pci0 dev 14 function 3 vendor "Intel", unknown product 0x341f rev 0x13
pchb12 at pci0 dev 14 function 4 vendor "Intel", unknown product 0x3439 rev 0x13
"Intel X58 Misc" rev 0x13 at pci0 dev 20 function 0 not configured
"Intel X58 GPIO" rev 0x13 at pci0 dev 20 function 1 not configured
"Intel X58 RAS" rev 0x13 at pci0 dev 20 function 2 not configured
uhci0 at pci0 dev 29 function 0 "Intel 82801JI USB" rev 0x00: apic 8 int 20 (irq 5)
uhci1 at pci0 dev 29 function 1 "Intel 82801JI USB" rev 0x00: apic 8 int 23 (irq 7)
uhci2 at pci0 dev 29 function 2 "Intel 82801JI USB" rev 0x00: apic 8 int 22 (irq 10)
uhci3 at pci0 dev 29 function 3 "Intel 82801JI USB" rev 0x00: apic 8 int 23 (irq 7)
ehci0 at pci0 dev 29 function 7 "Intel 82801JI USB" rev 0x00: apic 8 int 20 (irq 5)
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
ppb16 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x90
pci17 at ppb16 bus 1
vga1 at pci17 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 pci17 dev 4 function 0 not configured
"Compaq iLO" rev 0x03 at pci17 dev 4 function 2 not configured
uhci4 at pci17 dev 4 function 4 "Hewlett-Packard USB" rev 0x00: apic 8 int 22 (irq 10)
"Hewlett-Packard IPMI" rev 0x00 at pci17 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
pcib0 at pci0 dev 31 function 0 "Intel 82801JIB LPC" rev 0x00
pciide0 at pci0 dev 31 function 2 "Intel 82801JI SATA" rev 0x00: DMA, channel 0 configured to native-PCI, channel 1 configured to native-PCI
pciide0: using apic 8 int 17 (irq 11) for native-PCI interrupt
atapiscsi0 at pciide0 channel 0 drive 0
scsibus1 at atapiscsi0: 2 targets
cd0 at scsibus1 targ 0 lun 0: <hp, DVD D DS8D2SH, EHE1> ATAPI 5/cdrom removable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
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 pcib0
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
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: 3 buttons
wsmouse0 at ums0 mux 0
vscsi0 at root
scsibus2 at vscsi0: 256 targets
softraid0 at root
root on sd0a swap on sd0b dump on sd0b
bnx0: address 98:4b:e1:6e:ee:64
brgphy0 at bnx0 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8
bnx1: address 98:4b:e1:6e:ee:66
brgphy1 at bnx1 phy 1: BCM5709 10/100/1000baseT PHY, rev. 8
carp0: state transition: BACKUP -> MASTER
arp_rtrequest: bad gateway value
carp3: state transition: BACKUP -> MASTER
arp: attempt to add entry for x.x.x.37 on em0 by 00:21:28:14:d5:62 on carp1
arp: attempt to add entry for x.x.x.37 on em0 by 00:21:28:14:d5:62 on em1
arp: attempt to add entry for x.x.x.12 on em1 by 00:21:28:e7:87:f0 on carp0
arp: attempt to add entry for x.x.x.12 on em1 by 00:21:28:e7:87:f0 on em0
arp: attempt to add entry for x.x.x.100 on em0 by 00:10:e0:23:f2:55 on carp1
arp: attempt to add entry for X.x.x.100 on em0 by 00:10:e0:23:f2:55 on em1
carp4: state transition: BACKUP -> MASTER
carp1: state transition: BACKUP -> MASTER
arp_rtrequest: bad gateway value
arp_rtrequest: bad gateway value
arp_rtrequest: bad gateway value
arp_rtrequest: bad gateway value
carp5: state transition: BACKUP -> MASTER
arp: attempt to add entry for x.x.x.91 on em1 by 00:21:28:14:d5:62 on carp0
arp: attempt to add entry for x.x.x.91 on em1 by 00:21:28:14:d5:62 on em0
arp: attempt to add entry for x.x.x.101 on em1 by 00:14:4f:ed:e6:3c on carp0
arp: attempt to add entry for x.x.x.101 on em1 by 00:14:4f:ed:e6:3c on em0
carp6: state transition: BACKUP -> MASTER
carp6: state transition: MASTER -> BACKUP
carp3: state transition: MASTER -> BACKUP
carp0: state transition: MASTER -> BACKUP
carp5: state transition: MASTER -> BACKUP
carp1: state transition: MASTER -> BACKUP
carp4: state transition: MASTER -> BACKUP
arp: attempt to add entry for x.x.x.60 on em1 by 5c:8a:38:3a:25:55 on carp0
arp: attempt to add entry for x.x.x.60 on em1 by 5c:8a:38:3a:25:55 on em0
Kind Regards
Andy
Reply With Quote
  #5   (View Single Post)  
Old 19th May 2017
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 5,943
Default

This is a newly reported symptom for an infrastructure that has been static for six years. While I suspect the root cause is hardware or network, I do not know this for certain.

You might be able to manually override the problem with carpdemote - see INTERFACE GROUPS in ifconfig(8). But attempting to use it to force the cluster to use the intended MASTER system may cause new problems.

----

This is a small forum, with very few CARP users, and I have been unable to determine the cause or the solution.

You might consider posting a problem report to the OpenBSD misc@ mailing list, which is a much larger community, and includes about half of the active developers. Someone may see something in your problem report that I do not.

If you post there, you'll need to be aware that you are running an unsupported version, and "upgrade" will likely be the most common response you receive from that community.
Reply With Quote
  #6   (View Single Post)  
Old 19th May 2017
andy andy is offline
New User
 
Join Date: May 2017
Posts: 4
Default

Hey jggimi

nevertheless thank you for your hints and help.

Kind Regards
Andy
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Thanking a member for value-able help chigurh Feedback and Suggestions 2 28th August 2015 01:48 PM
specific reason OpenBSD in MBR table id 3 ershiba OpenBSD Installation and Upgrading 2 2nd January 2013 02:52 PM
Good Reason to use Open Source shep News 7 19th September 2010 12:50 AM
What makes a perfect seasoned member? ai-danno Feedback and Suggestions 7 22nd July 2008 12:54 AM


All times are GMT. The time now is 07:40 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick