Aleynikov,<br><br>Find replies inline.<br><br><div class="gmail_quote">On Tue, Nov 11, 2008 at 4:06 AM, Aleynikov, Serge <span dir="ltr">&lt;<a href="mailto:Serge.Aleynikov@gs.com">Serge.Aleynikov@gs.com</a>&gt;</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>


<p><font face="Arial" size="2">Hi,</font>
</p>

<p><font face="Arial" size="2">I am new to this list, and would like to find out if GlusterFS can serve the following need.</font>
</p>

<p><font face="Arial" size="2">I have N servers running services that log to local disk and I need the content of these local logs to be replicated in &quot;close-to-real-time&quot; to some central storage to be accessible by other tools.</font></p>


<p><font face="Arial" size="2">Can I use GlusterFS for this purpose?&nbsp; If so, could you point me to a sample configuration setup?</font>
</p></div></blockquote><div>Yes, you can use.<br><br>Run glusterfs server on central storage node. with the following spec file<br><br>volume storage<br>&nbsp; &nbsp; type storage/posix<br>&nbsp; &nbsp; option directory &lt;export-directory&gt;<br>
end-volume<br><br>volume server<br>&nbsp; &nbsp; type protocol/server<br>&nbsp; &nbsp; option transport-type &lt;tcp-or-ibverbs&gt;<br>&nbsp; &nbsp; option auth.addr.storage.allow &lt;ipaddress-or-username&gt;<br>&nbsp; &nbsp; subvolumes storage<br>end-volume<br>
<br>On the machines where your log files are updated, mount glusterfs using the following spec:<br><br>volume client<br>&nbsp; &nbsp; type protoco/client<br>&nbsp; &nbsp; option remote-host &lt;ipaddress&gt;<br>&nbsp; &nbsp; option remote-subvolume storage<br>
end-volume<br><br>volume local-storage<br>&nbsp; &nbsp;&nbsp; type&nbsp; storage/posix<br>&nbsp;&nbsp;&nbsp;&nbsp; option directory &lt;local-directory&gt;<br>end-volume<br><br>volume afr<br>&nbsp;&nbsp;&nbsp;&nbsp; type cluster/afr<br>&nbsp;&nbsp;&nbsp;&nbsp; subvolumes local-storage client<br>end-volume<br>
<br>And point your logging process to log on mounted directory.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><p></p>

<p><font face="Arial" size="2">Thanks.</font>
</p>

<p><font face="Arial" size="2">Serge</font>
</p>

</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>gowda<br>