Difference between revisions of "Agile testbed"
From PDP/Grid Wiki
Jump to navigationJump to searchLine 172: | Line 172: | ||
See [[NDPF_Node_Functions#P4CTB|the official list]] of machines for the most current view. | See [[NDPF_Node_Functions#P4CTB|the official list]] of machines for the most current view. | ||
+ | |||
+ | === Migrating Xen VMs to KVM === | ||
+ | |||
+ | These are a few temporary notes made during the conversion of VMs on toom to blade14. | ||
+ | |||
+ | ==== preparation ==== | ||
+ | |||
+ | # Log in to the VM; | ||
+ | # if this is a paravirtualized machine, install the 'kernel' package in addition to the 'kernel-xen' package or the machine won't run at all. | ||
+ | # Edit /etc/grub to remove the xvc0 console setting. | ||
+ | # Edit /etc/inittab to remove the lone serial console and re-enable the normal ttys. | ||
+ | # Restore /etc/sysconfig/network-scripts/ifcfg-eth0.bkp to start the network. | ||
+ | # Then shut down the machine. | ||
+ | # After shutdown, copy the VM disk image to put:/mnt/put/stampede or (if LVM was used) dd the volume to put. | ||
+ | |||
+ | ==== create a new machine ==== | ||
+ | |||
+ | Connect to blade14.testbed with virt-manager and start the new machine wizard. | ||
+ | * Use an existing image (the one you just made) | ||
+ | * set a fixed MAC address (found in /root/xen/''machine-definition.vm'' | ||
+ | * set the disk emulation to IDE | ||
+ | * On first boot, intercept the grub menu to choose the non-Xen kernel | ||
== Accessing the machines == | == Accessing the machines == |