From owner-freebsd-cluster@FreeBSD.ORG Sat Feb 19 01:39:11 2011 Return-Path: Delivered-To: freebsd-cluster@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D666D106566C for ; Sat, 19 Feb 2011 01:39:11 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9018B8FC0A for ; Sat, 19 Feb 2011 01:39:11 +0000 (UTC) Received: by gyh4 with SMTP id 4so382095gyh.13 for ; Fri, 18 Feb 2011 17:39:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/vW0u86i07wi+cHLKeahkvlChQ33fp4E2ID1Gc2+DRQ=; b=mUjhppLjdT6wQTax263Ty5Dp2o/Dy809p6/Yr8HozxAnoRq2ZmK/m6wrxQjYLketx1 CIhxJnYSTJ1U23pRmXc3pQ5dlmavftXkch94FRao9qdtBLN7NjcMHGbliPEdcr5igFvv 11FogwRktCxoeVm99XWWM5OKB9Fr6hnTyIncE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gkLD2AgSuHzQgojZyuJnW30TAEcrnQdSVB3MnjV/gv/efmuRVJKd43I/M2FNlagx/f R3IRxtTxhIxMP3NuBBGNIbHuDvNxrnfy3toOEO7N2l9va9UkGqik1c+U367h3juHz0oo CY0oepf0vZkb4MnC/dTypRA7AS+ekNI4I1300= MIME-Version: 1.0 Received: by 10.90.18.5 with SMTP id 5mr1960070agr.204.1298079550771; Fri, 18 Feb 2011 17:39:10 -0800 (PST) Received: by 10.90.32.20 with HTTP; Fri, 18 Feb 2011 17:39:10 -0800 (PST) In-Reply-To: References: <1298020090.18890.1684.camel@pcdenny> Date: Fri, 18 Feb 2011 17:39:10 -0800 Message-ID: From: Freddie Cash To: Denny Schierz Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-cluster@freebsd.org Subject: Re: Build failover ZFS, like HA-Storage from Solaris 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: Sat, 19 Feb 2011 01:39:11 -0000 On Fri, Feb 18, 2011 at 3:44 PM, Denny Schierz wrote: > Am 18.02.2011 um 21:29 schrieb Freddie Cash: > >> You create a separate hast device for each physical harddrive in the >> system. =C2=A0That "mirrors" the drives between the two servers. > > why should I mirror the drives, while both systems are connected to one s= as storage? Both hosts can see all drives at the same time, via the SAS HBA= . Sorry, re-reading your original post I see that I mixed up the layers. :) To make sure I understand completely, you have: [ SAN box ] ---- iSCSI ---- [ node 1 using ZFS ] \-------- [ node 2 using ZFS ] Correct? And you want to fail-over services from node 1 to node 2? You don't need HAST in that situation, as the SAN handles making the storage available to both. My bad. But you can still use CARP and devd. CARP provides the shared IP so that other systems won't notice the switch over. And devd provides the hooks into your custom scripts so that when CARP switches from node 1 to node 2, you export the pool on node 1, and import the pool on node 2. --=20 Freddie Cash fjwcash@gmail.com