WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-api

Re: [Xen-API] XCP - live migration trouble [SOLUTION]

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-API] XCP - live migration trouble [SOLUTION]
From: George Shuklin <george.shuklin@xxxxxxxxx>
Date: Fri, 04 Mar 2011 22:20:05 +0300
Delivery-date: Fri, 04 Mar 2011 11:20:20 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=PScCCACjoU6fCAlfhkkRtDKIpGfHRjGVjOO/rEFh/bE=; b=xadJMoYkv4wgid1hOdrd2FbgeTZMhfKPzIDf9NC6ev3WWOfdYH4tlaL7O/or8w9fh+ jJi0WPBU90wsadG4GJ7PsGPLiUM+GII5uNrrJjoiaQVaj0SEvlSucP4djZVsJvzLXBsd 8HKeeWqpk2qAvJpcQOLRNPkNzMmLgbn5Xith8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=PTao5d/08fVfXwumjDESNSMQnu9jkX/L1lQLAIVjveC4VrOvMUt1NEjUJMl51jSieY yXT9NQxJ/nwYeR4E/wrs4sk/p/E3KjptK+0QluPk8zI7GvWQQKs3DUJ8y+pkQjWHHzuU l8wymYRHQxEWa3NVUxxbm+p5FbRG3FuqsjntM=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <00b901cbda8e$c8f43590$5adca0b0$@xinet.it>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <00b901cbda8e$c8f43590$5adca0b0$@xinet.it>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Good day, everyone.

How to solve

1) I don't know what happens to HVM (include windows).
2) This works with PV linux

3) Upgrade master (I you have interest in this you are already done
this).

4) Run on every slave to be evacuated following script:

--------------
#!/bin/sh
domlist=`xl list|tail -n +2|awk '{print $2}'`
for dom in $domlist;
do
        xenstore-write /local/domain/$dom/attr/PVAddons/MajorVersion "1"
        xenstore-write /local/domain/$dom/attr/PVAddons/MinorVersion "3"
        xenstore-write /local/domain/$dom/attr/PVAddons/MicroVersion "3"
        xenstore-write /local/domain/$dom/attr/PVAddons/Installed "1"
        xenstore-write /local/domain/$dom/attr/PVAddons/BuildVersion
"42052"
        xenstore-write /local/domain/$dom/data/updated 1
done
-----------------

5) Do evacuation.
...
6) PROFIT???

I think I found source of problem:

guest tools declare version major=1, minor=0, but XCP 1.0 expect to have
1.3:

xensource.log

[debug|Logging xapi version info D:4634c2be5fc0|xapi] Server
configuration:
[debug|Logging xapi version info D:4634c2be5fc0|xapi] product_version:
1.0.0
[debug|Logging xapi version info D:4634c2be5fc0|xapi] product_brand: XCP
[debug|Logging xapi version info D:4634c2be5fc0|xapi] build_number:
42052c
[debug|Logging xapi version info D:4634c2be5fc0|xapi] hg changeset: 
[debug|Logging xapi version info D:4634c2be5fc0|xapi] version: 1.3
[debug|Logging xapi version info D:4634c2be5fc0|xapi] License
filename: /etc/xensource/license

the version 1.3 is a source of problems.



В Пт., 04/03/2011 в 18:08 +0100, cluster@xxxxxxxx пишет:
> Hi all,
> 
>  
> 
> I am experimenting live migration issue with XCP 1.0.
> 
>  
> 
> When I try to migrate a vm between hosts I receive this error:
> 
>  
> 
> [root@xcp1 ~]# xe vm-migrate vm=Nettuno host=xcp1 live=true
> 
> You attempted an operation on a VM which requires a more recent
> version of the PV drivers. Please upgrade your PV drivers.
> 
> vm: 538d4021-affa-e54e-a8ea-c3a9feca56db (Nettuno)
> 
> major: 1
> 
> minor: 0
> 
> <extra>: 0
> 
>  
> 
> Am I missing something?
> 
>  
> 
> Thanks and regards,
> 
> Francesco Gallo
> 
> 
> _______________________________________________
> xen-api mailing list
> xen-api@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/mailman/listinfo/xen-api



_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api