[Gluster-devel] Re: Gluster-devel Digest, Vol 32, Issue 23

B P bajicpredrag at yahoo.com
Tue Apr 15 18:05:42 UTC 2008


Oh, my... YES! It works now! Thank you!
---
Regards,
Predrag, Bajic





Bajic,
 set the subvolume of the writebehind volume as 'santa' and not 'santa1'.

avati

2008/4/14, B P :
>
> Hi,
> I have installed glusterfs 1.3.8.pre1 (repository revision
> glusterfs--mainline--2.5--patch--676) on three severs under VMware.
> This configuration (shown bellow) works just fine (HA, self-heal,...), but
> if I want to enable writeback and readahead options,  this configuration
> refuses to be loaded?! What is wrong in that case!?
>
> Could someone, please, explain it to me, why is that so? I need this
> writeback and readahead options up and running so I can test the GlusterFS
> High Availability whith non-default parameters.
>
> Oh! One more thing. Wahat is exactly the
> option remote-host roundrobin.gluster.local for? How does it actually
> work?
> It does not work as it is, so I had to comment it. :(
> I have a feeling that my system would be much more faster if I manage to
> enable roundrobing on client side.
>
> -----
> Best regards,
> Predrag Bajiæ
>
>
> ***********************************************************************************************
> server1 spec file:
>
> ***********************************************************************************************
> volume mailspool-ds
>   type storage/posix
>   option directory /home/export/mailspool-ds
> end-volume
>
> volume mailspool-ns
>   type storage/posix
>   option directory /home/export/mailspool-ns
> end-volume
>
> volume mailspool-santa2-ds
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.2
>   option remote-subvolume mailspool-ds
>   option transport-timeout 1
> end-volume
>
> volume mailspool-santa2-ns
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.2
>   option remote-subvolume mailspool-ns
>   option transport-timeout 1
> end-volume
>
> volume mailspool-santa3-ds
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.3
>   option remote-subvolume mailspool-ds
>   option transport-timeout 1
> end-volume
>
> volume mailspool-santa3-ns
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.3
>   option remote-subvolume mailspool-ns
>   option transport-timeout 1
> end-volume
>
> volume mailspool-ns-afr
>   type cluster/afr
>   subvolumes mailspool-ns mailspool-santa2-ns mailspool-santa3-ns
>   #option replicate *:3
> end-volume
>
> volume mailspool-ds-afr
>   type cluster/afr
>   subvolumes mailspool-ds mailspool-santa2-ds mailspool-santa3-ds
>   #option replicate *:3
> end-volume
>
> volume mailspool-unify
>   type cluster/unify
>   subvolumes mailspool-ds-afr
>   option namespace mailspool-ns-afr
>   option scheduler rr
> end-volume
>
> volume mailspool
>   type performance/io-threads
>   #option thread-count 3
>   #option cache-size 32MB
>   subvolumes mailspool-unify
> end-volume
>
> volume server
>   type protocol/server
>   option transport-type tcp/server
>   subvolumes mailspool
>   option auth.ip.mailspool-ds.allow 127.0.0.1,192.168.0.*
>   option auth.ip.mailspool-ns.allow 127.0.0.1,192.168.0.*
>   option auth.ip.mailspool.allow 127.0.0.1,192.168.0.*
> end-volume
>
>
> **********************************************************************************************
> server2 spec file:
>
> **********************************************************************************************
> volume mailspool-ds
>   type storage/posix
>   option directory /home/export/mailspool-ds
> end-volume
>
> volume mailspool-ns
>   type storage/posix
>   option directory /home/export/mailspool-ns
> end-volume
>
> volume mailspool-santa2-ds
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.1
>   option remote-subvolume mailspool-ds
>   option transport-timeout 1
> end-volume
>
> volume mailspool-santa2-ns
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.1
>   option remote-subvolume mailspool-ns
>   option transport-timeout 1
> end-volume
>
> volume mailspool-santa3-ds
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.3
>   option remote-subvolume mailspool-ds
>   option transport-timeout 1
> end-volume
>
> volume mailspool-santa3-ns
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.3
>   option remote-subvolume mailspool-ns
>   option transport-timeout 1
> end-volume
>
> volume mailspool-ns-afr
>   type cluster/afr
>   subvolumes mailspool-ns mailspool-santa2-ns mailspool-santa3-ns
>   #option replicate *:3
> end-volume
>
> volume mailspool-ds-afr
>   type cluster/afr
>   subvolumes mailspool-ds mailspool-santa2-ds mailspool-santa3-ds
>   #option replicate *:3
> end-volume
>
> volume mailspool-unify
>   type cluster/unify
>   subvolumes mailspool-ds-afr
>   option namespace mailspool-ns-afr
>   option scheduler rr
> end-volume
>
> volume mailspool
>   type performance/io-threads
>   #option thread-count 3
>   #option cache-size 32MB
>   subvolumes mailspool-unify
> end-volume
>
> volume server
>   type protocol/server
>   option transport-type tcp/server
>   subvolumes mailspool
>   option auth.ip.mailspool-ds.allow 127.0.0.1,192.168.0.*
>   option auth.ip.mailspool-ns.allow 127.0.0.1,192.168.0.*
>   option auth.ip.mailspool.allow 127.0.0.1,192.168.0.*
> end-volume
>
>
> ***********************************************************************************************
> server3 spec file
>
> ***********************************************************************************************
> volume mailspool-ds
>   type storage/posix
>   option directory /home/export/mailspool-ds
> end-volume
>
> volume mailspool-ns
>   type storage/posix
>   option directory /home/export/mailspool-ns
> end-volume
>
> volume mailspool-santa2-ds
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.1
>   option remote-subvolume mailspool-ds
>   option transport-timeout 1
> end-volume
>
> volume mailspool-santa2-ns
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.1
>   option remote-subvolume mailspool-ns
>   option transport-timeout 1
> end-volume
>
> volume mailspool-santa3-ds
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.2
>   option remote-subvolume mailspool-ds
>   option transport-timeout 1
> end-volume
>
> volume mailspool-santa3-ns
>   type protocol/client
>   option transport-type tcp/client
>   option remote-host 192.168.0.2
>   option remote-subvolume mailspool-ns
>   option transport-timeout 1
> end-volume
>
> volume mailspool-ns-afr
>   type cluster/afr
>   subvolumes mailspool-ns mailspool-santa2-ns mailspool-santa3-ns
>   #option replicate *:3
> end-volume
>
> volume mailspool-ds-afr
>   type cluster/afr
>   subvolumes mailspool-ds mailspool-santa2-ds mailspool-santa3-ds
>   #option replicate *:3
> end-volume
>
> volume mailspool-unify
>   type cluster/unify
>   subvolumes mailspool-ds-afr
>   option namespace mailspool-ns-afr
>   option scheduler rr
> end-volume
>
> volume mailspool
>   type performance/io-threads
>   #option thread-count 3
>   #option cache-size 32MB
>   subvolumes mailspool-unify
> end-volume
>
> volume server
>   type protocol/server
>   option transport-type tcp/server

=== message truncated ===

 between 0000-00-00 and 9999-99-99        



More information about the Gluster-devel mailing list