FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Cluster Development

 
 
LinkBack Thread Tools
 
Old 10-20-2010, 06:44 PM
Lon Hohberger
 
Default 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

Signed-off-by: Lon Hohberger <lhh@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
 
Old 10-20-2010, 08:33 PM
"Fabio M. Di Nitto"
 
Default 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

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@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
 

Thread Tools




All times are GMT. The time now is 07:30 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org