On physical hardware
Here are the basic steps for a Xen installation:
- Map storage to the directory:
- Create this directory:
- Decompress the bz2 file:
tar jxvf SUSE_Manager....bz2 /var/lib/xen/images/susemanager
- Copy the sample configuration file to /etc/xen/vm, and name it something like susemanager:
cp /var/lib/xen/images/susemanager/SUSE_Manager_Server_1.2.x86_64-1.2.0.xenconfig /etc/xen/vm/susemanager
- Edit the configuration file to reflect what you want. We changed the name to be something shorter: susemanager.
- Get this into the xen database where you can launch the installer:
xm new susemanager
From there you can run it as you do any Xen vm.
Also - make sure once you complete phase one (the SLES install) and BEFORE you update that you remove any non-Xen kernel rpm's. In the case of the original Xen appliance, it had kernel-default-base installed - which is not needed for a Xen VM.
rpm -qa | grep kernel
You will see which kernel rpm's are installed.
Any which do not have the word 'xen' in them should be removed - for example:
rpm -e kernel-default-base
This is important because the /boot on the Xen appliance is too small (63MB) and will otherwise fill up during an update. (See bugzilla 698161)