SUSE Support

Here When You Need Us

Migrating a SLES 11 SP1 system to SLES for SAP Applications 11 SP1

This document (7009547) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 1
SUSE Linux Enterprise Server for SAP Applications 11 Service Pack 1

Situation

You are running a SUSE Linux Enterprise Server 11 Service Pack 1 system and want to migrate it to SUSE Linux Enterprise Server for SAP Applications 11 Service Pack 1 without reinstalling it. This TID explains the process.

Resolution

There are two possibilities: you can either use a interactive script (section A) or perform the migration manually (section B).
NOTE: If you are using SMT, please make sure that the SUSE Linux Enterprise Server for SAP Applications 11 SP1 Channels have been synchronized to your SMT before starting the migration!

A) Script based migration
Download the tar archive from http:///support.novell.com/Platform/Publishing/images/SLES-for-SAP-migration-files.tgz

Save the file in the /tmp/ directory and extract the files via the following command:
tar xvzf SLES-for-SAP-migration-files.tgz

Run the interactive script as root:
sh SLES-for-SAP-migration-files/Migrate_SLES_to_SLES-for-SAP.sh


B) Manual migration
Perform the migration manually, all steps have to be performed as root.

1) Replace the product files
Download the tar archive from $(PublishingImagesURL)/SLES-for-SAP-migration-files.tgz

Save the file in the /tmp/ directory and extract the files via the following command:
tar xvzf SLES-for-SAP-migration-files.tgz

Replace the SLES 11 SP1 product file with the SLES for SAP Applications 11 SP1 product file. Backup the SLES 11 SP1 product file first:
mv /etc/products.d/SUSE_SLES.prod /etc/products.d/SUSE_SLES.prod.SLES-11-SP1

Remove the symlink
rm /etc/products.d/baseproduct

Copy the downloaded SLES for SAP Applications 11 SP1 product file to "/etc/products.d/"
cp SUSE_SLES_SAP.prod /etc/products.d/

Create the new 'baseproduct' symlink
ln -s /etc/products.d/SUSE_SLES_SAP.prod /etc/products.d/baseproduct

2) Re-register your product

To be able to re-register your product and get subscribed to the corresponding channels, a valid email address and a valid activation code for SLES for SAP Applications 11 SP1 needs to be entered. Optionally, you can enter the hostname of your system.
/usr/bin/suse_register -n \
           -a email=[email address used for registration] \
           -a regcode-sles=[SLES for SAP Applications 11 SP1 activation code] \
           -a moniker=[hostname] \
           -L /root/.suse_register.log

3) Exchange the release packages

Exchange SLES 11 SP1 release packages by SLES for SAP Applications 11 SP1 release packages:
zypper in -n -f SUSE_SLES_SAP-release SUSE_SLES_SAP-release-DVD
zypper rm -n sles-release sles-release-DVD

4) Remove obsolete SLES 11 SP1 specific packages

The following SLES 11 SP1 specific packages need to be removed (if installed):
        - java-1_4_2-ibm
        - java-1_4_2-ibm-devel

Please note that in case you do have packages installed that have dependencies against IBM Java, you need to take care of reinstalling them. In the next step the SAP specific IBM Java packages will be installed and therefor the possibly deleted packages can be reinstalled.
Remove those packages with:
zypper rm -n [SLES 11 SP1 specific packages]

5) Install missing SLES for SAP Applications 11 SP1 packages

The following SLES for SAP Applications 11 SP1 packages need to be installed:
        - java-1_4_2-ibm-sap
        - java-1_4_2-ibm-sap-devel

Please install the needed SLES 11 SP1 packages by executing:
      zypper in -n [SLES for SAP Applications 11 SP1 packages]

8) Adjust /boot/grub/menu.lst

Alter the titles of the standard and failsafe sections to display
"SLES for SAP Applications" instead of
"SUSE Linux Enterprise Server 11 SP1":
sed "s/SUSE Linux Enterprise Server 11 SP1/SLES for SAP Applications/" -i /boot/grub/menu.lst

9) Reboot system

Reboot the system to apply all changes:
init 6

Additional Information

In case you need to migrate to SUSE Linux Enterprise Server for SAP Applications 11 Service Pack 2, please see TID 7011803 - Migrating a SLES 11 SP2 system to SLES for SAP Applications 11 SP2.




Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7009547
  • Creation Date: 11-Oct-2011
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.