Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
9/6/13
end-volume volume brick1 type performance/io-threads option thread-count 8 subvolumes locks1 end-volume volume posix2 type storage/posix option directory /cluster/2 end-volume volume locks2 type features/locks subvolumes posix2 end-volume volume brick2 type performance/io-threads option thread-count 8 subvolumes locks2 end-volume volume posix3 type storage/posix option directory /cluster/3 end-volume volume locks3 type features/locks subvolumes posix3 end-volume volume brick3 type performance/io-threads option thread-count 8 subvolumes locks3 end-volume volume server type protocol/server option transport-type tcp subvolumes brick0 brick1 brick2 brick3 option auth.addr.brick0.allow * option auth.addr.brick1.allow *
edwyseguru.wordpress.com/2010/06/11/glusterfs-design/ 2/7
9/6/13
option auth.addr.brick2.allow * option auth.addr.brick3.allow * end-volume Each of the clients then connects to the 3 servers and handles AFR and distribution, effectively doing a raid 1(3)+0(4). volume fs1_cluster0 type protocol/client option transport-type tcp option remote-host fs1.ewcs.local option remote-subvolume brick0 end-volume volume fs1_cluster1 type protocol/client option transport-type tcp option remote-host fs1.ewcs.local option remote-subvolume brick1 end-volume volume fs1_cluster2 type protocol/client option transport-type tcp option remote-host fs1.ewcs.local option remote-subvolume brick2 end-volume volume fs1_cluster3 type protocol/client option transport-type tcp option remote-host fs1.ewcs.local option remote-subvolume brick3 end-volume volume fs2_cluster0 type protocol/client option transport-type tcp option remote-host fs2.ewcs.local option remote-subvolume brick0 end-volume volume fs2_cluster1 type protocol/client option transport-type tcp
edwyseguru.wordpress.com/2010/06/11/glusterfs-design/
3/7
9/6/13
option remote-host fs2.ewcs.local option remote-subvolume brick1 end-volume volume fs2_cluster2 type protocol/client option transport-type tcp option remote-host fs2.ewcs.local option remote-subvolume brick2 end-volume volume fs2_cluster3 type protocol/client option transport-type tcp option remote-host fs2.ewcs.local option remote-subvolume brick3 end-volume volume fs3_cluster0 type protocol/client option transport-type tcp option remote-host fs3.ewcs.local option remote-subvolume brick0 end-volume volume fs3_cluster1 type protocol/client option transport-type tcp option remote-host fs3.ewcs.local option remote-subvolume brick1 end-volume volume fs3_cluster2 type protocol/client option transport-type tcp option remote-host fs3.ewcs.local option remote-subvolume brick2 end-volume volume fs3_cluster3 type protocol/client option transport-type tcp option remote-host fs3.ewcs.local option remote-subvolume brick3 end-volume
edwyseguru.wordpress.com/2010/06/11/glusterfs-design/
volume repl0
4/7
9/6/13
volume repl0 type cluster/replicate subvolumes fs1_cluster0 fs2_cluster0 fs3_cluster0 end-volume volume repl1 type cluster/replicate subvolumes fs1_cluster1 fs2_cluster1 fs3_cluster1 end-volume volume repl2 type cluster/replicate subvolumes fs1_cluster2 fs2_cluster2 fs3_cluster2 end-volume volume repl3 type cluster/replicate subvolumes fs1_cluster3 fs2_cluster3 fs3_cluster3 end-volume volume distribute type cluster/distribute subvolumes repl0 repl1 repl2 repl3 end-volume volume writebehind type performance/write-behind option aggregate-size 32MB option cache-size 64MB subvolumes distribute end-volume volume ioc type performance/io-cache option cache-size 64MB subvolumes writebehind end-volume This configuration allows for any 2 drives in a replicate set to fail, or even any 2 servers, without loss of operation. Only 1/6th of the entire available storage capacity is shared, but with the dramatically reduced cost of storage over other redundant systems, this is a negligible problem. Heres a graphic representation of the configuration:
edwyseguru.wordpress.com/2010/06/11/glusterfs-design/
5/7
9/6/13
About these ads Jarritos. Easier than being thirsty. http://bit.ly/163QnSh Copied To Clipboard
Jarritos. Easier than being thirsty. http://bit.ly/163QnSh Paste Into Newsfeed (ctrl + v) Log Into Facebook Cancel Feedback http://bit.ly/163QnSh ~ by edwyseguru on June 11, 2010. Posted in GlusterFS, Howtos
9/6/13
3. [...] intergalactique. De fil en aiguille, on tombe sur ce premier billet, du mme auteur, et surtout sur cet exemple grandeur nature dans lequel lauteur explique son setup de type raid 1(3)+0(4). [...] MOAR DISK | GCU-Squad! said this on February 27, 2012 at 12:40 am | Reply
edwyseguru.wordpress.com/2010/06/11/glusterfs-design/
7/7