EasyManuals Logo

Oracle VM User Manual

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
Page #39 background imageLoading...
Page #39 background image
Installing Paravirtual Drivers
Creating a Guest Virtual Machine 4-15
http://linux.oracle.com/
2.
Modify the /etc/modprobe.conf file to comment out existing eth0 line and add the
following lines:
alias scsi_hostadapter xen_vbd
alias eth0 xen_vnif
3. Run depmod.
4. Edit the /etc/xen/vm.cfg file to replace the vif entry to:
vif = [ '', ] # for PVM
or
vif = [ 'type=netfront, ', ] # for PVHVM
5. Shut down the domain:
# xm shutdown mydomain
6. Start the domain:
# xm create /OVS/running_pool/myguest/vm.cfg
7. When prompted by kudzu, remove the old network configuration.
8. In the newly booted guest operating system, run the following command to find
the new MAC address for eth0:
# ifconfig eth0
9. Edit the /etc/xen/vm.cfg file to add the new MAC address:
vif = [ 'mac=xx:xx:xx:xx:xx:xx, bridge=xenbr0', ] # for HVM
or
vif = [ 'type=netfront, mac=xx:xx:xx:xx:xx:xx, bridge=xenbr0', ] # for PVHVM
10. Create or edit the /etc/sysconfig/network-scripts/ifcfg-eth0 file with the
following contents:
TYPE=Ethernet
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=xx:xx:xx:xx:xx:xx
11. Create a new initrd image. Use the kernel version for your guest operating system.
# mkinitrd -f /boot/initrd-2.6.9-42.0.3.8.2.ELsmp.img 2.6.9-42.0.3.8.2.ELsmp
--omit-scsi-modules --with=xen-vbd
12. Reboot the domain.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Oracle VM and is the answer not in the manual?

Oracle VM Specifications

General IconGeneral
Live MigrationYes
DeveloperOracle Corporation
Storage SupportNFS, iSCSI, Fibre Channel, Local Storage
CategoryServer
Host OS SupportOracle Linux, Red Hat Linux, SUSE Linux
Guest OS SupportOracle Linux, Red Hat Linux, SUSE Linux, Windows, Solaris
ManagementOracle VM Manager
High AvailabilityYes
Network SupportVLAN

Related product manuals