From owner-freebsd-cluster@FreeBSD.ORG Mon Oct 9 08:39:29 2006 Return-Path: X-Original-To: freebsd-cluster@freebsd.org Delivered-To: freebsd-cluster@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D28CB16A412 for ; Mon, 9 Oct 2006 08:39:29 +0000 (UTC) (envelope-from dsurovtsev@yahoo.com) Received: from web30208.mail.mud.yahoo.com (web30208.mail.mud.yahoo.com [209.191.69.55]) by mx1.FreeBSD.org (Postfix) with SMTP id 5D6E343D46 for ; Mon, 9 Oct 2006 08:39:29 +0000 (GMT) (envelope-from dsurovtsev@yahoo.com) Received: (qmail 78649 invoked by uid 60001); 9 Oct 2006 08:39:28 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LuraTWMIqT8zTbXON6P7SJxVTKzHuak0bKtAyocOgWMFO3Xcl4KLsLqBOZ4cfqWF4HxmLx2CWu2gROdc+8wWqzVCJS8vVd8kN+pXCflmYr5fW0rfi24AMqNom6OiJKj4SlifOeLg0XCdZef3f3a1znlGxwUD5IAFAEJ/HCy4xvM= ; Message-ID: <20061009083928.78647.qmail@web30208.mail.mud.yahoo.com> Received: from [81.21.0.3] by web30208.mail.mud.yahoo.com via HTTP; Mon, 09 Oct 2006 01:39:28 PDT Date: Mon, 9 Oct 2006 01:39:28 -0700 (PDT) From: dmitry surovtsev To: freebsd-cluster@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ascii Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Mon, 09 Oct 2006 14:36:24 +0000 Subject: CARP and spontaneous switching between MASTER - BACKUP X-BeenThere: freebsd-cluster@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Clustering FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2006 08:39:29 -0000 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