High availability storage : raid1 of iSCSI or iSCSI + hast

Julien Cigar julien at perdition.city
Mon Sep 5 15:23:36 UTC 2016


On Mon, Sep 05, 2016 at 04:56:49PM +0200, Solène Rapenne wrote:
> 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 |
>     +---------+  <---->  +---------+
> 

there was a recent discussion on @freebsd-fs that may interrest you,
check the whole discussion on:
http://marc.info/?t=146729917100015&r=4&w=2

> 
> Thank you for reading
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20160905/3bad4309/attachment.sig>


More information about the freebsd-questions mailing list