Installation guide

echo "D-BUS per-session daemon address is: \
$DBUS_SESSION_BUS_ADDRESS"
fi
exec gnome-session
33.18. Cloning guest configurat ion files
You can copy an existing configuration file to create an all new guest. You must modify the name
parameter of the guests' configuration file. The new, unique name then appears in the hypervisor and
is viewable by the management utilities. You must generate an all new UUID as well by using the
uuidgen command. Then for the vif entries you must define a unique MAC address for each guest
(if you are copying a guest configuration from an existing guest, you can create a script to handle it).
For the xen bridge information, if you move an existing guest configuration file to a new host, you
must update the xenbr entry to match your local networking configuration. For the Device entries,
you must modify the entries in the 'disk=' section to point to the correct guest image.
You must also modify these system configuration settings on your guest. You must modify the
HOSTNAME entry of the /etc/sysconfig/network file to match the new guest's hostname.
You must modify the HWADDR address of the /etc/sysconfig/network-scripts/ifcfg-eth0
file to match the output from ifconfig eth0 file and if you use static IP addresses, you must modify
the IPADDR entry.
33.19. Duplicat ing an exist ing guest and it s configurat ion file
This section outlines copying an existing configuration file to create a new guest. There are key
parameters in your guest's configuration file you must be aware of, and modify, to successfully
duplicate a guest.
name
The name of your guest as it is known to the hypervisor and displayed in the management
utilities. This entry should be unique on your system.
uuid
A unique handle for the guest, a new UUID can be regenerated using the uuidgen
command. A sample UUID output:
$ uuidgen
a984a14f-4191-4d14-868e-329906b211e5
vif
The MAC address must define a unique MAC address for each guest. This is
automatically done if the standard tools are used. If you are copying a guest
configuration from an existing guest you can use the script Section 33.9, “Generating a
new unique MAC address .
If you are moving or duplicating an existing guest configuration file to a new host you
have to make sure you adjust the xenbr entry to correspond with your local networking
configuration (you can obtain the bridge information using the command brctl show
command).
Device entries, make sure you adjust the entries in the disk= section to point to the
correct guest image.
Chapt er 33. T ips and t ricks
327