Claudiu,<br> You can use unify over afr. And use switch translator to schedule your log files to a subvolume which does not replicate (without afr) and rest of the files to afr.<br><br>volume unify<br> type cluster/unify<br>
option scheduler switch<br> option switch.case <pattern>:<non-replicated-subvolume>;*:<afr-subvolume><br> option namespace <namespace><br> subvoumes <non-replicated-subvolume> <afr-subvolume><br>
end-volume<br><br>--<br>gowda<br><br><div class="gmail_quote">On Sat, Nov 15, 2008 at 2:32 PM, claudiu ciurdariu <span dir="ltr"><<a href="mailto:clauc_007@yahoo.com">clauc_007@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi guys,<br><br>I'm trying to implement AFR across 2 servers and I was wondering if there is any option that would allow me to exclude some subdirectories from replicating each other. Say I have a directory structure like this:<br>
<br>/var/www/domain1/htdocs<br>/var/www/domain1/logs<br>/var/www/domain2/htdocs<br>/var/www/domain2/logs<br>....<br><br>I want to AFR /var/www across the 2 servers, but exclude the logs directories from replication. Is there any translator that would help me achieve that? <br>
<br>Any help is appreciated.<br><br>Claudiu<br></div></div><br>
</div><br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users" target="_blank">http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>hard work often pays off after time, but laziness always pays off now<br>