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

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

To: "'George Shuklin'" <george.shuklin@xxxxxxxxx>, <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: R: R: [Xen-API] XCP - live migration trouble [SOLUTION]
From: <cluster@xxxxxxxx>
Date: Mon, 7 Mar 2011 16:10:19 +0100
Cc: 'Lars Kurth' <lars.kurth@xxxxxxx>
Delivery-date: Mon, 07 Mar 2011 07:11:25 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D74EE9C.1050607@xxxxxxxxx>
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> <1299266405.2753.33.camel@mabase> <000401cbdcbb$fc1830f0$f44892d0$@xinet.it> <4D74EE9C.1050607@xxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AQJ0SudipR+4cq2M6OMYZz56TBoJbAEjuEojAr+B5dMCsonBEZKcbmQw

Here it is the solution: i used xencenter version:

 

#!/bin/sh

domlist=`xe vm-list params=dom-id power-state=running|tail -n +2|awk '{print $5}'`

 

for dom in $domlist;

do

       xenstore-write /local/domain/$dom/attr/PVAddons/MajorVersion "5"

        xenstore-write /local/domain/$dom/attr/PVAddons/MinorVersion "6"

        xenstore-write /local/domain/$dom/attr/PVAddons/MicroVersion "199"

        xenstore-write /local/domain/$dom/attr/PVAddons/Installed "1"

        xenstore-write /local/domain/$dom/attr/PVAddons/BuildVersion "38895"

        xenstore-write /local/domain/$dom/data/updated 1

        echo $dom

done

 

and everything works fine without xenserver tools.

 

Thanks for your help George.

 

For Lars, is it possible to use /etc/xensource/xapi_version_override to solve this issue too?

 

Regards,

FG

 

Da: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxxxxxxxx] Per conto di George Shuklin
Inviato: lunedì 7 marzo 2011 15:42
A: xen-api@xxxxxxxxxxxxxxxxxxx
Oggetto: Re: R: [Xen-API] XCP - live migration trouble [SOLUTION]

 

Hm... Strange, I already done with migration of VM from slave (0.5) to master (1.0).

Actually, I do a lot of tests before, so this script may be no completed.

Guess #1: actually, I don't use guest tools for linux (it's kinda strange for PV kernels...), so try to disable guest tools and run this script again.
Guess #2: I put a higher versions during my tests. So use 99 instead '1' and '3' (and something like 99999 for Build Version).

And you can see state of guest tools by 'xe vm-list params=PV-drivers-up-to-date,PV-drivers-version', it must shows 'true for up-to-date'.

 

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