Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2006 01:39:28 -0700 (PDT)
From:      dmitry surovtsev <dsurovtsev@yahoo.com>
To:        freebsd-cluster@freebsd.org
Subject:   CARP and spontaneous switching between MASTER - BACKUP
Message-ID:  <20061009083928.78647.qmail@web30208.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all, =0A=0ADid anybody face the problem with spontaneous switching betwe=
en MASTER - BACKUP carp machines? =0AThe configuration is: =0A=0AFirst comp=
uter (MASTER): =0Asysctl net.inet.carp.allow=3D1 =0Asysctl net.inet.carp.pr=
eempt=3D1 (or 0, it doesn't matter) =0Asysctl net.inet.carp.arpbalance=3D0 =
=0A=0Aifconfig carp0 create =0Aifconfig carp0 vhid 1 advbase 1 pass pass1 1=
92.168.1.1/24 =0A=0ASecond computer (BACKUP): =0Asysctl net.inet.carp.allow=
=3D1 =0Asysctl net.inet.carp.preempt=3D1 (or 0, it doesn't matter) =0Asysct=
l net.inet.carp.arpbalance=3D0 =0A=0Aifconfig carp0 create =0Aifconfig carp=
0 vhid 1 advbase 2 pass pass1 192.168.1.1/24 =0A=0ABoth computers are conne=
cted by direct cable (one pair of network cards with IP, say 192.168.2.1 an=
d 192.168.2.2). =0AAnother network card of each copmuter has IP 192.168.1.1=
. =0A=0AThe problem is: =0AWhen i go to my squirrelmail web application by =
typing https://192.168.1.1 =0Ai got a connection with master computer indee=
d. =0AI type a login and password and then go to my Mailbox. =0AAfter some =
time however I got an error from Squirrelmail: =0A"You need to authorized t=
o have an acces to your mail", then Squirrelmail =0Aproposes me to enter lo=
gin and password again, second time. =0AI do that and then have an access t=
o mailbox, BUT on the second, BACKUP, server. =0A=0Aifconfig shows that fir=
st computer is still in MASTER mode, =0Aand the second is still in BACKUP m=
ode. =0A=0AWhat may be the problem? =0A=0AThanks in advance, =0ADmitry=0A=
=0A



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