Skip to contentSkip to conversation

Adding 'virsh migrate migrate-setspeed' support to the vm RA

Cluster-devel Digimer 2 participants 3 messages Sep 4, 2015 – Sep 14, 2015

lore
Share & tools
lore

Digimer

author
#0 lore raw

Hi all,

I hit an issue a little while ago where live-migrating a VM (on the
same management network normally used for corosync and a few other monitoring tasks) ate up all the bandwidth, causing corosync to declare a failure and triggering a fence.

I've dealt with this, in part, by adding redundant ring support on a
different network. However, I'd like to also limit the migration bandwidth so that I don't need to fail over the ring in the first place.

Is it reasonable/feasible to add 'virsh migrate-setspeed' support to
the vm.sh RA? Something like; 'setspeed="75MiB"'?

Signature · 4 lines
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
#1 lore raw

Hi Digimer,

Quoted 10 lines · Digimer

Hi all,

I hit an issue a little while ago where live-migrating a VM (on the
same management network normally used for corosync and a few other monitoring tasks) ate up all the bandwidth, causing corosync to declare a failure and triggering a fence.

I've dealt with this, in part, by adding redundant ring support on a
different network. However, I'd like to also limit the migration bandwidth so that I don't need to fail over the ring in the first place.

As you certainly know, heavy traffic networks are not well suited for the latency sensitive cluster communication. Best to have the two separated.

Quoted 2 lines

Is it reasonable/feasible to add 'virsh migrate-setspeed' support to
the vm.sh RA? Something like; 'setspeed="75MiB"'?

Yes, sounds like a good idea. Care to open an issue in github?

Thanks,

Dejan

Quoted 13 lines
Signature · 12 lines
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?

_______________________________________________
Users mailing list: Users at clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
author
#2 lore raw
Quoted 10 lines · Dejan Muhamedagic

Hi Digimer,

Quoted 7 lines · Digimer

Hi all,

I hit an issue a little while ago where live-migrating a VM (on the
same management network normally used for corosync and a few other monitoring tasks) ate up all the bandwidth, causing corosync to declare a failure and triggering a fence.

Quoted 7 lines
Quoted 3 lines

I've dealt with this, in part, by adding redundant ring support on a
different network. However, I'd like to also limit the migration bandwidth so that I don't need to fail over the ring in the first place.

As you certainly know, heavy traffic networks are not well suited for the latency sensitive cluster communication. Best to have the two separated.

Oh for sure, but I've already hit 6 NICs per node (back-channel, normally just corosync, storage dedicated to DRBD and internet-facing dedicated to the user app). Adding two more NICs just for live migration, which happens very rarely, is hard to justify, despite this issue. If I can't reliably solve it with this (and/or tc and/or rrp...) then I will revisit this option.

Quoted 8 lines
Quoted 2 lines

Is it reasonable/feasible to add 'virsh migrate-setspeed' support to
the vm.sh RA? Something like; 'setspeed="75MiB"'?

Yes, sounds like a good idea. Care to open an issue in github?

Thanks,

Dejan

Done.

https://github.com/ClusterLabs/resource-agents/issues/679

Signature · 4 lines
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?