Take note of the guest IP address, or hostname if assigned via DHCP.
6.
Copy the domU kernel for Oracle Enterprise Linux 4 Update 5, which can be
found in the directory extra_kernels/EL4U5PV_64 on the Oracle VM Server
installation CD-ROM, to the guest:
# cd extra_kernels/EL4U5PV_64/
# scp kernel-xenU-version.EL.x86_64.rpm 10.1.1.1:
Log in to the guest as root and replace the contents of the /etc/modprobe.conf file
7.
with:
alias scsi_hostadapter xenblk
alias eth0 xennet
Install the kernel-xenU RPM:
8.
# rpm -ivh kernel-xenU-version.EL.x86_64.rpm
warning: kernel-xenU-version.EL.x86_64.rpm: V3 DSA signature: NOKEY, key ID
b38a8516
Preparing...
1:kernel-xenU
WARNING: No module xenblk found for kernel version.ELxenU, continuing anyway
Edit the /boot/grub/grub.conf file in the guest and change the default to point to
9.
this entry:
title Enterprise Linux Enterprise Linux AS (version.ELxenU)
root (hd0,0)
kernel /boot/vmlinuz-version.ELxenU ro root=LABEL=/
initrd /boot/initrd-version.ELxenU.img
Shut down the guest. Modify the host configuration file /etc/xen/el4u5 to an
10.
entry similar to:
name = "el4u5"
memory = "512"
disk = [ 'phy:/dev/VolGroup00/el4u5,hda,w', ]
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot
= 'restart'
on_crash
= 'restart'
Restart the guest, using the xm command-line tool:
11.
# xm create -c el4u5
The hardware configuration is displayed.
Remove the configuration for the network adapter and keyboard.
12.
Log in to the guest, and delete the /etc/sysconfig/hwconf file.
13.
Shut down the guest.
Modify the guest configuration file /etc/xen/el4u5 to add a vif entry similar to:
14.
name = "el4u5"
memory = "512"
disk = [ 'phy:/dev/VolGroup00/el4u5,hda,w', ]
vif = [ 'bridge=xenbr0', ]
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot
= 'restart'
Converting a Hardware Virtualized Guest to a Paravirtualized Guest
########################################### [100%]
########################################### [100%]
Creating a Guest Virtual Machine 4-13
Need help?
Do you have a question about the VM and is the answer not in the manual?