Installation guide

Chapter 33. Tips and tricks
This chapter contain useful hints and tips to improve virtualization performance, scale and stability.
33.1. Aut omat ically st art ing guest s
This section covers how to make guests start automatically during the host system's boot phase.
This example uses virsh to set a guest, TestServer, to automatically start when the host boots.
# virsh autostart TestServer
Domain TestServer marked as autostarted
The guest now automatically starts with the host.
To stop a guest automatically booting use the --disable parameter
# virsh autostart --disable TestServer
Domain TestServer unmarked as autostarted
The guest no longer automatically starts with the host.
33.2. Changing bet ween t he KVM and Xen hypervisors
This section covers changing between the KVM and Xen hypervisors.
Red Hat only supports one active hypervisor at a time.
Important
Presently, there is no application for switching Xen-based guests to KVM or KVM-based guests
to Xen.
Warning
This procedure is only available for the Intel 64 or AMD64 version of Red Hat Enterprise Linux
5.4 or newer. No other configurations or Red Hat Enterprise Linux versions are supported. KVM
is not available in versions earlier than Red Hat Enterprise Linux 5.4.
33.2.1. Xen t o KVM
The following procedure covers changing from the Xen hypervisor to the KVM hypervisor. This
procedure assumes the kernel-xen package is installed and enabled.
1.
Inst all th e KVM p ackag e
Install the kvm package if you have not already done so.
Part VII. T ips and T ricks
307