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

Re: [Xen-users] XCP: Migrating VM from Xen (legacy) to XCP

To: "Angel L. Mateo" <amateo@xxxxx>
Subject: Re: [Xen-users] XCP: Migrating VM from Xen (legacy) to XCP
From: David Markey <admin@xxxxxxxxxxx>
Date: Wed, 10 Mar 2010 13:56:49 +0000
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 10 Mar 2010 05:58:40 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4B979F84.80103@xxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4B9777B3.1010808@xxxxx> <6894a6471003100250k166e369cha2005df5027d9b27@xxxxxxxxxxxxxx> <4B979F84.80103@xxxxx>
Reply-to: admin@xxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
You're not using pygrub so migrating this to XCP wont be easy.

OK, so copy 

/boot/vmlinuz-2.6.26-1-xen-amd64
/boot/initrd.img-2.6.26-1-xen-amd64 

to lets say /opt/kernels on the server(use sftp)

Then do the following.

xe vm-param-set uuid=<vm uuid>  PV-kernel=/opt/kernels/vmlinuz-2.6.26-1-xen-amd64 PV-ramdisk=/opt/kernels/initrd.img-2.6.26-1-xen-amd64 PV-bootloader=






On 10 March 2010 13:32, Angel L. Mateo <amateo@xxxxx> wrote:
On 10/03/10 11:50, David Markey wrote:
Please post the complete guest config file from your debian machine.


#
#  Kernel + memory size
#
kernel      = '/boot/vmlinuz-2.6.26-1-xen-amd64'
ramdisk     = '/boot/initrd.img-2.6.26-1-xen-amd64'
memory      = '1024'

#
#  Disk device(s).
#
root        = '/dev/sda2 ro'

disk        = [
                 'phy:/dev/vm_volumes/nyctalus10-swap,sda1,w',
                 'phy:/dev/vm_volumes/nyctalus10-disk,sda2,w',
             ]


#
#  Hostname
#
name        = 'nyctalus10'

#
#  Networking
#
vif         = [ 'ip=<ip>, bridge=xen-br212, mac=<mac>' ]

extra="clocksource=jiffies"

#
#  Behaviour
#
> on_reboot   = 'restart'
on_crash    = 'restart'




--
Angel L. Mateo Martínez
Sección de Telemática
Área de Tecnologías de la Información       _o)
y las Comunicaciones Aplicadas (ATICA)      / \\
http://www.um.es/atica                    _(___V
Tfo: 868887590
Fax: 868888337

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users