[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.