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

Also set PV-args="clocksource=jiffies root=/dev/xvda"

One important thing to remember is XenServer/XCP uses xvd/a/b/c/d device names in the guest.

In this case you will have to change sda2 to xvda in /etc/fstab and if using pygrub, /boot/grub/menu.lst. Its important to change this in menu.lst *before* migrating to XCP.



On 10 March 2010 13:56, David Markey <admin@xxxxxxxxxxx> wrote:
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