[Cluster-devel] [PATCH] vm.sh: Fix Xen 4.0.1 / libvirt 0.8.2 live migration

Lon Hohberger lhh at redhat.com
Wed Oct 20 18:44:49 UTC 2010


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

Signed-off-by: Lon Hohberger <lhh at redhat.com>
---
 rgmanager/src/resources/vm.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rgmanager/src/resources/vm.sh b/rgmanager/src/resources/vm.sh
index e23d5ba..2e4034c 100644
--- a/rgmanager/src/resources/vm.sh
+++ b/rgmanager/src/resources/vm.sh
@@ -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
-- 
1.7.2.3




More information about the Cluster-devel mailing list