From owner-freebsd-questions@freebsd.org Mon Sep 5 15:23:36 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1EAE3B96F19 for ; Mon, 5 Sep 2016 15:23:36 +0000 (UTC) (envelope-from julien@perdition.city) Received: from relay-b03.edpnet.be (relay-b03.edpnet.be [212.71.1.220]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "edpnet.email", Issuer "Go Daddy Secure Certificate Authority - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C00C6776 for ; Mon, 5 Sep 2016 15:23:35 +0000 (UTC) (envelope-from julien@perdition.city) X-ASG-Debug-ID: 1473089002-0a88181ce53722e00001-jLrpzn Received: from mordor.lan (77.109.124.121.adsl.dyn.edpnet.net [77.109.124.121]) by relay-b03.edpnet.be with ESMTP id hC9ZnxvY88QZFLfV (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 05 Sep 2016 17:23:24 +0200 (CEST) X-Barracuda-Envelope-From: julien@perdition.city X-Barracuda-Effective-Source-IP: 77.109.124.121.adsl.dyn.edpnet.net[77.109.124.121] X-Barracuda-Apparent-Source-IP: 77.109.124.121 Date: Mon, 5 Sep 2016 17:23:22 +0200 From: Julien Cigar To: =?utf-8?Q?Sol=C3=A8ne?= Rapenne Cc: freebsd-questions@freebsd.org Subject: Re: High availability storage : raid1 of iSCSI or iSCSI + hast Message-ID: <20160905152322.GA1779@mordor.lan> X-ASG-Orig-Subj: Re: High availability storage : raid1 of iSCSI or iSCSI + hast References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="HO3Ykb1C9doWAHv0" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) X-Barracuda-Connect: 77.109.124.121.adsl.dyn.edpnet.net[77.109.124.121] X-Barracuda-Start-Time: 1473089002 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://212.71.1.220:443/cgi-mod/mark.cgi X-Barracuda-Scan-Msg-Size: 2406 X-Virus-Scanned: by bsmtpd at edpnet.be X-Barracuda-BRTS-Status: 1 X-Barracuda-Bayes: INNOCENT GLOBAL 0.5000 1.0000 0.7500 X-Barracuda-Spam-Score: 0.75 X-Barracuda-Spam-Status: No, SCORE=0.75 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=6.0 tests=INFO_TLD X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.32632 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 INFO_TLD URI: Contains an URL in the INFO top-level domain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Sep 2016 15:23:36 -0000 --HO3Ykb1C9doWAHv0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Sep 05, 2016 at 04:56:49PM +0200, Sol=C3=A8ne Rapenne wrote: > Hello, >=20 > I am building a high availability cluster with FreeBSD, to make it=20 > simple, we have 2 master/slave server called Web1 and Web2 and 2=20 > master/slave file server called iSCSI1 and iSCSI2. >=20 > I have been thinking about 2 options and I would like to have some=20 > feedback if you run one of the option (or something else) : > - the first is to create a raid1 of both iSCSI target and mount it= =20 > on the webserver who is the master. > - the second is mounting the iSCSI target from the master iSCSI=20 > server and the master iSCSI server will replicates the data to the slave >=20 >=20 > 1st option : MASTER Web connects to both iSCSI server and make > a raid1 of the iSCSI >=20 > pros : in case of failure of iSCSI 1 or 2, Web isn't affected > cons : slow ? network bottleneck ? >=20 > +---------+ CARP +---------+ > | Web1 | <----> | Web2 | > +---------+ +---------+ > |raid1\ > | \__________ > | \ > +---------+ +---------+ > | iSCSI 1 | | iSCSI 2 | > +---------+ +---------+ >=20 >=20 > 2nd option : MASTER Web connects to MASTER iSCSI server, > which replicates to slave iSCSI server with HAST >=20 > pros : no idea > cons : if we want to switch the iSCSI server we have to stop everything >=20 > +---------+ CARP +---------+ > | Web1 | <-----> | Web2 | > +---------+ +---------+ > | > | > +---------+ CARP + +---------+ > | iSCSI 1 | HAST | iSCSI 2 | > +---------+ <----> +---------+ >=20 there was a recent discussion on @freebsd-fs that may interrest you, check the whole discussion on: http://marc.info/?t=3D146729917100015&r=3D4&w=3D2 >=20 > Thank you for reading > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --HO3Ykb1C9doWAHv0 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCgAGBQJXzY3qAAoJELK7NxCiBCPAhAIP/3TavSF7My7oGFppEDRljOib nG/Ylacu/byxlDE2RIyrOhmF03J2UeGdkJlmpqUwjOO9evW26krf/0qyJe2VXD4Q nR1RxEnP7D0U8TbjPQcdgH9CjlVM7jsCbPUdLR83HmLRgwY9nXoRWaKjiduQxbwk 332C3Was6i2cknXQipk3RGNIhBpC8YW/rSzVoJapJuC5QXp7JcNP7cb+nO6qNfq2 w8y7NflVRKtouaDZyZB9cFpKBd+/8Le9un6T78drwicIyFdqp4yX9i20c/sXLBw2 dyD1jGiUjNqXMdLqgNfDPbi1ipxnpFhHB/bn7xZ7YYURvxnhEkVICpIgMpjNRzbS GCpuB9wXImJ6GoOt4ox65phhkdHMyWUo8VT5g0eqj0nUpI9SwlZJwFDKJspd4G9d YGUhEsiimkvUEdUAbuKTPbCKuqCMK6djnJDRAWsvUxRU5kcuvmrEmzUNDzM4WBhd XAska1yMmw30feZGS8LhGi++JT1yokUCg2l5PAwLcOYUBaLA7AZ40D0Jgil4bgEI FogWiOCOvDpJisps0jROm7/qDN9qagQe/DBS7Ho3WClbl1fFf9iHfh4B+WbeniYP I8j+V6rZkepOpwC2Gz9HTsbOnU5+5sH8usEWe/lc3T2FSaX6xPNG2Cuo/EjFQg7A Gy9sV2zL1KNPplw5k64Q =lVvn -----END PGP SIGNATURE----- --HO3Ykb1C9doWAHv0--