[Gluster-users] File replication

Basavanagowda Kanur gowda at zresearch.com
Tue Nov 11 07:49:19 UTC 2008


Find replies inline.

On Tue, Nov 11, 2008 at 4:06 AM, Aleynikov, Serge <Serge.Aleynikov at gs.com>wrote:

>  Hi,
> I am new to this list, and would like to find out if GlusterFS can serve
> the following need.
> I have N servers running services that log to local disk and I need the
> content of these local logs to be replicated in "close-to-real-time" to some
> central storage to be accessible by other tools.
> Can I use GlusterFS for this purpose?  If so, could you point me to a
> sample configuration setup?
Yes, you can use.

Run glusterfs server on central storage node. with the following spec file

volume storage
    type storage/posix
    option directory <export-directory>

volume server
    type protocol/server
    option transport-type <tcp-or-ibverbs>
    option auth.addr.storage.allow <ipaddress-or-username>
    subvolumes storage

On the machines where your log files are updated, mount glusterfs using the
following spec:

volume client
    type protoco/client
    option remote-host <ipaddress>
    option remote-subvolume storage

volume local-storage
     type  storage/posix
     option directory <local-directory>

volume afr
     type cluster/afr
     subvolumes local-storage client

And point your logging process to log on mounted directory.

> Serge
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20081111/2725867f/attachment.html>

More information about the Gluster-users mailing list