[Gluster-users] File replication

Aleynikov, Serge Serge.Aleynikov at gs.com
Tue Nov 11 14:38:56 UTC 2008

Does the fact of using AFR to replicate locally written logs by a client
process to a central server slow down the performance of a local writer?


	From: basavanagowda at gmail.com [mailto:basavanagowda at gmail.com]
On Behalf Of Basavanagowda Kanur
	Sent: Tuesday, November 11, 2008 2:49 AM
	To: Aleynikov, Serge
	Cc: gluster-users at gluster.org
	Subject: Re: [Gluster-users] File replication
	Find replies inline.
	On Tue, Nov 11, 2008 at 4:06 AM, Aleynikov, Serge
<Serge.Aleynikov at gs.com> wrote:


		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

		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.




		Gluster-users mailing list
		Gluster-users at gluster.org


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

More information about the Gluster-users mailing list