Copying The Boot Files And Preparing The Vm Guest Configuration Files - Novell OPEN ENTERPRISE SERVER 2 SP2 Installation Manual

Hide thumbs Also See for OPEN ENTERPRISE SERVER 2 SP2:
Table of Contents

Advertisement

Copying the Boot Files and Preparing the VM Guest Configuration Files

1 Copy the installation kernel and initrd files from your SLES 10 SP3 installation source > the
or
boot/i386
/boot/x86_64
upgrading) to the temporary directory you created in
If you are upgrading a 64-bit VM guest installation, the files are named
.
initrd-xen
If you are upgrading a 32-bit VM guest installation, choose the files that are appropriate for
your hypervisor as determined in
vmlinuz-xen
or
vmlinuz-xenpae
2 Capture the VM guest's configuration in a file that you can modify to start the upgrade process.
At a terminal prompt, enter the following command:
xm list -l vm_name > /path/to/modify_config_file.sxp
where vm_name is the name of the VM guest that you are upgrading as listed in the Virtual
Machine Manager, and the path points to your temporary directory created in
page 186
and specifies a filename that indicates it is modified for starting the upgrade process.
For example:
xm list -l myserver_vm > /tmp/upgrade/modify_myserver_vm.sxp
3 Before modifying the configuration file you just created, change to the directory containing the
file and make a copy of it to preserve the unmodified configuration by using the following
commands:
cd /path/to/upgrade_directory
cp modify_config_file.sxp unmodified_config_file.sxp
where modify_config_file.sxp is the name the configuration file you specified in
unmodified_config_file.sxp is the name of the new file you will use to restore the VM guest's
original configuration for the second phase of the upgrade process.
For example:
cd /tmp/upgrade
cp modify_myserver_vm.sxp unmodified_myserver_vm.sxp
4 Verify that both of the configuration files are in your upgrade directory, then remove the VM
guest's configuration from the Xen VM database by using the following command:
xm delete vm_name
where
is the name of the VM guest that you are upgrading.
vm_name
For example:
xm delete myserver_vm
The VM guest no longer appears in Virtual Machine Manager.
5 Using a text editor, open the configuration file that you created in
follows:
5a Remove the line that begins with
directory (depending on which architectural version you are
"Checking the Kernel Type" on page
and
initrd-xen
and
initrd-xenpae
(bootloader_args ...
Installing, Upgrading, or Updating OES on a Xen-based VM 187
Step 1 on page
186.
vmlinuz-xen
186:
Step 1 on
Step 2
and change it as
.
/
and
Step 2
and

Advertisement

Table of Contents
loading

Table of Contents