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

Fabio M. Di Nitto fdinitto at redhat.com
Wed Oct 20 20:33:20 UTC 2010


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

Fabio

On 10/20/2010 08:44 PM, Lon Hohberger wrote:
> 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




More information about the Cluster-devel mailing list