Gentoo Archives: gentoo-server

From: Sean Cook <scook@×××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] SAN Clustered Filesystem
Date: Thu, 25 Jan 2007 20:37:02
Message-Id: 20070125203445.GB30523@gandalf.squishychicken.com
In Reply to: Re: [gentoo-server] SAN Clustered Filesystem by Brian Kroth
1 OK... it looks like this is just fiber channel... do you have a fiber switch
2 or are you using direct connects?
3
4 In gentoo you will use a qlogic card and just boot the box... the luns that
5 are presented to the server will just show up as raw disk. If you want to
6 get sexy with it, you multipath to set up dual channels to the same disk and
7 round robin your access to those disks. This will require a bit more
8 knowlege of the XRaid and how it presents storage, but it should be
9 possible.
10
11 If you are using a fiber switch you will want to create a zone from the
12 device to the nodes based on the wwn that you get off the qlogic interface
13 which should look something like this:
14
15 $ cat /proc/scsi/qla2xxx/0
16 ...
17 SCSI Device Information:
18 scsi-qla1-adapter-node=200100e08ba84706;
19 scsi-qla1-adapter-port=210100e08ba84706;
20 scsi-qla1-target-0=50060482d52cead8;
21 ...
22
23
24
25
26 On 25-Jan-2007, Brian Kroth wrote:
27 > We actually have an XRaid now sitting in a box. I was simply going to
28 > purchase some fiber channel cards for the servers so they can attach to
29 > it via a QLogic fiber channel switch we have. But once that's happened
30 > I want to make sure I can share the same storage pool with all, or
31 > perhaps just a subset, of the servers. With OSX this required a special
32 > XSan client. I have done very limited research so far to see what it
33 > would take to get a collection of Gentoo servers to do this, but figured
34 > I should ask and see if anyone could point me in some directions.
35 >
36 > Brian
37 >
38 > Sean Cook wrote:
39 > >I would actually spend a little more and start looking at iSCSI for
40 > >attached
41 > >storage. You can generally pickup some decent chassis on ebay for not a
42 > >lot
43 > >of change and it gives you a lot more flexibility.
44 > >
45 > >GFS is ok if you don't want to mess around with a SAN but it has no where
46 > >near the performance of fiber or iSCSI attached storage.
47 > >
48 > >Here is exactly what I am talking about...
49 > >http://cgi.ebay.com/Dell-EMC-AX100i-iSCSI-12-Slot-SAN-Array-w-4x-250GB-HDD_W0QQitemZ300072200442QQihZ020QQcategoryZ111458QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
50 > >
51 > >
52 > >On 25-Jan-2007, Brian Kroth wrote:
53 > >
54 > >>Hello all,
55 > >>
56 > >>I currently manage about 40 Window, OSX, and Hardened Gentoo servers. I
57 > >>will soon have 12 P4 servers that were previously used as video encoders
58 > >>free as well as an Apple XRaid. With all this spare hardware I thought
59 > >>I'd research setting up a cluster of servers running Apache for load
60 > >>balancing and high availability. I'm also looking into a MySQL cluster,
61 > >>but that wouldn't require a shared filesystem. I'm wondering if anyone
62 > >>has done something like this before and in particular knows a good
63 > >>filesystem to use so that each of the servers can access and potentially
64 > >>write to the same storage array. I've accomplished the same thing with
65 > >>XServes running OSX, but they like to charge you a pretty penny for the
66 > >>XSan software that allows this which I thought I'd try to avoid if
67 > >>possible. So far I've seen only GFS, but haven't gotten much reading
68 > >>done on it yet. Any other tips or insights would be appreciated as well.
69 > >>
70 > >>Thanks,
71 > >>Brian
72 > >>--
73 > >>gentoo-server@g.o mailing list
74 > >>
75 > >>
76 >
77 > --
78 > gentoo-server@g.o mailing list
79 >
80 --
81 gentoo-server@g.o mailing list