From owner-freebsd-questions@freebsd.org Mon Sep 5 15:03:38 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 A9B4CB9682E for ; Mon, 5 Sep 2016 15:03:38 +0000 (UTC) (envelope-from solene@perso.pw) Received: from bsd.zplay.eu (perso.pw [62.210.240.224]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "bsd.zplay.eu", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 06A117E6 for ; Mon, 5 Sep 2016 15:03:37 +0000 (UTC) (envelope-from solene@perso.pw) Received: from bsd.zplay.eu (localhost [127.0.0.1]) by bsd.zplay.eu (OpenSMTPD) with ESMTP id 0c05ff36 for ; Mon, 5 Sep 2016 16:56:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=perso.pw; h=to:subject :mime-version:content-type:content-transfer-encoding:date:from :message-id; s=selector1; bh=r8yLtHUu8bdCiBClX330rVUDQWA=; b=S8d noSZ9OFIu7U/fgAEUUVRTYN5OmkfhVWT3SHo2arOZPXWPzS2CxnSP0F+lxtLL1tm QaloR6FWUmsJ6kqCJTBRnef3FziDBR8dVh01RzyETrdNfEvIe9/q3CDrb6/GMChg Hv+YXD+za9sqm/pGNtaxl8BaiquhZz7YKfGIeQa8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=perso.pw; h=to:subject :mime-version:content-type:content-transfer-encoding:date:from :message-id; q=dns; s=selector1; b=G3QJM/2BeGOCB4o2zYJkvhh4EZkEK OmLs+Vlfetlw4Eqq6jKgEMngVjENiA6KPsxl0YqNv1OTI82TQGS6BJwZze88Y1mr papEhLcPq6cKnI1CMruPvisxLFR9Zc4h1EvGG9bs4KvQobgQb2fwsWaVQQWCd5rF qdTR9US02WyAP4= Received: from localhost (bsd.zplay.eu [local]) by bsd.zplay.eu (OpenSMTPD) with ESMTPA id e3e9bccc for ; Mon, 5 Sep 2016 16:56:49 +0200 (CEST) To: freebsd-questions@freebsd.org Subject: High availability storage : raid1 of iSCSI or iSCSI + hast X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 05 Sep 2016 16:56:49 +0200 From: =?UTF-8?Q?Sol=C3=A8ne_Rapenne?= Message-ID: X-Sender: solene@perso.pw User-Agent: Roundcube Webmail/1.2.0 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:03:38 -0000 Hello, I am building a high availability cluster with FreeBSD, to make it simple, we have 2 master/slave server called Web1 and Web2 and 2 master/slave file server called iSCSI1 and iSCSI2. I have been thinking about 2 options and I would like to have some 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 on the webserver who is the master. - the second is mounting the iSCSI target from the master iSCSI server and the master iSCSI server will replicates the data to the slave 1st option : MASTER Web connects to both iSCSI server and make a raid1 of the iSCSI pros : in case of failure of iSCSI 1 or 2, Web isn't affected cons : slow ? network bottleneck ? +---------+ CARP +---------+ | Web1 | <----> | Web2 | +---------+ +---------+ |raid1\ | \__________ | \ +---------+ +---------+ | iSCSI 1 | | iSCSI 2 | +---------+ +---------+ 2nd option : MASTER Web connects to MASTER iSCSI server, which replicates to slave iSCSI server with HAST pros : no idea cons : if we want to switch the iSCSI server we have to stop everything +---------+ CARP +---------+ | Web1 | <-----> | Web2 | +---------+ +---------+ | | +---------+ CARP + +---------+ | iSCSI 1 | HAST | iSCSI 2 | +---------+ <----> +---------+ Thank you for reading