EasyManua.ls Logo

Oracle VM - Page 37

Default Icon
112 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Converting a Hardware Virtualized Guest to a Paravirtualized Guest
Creating a Guest Virtual Machine 4-13
6.
Take note of the guest IP address, or hostname if assigned via DHCP.
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:
7. Log in to the guest as root and replace the contents of the /etc/modprobe.conf file
with:
alias scsi_hostadapter xenblk
alias eth0 xennet
8. Install the kernel-xenU RPM:
# 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... ########################################### [100%]
1:kernel-xenU ########################################### [100%]
WARNING: No module xenblk found for kernel version.ELxenU, continuing anyway
9. Edit the /boot/grub/grub.conf file in the guest and change the default to point to
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
10. Shut down the guest. Modify the host configuration file /etc/xen/el4u5 to an
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'
11. Restart the guest, using the xm command-line tool:
# xm create -c el4u5
The hardware configuration is displayed.
12. Remove the configuration for the network adapter and keyboard.
13. Log in to the guest, and delete the /etc/sysconfig/hwconf file.
Shut down the guest.
14. Modify the guest configuration file /etc/xen/el4u5 to add a vif entry similar to:
name = "el4u5"
memory = "512"
disk = [ 'phy:/dev/VolGroup00/el4u5,hda,w', ]
vif = [ 'bridge=xenbr0', ]
bootloader="/usr/bin/pygrub"
vcpus=1
on_reboot = 'restart'

Table of Contents

Related product manuals