From owner-freebsd-stable@FreeBSD.ORG Wed Apr 27 14:09:29 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72E04106567B for ; Wed, 27 Apr 2011 14:09:29 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id EF97D8FC22 for ; Wed, 27 Apr 2011 14:09:28 +0000 (UTC) Received: by wwc33 with SMTP id 33so1739002wwc.31 for ; Wed, 27 Apr 2011 07:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:organization:references :sender:date:in-reply-to:message-id:user-agent:mime-version :content-type; bh=vJGeDr/w7mlDf6kT6M2UmVIgQyj/XhuMdKeo9eSYvow=; b=XV5xlcgv91ZM7W67TbWhhRcxQQ6IuHIoLQh+hjxIRrRP/qUTmShCb/u3PMHZxkwUdi 8Fi73c3AbLcmJe03tlS0lNt+nsonOJAkb0HC6Z1lqWeZc59lh6yGw3ckbtOxNlya0Fia AYvn9SI1rYp93uuVxFS4wa/flMZPn5T43RQ+M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:organization:references:sender:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=l5O9rfjgD3JX45vCRnbY03hdCeWSsYZx+9ufqF5NOyCcP/oVIJhh0+8jDOBwejmW80 Unxv6IErwq3nVIixLKhZyet0oMcArBmlxeJ8MGAME2qJz+H6PFV+mrY54Nznf4Kpprq2 unJOiOLDDcLFvgXoSUkg5oDaXYYEKmY5NjL98= Received: by 10.216.241.197 with SMTP id g47mr2099274wer.110.1303913367785; Wed, 27 Apr 2011 07:09:27 -0700 (PDT) Received: from localhost ([94.27.39.186]) by mx.google.com with ESMTPS id k76sm386900wej.19.2011.04.27.07.09.25 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 27 Apr 2011 07:09:26 -0700 (PDT) From: Mikolaj Golub To: Denny Schierz Organization: TOA Ukraine References: <1301397421.11113.250.camel@pcdenny> <86ipv1ll4f.fsf@kopusha.home.net> <1303905911.4232.86.camel@pcdenny> Sender: Mikolaj Golub Date: Wed, 27 Apr 2011 17:09:23 +0300 In-Reply-To: <1303905911.4232.86.camel@pcdenny> (Denny Schierz's message of "Wed, 27 Apr 2011 14:05:11 +0200") Message-ID: <861v0nrdkc.fsf@in138.ua3> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-stable Subject: Re: way for failover zpool (no HAST needed) 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: Wed, 27 Apr 2011 14:09:29 -0000 On Wed, 27 Apr 2011 14:05:11 +0200 Denny Schierz wrote: DS> hi, DS> Am Dienstag, den 29.03.2011, 23:36 +0300 schrieb Mikolaj Golub: >> >> 2) There are complaints from watchdog. DS> what happens, if the watchdog isn't available and one or both nodes are DS> rebooting or something else? Without receiving complaints secondary wont switch to primary. This is done intentionally, so the node does not make decision on its own. But you can have several watchdogs if this really worries you. DS> the other thing what could happen: the connection between the host and DS> the SAS switch is death. DS> carp, ifstate and hastmon looking for the reachable IP, but not, if the DS> local storage is available. So I have a closer look to devd and zfs and hastmon isn't just looking if the IP reachable. watchdog connects to a cluster node and ask its status. So the result depends on how smart the script one use to get the status. DS> shutdown in case of problems the carp interface / or whole machine, to DS> force a switch. DS> cu denny -- Mikolaj Golub