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.
Содержание VM
Страница 1: ...Oracle VM Server User s Guide Release 2 1 E10898 04 June 2009 ...
Страница 10: ...x ...
Страница 16: ...Oracle VM 1 4 Oracle VM Server User s Guide ...
Страница 24: ...Monitoring Oracle VM Agent 3 4 Oracle VM Server User s Guide ...
Страница 40: ...Installing Paravirtual Drivers 4 16 Oracle VM Server User s Guide ...
Страница 44: ...Using the xm Command Line Interface 5 4 Oracle VM Server User s Guide ...
Страница 50: ...Migrating a Domain 6 6 Oracle VM Server User s Guide ...
Страница 54: ...Removing a Repository 7 4 Oracle VM Server User s Guide ...
Страница 68: ...Enabling HA 9 8 Oracle VM Server User s Guide ...
Страница 88: ...Oracle VM Server Configuration File B 6 Oracle VM Server User s Guide ...
Страница 96: ...Oracle VM Agent Deployment D 4 Oracle VM Server User s Guide ...
Страница 104: ...Attaching to a Console with the Grub Boot Loader E 8 Oracle VM Server User s Guide ...
Страница 108: ...Xen Glossary 4 ...
Страница 112: ...Index 4 ...