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 #35 background imageLoading...
Page #35 background image
Creating a Hardware Virtualized Guest Manually
Creating a Guest Virtual Machine 4-11
3.
Mount the guest root file system to /mnt to enable you to modify the
configuration files.
4. Edit /mnt/etc/sysconfig/network to specify the host name.
GATEWAY is same as dom0.
Hostname is the name of the virtual machine, for example,
mycomputer.example.com. Make sure the name you use is unique and not being
used by another computer.
NETWORKING=yes
HOSTNAME=mycomputer.example.com
GATEWAY=10.1.1.1
5. Edit the /mnt/etc/hosts file to include the hostname and IP address. Make sure
that the IP address you use is unique and not being used by another machine.
127.0.0.1 localhost.localdomain localhost
10.1.1.1 mycomputer.example.com hostname
6. Edit /mnt/etc/sysconfig/network-scripts/ifcfg-eth0.
Use the same MAC address as you use for the vif. If more than one MAC address
is exported to the guest operating system, you must configure more network
interfaces, for example, eth1, eth2.
The NETMASK and BROADCAST address must match the corresponding
network interface in dom0.
HWADDR is same as the MAC address in vif.
IPADDR is as in the /mnt/etc/hosts file.
DEVICE=eth0
BOOTPROTO=static
HWADDR=00:50:56:02:ff:d3
IPADDR=10.1.1.1
NETMASK=255.255.254.0
BROADCAST=10.1.1.255
ONBOOT=yes
TYPE=Ethernet
The /etc/fstab file does not require modification with a hardware virtualized
guest. Hardware virtualized guests boot as a normal operating system. It reads the
partition table as usual at boot time.
7. Unmount /mnt.
# unmount /mnt
8. Create the guest.
# xm create -c /etc/xen/domain-config-file
9. Use VNCViewer to display the guest.
# vncviewer hostname_of_dom0
# password : welcome
The guest is displayed.

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