From owner-freebsd-stable@FreeBSD.ORG Thu Oct 12 22:30:44 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63B1516A407 for ; Thu, 12 Oct 2006 22:30:44 +0000 (UTC) (envelope-from marko.lerota@claresco.hr) Received: from mxout2.iskon.hr (mxout2.iskon.hr [213.191.128.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 1F36943D58 for ; Thu, 12 Oct 2006 22:30:35 +0000 (GMT) (envelope-from marko.lerota@claresco.hr) Received: (qmail 7739 invoked from network); 13 Oct 2006 00:30:34 +0200 X-Remote-IP: 213.191.142.123 Received: from unknown (HELO mx.iskon.hr) (213.191.142.123) by mxout2.iskon.hr with SMTP; 13 Oct 2006 00:30:34 +0200 Received: (qmail 16812 invoked from network); 13 Oct 2006 00:30:34 +0200 X-Remote-IP: 213.202.84.199 Received: from lns01-0198.dsl.iskon.hr (HELO sparrow.local) (213.202.84.199) by mx.iskon.hr with SMTP; 13 Oct 2006 00:30:33 +0200 Received: (qmail 2019 invoked by uid 1001); 12 Oct 2006 22:30:33 -0000 To: Vivek Khera Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEWgnbRLVpRNVY9jMRPh s21jSlEyNVX45Mv4zI+sbUclFAtMVpT8V0lFAAACZ0lEQVR4nG3Tv2vbQBQHcFMogWyeNeVK BLXGl5j6xnABOaNTuXFGmWpwtw519yj4soW6AatT4GKD3+aDZrl/rt/Tr9qlGiz7Pn7v3bsf HVc/NrIiSfElqH53GgijcCqzk/+AmBF5cN0DsFlIRGMh/oHuqxkTM6VlzB4EoZEs2aSZOASb EQJYZpweQshE697GTDndBXtgp9LIT9+OpDGHEfb9knk+nx+jfN1JCVZMCl6XwFm0a2EXztZD 3s4fj47ZbKI2VeBmJImeEfGLJ+M9sDPilX7IB5rN6sdfcGhuoHU+LC4nxfnI7YOJtdb95Gb+ fbgJ2uJ2ZgaA++f5ZzBqNCCYfMTd5q0BfBVNqm7I8gUjQ+YtXotRW6PH9AEj+dKs/KuNQAl5 o/NY+QkonW8aQAl0oXMYPvRiXIM4pRJifbXytnhTA8alBx/jefG2ar3DBlt34/PXz9M+nMVN iNaPUdCApJc2ItejOmLGoK1qQLV9pJmXBnL10DYoBA5aHNfj8ZNwZa5O4CzgTJeilKJmrQJs IHIt1/7/Sg2p3iq/Hz0/5W05rq4M9aN2B5FLohUP4ylVyfxhEIjAs8J4PhIJ9U+CEroogib5 BXAf7bB4vkfAzgPFt1tM9sJZAOH+lCexhwswuNtim4QTZdokqo4o89LkH7V6iFxICeqfp+Wh fmUuGPunLj2Meti6Cn4DjJ/UReROqR+aqawAi/JkfgKE64rrfkhjU8MtT8ivR4S5n6Yo08A7 HvgAlHDWRSGlNSDxwK9HtXy4FS2I60EdUIJM+Ut9OZNJG4CpbEQW1VBQoQoPuBw2EVa4P0u0 TgzQF+VoAAAAAElFTkSuQmCC In-Reply-To: <3FE17199-C351-4C29-AC36-7A94F344C135@khera.org> (Vivek Khera's message of "Thu, 12 Oct 2006 15:30:41 -0400") References: <452E2151.80500@suutari.iki.fi> <86hcy9zc1h.fsf@sparrow.local> <3FE17199-C351-4C29-AC36-7A94F344C135@khera.org> Organization: *BSD Users - Fanatics Dept. X-Request-PGP: X-GNUPG-Fingerprint: CF5E 6862 2777 A471 5D2E 0015 8DA6 D56D 17E5 2A51 From: Marko Lerota Date: Fri, 13 Oct 2006 00:30:33 +0200 Message-ID: <86mz81xj3q.fsf@sparrow.local> User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Stable Subject: Re: carp0 interface goes down on 6.2-PRERELEASE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Oct 2006 22:30:44 -0000 Vivek Khera writes: > On Oct 12, 2006, at 1:20 PM, Marko Lerota wrote: > >> I think the interface didn't get sync from other carp interface, >> so it doesn't know that he is the MASTER or BACKUP, and because >> of that goes into the INIT state. > > Shouldn't it then move to MASTER since the other server could > possibly be dead? Yes, but if interface had _never_ received any pfsync packet, and sysctl is set to net.inet.carp.preempt=0 ? Maybe it's because of that. Don't know really. Documentation for this is not so good. Someone who knows this code and how this really works, should write handbook like documentation. Clusters are always complex, and for that, docs should be *very* detailed. If someone does that, I'll buy him a beer. -- One cannot sell the earth upon which the people walk Tacunka Witco