Re: Disable rsync compression for georeplication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi John,

There seems to a bug in cli command line parsing which is not allowing 
options prefixed with double hyphen apart from few. As a workaround to fix
this for now, do following steps.

1. Stop geo-replication session.
2. Add the following at the end of the file "/var/lib/glusterd/geo-replication/gsyncd.conf" in all master nodes.
   rsync_options = --compress-level=0
3. Start geo-replication session.

Thanks and Regards,
Kotresh H R

----- Original Message -----
From: "John Gardeniers" <jgardeniers@xxxxxxxxxxxxxxxxx>
To: gluster-users@xxxxxxxxxxx
Sent: Tuesday, November 25, 2014 5:24:18 AM
Subject:  Disable rsync compression for georeplication

Using Gluster 3.4.2, we have a situation where georeplication is causing 
the CPU on the master to be hammered, while the bandwidth is having a 
holiday. I'd therefore like to disable the rsync compression for 
georeplication.

In a response to David F. Robinson asking the same question back in 
August, Vishwanath Bhat wrote:

 > You can use "rsync-options" to specify any rsync options that you 
want to rsync to use. Just make sure that it does not conflict with the 
default rsync options used by geo-rep.
 >
 > For example,
 >
 > #gluster volume geo-replication <MASTER> <SLAVE> config rsync-options 
'--bwlimit=<value>'

Finding no way to negate the --compress option used in georeplication I 
thought that perhaps I could get part way there by simply winding down 
the compression level using "gluster volume geo-replication <MASTER> 
<SLAVE> config rsync-options '--compress-level=0' " (Yes, I did use real 
entries for <MASTER> and <SLAVE>.)

The return from that command was "unrecognized option 
--compress-level=0". I tried a few other numbers and got the same 
negative results.

Can someone please advise how to disable rsync compression for 
georeplication? Thanks.

regards,
John

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users




[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux