DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 01:13 PM.


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