On 08/24/2013 04:42 PM, Janantha Marasinghe wrote:
Which will allow say for example user in network 1 talk to server in
network 1 and that server gets syncd with server in network 2 ?

What is the latency between network 1 and network 2? Volume type replica provides synchronous replication and latency has a significant impact on the overall performance of writes/updates with synchronous replication.

geo-replication provides asynchronous replication and is currently unidirectional (master - slave). If you can use asynchronous replication, you can define two master volumes, one in network 1 and other in network 2. You would also need to define two corresponding slave volumes in network 1 and network 2. With this setup, your clients would be writing to the local network and there should be a general performance improvement.

Are you making use of the samba vfs plugin to access gluster volumes?

Regards,
Vijay

From: Joel Young <[email protected] <mailto:[email protected]>>
Date: Saturday, August 24, 2013 8:57 AM
To: Janantha Marasinghe <[email protected]
<mailto:[email protected]>>
Cc: gluster-users <[email protected]
<mailto:[email protected]>>
Subject: Re: [Gluster-users] Slow writing on mounted glusterfs volume
via Samba

Sounds like geo sync would be what you want.

On Aug 23, 2013 8:20 AM, "Janantha Marasinghe" <[email protected]
<mailto:[email protected]>> wrote:

    Hi guys,

    I have configured gluster fs in replication mode in two ubuntu
    servers. Windows users use samba sharing to access the mounted
    volume. Basically my setup is that client machines on each site
    connect to its local file server so it has the fattest connection.
    Two files servers are connected via VPN tunnel which has really high
    bandwidth

    Right now it is very slow to write files to the volume. Is there any
    way that I can configure smb.conf or gluster so that it writes to
    the local brick and that brick gets synced to the other side. How
    can I make writing/reading files faster via samba.



    _______________________________________________
    Gluster-users mailing list
    [email protected] <mailto:[email protected]>
    http://supercolony.gluster.org/mailman/listinfo/gluster-users



_______________________________________________
Gluster-users mailing list
[email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-users


_______________________________________________
Gluster-users mailing list
[email protected]
http://supercolony.gluster.org/mailman/listinfo/gluster-users

Reply via email to