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 #91 background imageLoading...
Page #91 background image
Configuration File Example 1
Guest Configuration C-3
qos_algorithm_type is the QoS algorithm. Only tbf is currently supported.
qos_algorithm_params are the parameters for the qos_algorithm_type. For the tbf
algorithm, this may be the rate limit and latency, for example,
rate=8mbit,latency=50ms.
For example:
vif_other_config = [['00:16:3e:31:d5:4b', 'tbf', 'rate=8mbit,latency=50ms'],
['00:16:3e:52:c4:03', 'tbf', 'rate=10mbit']]
If you make a change to a running guest’s configuration file, you must shut down the
guest, then start it again with the xm create vm.cfg command for the change to
take effect. The xm reboot command does not restart the guest with the new
configuration.
C.2.3 Setting Outbound Network Traffic Priority
You can set the priority of outbound network traffic for a guest. The outbound
network traffic priority is controlled with the rate parameter of the vif option in the
guest’s configuration file (vm.cfg). The rate parameter supports an optional time
window parameter for specifying the granularity of credit replenishment. The default
window is 50ms. For example, you could set rate as rate=10Mb/s, rate=250KB/s,
or rate=1MB/s@20ms. An example vif option to set the network traffic priority for a
guest might be:
vif = ['mac=00:16:3e:31:d5:4b,bridge=xenbr0,rate=10Mb/s@50ms']
If you make a change to a running guest’s configuration file, you must shut down the
guest, then start it again with the xm create vm.cfg command for the change to
take effect. The xm reboot command does not restart the guest with the new
configuration.
C.3 Configuration File Example 1
A simple example of a configuration file to create a guest follows:
disk = [ 'file:/mnt/el4u5_64_hvm//system.img,hda,w' ]
memory=4096
vcpus=2
name="el4u5_64_hvm"
vif = [ ' ' ] #By default no n/w interfaces are configured. E.g: A default hvm
install will have the line as vif=[ 'type=ioemu,bridge=xenbr0' ]
builder = "hvm"
device_model = "/usr/lib/xen/bin/qemu-dm"
vnc=1
vncunused=1
apic=1
acpi=1
pae=1
serial = "pty" # enable serial console
on_reboot = 'restart'
on_crash = 'restart'

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