Migration Bandwidth / Speed Issues

fpeter

New Member
Nov 20, 2012
4
0
1
Hi all,

I have a question regarding speed limitation on migration between two nodes.

We have a productive cluster with 6 hosts and local storage only (we're hosting an own software product with scripted failover capabilities, so local storage and hostnodes on different UPS's is enough HA for us, so we don't want to rely on central storage).

For load balancing purposes, we need to migrate hosts quite often from one node to another. Since our software generates quite a lot of I/O on our disks, a migration on full speed (so without '--bwlimit' in rsync options) kills the performance of our services.

I just wondered if there's a proper solution to set --bwlimit or limit the I/O priority of the rsync process with Proxmox' board features. I've come across this thread but I don't really want to set this right in the source code, if there's another option.

Thanks in advance!

Fabian
 
So, if I get this right, there's no other way then to add the rsync option for bwlimit in the code directly?
 
So, if I get this right, there's no other way then to add the rsync option for bwlimit in the code directly?

mv /usr/bin/rsync /usr/bin/rsync_orig
echo -e '#!/bin/bash\n/usr/bin/rsync_orig --bwlimit=6400 $@' > /usr/bin/rsync
chmod a+x /usr/bin/rsync