Skip to contentSkip to conversation

vm.sh: Fix Xen 4.0.1 / libvirt 0.8.2 live migration

PATCH New Lon Hohberger 2 participants 2 messages Oct 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 vm.sh: Fix Xen 4.0.1 / libvirt 0.8.2 live migration

Newer versions of Xen and libvirt use encryption when performing migrations.

This can be set up using TLS / X509 certificates, but this is complicated to set up.

This patch changes the default protocol from TLS to SSH when performing Xen migrations (the default for qemu/KVM has always been SSH).

Resolves: Fedora #644949

---
 rgmanager/src/resources/vm.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
rgmanager/src/resources/vm.sh +1 -1
index e23d5ba..2e4034c 100644
@@ -795,7 +795,7 @@ validate_all()
 
 		# I just need to believe in it more.
 		if [ "$OCF_RESKEY_hypervisor" = "xen" ]; then
-			OCF_RESKEY_hypervisor_uri="xen:///"
+			OCF_RESKEY_hypervisor_uri="xen+ssh:///"
 		fi
 
 		echo Hypervisor URI: $OCF_RESKEY_hypervisor_uri
Signature · 1 line
1.7.2.3
#1 lore raw

PATCH 1/1 vm.sh: Fix Xen 4.0.1 / libvirt 0.8.2 live migration

If older versions of Xen can handle xen+ssh, patch is ACK.

Fabio

Quoted 30 lines · Lon Hohberger

Newer versions of Xen and libvirt use encryption when performing migrations.

This can be set up using TLS / X509 certificates, but this is complicated to set up.

This patch changes the default protocol from TLS to SSH when performing Xen migrations (the default for qemu/KVM has always been SSH).

Resolves: Fedora #644949

---
 rgmanager/src/resources/vm.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
rgmanager/src/resources/vm.sh +1 -1
index e23d5ba..2e4034c 100644
@@ -795,7 +795,7 @@ validate_all()
 
 		# I just need to believe in it more.
 		if [ "$OCF_RESKEY_hypervisor" = "xen" ]; then
-			OCF_RESKEY_hypervisor_uri="xen:///"
+			OCF_RESKEY_hypervisor_uri="xen+ssh:///"
 		fi
 
 		echo Hypervisor URI: $OCF_RESKEY_hypervisor_uri