Oracle® VM Server User’s Guide Release 2.1.
Oracle VM Server User’s Guide, Release 2.1.1 E10898-02 Copyright © 2008, Oracle. All rights reserved.
Contents Preface ................................................................................................................................................................ vii Audience...................................................................................................................................................... Documentation Accessibility .................................................................................................................... Command Syntax ...........
3.7.3 3.8 3.8.1 3.8.2 Remotely Stopping a Guest with the Oracle VM Agent API ........................................ Oracle VM Agent Utilities ......................................................................................................... Monitoring a Guest with the Oracle VM Agent.............................................................. Deleting a Guest with the Oracle VM Agent ................................................................... 3-5 3-5 3-5 3-5 4 Creating a Guest 4.1 4.
B Oracle VM Server Configuration File Oracle VM Server Configuration File ..................................................................................... B-2 C Guest Configuration Files C.1 C.2 Configuration File Example 1 .................................................................................................. C-1 Configuration File Example 2 .................................................................................................. C-1 D Oracle VM Agent Architecture D.1 D.
vi
Preface The preface contains information on how to use the Oracle VM Server User’s Guide. The areas discussed are: ■ Audience ■ Documentation Accessibility ■ Command Syntax ■ Related Documents ■ Conventions Audience The Oracle VM Server User’s Guide is intended for system administrators and end users who wish to learn the fundamentals of virtualization and the provision of virtual guest operating systems.
TTY Access to Oracle Support Services Oracle provides dedicated Text Telephone (TTY) access to Oracle Support Services within the United States of America 24 hours a day, 7 days a week. For TTY support, call 800.446.2398. Outside the United States, call +1.407.458.2479. Command Syntax UNIX command syntax appears in monospace font. The dollar character ($), number sign (#), or percent character (%) are UNIX command prompts. Do not enter them as part of the command.
Conventions The following text conventions are used in this document: Convention Meaning boldface Boldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary. italic Italic type indicates book titles, emphasis, or placeholder variables for which you supply particular values. monospace Monospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter.
x
1 Introduction to Virtualization 1 This Chapter provides introductory information on virtualization. It discusses why you would want to use virtualization, the technology provided, and features of Oracle VM. It contains the following sections: ■ What is Virtualization? ■ Why Virtualize? ■ Xen™ Technology ■ Oracle VM 1.1 What is Virtualization? Virtualization is the ability to run multiple virtual machines on a single piece of hardware.
Xen™ Technology administration costs, fewer computers can be used to achieve the same goal. Administration and physical setup is less time consuming and costly. ■ ■ ■ Isolation: Virtual machines run in sand-boxed environments. They cannot access each other, so if one virtual machine performs poorly, or crashes, it does not affect any other virtual machine.
Oracle VM ■ ■ Oracle VM Server: A self-contained virtualization environment designed to provide a lightweight, secure, server-based platform for running virtual machines. Oracle VM Server is based upon an updated version of the underlying Xen hypervisor technology, and includes Oracle VM Agent. Oracle VM Agent: Installed with Oracle VM Server. It communicates with Oracle VM Manager for management of virtual machines. Figure 1–1, "Oracle VM Architecture" shows the components of Oracle VM.
Oracle VM 1-4 Oracle VM Server User’s Guide
2 Oracle VM Server 2 This Chapter contains an overview of Oracle VM Server and the underlying hypervisor, the components of virtual machines and domains, and gets you started with the tools to create and manage guests. This Chapter contains: ■ Oracle VM Server ■ Hypervisor ■ Domains, Guests and Virtual Machines ■ Management Domain ■ Domains ■ Hardware Virtualization Vs. Paravirtualization ■ Creating Virtual Machines ■ Managing Domains 2.
Hypervisor 2.2 Hypervisor Oracle VM Server is architected such that the hypervisor (or monitor, or Virtual Machine Manager) is the only fully privileged entity in the system, but is also extremely small and tightly written. It controls only the most basic resources of the system, including CPU and memory usage, privilege checks, and hardware interrupts. 2.3 Domains, Guests and Virtual Machines The terms domain, guest and virtual machine are often used interchangeably, but they have subtle differences.
Managing Domains any instruction is executed which would violate the isolation with other guests or dom0. In the current implementation, there may be performance penalty for certain types of guests and access types, but hardware virtualization also allows many Microsoft Windows™ operating systems and legacy operating systems to run unmodified. 2.
Configuring Oracle VM Server 2.9 Configuring Oracle VM Server You can configure Oracle VM Server using the configuration file. The configuration file options are available in the /etc/xen/xend-config.sxp file. When you make changes to this file, you must restart Oracle VM Server for the changes to take effect. See Appendix B, "Oracle VM Server Configuration File" for more information on the configuration options. 2.
3 Oracle VM Agent 3 Oracle VM Manager communicates with Oracle VM Agent to create and manage guests on an Oracle VM Server. Oracle VM Agent is installed and configured during the installation of Oracle VM Server. You do not need to install Oracle VM Agent separately. Oracle VM Agent is installed into: /opt/ovs-agent-2.2 Installation logs are located in: /opt/ovs-agent-2.2/logs/ovs_trace.log This Chapter discusses the configuration and control of Oracle VM Agent.
Configuring Oracle VM Agent service ovs-agent configure 2. You are prompted whether you want to enable SSL (Secure Sockets Layer) in XMLRPC. ;ssl support -;enable ssl support in xmlrpc transport?(enable/disable) ssl=disable ssl SSL support is disabled by default. Enter enable to enable support, or disable to disable it. If you do not enter anything, the setting is not changed. Press Enter. 3. You are prompted to enter the IP addresses that are allowed to access to the computer.
Oracle VM Agent API 3.3 Starting Oracle VM Agent Oracle VM Agent is started automatically when the computer starts. To manually start Oracle VM Agent, enter service ovs-agent start Oracle VM Agent is started. Alternatively, if Oracle VM Agent is already running, you can stop and restart it with the command service ovs-agent restart Oracle VM Agent is stopped, and restarted. 3.4 Stopping Oracle VM Agent To stop Oracle VM Agent, enter service ovs-agent stop Oracle VM Agent is stopped.
Oracle VM Agent API ■ Testing the Oracle VM Agent Connection ■ Remotely Starting a Guest with the Oracle VM Agent API ■ Remotely Stopping a Guest with the Oracle VM Agent API The following sections discuss commands that must be run from a computer on which Oracle VM Server is installed. The functionality discussed is to be used to communicate from one Oracle VM Server to another Oracle VM Server. Note: 3.7.1 Testing the Oracle VM Agent Connection You can use the do_rpc.
Oracle VM Agent Utilities 3.7.3 Remotely Stopping a Guest with the Oracle VM Agent API You can use the do_rpc.py utility to remotely stop a guest on an Oracle VM Server from another computer with Oracle VM Server installed. The following command remotely stops a guest on an Oracle VM Server: # /opt/ovs-agent-2.2/utils/do_rpc.
Oracle VM Agent Utilities 3-6 Oracle VM Server User’s Guide
4 Creating a Guest 4 This Chapter contains information on how to create a guest operating system. You can create paravirtualized guests and hardware virtualized guests using a guest template, or using the command-line tool virt-install. virt-install can be used as an interactive shell, or all parameters can be given at the same time from the command-line.
Supported Guest Operating Systems Table 4–1 (Cont.) 64-bit Hypervisor Supported Guest Operating Systems Paravirtualized Guest Operating Systems 32-bit Paravirtualized 64-bit Hardware Virtualized 32-bit Hardware Virtualized 64-bit Oracle Enterprise Linux Release 4.x Yes Yes Yes Yes Yes1 Yes Yes Yes RedHat Enterprise Linux 4.x Oracle Enterprise Linux Release 5.x RedHat Enterprise Linux 5.x 1 The xm save and xm restore commands are not supported.
Creating a Guest Using a Template 4.2 Mounting an ISO You cannot create a guest from a local hard disk or CD-ROM using the virt-install command-line tool. You can, however, create an installation tree on the host operating system, and mount it as an NFS share. For example # mkdir -p /el/EL5-x86 # mount -o ro,loop /path/to/Enterprise-R5-x86-dvd.iso /el/EL5-x86 # exportfs *:/el/EL5-x86/ When you create the guest using the virt-install command-line tool, enter the installation location as: nfs:example.
Creating a Guest Using virt-install tar -xzvf OVM_EL4U5_X86_HVM.tgz 2. Modify the vm.cfg file to change the directories to that of your environment. The entries you should modify are image, kernel and ramdisk. For example disk = [ 'file:/OVS/seed_pool/para_seed/system.img,hda,w', ] kernel = '/OVS/seed_pool/para_seed/vmlinuz-2.6.9-42.32.0.0.1.ELxenU' ramdisk = '/OVS/seed_pool/para_seed/initrd-2.6.9-42.32.0.0.1.ELxenU.img' Should be modified as follows: disk = [ 'file:/OVS/local/para_seed/system.
Creating a Guest Using virt-install 2. If the host is capable of creating a hardware virtualized guest, the following question is displayed: Would you like a fully virtualized guest (yes or no)? Creating a hardware (fully) virtualized guest allows you to run unmodified operating systems, such as Microsoft Windows. Enter no to create a paravirtualized guest, or enter yes to create a hardware virtualized guest. Press Enter. 3.
Creating a Guest Using virt-install 7. The following question is displayed: Would you like to enable graphics support (yes or no)? Graphics support determines whether a virtual graphics card is available to the guest. If you are creating a hardware virtualized guest, you should always answer yes to this question. If you are creating a paravirtualized guest, you can answer yes, or no. Press Enter. 8.
Creating a Paravirtualized Guest Manually 4.6 Creating a Paravirtualized Guest Manually To manually create a paravirtualized guest: 1. Create the root file system 2. Populate the root file system 3. Configure the guest 4.6.1 Creating the Root File System To create the root file system: 1. Create a root partition for the guest.
Creating a Paravirtualized Guest Manually 4.6.2 Populating the Root File System The root file system for the guest may be populated in a number of ways: ■ Copying the root file system of dom0 ■ Installing an operating system 1.
Creating a Hardware Virtualized Guest Manually 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.
Creating a Hardware Virtualized Guest Manually import os, re arch = os.uname()[4] if re.
Converting a Hardware Virtualized Guest to a Paravirtualized Guest 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.
Converting a Hardware Virtualized Guest to a Paravirtualized Guest # virt-install -n el4u4 -f /dev/VolGroup00/el4u4 -v -c /root/Enterprise-R4-U4-x86_64-dvd.iso -r 512 --vnc If you see this error message: main: unable to connect to host: Connection refused (111) You need to run VNCViewer to reconnect to the guest console: # vncviewer :0 4. The Oracle Enterprise Linux install begins. From the installation choices, select the following: Installation type: Server Package selection: Default.
Converting a Hardware Virtualized Guest to a Paravirtualized Guest 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 (2.6.9-42.32.0.0.1.ELxenU) root (hd0,0) kernel /boot/vmlinuz-2.6.9-42.32.0.0.1.ELxenU ro root=LABEL=/ initrd /boot/initrd-2.6.9-42.32.0.0.1.ELxenU.img 10. Shut down the guest.
Creating a Paravirtual Guest with Red Hat Enterprise Linux 3.8 or 3.9 Replace xx:xx:xx:xx:xx:xx with the actual MAC address reported by the ifconfig command in the guest. 18. Start the guest with the xm create command, for example xm create /etc/xen/el4u4 The guest is now ready for use. 4.9 Creating a Paravirtual Guest with Red Hat Enterprise Linux 3.8 or 3.9 A paravirtual guest cannot be created using Red Hat Enterprise Linux 3.8 or 3.9.
Installing Paravirtual Drivers ifconfig eth0 10. Edit the /etc/xen/xend-config.sxp file to add the new MAC address: vif = [ 'mac=xx:xx:xx:xx:xx:xx, bridge=xenbr0', ] 11. Create 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 12. 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.
Installing Paravirtual Drivers 4-16 Oracle VM Server User’s Guide
5 Domain Monitoring and Administration 5 This Chapter contains information on the Oracle VM Server domain lifecycle, monitoring and administration. It contains: ■ Domain Lifecycle ■ Using the xm Command-Line Interface You can use Oracle VM Manager to monitor domains running on Oracle VM Server, or you can use the xm command. See the Oracle VM Manager User’s Guide for information on using Oracle VM Manager to manage domains. 5.
Using the xm Command-Line Interface See "xm" in Appendix A, "Command-Line Tools" for detailed information on the xm command-line interface. 5.2.1 Monitoring Domains The xm top command performs real time monitoring of domain loads on a host. The xm top command displays the following information: ■ The state of each domain. ■ The number of domains on the host. ■ ■ ■ Memory statistics of the host, such as the total available memory, the memory in use, and free memory.
Using the xm Command-Line Interface Domain Monitoring and Administration 5-3
Using the xm Command-Line Interface 5-4 Oracle VM Server User’s Guide
6 Domain Live Migration 6 This Chapter discusses live migration of domains to other, identical computers. You must use identical computers to perform live migrations, that is, the computer make and model number must be identical. To perform live migration of domains, you must create a shared virtual disk before you perform the migration. This Chapter contains: ■ Creating a Shared Virtual Disk for Live Migration ■ Migrating a Domain 6.
Creating a Shared Virtual Disk for Live Migration 10.1.0.249:3260,1 iqn.1992-04.com.emc:cx.apm00070202838.a0 10.1.1.249:3260,2 iqn.1992-04.com.emc:cx.apm00070202838.a1 10.2.0.250:3260,3 iqn.1992-04.com.emc:cx.apm00070202838.b0 4. Delete entries that you do not want to use, for example: iscsiadm -m node -p 10.2.0.250:3260,3 -T iqn.1992-04.com.emc:cx.apm00070202838.b0 iscsiadm -m node -p 10.1.0.249:3260,1 -T iqn.1992-04.com.emc:cx.apm00070202838.a0 iscsiadm -m node -p 10.2.1.250:3260,4 -T iqn.1992-04.com.
Creating a Shared Virtual Disk for Live Migration node: ip_port = 7777 ip_address = 10.1.1.2 number = 1 name = example2.com cluster = ocfs2 cluster: node_count = 2 name = ocfs2 12. Review the status of the OCFS2 cluster service: service o2cb status 13. Load the OCFS2 module: service o2cb load 14. Set the OCFS2 service to be online: service o2cb online 15. Configure the OCFS2 service to start automatically when the computer boots: service o2cb configure 16. Start up the OCFS2 service. service o2cb start 17.
Creating a Shared Virtual Disk for Live Migration 3. Create the OCSF2 configuration file as /etc/ocfs2/cluster.conf. The following is a sample cluster.conf file: node: ip_port = 7777 ip_address = 10.1.1.1 number = 0 name = example1.com cluster = ocfs2 node: ip_port = 7777 ip_address = 10.1.1.2 number = 1 name = example2.com cluster = ocfs2 cluster: node_count = 2 name = ocfs2 4. Review the status of the OCFS2 cluster service: service o2cb status 5. Load the OCFS2 module: service o2cb load 6.
Migrating a Domain 3. Mount the shared virtual disk: mount /OVS/remote 6.2 Migrating a Domain To migrate a domain from one computer to another identical computer: 1. Create a shared virtual disk to use during the domain migration. See Section 6.1, "Creating a Shared Virtual Disk for Live Migration". Each computer involved with the domain migration must have access to the shared virtual disk in the same way, either as an NFS or a SAN virtual disk. 2.
Migrating a Domain 6-6 Oracle VM Server User’s Guide
7 Managing Oracle VM Server Repositories 7 This Chapter contains information on managing Oracle VM Server repositories. It contains: ■ Oracle VM Server Repositories 7.1 Oracle VM Server Repositories A repository is used for live migration of guests and for local storage. A list of the Oracle VM Server repositories is in: /etc/ovs/repositories A configuration file for mounting repositories is in: /etc/ovs/repositories.
Oracle VM Server Repositories The format of this file is: uuid options The uuid parameter is the UUID (Universally Unique Identifier) of the repository and must match the UUID of the repository in the /etc/ovs/repositories file. The options parameter is list of mount options, as they would appear if the volume were mounted with mount -o opt1,opt2,opt3. The mount options will be used exactly as listed in the file until the end of the line. 7.1.
A Command-Line Tools This Appendix contains references for the Oracle VM Server and Oracle VM Agent command-line tools.
ovs-agent ovs-agent The ovs-agent command-line tool allows you to configure, and control Oracle VM Agent. Enter parameters to the ovs-agent command-line tool in the format ovs-agent {option} See Chapter 3, "Oracle VM Agent" for examples on using the ovs-agent command-line tool. Options start Starts Oracle VM Agent. service ovs-agent start stop Stops Oracle VM Agent. service ovs-agent stop restart Stops and restarts Oracle VM Agent.
virt-install virt-install The virt-install command-line tool creates paravirtualized guests and hardware virtualized guests. virt-install can be used as an interactive shell, or all parameters can be given at the same time. Enter multiple parameters to the virt-install command-line tool in the format: virt-install [option ...] This section contains a brief explanation of some of the more common virt-install options. For full documentation, use the virt-install -h command.
virt-install virt-install --mac=RANDOM [-bvalue | --bridge=value] Sets the bridge to connect guest NIC to. If none is given, attempts to determine the default. [--vnc] Use VNC (Virtual Network Computing) for graphics support. virt-install --vnc [--vncport=port] Sets the port to use for VNC connections. virt-install --vncport=5900 [--sdl] Use SDL (Simple DirectMedia Layer) for graphics support. virt-install --sdl [--nographics] Do not use a graphical console for the guest.
virt-install [--os-variant=variant] Sets the operating system variant for a fully virtualized guest, for example, fedora6, rhel5, solaris10, win2k, or vista. This parameter should be used with the os-type parameter. The following table lists the possible values available for os-variant for each os-type option.
virt-install [-p | --paravirt] Sets the guest as being a paravirtualized guest. [-llocation | --location=location] Sets the installation source for a paravirtualized guest, for example, nfs:host:/path, http://host/path, or ftp://host/path. virt-install -lhttp://example.com/path [--vif-type=type] Sets the virtual network interface type for hardware virtualized guests.
xm xm The Oracle VM Server management command-line management tool xm, creates, destroys, manages and migrates guests. This section contains a brief explanation of some of the more common xm commands. For full documentation, use the xm help --long command. The xm command-line tool requires the xend daemon to be started. Enter parameters to the xm command-line tool in the format: xm [option] [argument] See Chapter 5, "Domain Monitoring and Administration" for examples on using the xm command-line tool.
xm list [--long | --label] [domain-id, ...] Displays information on all the running domains. The --long option displays full information on running domains. Enter the domain-id as an option to the xm command to get information on only that domain, or a set of domains. xm list --long mydomain log Displays logs similar in format to the equivalent for the Linux kernel. The log file is located at /var/log/xend.log.
xm loaded, values that were not set on the command-line are replaced by the values set in the script. [-F=file | --config=file] Sets the domain configuration to use SXP. SXP is the underlying configuration format used by Xen. SXP configurations can be hand-written or generated from Python configuration scripts, using the --dryrun option to print the configuration. [-n | --dryrun] Prints the resulting configuration in SXP, but does not create the domain.
xm top Displays real time monitoring information of the host and domains. xm top unpause {domain-id} Unpauses a paused domain.
B Oracle VM Server Configuration File B This Appendix contains information on the entries in the Oracle VM Server configuration file.
Oracle VM Server Configuration File Oracle VM Server Configuration File This section contains information on configuring Oracle VM Server using the configuration file. The configuration file options are available in the /etc/xen/xend-config.sxp file. When you make changes to this file, you must restart Oracle VM Server for the changes to take effect.
Oracle VM Server Configuration File (xen-api-server ((9367 pam '' /etc/xen/xen-api.key /etc/xen/xen-api.crt))) (xen-api-server ((unix))) Oracle VM Server Options xend-http-server {yes | no} Sets the original Xen remote interface. This setting may be needed for some legacy applications that use HTTP. The default is no. (xend-http-server yes) xend-unix-server {yes | no} Sets the original Xen remote interface. This setting may be needed for some legacy applications that use a local unix socket.
Oracle VM Server Configuration File (xend-tcp-xmlrpc-server-ssl-cert-file /etc/xen/xmlrpc.crt) xend-port {port} Sets the port Oracle VM Server should use for the HTTP interface if xend-http-server is set. The default is 8000. (xend-port 8000) xend-relocation-port {port} Sets the port Oracle VM Server should use for the relocation interface if xend-relocation-server is set. The default is 8002.
Oracle VM Server Configuration File dom0-min-mem {memory} Sets the minimum memory level in Megabytes that dom0 can use. The default is 196. (dom0-min-mem 256) dom0-cpus {CPUs} Sets the number of CPUs that dom0 can use. Setting it to 0 allows dom0 to use all CPUs on the computer. The default is 0. (dom0-cpus 0) enable-dump {yes | no} Sets whether to core dump when a domain crashes. The default is no.
Oracle VM Server Configuration File B-6 Oracle VM Server User’s Guide
C Guest Configuration Files C This Appendix gives you configuration files you can modify and use to create guests. A detailed explanation of the configuration parameters and common values is available in the /etc/xen/xmexample.hvm file in Oracle VM Server. Create the guest configuration file as /etc/xen/domain.cfg and use the following command to create the guest: xm create domain.cfg This Appendix contains: ■ Configuration File Example 1 ■ Configuration File Example 2 C.
Configuration File Example 2 # to create "pseudo cdrom device" on /dev/loop*: # # mount ca-fileserver2:/vol/export /srv/ # mount -o loop,ro /srv/osinstall/RedHat/FC6/F-6-x86_64-DVD.iso /mnt # # You can tell what loop device to use by looking at /etc/mtab after the mount # The first set of disk parameters commented out below are # "install time disk parameters" with the "pseudo" cdrom. # Your new domU HVM install will see "/dev/sda" just like a usual hardware # machine.
D Oracle VM Agent Architecture D This Appendix contains more detailed information on the architecture and deployment options for the Oracle VM Agent. It contains: ■ Oracle VM Agent Architecture ■ Oracle VM Agent Deployment D.1 Oracle VM Agent Architecture Oracle VM Agent is installed with Oracle VM Server. Oracle VM Manager manages the virtual machines running on Oracle VM Server through the Oracle VM Agent.
Oracle VM Agent Deployment D.2 Oracle VM Agent Deployment Oracle VM Manager communicates with Oracle VM Agent to perform management of virtual machines and server pools. There are a number of configuration options you can use when deploying Oracle VM. ■ ■ ■ The Server Pool Master, Utility Server and Virtual Machine Server can be on the same computer. The Server Pool Master and Utility Server can be on the same computer, and the Virtual Machine Server can be on another computer.
Oracle VM Agent Deployment Virtual Machine Server(s) may consume a large proportion of resources, and dedicated computers are often set aside for this. In medium- to large-scale environments with more than just a few guests in a server pool, it is recommended that the Server Pool Master and Utility Server functions reside together, or individually, on a separate and dedicated physical server that does not host any guests, as illustrated in Server Pool 3.
Oracle VM Agent Deployment D-4 Oracle VM Server User’s Guide
E Troubleshooting E This Appendix contains information on troubleshooting Oracle VM Server.
Using DHCP Table E–1 Oracle VM Server directories Directory Purpose /etc/xen Contains Oracle VM Server configuration files for the Oracle VM Server daemon and virtualized guests. /etc/xen/scripts Contains networking related scripts /var/log/xen Contains Oracle VM Server log files. E.1.
Guest Console Access enabled in the guest’s configuration file, vm.cfg. Some VNC parameters (for example, the listening address and password) can be configured in one, either, or both of the following locations: ■ The Oracle VM Server configuration file: /etc/xen/xend-config.sxp ■ The guest configuration file in either of the following locations: /etc/xen/name /OVS/running_pool/name/vm.
Cannot Display Graphical Installer When Creating Guests The following example as a VNC configuration entry in a hardware virtualized guest configuration fie: vnc = 1 vncconsole = 1 vnclisten = 0.0.0.0 vncpasswd = 'mypassword' vncunused = 1 # # # # # # # # # vnc=1 enabled, 0=disabled vncconsole=1 enables spawning VNC viewer for domain's console. Default=0 Address that should be listened on for the VNC server if VNC is set. Default (if vnc=0) is to use 'vnc-listen' setting from /etc/xen/xend-config.
Mouse Pointer Tracking Problems E.6 Setting the Guest’s Clock Paravirtualized guests may perform their own system clock management, for example, using the NTPD (Network Time Protocol daemon), or the hypervisor may perform system clock management for all guests. You can set paravirtualized guests to manage their own system clocks by setting the xen.independent_wallclock parameter to 1 in the /etc/sysctl.conf file. For example "xen.
Hardware Virtualized Guest Killed Restart Oracle VM Server for the changes to take effect. E.9 Hardware Virtualized Guest Killed When running hardware virtualized guests, the QEMU process (qemu-dm) may have its memory usage grow substantially, especially under heavy I/O loads. This may cause the hardware virtualized guest to be killed as it runs out of memory. If the guest is killed, increase the memory allocation for dom0, for example from 512MB to 768MB. E.
Attaching to a Console with the Grub Boot Loader E.12 TAP Disks with Paravirtualized Guests This release of Oracle VM Server does not support tap Disks with paravirtualized guests. If you use tap disks, you may encounter problems. For example, only one domain can be started and shut down before the blktapctrl process becomes unusable (using tap:sync or tap:aio works once only). If you want to use tap disks, to work around this problem, kill and restart the blktapctrl process.
Attaching to a Console with the Grub Boot Loader E-8 Oracle VM Server User’s Guide
Glossary Domain A configurable set of resources, including memory, virtual CPUs, network devices and disk devices, in which virtual machines run. A domain is granted virtual resources and can be started, stopped and rebooted independently. See also dom0 and domU. dom0 An abbreviation for domain zero. The management domain with privileged access to the hardware and device drivers. Dom0 is the first domain started by the Oracle VM Server at boot time. Dom0 has more privileges than domU.
Oracle VM Agent An application installed with Oracle VM Server. It communicates with Oracle VM Manager for management of virtual machines. Oracle VM Manager manages the virtual machines running on Oracle VM Server by communicating with Oracle VM Agent. It contains three components: Server Pool Master, Utility Server, and Virtual Machine Server. Oracle VM Server A self-contained virtualization environment designed to provide a lightweight, secure, server-based platform for running virtual machines.
Utility Server A component of Oracle VM Agent. An application that handles I/O intensive operations for virtual machines, server pools and servers, for example, copying, moving and renaming files. There can be more than one Utility Server in a server pool. A physical server can perform as the Server Pool Master, Utility Server and Virtual Machine Server simultaneously. vif A virtual network interface for bridging network interfaces between domUs and dom0. When a domU is started it is assigned a number.
Glossary-4
Index A H Agent VM Server, D-1 Anaconda installation tree, Hardware virtualization Overview, 2-2 Hardware virtualized guest Creating, 4-9 Creating using virt-install, 4-4 Hardware virtualized machine, Glossary-1 Host Monitoring, 5-2 Host computer, Glossary-1 Hypervisor, 2-2, Glossary-1 4-6 C Clock, E-5 Setting, E-5 Command line tools, E-2 Converting hardware virtualized guest to paravirtualized guest, 4-11 D Daemons Oracle VM Server repository, 7-1 Deploying, 3-3 DHCP, E-2 dom0, Glossary-1 Explanation
Monitoring, 3-3 Server Pool Master, D-1 Starting and stopping, 3-3 Virtual Machine Server, D-1 Oracle VM Manager, 1-2, Glossary-2 Oracle VM Server, Glossary-2 API, B-2 API options, B-2 Components, 2-1 Configuration file, B-2 Configuration options, B-3 Create guest, A-3 Deployment, D-2 Log file, B-2 Logfile options, B-2 Management, A-7 Repository, 7-1 VNC Server options, B-5 os-type, E-5 os-variant, E-5 ovsagent, A-2 Command line tool, 3-1 ovs-makerepo script, 7-2 ovs-offlinerepo script, 7-2 ovsrepositories