Motivations
I decided to create this document because I see a lot of doubts in a lot of SCN threads and all over "SAP world" not only regarding the process of SAP heterogeneous system copy but mainly in how to perform an installation of SAP system on two differents/heterogeneous platforms, in this particulary case, a distributed SAP installation between Windows and Linux servers. Therefore I decided to perform these two topics in one only activity and describe them in detail during this document. This document is organized in six parts:
== Part 1 ==
- Operating System Preparation
-- Linux Server Preparation (SLES 11 SP3)
-- Windows Server Preparation (Win Srv 2012 (R2))
== Part 2 ==
- Heterogeneous System Copy - R3load Method
--- 1.2. Database Instance Export
== Part 3 ==
--- 2.1. ASCS Instance installation (sapwinci host - Win Srv 2012 (R2))
--- 2.2. Global Host Preparation for an ABAP System (saplindb host - SLES 11 (SP3))
== Part 4 ==
--- 2.3. Database Instance installation (saplindb host - SLES 11 (SP3))
== Part 5 ==
---- Oracle Database Installation
----- Updating the SAP RUNINSTALLER Scripts
----- Installing the Oracle Database Software
== Part 6 ==
--- 2.4. Central Instance installation (sapwinci host - Win Srv 2012 (R2))
-- Check the SAP and Oracle services
-- Stop SAP / Oracle database (LOD system)
-- Start SAP / Oracle database (LOD system)
-- Disable Archive log mode (NOARCHIVELOG)
Overview
This document will show how to perform a SAPheterogeneoussystem copy (also knownas "Migration of SAP System") in a heterogeneous platforms, this is, the target environment it will be a SAP system installed in a windows server and the Oracle database will run in a linux server. In this specific case the SAP system product that I will copy/install during this activity is a SAP SRM 7.0 / NW 7.01.
The SAP sourceenvironment is astandardSAPinstallation (in one server) running in a WindowsServer 2008(R2) on a MaxDB7.8(X64) database. By the other hand the SAP targetenvironmentwill be installed indistributed platform (in two servers) inheterogeneous environments, I mean, the central SAP instance (ASCS andthePAS services) will beinstalled in a WindowsServer 2012(R2) andthe database instancewill be installed on an Oracle11.2g(11.2.0.4) running in a Suse Linux Enterprise Server 11 (SP3).
Considerations
- The SID of the SAP source system is W8M and the SID of the SAP target system will be LOD.
- Both SAP installations (at source and target) were performed locally, this is not a domain installation, I didn´t use any domain users only local users, therefore this is a SAP local installation.
- You need to guarantee that you don´t use the <sid>adm user to perform he SAP installation, for this purpose you need to create a local user and add this user to the Administrators group in Windows Server.
- The Windows Server has 2 Gb of RAM and the Linux SLES has 3 Gb of RAM.
- The source environment (Central Installation) has the following server:
- Windows Server 2008 (R2) – sapwinmax
- The target environment (Distributed Installation) has two servers:
- Windows Server 2012 (R2) – sapwinci
- Suse Linux Enterprise Server 11 (SP3) – saplindb
- Overview of the architecture:
Documentation
Name | Document |
Document | Installation Guide – SAP Systems Based on the Application Server ABAP of SAP NetWeaver on UNIX: Oracle (Valid for SAP NetWeaver 7.0 to 7.0 Including Enhancement Package 3) |
Document | System Copy Guide – SAP Systems Based on the Application Server ABAP of SAP NetWeaver on UNIX (Valid for SAP NetWeaver 7.0 to 7.0 Including Enhancement Package 3) |
Link/URL | SAP Guides:http://service.sap.com/instguides |
Link/URL | SAP Notes:http://service.sap.com/notes |
Link/URL | SAP PAM:http://service.sap.com/pam |
Link/URL | Technical Details - System Copy and Migration Process with Software Provisioning Manager 1.0:http://scn.sap.com/docs/DOC-48323 |
Link/URL | System Copy and Migration:http://scn.sap.com/docs/DOC-8324 |
Link/URL | FAQ - System Copy and Migration:http://scn.sap.com/docs/DOC-34592 |
SAP Notes | 1563579 - Central Release Note for Software Logistics Toolset 1.0 |
SAP Notes | 1680045 - Release Note for Software Provisioning Manager 1.0 SP07 |
SAP Notes | 171356 - SAP Software on Linux: General Information |
SAP Notes | 1597355 - SWAP-SPACE Recommendation for Linux |
SAP Notes | 1524205 - Oracle 11.2.0: Database Software Installation |
SAP Notes | 1054852 - Recommendations for migrations using Microsoft SQL Server |
SAP Notes | 1431800 - Oracle 11.2.0: Central Technical Note |
SAP Notes | 1310037 - SUSE LINUX Enterprise Server 11: Installation notes |
SAP Notes | 1391070 - Linux UUID solutions |
SAP Notes | 1275776 - Linux: Preparing SLES for SAP environments |
SAP Notes | 1067221 - Composite SAP Note for heterogeneous installation |
SAP Notes | 1148109 - Heterogeneous Inst.(Appl. Server Windows, DB Unix) |
SAP Notes | 1431793 - Oracle 11.2.0: Upgrade Scripts |
SAP Notes | 1027012 - MOPatch - Install Multiple Oracle Patches in One Run |
SAP Notes | 821875 - Security settings in the message server |
SAP Notes | 1431799 - Oracle 11.2.0: Current Patch Set |
SAP Notes | 1431796 - Oracle 11.2.0: Troubleshooting the Software Installation |
SAP Notes | 592393 - FAQ: Oracle |
SAP Notes | 1171650 - Automated Oracle DB parameter check |
SAP Notes | 1431798 - Oracle 11.2.0: Database Parameter Settings |
SAP Notes | 974781 - Oracle internal maintenance jobs |
SAP DVD Media
Package Number | Contents |
51047701_1 | Oracle 11.2.0.4 RDBMS Linux on x86_64 64bit 1/6 |
51048610 | ORACLE Client 11.2.0.4 V2 |
70SWPM10SP07_6-20009701.sar | SAP Software Provisioning Manager – Linux X86_64 |
70SWPM10SP07_6-20009707.sar | SAP Software Provisioning Manager – Windows x64 |
51049463_4 | 721 EXT UC Kernel for SWPM SP7 - Windows x64 |
51049463_5 | SL_CONTROLLER_700 for SWPM SP7 – Windows x64 |
51049108_4 | 721 EXT UC Kernel for SWPM SP7 – Linux X86_64 |
Operating System Preparation
This chapter resume some tips that you may consider as an important requirement when you want to install a SAP system in Linux and Windows operation systems.
Linux Server Preparation (SLES 11 SP3)
As you may know SAP supports three linux distributions (Oracle Linux OS, Red Hat Enterprise Linux and SUSE Linux Enterprise Server) --> SAP on Linux
In this specific case I use Suse Linux Enterprise Server where I will install the Oracle database. I installed the SLES 11 SP3 version that is specific for SAP system applications. You can perform the download of this distro here: SUSE Linux Enterprise Server for SAP Applications
This is a overview of some things that you may set as a requirement for a SAP installation or in some specific cases, as this is, when you want to install an Oracle database over a Linux server (SLES).
- Login as "root":
- Set the "Clock and Time Zone" to your own region and time zone:
- Set the correct settings in "Keyboard Properties":
- Linux SLES registration (this task is very important because you will need to install an individual linux package and for that you need to register your linux):
- Setting up the Swap space in linux (I created a file with 3,5 Gb of size):
Note: Don´t forget to set the swap file that you created in the /etc/fstab, in this way you guarantee that swap space will set after a Linux system reboot.
- Add the IP and hostname linux to /etc/hosts file:
- Change the hostname (to saplindb):
- Check the temp environment variable (TMPDIR) and set the umask to 022:
- Check the "limit" values:
- Check the linux shell that you are running:
- Create a specific SAP directory for you can put the DVD media files for this installation:
- Filesystem size:
Windows Server Preparation (Win Srv 2012 (R2))
As you may know SAP supports Windows Server platform --> SAP on Microsoft Windows
In this specific case I use Windows Server 2012 (R2) where I will install the SAP system (LOD) as a copy of the source system (W8M).
This is a overview of some things that you may set as a requirement for a SAP installation over a Windows Server 2012 (R2).
- Set virtual memory (SWAP/Page file) with 10 Gb:
- Disable the internet explorer enhanced security configuration:
- Disable the User Account Control (UAC):
- Turn off windows firewall:
- Change the windows hostname (sapwinci)
- Check Windows system settings:
- Create a specific SAP directory for you can put the DVD media files for this installation:
- Partition disk space:
=> CHECK THE CONTINUATION OF THIS DOCUMENT IN THE FOLLOWING LINK:
SAP Migration – Win/MaxDB <=> Win & Linux/Oracle DB - PART 2