![Oracle VM Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/oracle/vm/vm_user-manual_1646180033.webp)
Creating a Paravirtualized Guest Manually
Creating a Guest Virtual Machine
4-9
After you create the root file system for the guest, modify the guest configuration files
to reflect its configuration. For example, update /etc/hosts, /etc/fstab and any
network configuration files.
4.5.3 Configuring the Guest
Modify the following guest configuration files to configure the guest:
1.
Edit /mnt/etc/fstab to reflect the mounted file system in the guest.
/dev/sda1 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hda1 is the root of domU as set up in the configuration file.
2.
Edit /mnt/etc/sysconfig/network to include a valid host name.
GATEWAY is the same value 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 machine.
NETWORKING=yes
HOSTNAME=mycomputer.example.com
GATEWAY=139.185.48.1
3.
Edit the /mnt/etc/hosts file to include the IP address and hostname. Make sure
the IP address you use is unique and not being used by another computer.
127.0.0.1 localhost.localdomain localhost
139.185.48.212 mycomputer.example.com hostname
4.
Edit the /mnt/etc/sysconfig/network-scripts/ifcfg-eth0 file. Use the same MAC
address as the vif. If more than one MAC address is exported to the guest
operating system, you must to configure more network interfaces, for example,
eth1, eth2 in dom0.
The NETMASK and BROADCAST address must match the corresponding
network interface in dom0.
HWADDR is same as the MAC address vif.
IPADDR is the same 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
5.
Move /lib/tls to /lib/tls.disabled.
# mv /mnt/lib/tls /mnt/lib/tls.disabled
6.
Unmount /mnt.
# unmount /mnt
Содержание 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 ...