Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2007 21:52:39 +0200
From:      Marko Lerota <mlerota@iskon.hr>
To:        freebsd-cluster@freebsd.org
Cc:        freebsd-stable@freebsd.org
Subject:   CARP make panics after upgrade
Message-ID:  <86d510y29k.fsf@sparrow.local>

next in thread | raw e-mail | index | archive | help
>From FreeBSD 5.4 to FreeBSD 6.2. 

I had two old FreeBSD 5.4 servers, and when I upgraded one of them 
CARP was crashing that upgraded machine which was in backup mode. 
I had to shutdown the carp interface so I can work. Later I figured 
out that in new versions of FreeBSD configuration was changed, so 
when I switched to new configuration everything worked fine.

I think it's worth mentioning it here. 

Here is the old config that panics, man pfsync(4) from 5.4

cloned_interfaces="carp0 carp1"
network_interfaces="lo0 sis0 sis1 sis2 carp0 carp1 pfsync0"
ifconfig_sis0="10.0.0.254/24"
ifconfig_sis1="192.168.0.254/24"
ifconfig_sis2="192.168.254.254/24"
ifconfig_carp0="vhid 1 pass foo 10.0.0.1/24"
ifconfig_carp1="vhid 2 pass bar 192.168.0.1/24"
ifconfig_pfsync0="up syncif sis2"

And here is the new config that doesn't

network_interfaces="lo0 sis0 sis1 sis2"
cloned_interfaces="carp0 carp1"
ifconfig_sis0="10.0.0.254/24"
ifconfig_sis1="192.168.0.254/24"
ifconfig_sis2="192.168.254.254/24"
ifconfig_carp0="vhid 1 pass foo 10.0.0.1/24"
ifconfig_carp1="vhid 2 pass bar 192.168.0.1/24"
pfsync_enable="YES"
pfsync_syncdev="sis2"


-- 
One cannot sell the earth upon which the people walk
                               			Tacunka Witco 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86d510y29k.fsf>