|
|
|
|
|
|
|
|
|
|
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'
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|