manual copia homogenea sap
TRANSCRIPT
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 1/154
System Copy GuideSystem Copy for SAP Systems Based on SAP NetWeaver 7.0 SR3 ABAP+Java
Target Audience
■ System administrators
■ Technology consultants
PUBLICDocument version: 1.5 – 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 2/154
Document History
CAUTION
Before you start the implementation, make sure you have the latest version of this document.
You can find the latest version on SAP Service Marketplace http://service.sap.com/
instguides.
The following table provides an overview on the most important document changes:
Version Date Description1.5 2010-03-16 Update in Database-Specific System Copy: example for distributed or high availability
system corrected
1.4 2009-12-08 Update in Database-Specific System Copy
1.3 2009-09-09 Update in Oracle-Specific Procedure
1.2 2009-03-12 Update in Constraints and Preparation for Table Splitting
1.1 2009-01-09 DI-, EPC-, and EP-specific information updated
2 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 3/154
Table of Contents
Chapter 1 Homogeneous and Heterogeneous System Copy for SAP Systems Based
on SAP NetWeaver 7.0 SR3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1 Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 Online Information from SAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.3 System Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.4 Restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5 Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 2 Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 3 Preparations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.1 General Technical Preparations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3.2 Installing the Java Development Kit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Chapter 4 Database Independent System Copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
4.1 System Copy Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
4.2 Generating DDL Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
4.3 Preparation for Table Splitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
4.4 Preparing the Export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
4.5 Exporting the Source System Using SAPinst . . . . . . . . . . . . . . . . . . . . . . . . . . 32
4.5.1 Running SAPinst on UNIX or Windows to Perform the Export . . . . . . . . . . . . 32
4.5.2 Running SAPinst on System i to Perform the Export . . . . . . . . . . . . . . . . . . . . 39
4.5.2.1 Preparing the Windows Host for the SAP System Installation . . . . . . . . . . . . . 394.5.2.2 Preparing a Windows User Account and System i User Profile . . . . . . . . . . . . . 40
4.5.2.3 Installing TMKSVR and Creating an Installation Share . . . . . . . . . . . . . . . . . . 41
4.5.2.4 Starting SAPinst on System i . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
4.5.3 Restarting R3load Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4.6 Setting Up the Target System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
4.6.1 Transferring the Export Files to the Target Host . . . . . . . . . . . . . . . . . . . . . . . 51
4.6.2 Installing the Target System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
2010-03-16 PUBLIC 3 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 4/154
Chapter 5 Database-Specific System Copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5.1 Oracle-Specific Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
5.1.1 Generating the Control File Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 585.1.2 Creating a Backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
5.1.2.1 Creating an Offline Backup Manually . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
5.1.2.2 Creating an Offline or Online Backup with BR*Tools . . . . . . . . . . . . . . . . . . . 63
5.1.3 Preparing the Target System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
5.1.4 Restoring the Database Files on the Target System Manually . . . . . . . . . . . . . 66
5.1.5 Restoring the Database Files on the Target System with BR*Tools . . . . . . . . . 67
5.2 SAP MaxDB-Specific Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
5.3 MS SQL Server-Specific Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
5.4 IBM DB2 for Linux, UNIX, and Windows Specific Procedures . . . . . . . . . . . . . 71
5.5 IBM DB2 for i5/OS Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
5.6 IBM DB2 for z/OS Specific Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
5.6.1 Step 1: Check Consistency . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
5.6.2 Step 2: Stop and Restart the Source System . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.6.3 Step 3: Run SQL Statements in the Source System . . . . . . . . . . . . . . . . . . . . . . 77
5.6.3.1 SQL Statement Number 01 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
5.6.3.2 SQL Statement Number 02 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
5.6.3.3 SQL Statement Number 03 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 785.6.3.4 SQL Statement Number 04 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
5.6.3.5 SQL Statement Number 05 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
5.6.3.6 SQL Statement Number 06 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
5.6.3.7 SQL Statement Number 07 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
5.6.3.8 SQL Statement Number 08 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
5.6.3.9 SQL Statement Number 09 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
5.6.4 Step 4: Capturing View Definitions with DB2 V9 (if the Schema Name is to be
Changed) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
5.6.5 Step 5: Stop the Source System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
5.6.6 Step 6: Making Copies of Source Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
5.6.7 Step 7: Creating the Target System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
5.6.8 Step 8: Printing the Bootstrap Data Sets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
5.6.9 Step 9a: Changing the Bootstrap Data Sets (BSDS) . . . . . . . . . . . . . . . . . . . . . . 87
5.6.10 Step 9b: Start the Target System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87
5.6.11 Step 9c: Creating a New STOGROUP Using the HLQ of the Target
System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
5.6.12 Step 9d: Stopping Index Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
4 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 5/154
5.6.13 Step 9e: Changing the User-Defined Indexes in the DB2 Catalog . . . . . . . . . . . 88
5.6.14 Step 9f: Restart the Index Spaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5.6.15 Step 9g: Creating the Temporary Files for the DB2 Target System . . . . . . . . . . 89
5.6.16 Step 9h: Implementing HLQ of the Target System in the Work File
Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5.6.17 Step 9i: Adjusting the DDF Location Name and Port Number . . . . . . . . . . . . . 89
5.6.18 Step 10 (DB2 V8 and Lower): Changing the VCAT of the Target
System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
5.6.19 Step 10 (DB2 V9): Changing the VCAT of the Target System . . . . . . . . . . . . . . 91
5.6.20 Step 11 (DB2 V9): Changing the Schema of the Target System . . . . . . . . . . . . 92
5.6.21 Step 12: Adapting WLM Application Environments for DB2 Stored
Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
Chapter 6 Follow-Up Activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
6.1 Performing Follow-Up Activities in the Source System . . . . . . . . . . . . . . . . . . 95
6.2 Performing Follow-Up Activities in the Target System . . . . . . . . . . . . . . . . . . 95
6.2.1 Installing the License Key . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
6.2.2 Performing Follow-Up Activities for ABAP . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
6.2.3 Performing Follow-Up Activities for Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
6.2.3.1 General Follow-Up Activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
6.2.3.1.1 Configuration Steps for the SAP Java Connector . . . . . . . . . . . . . . . . . . . . . . 1006.2.3.1.2 Generating Public-Key Certificates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
6.2.3.2 Usage Type or Software Unit-Specific Follow-Up Activities . . . . . . . . . . . . . . 101
6.2.3.2.1 Application Server Java (AS-Java) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
6.2.3.2.1.1 AS Java: SAP Knowledge Warehouse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
6.2.3.2.2 EP Core (EPC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
6.2.3.2.2.1 EPC: Portal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
6.2.3.2.3 Enterprise Portal (EP) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
6.2.3.2.3.1 EP: Knowledge Management and Collaboration . . . . . . . . . . . . . . . . . . . . . . 102
6.2.3.2.4 Business Intelligence Java Components (BI Java) . . . . . . . . . . . . . . . . . . . . . . 105
6.2.3.2.4.1 Business Intelligence (BI Java) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
6.2.3.2.4.2 Basic Configuration for Usage Type BI Java . . . . . . . . . . . . . . . . . . . . . . . . . . 106
6.2.3.2.5 Process Integration (PI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
6.2.3.2.5.1 PI: System Landscape Directory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
6.2.3.2.5.2 PI: Integration Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
6.2.3.2.5.3 PI: Changes in the Exchange Profile . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
6.2.3.2.5.4 PI: Refresh Caches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
6.2.3.2.5.5 PI: Switching Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
2010-03-16 PUBLIC 5 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 6/154
6.2.3.2.5.6 PI: Connection Checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
6.2.3.2.6 Development Infrastructure (DI) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
6.2.3.2.7 Self Services (XSS) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
6.2.3.2.7.1 Re-Creating the JCo Destinations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
6.2.3.2.7.2 ERP-XSS: SAP WebDynpro Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
6.2.3.2.8 CRM Java Components (JCRM) / Extended E-Selling Components
(XECO) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
6.2.3.2.8.1 Sub-Component Workforce Deployment AS/CS . . . . . . . . . . . . . . . . . . . . . . 117
6.2.3.2.9 MapBox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
6.2.3.2.10 SRM Live Auction Cockpit (SRMLAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
6.2.3.2.10.1 SRM Live Auction Cockpit (SRMLAC) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
6.2.3.2.10.2 Configuring Single Sign-On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
6.2.3.2.11 SCM Forecasting & Replenishment Processor (SCM FRP) . . . . . . . . . . . . . . . 121
6.2.4 Performing Jobhead Correction after Homogeneous System Copy . . . . . . . . 121
Chapter 7 Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
7.1 R3load Procedures Using the Migration Monitor . . . . . . . . . . . . . . . . . . . . . . 123
7.1.1 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
7.1.2 Assigning DDL Files to Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130
7.1.3 Defining Groups of Packages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
7.1.4 Processing Split Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1317.1.5 Starting the Migration Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
7.1.6 Output Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
7.1.7 Installing the Target System Using the Migration Monitor . . . . . . . . . . . . . . 138
7.2 Using SAPinst GUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
7.3 Interrupted Installation with SAPinst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
7.4 Performing a Remote Export Using SAPinst . . . . . . . . . . . . . . . . . . . . . . . . . . 142
7.4.1 Performing a Remote Installation with SAPinst (Optional) . . . . . . . . . . . . . . 143
7.4.2 Starting SAPinst GUI Separately (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . 144
6 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 7/154
1 Homogeneous and HeterogeneousSystem Copy for SAP Systems Based
on SAP NetWeaver 7.0 SR3
As of SAP NetWeaver 7.0, you can copy ABAP systems, ABAP+Java systems and Java systems in one run
using either database-specific methods or database-independent methods.
1.1 Terminology
■ Homogeneous System Copy
During the system copy you use the same operating system and database platform as the original
system.
■ Heterogeneous System Copy
During the system copy, you change either the operating system or the database system, or both.
Heterogeneous system copy is a synonym for migration.
■ Source System and Target System
The SAP system containing the original database is called the source system and the system to
which the database copy is to be imported is called the target system. Their SAP system names
are abbreviated to SOURCE_SAPSID and TARGET_SAPSID (System i: source_<SID> and
target_<SID>). The terms source database and target database are also used in this description.
■ System Copy
Duplication of an SAP system. Certain SAP parameters might change in a copy. When you perform
a system copy, SAPinst installs all the instances again, but it uses a copy of the source system database
to set up the database.
■ Database CopyDatabase-dependent part of the system copy.
■ Placeholders
Placeholders such as <SAPSID> are used in commands. They are used in the same way as in the SAP
system installation documentation. You must replace them with the values valid for your site.
The following additional placeholders are used:
Placeholder Meaning How to find out
<SAPSID> SAP system ID
<S_HOST> System name of the source host Command hostname
<T_HOST> System name of the target host Command hostname
1 Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAPNetWeaver 7.0 SR3
1.1 Terminology
2010-03-16 PUBLIC 7 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 8/154
Placeholder Meaning How to find out
<S_SAPSID> SAP system ID of the source system <SAPSID> of the original system
<T_SAPSID> SAP system ID of the target system <SAPSID> of the target system
<S_DBSID> Database ID of the source system <DBSID> of the original system<T_DBSID> Database ID of the target system <DBSID> of the target system
1.2 Online Information from SAP
More information about system copy is online available as follows:
■ SAP System Copy & Migration page at http://sdn.sap.com/irj/sdn/systemcopy.
■ SAP OS/DB Migration page at http://service.sap.com/osdbmigration.
Additionally to the information contained on this page, check the SAP OS/DB Migration PlanningGuide that is available in the Media Library.
■ SAP Note 82478
CAUTION
Only perform a system copy if you have experience in copying systems and good knowledge
of the operating system, the database, the ABAP Dictionary, and the Java Dictionary. Only
perform a heterogeneous system copy if you are a certified system support consultant or a
certified SAP Technical Consultant.
NOTE
If you encounter problems during the system copy, create a customer message using the
application area BC-INS-MIG.
1.3 System Architecture
The Java system persists data in both the database and the file system, for example the Software Delivery
Manager (SDM) is persisted in the file system. Each server instance has a unique ID and is stored in the
database.
1.4 Restrictions
NOTE
See SAP Note 1120872 for Java components based on SAP NetWeaver 7.0 SR3 that have been
released already for system copy.
The target system installation consists of both the target database and target instances/application
servers installations. For the scenarios below, the following holds:
1 Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAPNetWeaver 7.0 SR3
1.2 Online Information from SAP
8 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 9/154
■Only valid for: IBM DB2 for Linux and UNIX and Windows |
The option Deferred Table Creation is not supported for load-based system copies for SAP systems
that are not based on SAP NetWeaver 7.0 SR3.
End of: IBM DB2 for Linux and UNIX and Windows |
■ Refresh of the database is not supported. A refresh of the database means that only the database is
loaded with the content of a database of a different system. As in this scenario no migration
controller is invoked, this is not supported.
■ Copying the database only is not supported.
■ Copying the central instance only is not supported. The migration controller deletes all dialog
instances in the database, so the system is not complete any longer.
■ Reinstalling the central instance without the database is not supported. The migration controller
deletes all dialog instances in the database, so the system is not complete any longer.
1.5 Constraints
■ As of SAP NetWeaver 7.0, when your system is a double-stack system and you perform a system
copy, your source system is copied to the target system as a whole. This means, it is neither possible
to exclude a single stack from the system copy nor to copy a separate stack only.
■ SAP does not support client transport as a system copy method. Transporting production clients
is not supported at all. You can use client transport for the initial setup of an SAP system
infrastructure. This documentation does not cover the client copy procedure.
■ This documentation does not describe how to export and import a database with the installation
tools for reorganization purposes. Use the appropriate tools for database reorganization, as SAP
does not support this installation option.
■ If you have made modifications in your development system and want to copy your quality
assurance or production system onto the development system, see SAP Note 130906.
■ This documentation describes how to copy data from one SAP system to another SAP system based
on SAP NetWeaver Application Server. This documentation does not describe how to copy data
from non-SAP systems to SAP systems. ■ If you want to convert a non-Unicode system to a Unicode system or perform the system copy of
a Unicode system, see SAP Note 551344.
■ For the development of Java applications, we strongly recommend that you follow the rules
mentioned below. Otherwise, we cannot guarantee that you can copy your Java engine later with
the SAP tools to change your underlying operating system and/or database system.
■ SAP does not generally support all Data Archiving operations after a system copy.
If you used Data Archiving in the source or in the target system, access to the created archive file
(s) from the target system may not always be possible. For more information, see SAP Note
153433 and System Landscape Optimization at http://service.sap.com/slo.
1 Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAPNetWeaver 7.0 SR3
1.5 Constraints
2010-03-16 PUBLIC 9 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 10/154
Access to archived files from the target system without a dedicated archive migration project is
only supported in the following cases:
● Your system copy clones a source system for nonproductive purposes, only read-access to the
previously archived data is intended from the target system (no reloading), and you do not
store archive files using ArchiveLink/CMS.
You can either copy all archive files to file systems that are not shared between the source and
the target system, or you arrange network access for appropriate archive file sharing.
● The system copy is done to replace a productive system by a new productive system (for
example, hardware migration), assuming that the target system did not exist before and the
source system's operation is discontinued after the system copy.
You must not change the system ID during system copy, but arrange for file access and/or
ArchiveLink/CMS connectivity.
In all other cases, contact SAP SLO at http://service.sap.com/slo or
■ When you perform a system copy, all software units or usage types in the source system are copied
to the target system. This means that none of the usage types in the target system can be excluded
from the system copy, nor can you select usage types.
■ Dos and Don'ts for system copy:
● Do:
◆ Save configuration data and runtime data in the Java database only. If you absolutely need
to save this data to the file system level, you must use the Software Deployment Manager(SDM) to save the data.
◆ Follow the Open SQL standard.
◆ Make sure that all communication runs through the database pool.
● Don't:
◆ Save any system and infrastructure-specific data in business objects. Use a pointer to the
central storage of such information, for example:
▶ SAP SystemID and SID (SAPSID =SID=system name)
▶ Host name
▶ IP addresses
▶ Services and Ports
▶ Logical destinations and logical system names
▶ Other technical infrastructure names
◆ Use file system persistency.
◆ Set up dependencies between Java and ABAP.
◆ Try to copy the Java part of an ABAP+Java system to a Java standalone system or vice versa.
■ If you have implemented a federated portal network (FPN) across multiple SAP NetWeaver systems,
refer to SAP Note 1080080 before commencing with the system copy.
1 Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAPNetWeaver 7.0 SR3
1.5 Constraints
10 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 11/154
2 Planning
This section describes how to plan your system copy.
You can apply the system copy for:
■ Setting up system landscapes (where the SAP systems have different SAPSIDs).
■ Creating systems for testing, demonstration, training, and standby. Depending on the purpose of
the system, it might be advisable to use the same SAP system ID, even though this prevents you
from including the system in a system group for transports.
Only valid for: Oracle |
NOTE
You cannot create standby systems with a system copy.
End of: Oracle |
NOTE
You should perform upgrades in a test system first. This way you can identify customer-
specific problems that might result from modifications.
When copying a system that contains production data it is important to choose the right moment for
the copy. This could be a month-end or year-end closing.
CAUTION
Do not use NFS-mounted file systems because writing to NFS-mounted file systems might cause
corrupted dumps.
Required Documentation
■ Read the following SAP Note for up-to-date information:
SAP Note 1120872 (Homogeneous and Heterogeneous System Copy for SAP Systems Based on SAP NetWeaver 7.0
SR3)
■ The documentation System Copy for SAP Systems Based on SAP NetWeaver 7.0 SR3 only describes theexport of the source system in detail.
■ For the installation of the target system, you also need the installation guide for your SAP
application:
SAP NetWeaver 7.0: Installation Guide – SAP NetWeaver 7.0 SR3 ABAP+Java on <OS> : <DB> at
http://service.sap.com/installnw70 Installation – SAP NetWeaver Systems .
SAP ERP 6.0: Installation Guide – SAP ERP 6.0 SR3 ABAP+Java on <OS> : <DB> at http://
service.sap.com/erp-inst SAP ERP 6.0 Installation .
2 Planning
2010-03-16 PUBLIC 11 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 12/154
SAP CRM 5.0: Installation Guide – SAP CRM 5.0 SR3 ABAP+Java on <OS> : <DB> at http://
service.sap.com/crm-inst SAP CRM 2005 CRM Core and Standalone Components .
SAP SRM 5.0: Installation Guide – SAP SRM 5.0 SR3 ABAP+Java on <OS> : <DB> at http://
service.sap.com/srm-inst Using SAP SRM Server 5.0 .
SAP SCM 5.0: Installation Guide – SAP SCM 5.0 SR3 ABAP+Java on <OS> : <DB> at http://
service.sap.com/instguides SAP Business Suite Applications SAP SCM SAP SCM Server Using
SAP SCM 5.0 Server .
Required DVDs, Tools, and Other Software
Make sure that all required DVDs for the system copy are available:
■ Required DVDs
● Installation Master DVD
● Java DVD
NOTE
The DVD names are abbreviated.
You can find the full names of all media shipped with SAP NetWeaver 7.0 in Media Information for
SAP NetWeaver 7.0 at http://service.sap.com/installNW70.
■ Order the right version of the installation kit before starting the system copy.
Make sure that the versions of the SAP system and the installation tools are the same on the target
and source systems. Exceptions are only allowed if they are described in an SAP Note.
NOTE
You can operate several SAP systems on a single host without encountering any problems.
Nevertheless, we recommend that you use a separate host for each system because an SAP
system upgrade might depend on an OS upgrade. If the SAP systems are on separate hosts,
you can upgrade them at different times.
CAUTION
The source system must be in a consistent state before you can copy it.
■ Check that you have the appropriate tool versions for your SAP kernel.
■ For a heterogeneous system copy you need to get a migration key by generating it at http://
service.sap.com/migrationkey.
Creating A System Copy Plan
Create a plan to perform the system copy.
1. Consider the downtime of the source system (for preparations and copying) when planning the
system copy.
2. Perform a test run of the system copy. You can use the time taken by the test run to calculate the
system downtime:
2 Planning
12 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 13/154
■ If your target system will replace your source system, try to perform a complete test run. This
means that the entire database is exported from the source system, transferred to the target
system and imported there. System downtime is approximately equal to the total test time
(that is, time for export, transport, and import).
■ If you do not want to replace your source system, a partial test run (export of the entire database
or parts of it) can be sufficient to calculate the system downtime. The source system is only
down for the time of the export.
Calculating the system downtime is particularly important for very large databases (VLDB)
or when tapes are being used. The test run is also to determine the amount of export data.
Choose the best data transfer method (for example, FTP or tape). We recommend that you
perform read/write actions only on local file systems.
3. Define a schedule for the test migration and the final migration.
Miscellaneous
■ In the event of a major change in hardware configuration (for example, new machine type,
new hard disk configuration, new file system type), consult your SAP-authorized hardware
partner.
■ Decide which system copy procedure you want to use:
● The database-independent procedure using SAP tools.
Use this method if database-specific methods are either not available or not suitable. For more
information, see, Database-Independent System Copy [page 23].NOTE
For a heterogeneous system copy, only the database-independent method is
available.
● The database-specific procedure using tools provided by the database vendor
Some database vendors offer specific tools for copying a database. These tools let you:
◆ Restore a backup of one database (source database) in another one (target database)
(backup method)
◆ Unload the source database and load the data into the target database
For more information, see Database-Specific System Copy [page 55].
■Only valid for: Development Infrastructure (DI) |
Software Unit Development Infrastructure (DI) only:
For the migration of Java Development Infrastructure (JDI) components you can apply either
"Copy" or "Move".
● Copy
"Copy" is supported only by Design Time Repository (DTR). After a copy, both the source
DTR and target DTR can be used productively in parallel. However, Component Build Service
(CBS) and Change Management Service (CMS) do not support such a copy.
2 Planning
2010-03-16 PUBLIC 13 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 14/154
● Move
"Move" is supported by all JDI components ‒ DTR, CBS and CMS. After a move, the source
system can no longer be used ‒ that is, only the target is active after the move has been
performed.End of: Development Infrastructure (DI) |
■ Choosing an SAP system ID
You can choose the new SAP system ID <TARGET_SAPSID> freely during a new installation.
CAUTION
To meet the requirements of the Workbench Organizer, you must choose different SAP
system IDs for different SAP systems.
■ SAP license
Once the installation is completed and the SAP system copy has been imported, you will require
a new license key for the target system. The license key of the source system is not valid for this
system. For more information about ordering and installing the SAP license, see http://
help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability Solution Life Cycle Management SAP Licenses .
For more information about SAP license keys, see http://service.sap.com/licensekey.
■ Archiving files
Data that has been archived in the source system (data that does not reside in the database but was
moved to a different storage location using SAP Archive Management) must be made accessible
in the target system. Adapt the file residence information in the target system. For moreinformation, see http://help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver
Library SAP NetWeaver by Key Capability Solution Life Cycle Management Data Archiving .
Access to archive files is platform-independent.
■ Configuration analysis and hardware analysis
You need to determine the:
● Number of application servers
● Expected size of the database
● Additional disks or other hardware required
● Required memory
NOTE
See the section on hardware and software requirements in the SAP system installation
documentation to determine the system requirements.
■ These methods are not supported for all database systems. See the following table to check which
copy methods are available for your database system:
Database OS Platform Available Methods
SAP MaxDB UNIX Use one of the following:
● System copy procedure on UNIX using R3load for the
ABAP part and Jload for the Java part
2 Planning
14 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 15/154
Database OS Platform Available Methods
For more information, see System Copy Procedure [page 24].
● System copy procedure for a homogeneous system copy
only
For more information, see SAP MaxDB-specific procedure [page68].
SAP MaxDB Windows Use one of the following:
● System copy procedure on Windows using R3load for the
ABAP part and Jload for the Java part
For more information, see System Copy Procedure [page 24].
● System copy procedure for a homogeneous system copy
only
For more information, see SAP MaxDB-specific procedure [page
68].
IBM DB2 for i5/OS IBM System i Use one of the following:
● System copy procedure on System i using R3load for theABAP part and Jload for the Java part
For more information, see Starting SAPinst on System i [page
44].
● System i-specific procedure for a homogeneous system
copy only
For more information, see IBM DB2 for I5/OS Procedure [page
74].
For more information, see SAP Note 585277.
IBM DB2 for
Linux, UNIX, and
Windows
UNIX or Windows Use one of the following:
● Only valid for: UNIX |
System copy procedure on UNIX using R3load for theABAP part and Jload for the Java part
For more information, see System Copy Procedure [page 24].
End of: UNIX |
● Only valid for: Windows |
System copy procedure on Windows using R3load for the
ABAP part and Jload for the Java part
For more information, see System Copy Procedure [page 24].
End of: Windows |
● The backup method of IBM DB2 for Linux, UNIX, and
Windows is supported for SAP systems based on SAP
NetWeaver 7.0 SR3.
For more information, see IBM DB2 for Linux, UNIX, and
Windows Specific Procedures [page 71].
IBM DB2 for z/OS IBM System z Use one of the following:
● Only valid for: UNIX |
System copy procedure on UNIX using R3load for the
ABAP part and Jload for the Java part
For more information, see System Copy Procedure [page 24].End of: UNIX |
● Only valid for: Windows |
System copy procedure on Windows using R3load for the
ABAP part and Jload for the Java part
2 Planning
2010-03-16 PUBLIC 15 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 16/154
Database OS Platform Available Methods
For more information, see System Copy Procedure [page 24].
End of: Windows |
● Additional Information:
◆ For more information about the IBM DB2 for z/OSspecific procedure for a homogeneous system copy
only, see IBM DB2 for z/OS Specific Procedure [page 74].
◆ When R3ta is used to split tables, DELETE with WHERE
is not performed if import errors occur in the target
system.
For more information, see SAP Note 778729.
Oracle UNIX Use one of the following:
● Only valid for: UNIX |
System copy procedure on UNIX using R3load for the
ABAP part and Jload for the Java part
For more information, see System Copy Procedure [page 24].End of: UNIX |
● Oracle-specific procedure for a homogeneous system
copy only
For more information, see Oracle-Specific Procedure [page
57].
Oracle Windows Use one of the following:
● Only valid for: Windows |
System copy procedure on Windows using R3load for the
ABAP part and Jload for the Java part
For more information, see System Copy Procedure [page 24].End of: Windows |
● Homogeneous system copy only: Oracle backup/restore
method
For more information, see Oracle-Specific Procedure [page
57] and SAP Note 676468.
MS SQL Server Windows Use one of the following:
● Only valid for: Windows |
System copy procedure on Windows using R3load for the
ABAP part and Jload for the Java part
For more information, see System Copy Procedure [page 24].
End of: Windows |
● Homogeneous system copy only: Backup/Restore or
Detach/Attach Method
For more information, see MS SQL Server-Specific Procedure
[page 70] and SAP Notes 193816 and 151603.
2 Planning
16 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 17/154
3 Preparations
Before you start the system copy, you must perform the following preparation steps:
3.1 General Technical Preparations
Procedure
To make a consistent copy of the database, you need to prepare the source system and perform somesubsequent actions on the target system. This is not necessary when performing a test run.
The following describes important preparations. For more information about SAP system
administration, see the SAP Online Documentation.
■ Before you start a system copy, check the minimum kernel patch level required by the support
package level of the source system. It might be necessary to replace the SAP kernel delivered with
the kernel DVD of the installation kit and installed during the installation of the target system by
a newer kernel patch level before starting the target system. If you have to replace the delivered
SAP kernel, you can do this after the installation of the central instance.
■ Before you start the export on your source system, check that your JAVA_HOME environment
points to a valid JDK version.
■ No canceled or pending update requests should be in the system. Check this by choosing Tools
Administration Monitor Update (transaction SM13).
If canceled or pending updates exist, you must update these again or delete them from all clients.
You can see whether canceled or pending updates exist by checking if table VBDATA contains any
entries.
Find the canceled or open updates as follows:
1. Call transaction SM13.2. Delete the default values for the client, user, and time.
3. Choose all update requests.
If canceled or pending records exist, you must update these again or delete them. Check
whether this action was successful using transaction SE16 for table VBDATA.
■ Set all released jobs from Released to Scheduled :
Tools CCMS Background Processing Jobs - Overview and Administration (transaction SM37)
You also need to do this for jobs that must run periodically (see SAP Note 16083). Select all jobs
(include start after event ) as follows:
Job Released Scheduled
3 Preparations
3.1 General Technical Preparations
2010-03-16 PUBLIC 17 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 18/154
■ Adapt the operation mode timetable to make sure that no switching of operating modes takes
place while a system is being copied as follows:
Tools CCMS Configuration Operation mode calendar (transaction SM63)
■ Write down the logical system names of all clients:
1. If you plan to overwrite an existing system with a system copy (for example, the source and
target systems will both exist after the system copy), make sure you write down the logical
system names of all clients in the system that will be overwritten (transaction SCC4).
As the logical system names will be overwritten, in the event of differences, you must change
them back to their original names (as they existed in the system that is overwritten) in the
follow-on actions after the system copy.
2. If you create a new system with a system copy (that is, create an upgrade test system), make
sure that the logical naming strategy for this new system is consistent with your existing logical
system naming convention. If you are still planning your BI (formerly BW) system landscape,
see SAP Note 184447.
3. If your system copy is used to replace hardware for the DB server, migrate to a different database
system or operating system (that is, source system for the copy is the same as the copy target),
no changes to logical system names are required.
■ Before the export, delete QCM tables from your system as follows:
1. Before deleting you must always check
● That the tables are consistent ‒ no restart log or conversion procedure termination must
be displayed
● That the data of the original table can be read
● If application programs that use the affected original table do not run correctly, do not
delete the QCM table yet.
2. Call transaction SE14.
3. Choose Extras Invalid temp. table
All QCM tables that can be deleted are displayed.
4. Mark the tables and delete them.
■Only valid for: Development Infrastructure (DI) |
Usage Type Development Infrastructure (DI) only:
If your SAP system is of usage type Development Infrastructure (DI) then this system can only be
moved, but not be copied. This means that it is possible to migrate such a system from one host to
another but it is not possible to keep both systems active after the migration. If you want to move
an SAP system with usage type Development Infrastructure (DI), make sure that the following
prerequisites are met:
● The users and passwords created in the source system are valid in the target system (for
example, they use the same UME).
3 Preparations
3.1 General Technical Preparations
18 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 19/154
● Check in (or revert) all open activities (of all users) in the SAP NetWeaver Developer Studio
by using the Design Time Repository perspective (DTR perspective).
● Remove all existing development configurations from the SAP NetWeaver Development
Studio.
● Verify in the DTR Web UI that there are no pending entries in the NameReservation queue.
To check this, go to http://<dtrhost>:<port>/dtr/sysconfig/support/
NameReservationList and check that there are no entries with the state PRELIMINARY,
FINALIZE_PENDING or REVERT_PENDING in the queue.
If there are entries with the state FINALIZE_PENDING or REVERT_PENDING you have to wait for
the next run of the name reservation background task in the DTR server that ends these
entries. This background task runs normally every 15 minutes.
To check the frequency of this background task you can have a look at http://
<dtrhost>:<port>/dtr/sysconfig/scheduled_tasks.html and check the value Periodicity for
the task ProcessNameReservationsTask. As precondition for a successful execution of this
background task, the name server must be configured in the DTR server (http://
<dtrhost>:<port>/dtr/system-tools/administration/NameServerConfiguration. There
should be no entries with the state PRELIMINARY in the name reservation queue since they
only occur if there are open activities (which should not be the case if you followed the previous
steps).
● Stop all applications of the Development Infrastructure (DI) on the source system.
End of: Development Infrastructure (DI) |
■ FI customers: You can perform an additional consistency check by running the job SAPF190 before
copying the source system, as well as after copying the target system, and then compare the results.
Make sure that no customer data is changed in the meantime. You can do this as follows:
Accounting Financial Accounting General ledger Periodic Processing Closing Check/count
Comparison
■ FI customers: You can further check consistency by running the jobs RFUMSV00 (tax on sales/
purchases), RAGITT01 (asset history sheet), RAZUGA01 (asset acquisitions), RAABGA01 (fixed asset
retirements) before copying the source system, as well as after copying the target system, and then
compare the results. Make sure that no customer data is changed in the meantime.
■ CO customers: You can perform an additional consistency check by running the report group
1SIP before copying the source system, as well as after copying the target system, and then compare
the results. Make sure that no customer data is changed in the meantime.
CAUTION
Prerequisites for an export:
Before performing an export, make sure that no incremental conversion is in progress.
3 Preparations
3.1 General Technical Preparations
2010-03-16 PUBLIC 19 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 20/154
To test if an incremental conversion is in progress, run transaction ICNV. If there are any table
entries in table TICNV, an incremental conversion is in progress. In this case, you have the
following options:
1. Defer the migration until the incremental conversion has finished.
2. Try to finish the incremental conversion by performing the following steps:
● If the tables are in state For conversion or in state Done, delete the entries by choosing Control
Delete Entry .
● If the tables are in any other state, you have to finish the incremental conversion. Choose
Assistant and proceed according to the online documentation.
CAUTION
Heterogeneous System Copy only:
Before you start the export of your source system, make sure that the tables TATGPC andTATGPCA are empty. To do so, use your database utility and delete the contents of these tables
with the following statements:
DELETE from TATGPC
DELETE from TATGPCA
Normally both tables are empty. If you do not delete the contents of these tables you will
encounter problems while importing the data to your target system because of non NULL
capable fields in these tables.
■ Prepare the system for SAPinst. For more information, see Installing the Java Development Kit [page
20].
3.2 Installing the Java Development Kit
You need to prepare the system for the J2EE Engine by installing the Java Development Kit (JDK).
The JDK includes the Java Runtime Environment (JRE), which is required both for SAPinst and the
SAPinst GUI.
Only valid for: UNIX;Windows |
NOTE
If required, you can perform a remote installation using a standalone SAPinst GUI on a separate
Windows or UNIX host. This lets you perform the installation on a remote host, controlling it
with the SAPinst GUI from a local host.
If you want to perform a remote installation, see Performing a Remote Installation with SAPinst [page
143]. In this case, you need at least a JRE on the local host to start the SAPinst GUI there.
End of: UNIX;Windows |
3 Preparations
3.2 Installing the Java Development Kit
20 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 21/154
Only valid for: IBM i5/OS |
NOTE
Since System i has no graphical user interface, the SAPinst executable is running on the Windows
installation host. You need to install a valid JDK on Windows only for installation purposes. The
J2EE Engine of the SAP System uses the IBM JDK as mentioned in the section Hardware and Software
Requirements.
End of: IBM i5/OS |
Procedure
1. Check the JDK versions that are released for SAP systems in the Product Availability Matrix (PAM):
1. Go to http://service.sap.com/pam.
2. Only valid for: SAP NetWeaver |
On the right-hand panel, choose SAP NetWeaver SAP NetWeaver 7.0 (2004S) .
End of: SAP NetWeaver |
3. Only valid for: SAP Solution Manager |
On the right-hand panel, choose SAP Technology Components SAP SOLUTION MANAGER
<Current Release> .
End of: SAP Solution Manager |
4. Only valid for: SAP CRM;SAP ERP;SAP SCM;SAP SRM |
On the right-hand panel, choose SAP Application Components <your product> .
End of: SAP CRM;SAP ERP;SAP SCM;SAP SRM |
5. Choose tabstrip JSE Platforms.NOTE
For more information about the recommended JDK version for your operating system and
about how to download it, see SAP Note 723909.
2. Make sure a valid JDK version is installed on every host on which you want to install an SAP instance
with the J2EE Engine, as follows:
■ If the JDK is not already installed, you need to download and install it.
■ If the JDK is already installed
Check the installed version of the JDK by entering the following command:
java -version
NOTE
SAPinst checks environment variable SAPINST_JRE_HOME for a valid Java runtime
environment.
If SAPINST_JRE_HOME is not found, SAPinst also checks JAVA_HOME.
3 Preparations
3.2 Installing the Java Development Kit
2010-03-16 PUBLIC 21 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 22/154
Only valid for: UNIX | Linux |
NOTE
If you use a Sun Java VM, you have to edit the configuration file $JAVA_HOME/jre/lib/
security/java.security, replacing entry securerandom.source=file:/dev/random withsecurerandom.source=file:/dev/urandom.
End of: UNIX | Linux |
3. As of SAP NetWeaver 7.0 strong encryption is mandatory for the J2EE Engine and for all usage types
that are deployed on it. You need to obtain the JCE policy files beforehand so that they can be
installed by SAPinst:
1. Only valid for: UNIX;Windows | Solaris;HP-UX;Linux;Windows |
Download the JCE policy files for your platform at http://java.sun.com/javase/
downloads.
End of: UNIX;Windows | Solaris;HP-UX;Linux;Windows |2. Only valid for: UNIX;IBM i5/OS | AIX;Linux;IBM i5/OS;z/OS |
Download the JCE policy files for your platform at http://www6.software.ibm.com/dl/
jcesdk/jcesdk-p.
Only valid for: z/OS |
NOTE
You can also use this link for Linux for System z and Linux for AMD.
End of: z/OS |
End of: UNIX;IBM i5/OS | AIX;Linux;IBM i5/OS;z/OS |
3. SAPinst installs the JCE policy files during the installation process.
4. Only valid for: UNIX | AIX |
Copy the JCE policy files to directory /usr/java14_64/jre/lib/security.
End of: UNIX | AIX |
5. Only valid for: IBM i5/OS | IBM i5/OS |
Copy the JCE Policy files to directory \QIBM\ProdData\Java400\jdk14\lib\security.
End of: IBM i5/OS | IBM i5/OS |
6. Only valid for: UNIX | z/OS |
Copy the JCE Policy files to JAVA_HOME/lib/security.
End of: UNIX | z/OS |
3 Preparations
3.2 Installing the Java Development Kit
22 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 23/154
4 Database Independent System Copy
You can use the SAP installation tool SAPinst to export and import your Java database content, file
system, and all configuration in a database-independent format. SAPinst uses both the R3load tool
and the Jload tool.
R3load generates a database export of all SAP objects that are defined in the ABAP Dictionary and
archives the configuration and components in the file system.
Jload generates a database export of all SAP objects that are defined in the Java Dictionary and archives
the configuration and components in the file system.
Constraints
R3load and Jload Restrictions
■ SAPinst generates a database dump of all SAP objects that are defined in the ABAP Dictionary
(R3load) or Java Dictionary (Jload). Other objects are not exported by SAPinst.
■ For a consistent database the SAP system must be shutdown (excluding the database!). The database
must still be running.
■ R3load only: Changes to database objects that cannot be maintained in the ABAP Dictionary
(transaction SE14), such as the distribution of tables over several tablespaces or dbspaces, are
lost after the system copy.
■ R3load only: Indexes longer than 18 characters are not allowed on the database to be exported.
System Copy Tools
■ Every installation service (dialog instance installation, for example) must have its own separate
installation directory whenever you start SAPinst.
■ If the target system already exists and if you do not plan to perform an MCOD installation,
delete the database on the target system before the import according to the corresponding
description in section Additional Information of the installation documentation for your SAP
component.
If the database configuration of your database is stored in the file system, we recommend you to
back up these configuration files before deleting the database.
Splitting STR Files
■ During the standard system copy process, all tables of the SAP system are grouped into packages,
whereby all tables with the same data class belong to the same package. The processing unit for
one unload/load process is a package. The packages usually differ in number and size of contained
tables, resulting in varying unload/load runtimes. The overall runtime can be reduced by creating
4 Database Independent System Copy
2010-03-16 PUBLIC 23 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 24/154
packages of the same size, that is, creating packages with a similar processing time. You can achieve
this by splitting the default packages (one package per data class) into more and smaller pieces.
■ There are several options of how to split packages. For a detailed description of the options, see the
F1 help about the parameters prompted on the screen Split STR Files while running SAPinst to
export the database. The options can be used separately or ‒ when using the new Java based splitting
tool ‒ combined.
■ “Splitting of STR Files” is part of the “Advanced Export Parameters” and is disabled by default. If
you select the splitting option and unless you did not already perform some tests, using the splitting
tool parameters selected by SAPinst is a good starting point.
CAUTION
If you want to split STR files, you must first create the EXT files for the target database system.
You can find the EXT files in your export dump directory, subdirectory DB/<DBTYPE>, forexample DB/ORA.
Process Flow
For UNIX, Windows, or System i, see System Copy Procedure [page 24].
4.1 System Copy Procedure
This section describes the system copy procedure using R3load and Jload.
Procedure
Process Flow on the Source System (Export)
When performing the export you create a MIGRATION EXPORT CD image, which contains the data
of the exported system, and which you use to install the target system.
Follow the sequence of steps described in the process flows below for a:
■ Central System
■ Distributed System and High-Availability System
Central System
To perform the export for a central system, you need to proceed as follows on the central system host:
1. Heterogeneous system copy: Generate the migration key at http://service.sap.com/
migrationkey. Enter the installation number of your source system when prompted.
2. Perform the export on the central system host:
1. Only valid for: UNIX;Windows |
Make sure that the QCM tables are deleted from your system.
For more information, see General Technical Preparations [page 17].
End of: UNIX;Windows |
4 Database Independent System Copy
4.1 System Copy Procedure
24 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 25/154
2. Only valid for: IBM i5/OS |
Prepare the Windows host for the SAP system installation.
For more information, see Preparing the Windows Host for the SAP System Installation [page 39].
End of: IBM i5/OS |3. Only valid for: IBM i5/OS |
Prepare a Windows user account and a System i user profile.
For more information, see Preparing a Windows User Account and System i User Profile [page 40].
End of: IBM i5/OS |
4. Only valid for: IBM i5/OS |
Install TMKSVR and create an installation share.
For more information, see Installing TMKSVR and Create an Installation Share [page 41].
End of: IBM i5/OS |
5. Generate DDL statements.
For more information, see Generating DDL Statements [page 27].
6. Prepare the system for table splitting (optional).
For more information, see Preparation for Table Splitting [page 28].
7. Run SAPinst on UNIX, Windows, or System i to prepare the source system for parallel export
or parallel import (optional).
For more information, see Running SAPinst on UNIX or Windows to Perform the Export [page 32] or
Running SAPinst on System i to Perform the Export [page 39].
In SAPinst, choose the installation service Export Preparation.
8. Run SAPinst on UNIX, Windows, or System i to export the database instance and the centralinstance.
In SAPinst, choose the installation service Database and Central Instance Export .
For more information, see Running SAPinst on UNIX or Windows to Perform the Export [page 32] or
Running SAPinst on System i to Perform the Export [page 39].
NOTE
If R3load processes fail due to an error, solve the problem and perform a restart.
For more information, see Restarting R3load Processes [page 48].
Only valid for: IBM i5/OS;UNIX |
CAUTION
If your database instance is running on HP PA-Risc, you must proceed as described in
SAP Note 884452.
End of: IBM i5/OS;UNIX |
Result
You have finished this part of the system copy. To complete the system copy, you set up the target
system using SAPinst.
For more information, see Setting Up the Target System Using SAPinst [page 49].
4 Database Independent System Copy
4.1 System Copy Procedure
2010-03-16 PUBLIC 25 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 26/154
Distributed System or High-Availability System
To perform the export for a distributed system or a high-availability-system, you need to proceed
as follows:
1. Heterogeneous system copy only: Generate the migration key at http://service.sap.com/
migrationkey. Enter the installation number of your source system when prompted
2. Perform the export on the database instance host:
1. Only valid for: UNIX;Windows |
Make sure that the QCM tables are deleted from your system.
For more information, see General Technical Preparations [page 17].
End of: UNIX;Windows |
2. Generate DDL statements.
For more information, see Generating DDL statements [page 27].
3. Prepare the system for table splitting (optional).For more information, see Preparation for Table Splitting [page 28].
4. Run SAPinst on UNIX, Windows, or System i to prepare the source system for parallel export/
import (optional). In SAPinst, choose the installation service Export Preparation.
For more information, see Running SAPinst on UNIX or Windows to Perform the Export [page 32] or
Running SAPist on System i to Perform the Export [page 39].
5. Run SAPinst on UNIX, Windows, or System i to export the database instance. In SAPinst,
choose the installation service Database Instance Export .
For more information, see Running SAPinst on UNIX or Windows to Perform the Export [page 32] or
Running SAPinst on System i to Perform the Export [page 39].
CAUTION
If your database instance is running on HP PA-Risc, you must proceed as described in
SAP Note 884452.
3. Perform the export on the central instance host:
You run SAPinst to export the central instance. For more information, see Exporting the Source System
Using SAPinst [page 32].
In SAPinst, choose the installation service Central Instance Export .
Result
You finished this part of the system copy. To complete the system copy, you set up the target system
using SAPinst.
For more information, see Setting Up the Target System Using SAPinst [page 49].
4 Database Independent System Copy
4.1 System Copy Procedure
26 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 27/154
Overview on Export Options
Figure 1:
4.2 Generating DDL StatementsTo migrate nonstandard database objects, you need to generate DDL statements using the ABAP report
SMIGR_CREATE_DDL.
You must perform this procedure before starting SAPinst.
Procedure
1. Log on to the system as a system administrator in a productive client.
2. Call transaction SE38 and run the program SMIGR_CREATE_DDL.
3. Select the target database. Depending on the database manufacturer, you might need to select the
database version. The value help supports you in selecting the database version. In general, you
only should enter a database version that is available in the value help .
4. You are able to select Unicode Migration if you also wish to perform a Unicode system copy (from
Unicode to Unicode) or a Unicode conversion (from non-Unicode to Unicode).
5. Specify an empty working directory to which the files generated by the report are to be written.
6. If required, you can restrict the generation of DDL statements to specific table types or individual
tables.
7. Execute the program.
The DDL statements are generated and are written to the specified directory.
4 Database Independent System Copy
4.2 Generating DDL Statements
2010-03-16 PUBLIC 27 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 28/154
CAUTION
If no database-specific objects exist in the database, no SQL files will be generated. As long as
the report terminates with status successfully, this is not an error.
8. Before starting the export, the generated SQL files have to be copied from the specified directoryto the <instdir> directory of the export.
For additional database-specific information, see also SAP Note 888210.
4.3 Preparation for Table Splitting
The tool R3ta processes large tables. Instead of exporting/importing one table with one R3load process,
the table is processed in, for example, 10 entities. Each entity can be processed by different R3load
processes. The advantages of splitting the tables are:
■ Large tables are processed in smaller packages. If the export or import of a table aborts with an
error, only the processing of the package where the error occurred has to be repeated and not for
the complete table.
■ The export and import of one table can be performed in parallel by starting several R3load processes
to work on some packages in parallel.
Prerequisites
■ The export and import has to be performed with the Migration Monitor when the table splitting
feature is used.
■ For the following databases, we recommend that you create an index on the column listed in the
hints file for the table you want to split before starting R3ta:
● DB2 for z/OS (Only create a temporary index if you want to perform an unsorted unload.)
● Oracle
For more information, see paragraph Creating a Temporary Index .
Restrictions
■ Only tables that are described in the SAP dictionary can be split.
■ The following tables cannot be split:
● DDNTF
● DDNTF_CONV_UC
● DDNTT
● DDNTT_CONV_UC
● DDLOG (is never copied, but created empty in the target system)
4 Database Independent System Copy
4.3 Preparation for Table Splitting
28 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 29/154
Procedure
1. Update the R3ta , R3ldctld and the db<dbtype>slib.* in the kernel directory. You can find a
version of these files on the Installation Master DVD in the directory IM_<OS>/<DBTYPE>/{UC/
NUC}.2. Create a file that contains lines of the form <table>%<nr of splits> for all tables to be split.
CAUTION
The tables listed in this file have to appear in alphabetical order!
3. Start SAPinst.
4. Choose SAP NetWeaver System Copy Source System ABAP System <Database> <Unicode or Non-
Unicode> Table Splitting Preparation .
5. Specify SAPSID, <sidadm> password, the file that contains the split information, the export
directory, and the number of parallel R3ta jobs.
CAUTION
The specified path to the export directory must not contain blanks!
6. Continue with Next .
CAUTION
When doing a code page conversion (non-Unicode→Unicode; 4102↔ 4103), make sure not
to use a WHERE condition with the column PAGENO included. If the column PAGENO is
included in the WHERE condition, repeat the table splitting - either with different splitting
parameters or by defining a suitable column for this table using the R3ta_hints.txt.
7. Check in the export directory <export dump directory>/ABAP/DATA if *.WHR files have beencreated for all tables that are to be split.
If no *.WHR files could be produced for some of these tables, create fewer packages for these tables:
1. Create a new, empty installation directory.
2. Define a new, empty export dump directory <temporary dump directory>.
3. Run the Prepare Table Splitting service again and provide an input file that contains only the
missing tables with a lower number of packages for each defined table.
If the *.WHR files have been created for the missing tables, merge these results with the results from
the first Prepare Table Splitting run:
1. Copy the *.WHR files from <temporary dump directory>/ABAP/DATA to <export dump
directory>/ABAP/DATA.
2. Add the lines from <temporary dump directory>/ABAP/DATA/whr.txt to <export dump
directory>/ABAP/DATA/whr.txt.
8. If required, create the temporary index on the source system's tables to be split. For more
information, see paragraph Creating a Temporary Index .
Parallel data export of a table is supported by all database platforms but not parallel data import. When
the target database platform does not support the parallel data import, the Migration Monitor has to
4 Database Independent System Copy
4.3 Preparation for Table Splitting
2010-03-16 PUBLIC 29 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 30/154
be configured in the way that the data import processes the packages are sequentially. For more
information, see Processing Split Tables.
Using HintsWith the fileR3ta_hints.txt, you can instruct R3ta to use specific columns of a table to create a WHERE
condition. The file has to be located in the directory in which you start R3ta.
With one line in the file R3ta_hints.txt, you specify the table name followed by one or more column
names, separated by a blank. The columns have to be part of the primary key of the table. These
specifications are used by R3ta to create the WHERE condition.
A file R3ta_hints.txt with column hints for several tables is delivered with the Installation Master
DVD. After the Table Splitting Preparation, make sure you select the Split predefined tables checkbox and add
the R3ta_hints.txt file in the Split STR Files dialog box. If you want to modify this file, copy it from the
directory <IM_OS>/COMMON/INSTALL to the installation directory and adapt it according your
requirements as soon as the Parameter Summary dialog appears and before starting the processing phase.
Creating a Temporary Index
Only valid for: IBM DB2 for z/OS |
IBM DB2 z/OS only: Create the corresponding temporary index on the database with database tools.
Only create a temporary index if you want to perform an unsorted unload. This is the case when you
use a DDLDB2.TPL file with no ORDER_BY_PKEY and the R3load does not overrule this setting. Which
tables cannot be unloaded unsorted is described in SAP Note 954268.
End of: IBM DB2 for z/OS |
Only valid for: IBM DB2 for z/OS |
EXAMPLE
1. Use the DEFER YES parameter to create the index.
2. Afterwards, use the REBUILD INDEX job to speed up the index creation process.
End of: IBM DB2 for z/OS |
Only valid for: Oracle |
Oracle only: For further information and for alternatives, see SAP Note 960280.
End of: Oracle |
For each table to be split, R3ta creates the following files to facilitate the creation of the temporary
index:
File Description
<table>_IDX.STR Contains the description of the temporary index; the default index name is
<table>~IMG.
<table>_IDX.TSK Contains the task to create the temporary index.
<table>_IDX.cmd R3load command file for creating the temporary index.
DRP_<table>_IDX.TSK Contains the task to drop the temporary index.
DRP_<table>_IDX.cmd R3load command file for dropping the temporary index.
4 Database Independent System Copy
4.3 Preparation for Table Splitting
30 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 31/154
You can use the R3load cmd, STR and TSK files created by R3ta to create the index.
1. Only valid for: IBM DB2 for i5/OS;IBM DB2 for Linux and UNIX and Windows;IBM DB2 for z/OS;MaxDB;MS SQL Server |
Make sure that you do not lock the table while creating the temporary index. Depending on your
database platform it might be necessary to modify the create index statement in theDDL<DBTYPE>.TPL file.
End of: IBM DB2 for i5/OS;IBM DB2 for Linux and UNIX and Windows;IBM DB2 for z/OS;MaxDB;MS SQL Server |
2. Only valid for: Oracle |
Make sure that you do not lock the table while creating the temporary index. Depending on your
database platform it might be necessary to modify the create index statement in the
DDL<DBTYPE>.TPL file.
Edit the file DDLORA.TPL and add the highlighted key words to the creind statement:
creind: CREATE &unique&
INDEX &ind name&
ON &tab name&
( /{ &fld name& /-, /} )
TABLESPACE &tablespace&
STORAGE (INITIAL &init&
NEXT &next&
MINEXTENTS &minext&
MAXEXTENTS &maxext&
PCTINCREASE &pctinc& )
NOLOGGING
COMPUTE STATISTICS PARALLEL
ONLINE;
End of: Oracle |
3. Call R3load as user <sapsid>adm with the following parameters:
R3load –dbcodepage <source system’s dbcodepage> –i
<table>_IDX.cmd –l <table>_IDX.log
If your source system is a non-Unicode system, the dbcodepage is 1100. If your source system is a
Unicode system, the dbcodepage is 4102 (Big Endian) or 4103 (Little Endian).
4.4 Preparing the Export
Optionally you can prepare the source system for the export using R3load and Jload, so as to enable
parallel export/import. For this purpose you need to create certain files.
The following steps are performed:
■ Creating the export directory structure
■ Creating database structure files (*.STR)
■ Updating database statistics (…)
4 Database Independent System Copy
4.4 Preparing the Export
2010-03-16 PUBLIC 31 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 32/154
■ Size calculation for the target database (*.EXT,DBSIZE.XML)
These export preparations are required, if:
■ You want to build up the target system to the point where the database load starts, before the
export of the source system has finished.
■ Export and import processes should run in parallel during the system copy process.
Procedure
1. You run SAPinst to perform the service Export Preparation.
For more information, see Running SAPinst on UNIX or Windows to Perform the Export [page 32].
2. As soon as the export preparations have finished successfully, the complete export directory with
its structure and the generated files, which are required for building up the target system, have to
be transferred to the target host. You can choose one of the following methods:
■ Use the migration monitor with the FTP Copy Option to transfer the files to the target instance.
■ Copy the export dump directory manually to the target host.
■ The export dump directory can be shared and thus made accessible on the target host.
In any case make sure that the dump directory and its subdirectories and files are accessible for
user <sapsid>adm of the target system.
NOTE
For more information, see the documentation Migration Monitor – User’s Guide in the
MIGMON.SAR archive on the SAP Installation Master DVD.
4.5 Exporting the Source System Using SAPinst
Here you can find information about how to run SAPinst to perform the export on the source system:
■ Running SAPinst on UNIX or Windows to Perform the Export [page 32]
■ Running SAPinst on System i to Perform the Export [page 44]
4.5.1 Running SAPinst on UNIX or Windows to Perform theExport
This procedure tells you how to run SAPinst to export the database of your SAP system. SAPinst includes
a SAPinst GUI and a GUI server, which both use Java.
This section describes a standard export where SAPinst, SAPinst GUI, and the GUI server are running
on the same host. If required, you can instead perform a remote system copy with SAPinst, where
SAPinst GUI is running on a separate host from SAPinst and the GUI server. For more information, see
Performing a Remote Installation with SAPinst [page 143].
Note the following about SAPinst:
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
32 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 33/154
■ When you start SAPinst, SAPinst GUI and the GUI server are also started. SAPinst GUI connects
using a secure SSL connection to the GUI server and the GUI server connects to SAPinst.
Only valid for: UNIX |
■ SAPinst normally creates the installation directorysapinst_instdir directly below the temporary
directory. SAPinst finds the temporary directory by checking the value of the environment
variables TEMP, TMP, or TMPDIR. If no value is set for these variables, SAPinst uses /tmp as default
installation directory.
■ The SAPinst Self-Extractor extracts the SAPinst executables to the temporary directory. These
executables are deleted again after SAPinst has stopped running. If required, you can terminate
SAPinst and the SAPinst Self-Extractor by pressing Ctrl+C .
End of: UNIX |
Only valid for: Windows |
■ SAPinst normally creates the installation directory sapinst_instdir, where it keeps its log files,
and which is located directly below the Program Files directory. If SAPinst is not able to create
sapinst_instdir directly below the Program Files directory, SAPinst tries to create
sapinst_instdir in the directory defined by the environment variable TEMP.
■ SAPinst creates a subdirectory for each installation service, called <sapinst_instdir>
\<installation_service> which is located below %ProgramFiles%\sapinst_instdir.
■ The SAPinst Self-Extractor extracts the executables to a temporary directory (TEMP, TMP,
TMPDIR, or SystemRoot). These executables are deleted after SAPinst has stopped running.
Directories with the name sapinst_exe.xxxxxx.xxxx sometimes remain in the temporarydirectory. You can safely delete them.
In the temporary directory, you can also find the SAPinst Self-Extractor log file dev_selfex.out,
which might be useful if an error occurs.
End of: Windows |
CAUTION
If SAPinst cannot find a temporary directory, the installation terminates with the error
FCO-00058.
Only valid for: Windows |
■ If you want to terminate SAPinst and the SAPinst Self-Extractor, do one of the following:
● Right-click the icon for the SAPinst output window located in the Windows tray and choose
Exit .
● Click the icon for the SAPinst output window located in the Windows tray and choose File
Exit .
End of: Windows |
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
2010-03-16 PUBLIC 33 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 34/154
Prerequisites
CAUTION
Make sure that you shut down all SAP Application Servers before the export. The database must
still be running. Otherwise, the target system might be inconsistent.
■Only valid for: UNIX |
You are logged on to your host as user root.
End of: UNIX |
Only valid for: Windows |
You are logged on to your host as user with the required rights and privileges that authorize you
to install the SAP system with the SAPinst tool. For more information, see section Required User
Authorization for the Installation in your installation guide.
End of: Windows |
■ Make available the Master Installation DVD.
■ You need at least 60 MB of free space in the installation directory for each ABAP installation option,
and at least 130 MB of free space in the installation directory for each Java installation option. In
addition, you need 60-200 MB free space for the SAPinst executables.
Only valid for: UNIX |
If you cannot provide 200 MB free space in the temporary directory, you can set one of the
environment variables TEMP,TMP, or TMPDIR to another directory with 200 MB free space for the
SAPinst executables.
End of: UNIX |
■Only valid for: Windows |
Before starting the export steps on the central instance of the source system, make sure that you
have at least the same amount of disk space available in \\SAPLOC\<SAPSID>\<InstanceName>\SDM
\program as is used in \\SAPLOC\<SAPSID>\<InstanceName>\root\origin. During the export
some archives are written to the program subdirectories and SAPinst aborts if there is not enough
space.
End of: Windows |
■Only valid for: DB2 UDB for UNIX and Windows |
Before you start the export of the existing SAP System, you have to download the current versionof R3szchk athttp://service.sap.com/patches and copy it to directory /usr/sap/<>/SYS/exe/
run/.
End of: DB2 UDB for UNIX and Windows |
Only valid for: UNIX |
■ Before starting the export, make sure that you have at least the same amount of disk space available
in /sapmnt/<SAPSID>/<InstanceName>/SDM/program as is used in /sapmnt/<SAPSID>/
<InstanceName>/SDM/root/origin.
During the export, some archives are written to the program subdirectories and SAPinst aborts if
there is not enough space.
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
34 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 35/154
■ Make sure that the DISPLAY environment variable is set to <host_name>:0.0, where
<host_name> is the host where the SAPinst GUI is displayed.
■ Make sure that your SAPINST_JRE_HOME environment variable is set to a valid Java Runtime
Environment (JRE).
■Only valid for: AIX |
If the operating system is AIX 64-bit, make sure that the PATH variable points to a JDK/JRE for AIX
64-bit.
End of: AIX |
End of: UNIX |
For more information about SAPinst, see Using SAPinst GUI [page 139], Interrupted Installation with SAPinst
[page 140], and Performing a Remote Export Using SAPinst [page 142].
Procedure1. Start SAPinst from the SAP Installation Master DVD as follows:
Only valid for: UNIX |
Choose one of the following ways:
End of: UNIX |
Only valid for: UNIX |
■ Using the default installation directory (recommended)
Enter the following commands:
cd <Installation_Master_DVD>/IM_<OS> ./sapinst
SAPinst creates a directory called sapinst_instdir, which is the current working directoryfor your installation, below the temporary directory of your operating system.
■ Using an alternative installation directory
If you want to use an alternative installation directory, set the environment variable TEMP,
TMP, or TMPDIR.
■ Make sure that your operating system does not delete the contents of the temporary
directory /tmp or the contents of the directories to which the variables TEMP, TMP, or
TMPDIR point, for example, by using a crontab entry.
■ Make sure that your current working directory is not an IM_<OS> directory belonging to
another operating system.
EXAMPLE
For example, the following causes an error:
$ cd /sapcd2/IM_HPUX_IA64
$ /sapcd2/IM_ HPUX_PARISC/sapinst
To correct this, enter the following:
$ cd /sapcd2/IM_HPUX_PARISC
$ /sapcd2/IM_HPUX_PARISC/sapinst
End of: UNIX |
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
2010-03-16 PUBLIC 35 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 36/154
Only valid for: Windows |
■ Double-click sapinst.exe from the following path:
<DVD_drive>:\DATA_UNITS\IM_WINDOWS_<platform>
SAPinst GUI normally starts automatically by displaying the Welcome screen.End of: Windows |
NOTE
During the installation, the default ports 21200 and 21212 are used for communication
between SAPinst, GUI server, and SAPinst GUI. SAPinst uses port 21200 to communicate with
the GUI server. The GUI server uses port 21212 to communicate with SAPinst GUI. You get
an error message if one of these ports is already in use by another service.
In this case, open a command prompt and change to the required directory as follows:
<DVD drive>:\IM_WINDOWS_<platform>.
Enter the following command in a single line:
sapinst.exe
SAPINST_DIALOG_PORT=<free_port_number_sapinst_gui_to_gui_server>
GUISERVER_DIALOG_PORT=<free_port_number_gui_server_to_sapinst_gui>
For a list of all available SAPinst properties, enter the following command: sapinst —p.
2. On the Welcome screen, choose Software Life-Cycle Options System Copy <database> Source System
<Distribution option> Based on <technical stack> .
3. Select the corresponding system copy option from the tree structure according to the sequence
of the process flow for the database-specific or the database-independent system copy procedure.For more information, see Database-Specific System Copy procedure [page 55] or Database-Independent System
Copy [page 23].
CAUTION
Make sure that you choose the system copy options exactly in the order they appear for each
system variant.
The following table provides an overview about the available installation options available for the
export:
Export Services for a Central System
Export Service Remarks
Export Preparation
NOTE
You do not perform this step if you use
the database-specific method.
Optional step for preparing the export.
SAPinst performs the following steps:
■ Creates the export directory structure
■ Creates database structure files (*.STR)
■ Updates database statistics (…)
■ Calculates the size of the target database
(*.EXT,DBSIZE.XML)
Database and Central Instance Export
If you use the database-specific procedure,
SAPinst only performs the following steps:
Mandatory step for system copy procedure.
SAPinst performs the following steps:
■ Creates the export directory structure with label
files
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
36 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 37/154
Export Service Remarks
NOTE
■ Creates the export directory
structure with label files
■ Archives the SDM
■ Archives application-specific file
system content.
■ Creates database structure files (*STR)
■ Updates database statistics
■ Calculates the size of the target database
(*EXT,DBSIZE.XML) ■ Exports the database content
■ Archives the SDM
■ Archives application-specific file system content
4. After you have selected the required option, choose Next .
Only valid for: UNIX |
CAUTION
If your database instance is running on HP PA-Risc, you must proceed as described in SAP
Note 884452.
End of: UNIX |NOTE
If you generated SQL files with DDL statements (see Generating DDL Statements [page 27]), copy
the generated files into the SAPinst installation directory as soon as it has been created by
SAPinst. The installation directory will have been created as soon as the first input screen
appears.
5. Follow the instructions in the SAPinst input dialogs and enter the required parameters.
CAUTION
You must choose Typical when performing a system copy with database tools.
NOTE
For more information about input parameters in SAPinst, position the cursor on the
parameter field and choose F1 .
6. Database-specific procedures only: On the screen SAP SystemDatabase Export choose option System
Copy Method Use database specific tools .
After you have entered all required input parameters, SAPinst starts the export and displays the progress
during the processing phase.
Troubleshooting
If an export process aborts due to a hardware failure (for example, file system full, power outage,
operating system crash), you have to repeat the export of the complete package. Remove the dump
files <package>.<nnn>, the TOC file <package>.TOC, the log file <package>.log and make sure that
all tables in the TSK file <package>.*TSK* have the status flag 'xeq' or 'err' set.
■ If there is not enough disk space in the export directory, the R3load database export fails. You can
then find error messages in the log files SAP*.log.
You can subsequently move the dump files that have been created from the file system in which
the export directory is located to a different file system during the export. Currently there is no
possibility to automatically distribute the export over different file systems.
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
2010-03-16 PUBLIC 37 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 38/154
■ If an error occurs during the dialog phase, SAPinst:
● Stops the export.
● Displays a dialog that informs you about the error.
You can now directly view the log file by choosing View Logs.
Finally you must abort the export with OK and try to solve the problem.
■ If an error occurs during the processing phase, SAPinst:
● Stops the export.
● Displays a dialog that informs you about the error.
You can now:
● Directly view the log file by choosing View Logs.
● Try to solve the problem.
●
Continue the export by choosing Retry. ● Abort the export by choosing OK .
Only valid for: UNIX |
■ System Copy - export on UNIX (especially for upgraded systems)
Symptom:
Processes started as <sid>adm or ora<sid> OS users cannot create or open files in the installation
directory.
Reason:
Only members of sapinst UNIX group can access the installation directory.
This group is created first by SAPinst starting from NW 7.0 SR1.Solution:
Associate <sid>adm and ora<sid> OS users with sapinst group manually if this association is
missing.
Verify /etc/group file and check if sapinst group exists and OS users are members of this group.
If sapinst group does not exist yet, start SAPinst. SAPinst will create this group during startup
before product catalog list will be displayed.
Edit /etc/group file and associate OS users with sapinst group.
Continue with the export.
End of: UNIX |
For more information, see Using SAPinst GUI [page 139], Interrupted Installation with SAPinst [page 140], and
Performing a Remote Export Using SAPinst [page 142].
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
38 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 39/154
Only valid for: IBM i5/OS |
4.5.2 Running SAPinst on System i to Perform the Export
4.5.2.1 Preparing the Windows Host for the SAP SystemInstallation
The Java-based SAPinst graphical user interface (SAPinst GUI) requires a Java Development Kit (Java™
2 SDK, Standard Edition) with graphical capabilities (AWT, Swing). Since System i does not provide a
graphical user interface, you must install the JDK on a Windows host to perform the installation with
SAPinst.
Prerequisites
To prepare the system for SAPinst and SAPinst GUI you need to do the following:
■ Necessary operating system versions: Windows NT/2000/2003/XP
■ Check your Java Runtime Environment (JRE) on the host where SAPinst GUI runs, because the
JRE cannot be integrated into the SAPinst GUI executable for all platforms due to licensing issues.
■ Set the system path if you install on Windows.
Procedure
The SAP J2EE Engine requires a Java Development Kit (Java™ 2 SDK, Standard Edition). Therefore,
make sure a valid JDK version is installed on every host on which you want to install an SAP instance
including the SAP J2EE Engine.
For more information about the JDK versions that are released for the SAP Web Application Server,
SAP components based on SAP Web AS and the SAP J2EE Engine, see http://service.sap.com/
platforms Product Availability Matrix SAP NetWeaver SAP NetWeaver '04 JSE Platforms
NOTE
■ JDK is not part of the SAP shipment. If necessary, you need to download and install it.
■ To check the version of an already installed JDK, enter:
java -version
■ If you have more than one Java Virtual Machine (JVM) installed on your system (for example,you have two JDKs with different versions installed), make sure that the JAVA_HOME
environment variable is set to the valid <JAVA_HOME> directory. Make sure that %JAVA_HOME%
\bin is included in your system path.
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
2010-03-16 PUBLIC 39 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 40/154
Only valid for: IBM i5/OS | IBM i5/OS | IBM DB2 for i5/OS |
4.5.2.2 Preparing a Windows User Account and System iUser Profile
For the installation you need to create a user account on your Windows installation host and a user
profile on the System i you want to install.
The following requirements apply:
■ The System i user profile and the Windows user account must have the same name and password.
■Only valid for: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
The System i user profile must have user class *SECOFR and all special authorities that belong to
user QSECOFR.End of: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
■Only valid for: SAP SCM |
The System i user profile must be the user QSECOFR.
NOTE
This is different to other installations on System i. For other installations, we recommended
that you create user SAPINST or SAPINSTUSR. However for SCM, you need to use the user
QSECOFR because the liveCache client software has to be installed by this special user.
End of: SAP SCM |
■The Windows user account must have administrator rights on the Windows installation host.
Procedure
Only valid for: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
NOTE
The user name SAPINSTUSR and the password SAP are used as examples in the procedures. In
former installation documentation, we used the user SAPINST. However, in future releases SAP
has introduced a group called SAPINST on System i which conflicts with the previously
recommended user SAPINST.
End of: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
Windows:
1. Create a local user.
2. Only valid for: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
In the field User name, enter your installation user name, for example, SAPINSTUSR.
End of: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
3. Only valid for: SAP SCM |
In the field User name, enter your installation user name QSECOFR.
End of: SAP SCM |
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
40 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 41/154
4. Only valid for: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
In the fields Password and Confirm password , enter the password SAP.
End of: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
5.Only valid for: SAP SCM |
In the fields Password and Confirm password , enter the password of the user QSECOFR on your System i.
End of: SAP SCM |
6. Deselect User must change password at next logon.
7. Only valid for: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
Assign the new user SAPINSTUSR to the group Administrators.
End of: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
8. Only valid for: SAP SCM |
Assign the new user QSECOFR to the group Administrators.
End of: SAP SCM |
System i:
Only valid for: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
Enter the commandCRTUSRPRF USRPRF(SAPINSTUSR) PASSWORD(SAP) USRCLS(*SECOFR) TEXT('Test
User for SAP Installation') SPCAUT(*USRCLS) LANGID(ENU) CNTRYID(US) CCSID(500).
End of: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
Only valid for: SAP SCM |
To change the user QSECOFR, enter the command CRTUSRPRF USRPRF(QSECOFR) LANGID(ENU) CNTRYID
(US) CCSID(500). After the installation, you can revert the user profile QSECOFR back to the old values.
End of: SAP SCM |
CAUTION
You should not set the system variable QIBM_PASE_CCSID. You should leave this variable empty!
End of: IBM i5/OS | IBM i5/OS | IBM DB2 for i5/OS |
Only valid for: IBM i5/OS | IBM i5/OS | IBM DB2 for i5/OS |
4.5.2.3 Installing TMKSVR and Creating an Installation Share
The TMKSVR is the interface between System i and Windows for the installation with SAPinst. SAPinst
is running on Windows, but has to install the product on System i. This means that all actions required
for System i are initiated remotely on Windows but executed locally using the TMKSVR. The
communication is done using TCP/IP.
In addition, an installation share on the System i host needs to be created and mapped to the Windows
installation host, which is done automatically by the TMKSVR.
The TMKSVR has to be installed and an installation share has to be created on all System i hosts where
instances of an SAP system should be installed.
Prerequisites
■ An FTP server running on System i
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
2010-03-16 PUBLIC 41 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 42/154
■ You must prepare a user. For more information about how users are prepared, see Preparing a Windows
User Account and System i User Profile [page 40].
■ The Installation Master DVD must be inserted in the DVD drive of your Windows host.
■ Make sure there is no system variable LANG defining a LOCAL. Otherwise, code page problems might
prevent TMKSVR processes from starting.
Procedure
1. Log on to your Windows host as the installation user. For more information, see Preparing a Windows
User Account and System i User Profile [page 40].
Only valid for: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
NOTE
This user must have the same user ID and password as the user that you are using for the
installation on System i (a user with administrator rights similar to QSECOFR).End of: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
Only valid for: SAP SCM |
NOTE
This user must have the same user ID and password as the user that you are using for the
installation on System i. For SCM, this user must be QSECOFR).
End of: SAP SCM |
2. Run SETUP.EXE from the directory IM_OS400_PPC64\TMKSVR on the DVD containing the
installation package. You can start the setup program by double-clicking on it in the Windows
Explorer.The following dialog box appears:
Only valid for: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
Figure 2:
End of: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
42 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 43/154
Only valid for: SAP SCM |
Figure 3:
End of: SAP SCM |
3. Enter the following values:
■ System i Hostname:
Enter the name of the System i host where you want to install TMKSVR.
■Only valid for: SAP CRM;SAP ERP;SAP NetWeaver;SAP SRM |
System i Administrator (QSECOFR or similar):
Enter the System i user. For more information, see Preparing a Windows User Account and System i
User Profile [page 40].
End of: SAP CRM;SAP ERP;SAP NetWea ver;SAP SRM |
■ Only valid for: SAP SCM |
System i Administrator (QSECOFR):
Enter the System i user. For more information, see Preparing a Windows User Account and System i
User Profile [page 40].
End of: SAP SCM |
■ TMKSVR instance number :
Leave the value at 0.
■ TMKSVR Instance Port (also referred to as the Dispatcher Port ):
Leave the value at 59975, if possible. Only change this port number if you encounter problems
during installation because the port is in use.
Result
The installation uses FTP to install and starts the TMKSVR on System i. During installation, a library
named TMKSVR<nn> is created, with <nn> being the instance number (for example, TMKSVR00).
A NetServer share named ROOTBIN is created on the System i host. You can map the share now to your
Windows PC or let SAPinst map it during the installation.
For more information, see the documentation INSTALL.PDF on the DVD in directory IM_OS400_PPC64
\TMKSVR.
End of: IBM i5/OS | IBM i5/OS | IBM DB2 for i5/OS |
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
2010-03-16 PUBLIC 43 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 44/154
Only valid for: IBM i5/OS |
4.5.2.4 Starting SAPinst on System i
CAUTION
This section refers to “installation of an instance”, which is a synonym for “export an SAP system”.
This procedure tells you how to run SAPinst to install one or more SAP instances. It describes an
installation where SAPinst GUI and SAPinst server are running on the same Windows host.
SAPinst creates the installation directory \usr\sap\sapinst on System i.
Prerequisites
CAUTION
Make sure that you shut down all SAP Application Servers before the export. The database must
still be running. Otherwise, the target system might be inconsistent.
■ TMKSVR is up and running: WRKACTJOB SBS (TMKSVR00) (there must be a DISPATCH job). For more
information, see Installing TMKSVR and Creating an Installation Share [page 41].
■ The Windows host is set up. For more information, see Preparing the Windows Host for the SAP System
Installation [page 39].
■ The users required for the installation are prepared. For more information, see Preparing a Windows
User Account and System i User Profile [page 40]. ■ Make sure that the JAVA_HOME environment variable is set correctly on your Windows host.
Procedure
1. Log on to the Windows host as the installation user. For more information, see Preparing a Windows
User Account and System i User Pro file [page 40].
2. Start SAPinst from the SAP Installation Master DVD in one of the following ways:
■ If using the default installation directory (recommended) by double-clicking sapinst.exe from
the following path:
<Mapped drive>:<copied ... DVD>\IM_OS400_PPC64NOTE
● During the installation, the default ports SAPinst 21212 and 21213 are used for
communication between SAPinst, GUI server and SAPinst GUI. SAPinst uses port
21200 to communicate with the GUI server. You get an error message if one of these
ports is already in use by another service. In this case, open a command prompt and
change to the required directory as follows:
<Mapped drive>:<copied ... DVD>\IM_OS400_PPC64
Enter the following command in a single line:
sapinst.exe
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
44 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 45/154
SAPINST_DIALOG_PORT=<free_port_number_sapinst_gui_to_gui_server>
GUISERVER_DIALOG_PORT=<free_port_number_gui_server_to sapinst_gui>
● For a list of all available SAPinst properties, enter the following command: sapinst
-p
3. The SAPinst/TMKSVR – Session Parameters dialog box appears and prompts you for the target System
i parameters. Enter your values.
Figure 4:
The SAPinst GUI now starts automatically by displaying the Welcome screen.
4. In the Welcome screen, choose Software Life-Cycle Options System Copy <your database> Source System
<System Variant> Based on <AS ABAP and AS Java | AS Java | AS ABAP> .
5. Select the corresponding installation service from the tree structure according to the sequence of
the process flow for one of the following precedures:
■ Database-Specific System Copy [page 55]
■ Database-Independent System Copy [page 23]
CAUTION
Make sure that you choose the installation services exactly in the order they appear for each
system variant.
6. The following table provides an overview about the available installation services available for a:
■ Central system
■Distributed system or high-availability system
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
2010-03-16 PUBLIC 45 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 46/154
Export Services for a Central System
Export Service Remarks
Export Preparation
NOTE
You do not perform this step if you use
the database-specific method.
Optional step for preparing the export.
SAPinst performs the following steps:
■ Creates the export directory structure
■ Creates database structure files (*.STR)
■ Updates database statistics (…)
■ Calculates the size of the target database
(*.EXT,DBSIZE.XML)
Database and Central Instance Export
If you use the database-specific procedure,
SAPinst only performs the following steps:
NOTE
■ Creates the export directory
structure with label files ■ Archives the SDM
■ Archives application-specific file
system content.
Mandatory step for system copy procedure.
SAPinst performs the following steps:
■ Creates the export directory structure with label
files
■ Creates database structure files (*STR)
■ Updates database statistics
■ Calculates the size of the target database(*EXT,DBSIZE.XML)
■ Exports the database content
■ Archives the SDM
■ Archives application-specific file system content
Export Services for a Distributed System or a High-Availability System
Export Service Remarks
Export Preparation
NOTE
You do not perform this step if you use
the database-specific method.
Optional step for the database-independent system copy
procedure to prepare the export.
You need to perform this step on the database instance
host.SAPinst performs the following steps:
■ Creates the export directory structure
■ Creates database structure files (*.STR)
■ Updates database statistics(…)
■ Calculates the size of the target database
(*.EXT,DBSIZE.XML)
Database Instance Export
NOTE
■ You do not perform this step if you
use the database-specific
method. ■ You must perform this step
before you perform Central
Instance Export.
Mandatory step for the database-independent system
copy procedure.
You need to perform this step on the database instance
host.
SAPinst performs the following steps: ■ Creates the export directory structure with label files
■ Creates database structure files (*STR)
■ Updates database statistics
■ Calculates the size of the target database
(*EXT,DBSIZE.XML)
■ Exports the database content
Central Instance Export Mandatory step for database-independent system copy
procedure.
You need to perform this step on the central instance
host.
SAPinst performs the following steps:
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
46 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 47/154
Export Service Remarks
NOTE
Before you perform this step, you
must have completed the Database
Instance Export .
■ Creates the export directory structure with label files.
■ Archives the SDM
■ Archives application-specific file system content
7. After you have selected the required installation service, choose Next .
8. Choose Next
NOTE
If you generated SQL files with DDL statements (see Generating DLL Statements [page 27]), copy
the generated files into the SAPinst installation directory as soon as it has been created by
SAPinst:
1. Choose Database and Central Instance Export
2. Choose Next .3. The installation directory has been created as soon as the first input screen appears.
9. Follow the instructions in the SAPinst input dialogs and enter the required parameters.
CAUTION
You must choose Typical when performing a system copy with database tools.
NOTE
For more information about input parameters in SAPinst, position the cursor on the
parameter field and choose F1 .
After you have entered all required input parameters, SAPinst starts the installation and displays
the progress of the installation.
When the installation has successfully completed, the screen Finished installation is displayed.
Troubleshooting
CAUTION
If an export process aborts due to a hardware failure (for example, file system full, power outage,
operating system crash), you have to repeat the export of the complete package. Remove the
dump files <package>.<nnn>, the TOC file <package>.TOC, the log file <package>.log and make
sure that all tables in the TSK file <package>.*TSK* have the status flag 'xeq' or 'err' set.
■ If an error occurs during the dialog phase, SAPinst:
● Stops the installation.
● Displays a dialog that informs you about the error.
You can now directly view the log file by choosing View Logs.
Finally you must abort the installation with OK and try to solve the problem.
■ If an error occurs during the processing phase, SAPinst:
● Stops the installation.
● Displays a dialog that informs you about the error.
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
2010-03-16 PUBLIC 47 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 48/154
You can now directly view the log file by choosing View Logs.
● Try to solve the problem.
● Retry the installation by choosing Retry.
● Abort the installation by choosing OK .
For more information, see Interrupted Installation with SAPinst [page 140].
End of: IBM i5/OS |
End of: IBM i5/OS |
4.5.3 Restarting R3load Processes
The state file allows package states to be manually updated to restart failed R3load processes.
EXAMPLE
For example, if package processing failed and the package state has the value ‒, the state can be
set to 0 and processing of the package is restarted.
Procedure
■ To restart package processing, set the package state from – to 0.
■ To skip package processing, set the package state from 0 or – to +. (This is not recommended,
because it can cause inconsistent data files or database content.)
■If the package is currently being processed (the package state is
?), then any manual modifications
of the package state are ignored.
■ Sockets only: You cannot restart processes.
Restarting R3load Processes Using the Socket Option
There are four possible situations where an R3load restart may be required.
First of all, you need to cancel the R3load process. If one of the corresponding R3load processes (export
or import) is still running, cancel it as well. Then restart SAPinst to continue with the system copy. To
continue with the system copy proceed as follows:
■If both the import and the export are completed successfully, there is nothing to do.
■ If the export was completed successfully, but the import is cancelled with errors, proceed as
follows:
● If the export was successful but the import was cancelled when creating the index or the
primary key, set the status for export_state.properties from '+' to '0'.
● If the export was completed successfully but the import was cancelled when loading the
table content, set the status
◆ for export_state.properties from '+' to '0'
◆ for the TSK file of the export from 'ok' to 'err'
■ If both the export and the import are cancelled with errors, proceed as follows:
4 Database Independent System Copy
4.5 Exporting the Source System Using SAPinst
48 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 49/154
● If the errors in export and import relate to the same table, there is nothing to do.
● If the errors relate to different tables, set the status of the first object with errors (export as
well as import) in the TSK file and in the *state* file to 'err'.
EXAMPLE
Export Import
Table name Status Table name Status
TAB_1 ok TAB_1 ok
TAB_2 err TAB_2 ok
TAB_3 xeq TAB_3 err
TAB_4 xeq TAB_4 xeq
The first object with errors here is TAB_2 (export). That means that in the import TSK
file the status for TAB_2 must be set from 'ok' to 'err'. The entry in the *state* file also
must be set from '+' to '0'.
■ When the import was completed successfully, but the export was cancelled with errors, you
can set the status in the export_state.properties from '-' to '+'.
More Information
See also R3load Processes Using the Migration Monitor [page 123].
4.6 Setting Up the Target SystemPurpose
You use SAPinst to install the target system and import the database files that you have exported from
the source system.
Process Flow
Central System
Perform the following steps on the central system host:
1. You prepare the central system host for the installation of your target system as described in the
installation guide for your SAP system solution.2. If you have already prepared the export (for more information, see Preparing the Export [page 31]) on
the source system, you perform the following steps:
1. If you use the FTP Exchange option during the export (transfer type FTP, communication type
Exchange Directory on the screen SAP SystemCommunication Parameters for Export ), you make sure
that you have transferred the files, which have been generated in step Preparing the Export [page
31] on the source system.
2. You transfer the Java export files to the central system target host. For more information, see
Transferring the Export Files to the Target Host [page 51].
3. You install the target system. For more information, see Installing the Target System [page 51].
4 Database Independent System Copy
4.6 Setting Up the Target System
2010-03-16 PUBLIC 49 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 50/154
If you did not prepare the export on the source system, you perform the following steps:
1. You transfer the Java export files to the central system target host. For more information, see
Transferring the Export Files to the Target Host [page 51].
2. You install the target system. For more information, see Installing the Target System [page 51].
3. If required, on (the) dialog instance host(s), you install additional dialog instance(s) as described
in the installation guide for your SAP system solution.
Distributed System or High-Availability System
Perform the following steps on the relevant installation hosts of your target system:
1. You prepare the central services instance host, the database instance host and the central
instance host for the installation of the corresponding instances of your target system as described
in the installation guide for your SAP system solution.
2. You install the central services instance for the target system as described in the installationguide for your SAP system solution.
3. You perform the following steps on the database instance host:
■ If you have already prepared the export (for more information, see Preparing the Export [page
31]) on the source system, you perform the following steps:
1. If you use the FTP Exchange option during the export (transfer type FTP, communication
type Exchange Directory on the screen SAP SystemCommunication Parameters for Export ), you
make sure that you have transferred the files, which have been generated in step Preparing
the Export [page 31] on the source system.
2. You transfer the Java export files to the central system target host. For more information,
see Transferring the Export Files to the Target Host [page 51].
3. You install the database instance of the target system. For more information, see Installing
the Target System [page 51].
■ If you did not prepare the export (for more information, see Preparing the Export [page 31]) on
the source system, you perform the following steps:
1. You transfer the Java export files to the central system target host. For more information,
see Transferring the Export Files to the Target Host [page 51].
2. You install the database instance of the target system. For more information, see Installingthe Target System [page 51].
4. On the central instance host, you install the central instance of the target system.
5. If required, on (the) dialog instance host(s), you install additional dialog instance(s) as described
in the installation guide for your SAP system solution.
4 Database Independent System Copy
4.6 Setting Up the Target System
50 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 51/154
4.6.1 Transferring the Export Files to the Target Host
Procedure
1. On the target host, create a directory <EXPDIR> with sufficient space for the database export files
available.
2. Copy all files and directories (recursively) that are located on the source host in the migration
export directory <EXPDIR> from the source host to the target host.
NOTE
If you transfer the files with file transfer protocol (ftp), make sure that you use binary mode
for transferring the files.
3. Check the permissions of the transferred files on the target host. All files have to be accessible for
user <sapsid>adm of the target system.
NOTE
If your source system is a distributed system, the files created by the export of the central instance
and the files created by the export of the database instance have to be located in the same
<EXPDIR> directory for the installation of the target system.
If you have not exported into the same <EXPDIR> already, then you have to merge the two
<EXPDIR> directories from the central instance export and from the database instance export
before starting the target system installation.
4.6.2 Installing the Target System
PrerequisitesOnly valid for: Windows |
Make sure there is enough free space on the target system for the database load. To find out the size of
the export and the sizes of the tablespaces or dbspaces that will be created, look at the file DBSIZE.XML
located in the directory <DRIVE>:\<EXPDIR>\DB\<DATABASE>.
End of: Windows |
Only valid for: UNIX |
Make sure there is enough free space on the target system for the database load. To find out the size of
the export and the sizes of the tablespaces or dbspaces that will be created, look at the file DBSIZE.XML
located in the directory <EXPDIR>/DB/<DATABASE>.
End of: UNIX |
NOTE
As of SAP NetWeaver 7.0, RELOAD is no longer available as an executable installation service, but
is performed automatically by SAPinst. If the database software has already been unpacked or
installed, or if the database already exists, SAPinst recognizes this automatically and skips the
related steps.
4 Database Independent System Copy
4.6 Setting Up the Target System
2010-03-16 PUBLIC 51 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 52/154
Procedure
1. You prepare the target system host as described in the installation guide of your SAP solution based
on SAP NetWeaver 7.0 SR3.
Only valid for: IBM DB2 for Linux and UNIX and Windows |
NOTE
Make sure that you read the information provided in section Setup of Database Layout in the
installation documentation.
End of: IBM DB2 for Linux and UNIX and Windows |
2. You start SAPinst as described in the installation documentation for your SAP solution based on
SAP NetWeaver 7.0 SR3.
3. On the Welcome screen of the SAP Installation Master DVD, navigate to the following folder
according to the requirements of your target system: Software Life-Cycle Options System Copy
<database> Target System <Distribution option: Central System / Distributed System / High-Availability
System> Based on <Stack option> AS ABAP and Java / AS Java / AS ABAP> .
4. You run the installation service(s) required for your system copy in the sequence they are listed
in the specific folder and according to process flow in Setting Up the Target System Using SAPinst [page
49].
5. To install the target system, you follow the instructions in the SAPinst input dialogs and enter the
required parameters up to the screen Database - Select the Database Instance Installation Method .
On this screen, you choose the option Standard System Copy/Migration (load-based):
The SAP data dump from the MIGRATION EXPORT CD image that you created during the export is
loaded in the newly installed SAP system database.
Only valid for: IBM DB2 for Linux and UNIX and Windows |
CAUTION
■ Make sure that you take the information about automatic storage into consideration
that is provided in section Running SAPinst in the appropriate installation guide.
■ The option Deferred Table Creation is not supported for load-based system copies for SAP
systems that are not based on SAP NetWeaver 7.0 SR3 or higher.
End of: IBM DB2 for Linux and UNIX and Windows |
CAUTION
■ Do not create the installation directory (for example, sapinst_instdir) under the
following directories:
● UNIX: /usr/sap/<SAPSID>
Windows: \usr\sap\<SAPSID>
● UNIX: /sapmnt/<SAPSID>
Windows: \sapmnt\<SAPSID>
■ If you perform a Unicode conversion, the data import into the target system might abort
because of missing space in the database tablespace or dbspace. Enlarge the database or
database container, in which the table DYNPSOURCE will be created in the target database.
4 Database Independent System Copy
4.6 Setting Up the Target System
52 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 53/154
The required size for the table will be fifteen times larger than in the non-Unicode source
system.
6. When SAPinst displays the DVD / CD browser window and asks for the Export Migration CD, enter
the path to the export directory <EXPDIR>.
7. If you perform a heterogeneous system copy, enter the Migration Key on the screen Database
Import .
If you want to perform export and import in parallel, choose the option Parallel Export / Import .
NOTE
You must have run the service Prepare the Export on the source system [page 31], if you want to use
the option parallel export/ import for the installation of the target system.
8. Complete the installation as described in the installation documentation for your SAP component.
NOTE
If you have to restart the import after an error, just restart SAPinst. The import continues
with the table that was not imported successfully.
For more information about restarting failed R3load processes, see Restarting R3load Processes
[page 48].
NOTE
The Java engine is not started automatically. After the target system has been installed and the
follow-up activities (see Follow-Up Activities [page 95] have been performed, you have to start the
Java engine manually.
4 Database Independent System Copy
4.6 Setting Up the Target System
2010-03-16 PUBLIC 53 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 54/154
This page is left blank for documents that are printed on both sides.
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 55/154
5 Database-Specific System Copy
The following sections describe system copy procedures that base on database-specific methods.
Database-specific methods are not available for all database systems. For more information about
methods available for your database, see Planning [page 11] and the SAP Notes describing the
homogeneous system copy for your database system.
Process
Follow the sequence of steps described in the process flows below for a: ■ Central System
■ Distributed System
■ High Availability System
Central System
For performing the export for a central system, you need to proceed as follows on the central system
host:
Process Flow on the Source System (Export)
When performing the export you create a MIGRATION EXPORT CD image, which contains the data
of the exported system, and which you use to install the target system.
1. You run SAPinst on UNIX or Windows [page 32] to create the export directory structure with labels
and to archive SDM and application-specific file system content.
In SAPinst, choose the installation option that corresponds to your database, SAP system, and
technology, and then Database and Central Instance Export .
EXAMPLE
<your SAP version> Software Life-Cycle Options System Copy Oracle Source System Export
Central System Based on AS ABAP and AS Java Database and Central Instance Export 2. You generate the control file structure for the target database [page 58].
3. If required, you create a backup of the source database [page 63].
Process Flow on the Target System
1. Only valid for: Windows |
You install the database software as described in the installation guide of your SAP solution.
End of: Windows |
2. Only valid for: UNIX |
You prepare the target system [page 64]:
5 Database-Specific System Copy
2010-03-16 PUBLIC 55 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 56/154
1. Follow the instructions on the SAPinst screens until SAPinst requests you to install the database
software and to perform the database backup/restore.
2. You create the database file system (if not yet existing).
3. You install the database software.End of: UNIX |
3. Only valid for: Windows |
Follow the instructions on the SAPinst screens until you are requested to perform the database
backup/restore.
NOTE
If required, you have to restart SAPinst as described in the installation guide of your SAP
solution.
End of: Windows |
4. To complete the system copy, you have to perform the follow-up activities [page 95].
Distributed System or High Availability System
To perform the export for a distributed or high-availability system, proceed as follows:
Process Flow on the Source System (Export)
When performing the export you create a MIGRATION EXPORT CD image, which contains the data
of the exported system, and which you use to install the target system.
1. On the database instance host of the source system, you generate the control file structure for the target
database [page 58].
2. If required, on the database instance host, you create a backup of the source database [page 63].
3. On the central instance host, you run SAPinst on UNIX or Windows [page 32] to create the export
directory structure with labels and to archive SDM and application-specific file system content.
In SAPinst, choose the installation option that corresponds to your database, SAP system, and
technology, and then Database and Central Instance Export .
EXAMPLE
<your SAP version> Software Life-Cycle Options System Copy your database Source System Export
Distributed System Based on AS ABAP and AS Java Database and Central Instance Export
Process Flow on the Target System
1. Only valid for: Windows |
On the database instance host, you install the database software as described in the installation
guide of your SAP solution.
End of: Windows |
2. Only valid for: UNIX |
You prepare the target system [page 64]:
1. On the database instance host, follow the instructions on the SAPinst screens until SAPinst
requests you to install the database software and to perform the database backup/restore.
2. On the database instance host, you create the database file system (if not yet existing).
5 Database-Specific System Copy
56 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 57/154
3. On the database instance host, you install the database software.
End of: UNIX |
3. Only valid for: Windows |
On the database instance host, follow the instructions on the SAPinst screens until you arerequested to perform the database backup/restore.
NOTE
If required, you have to restart SAPinst as described in the installation guide of your SAP
solution.
End of: Windows |
4. To complete the system copy, you have to perform the follow-up activities [page 95].
Only valid for: Oracle |
5.1 Oracle-Specific Procedure
Purpose
In an SAP system environment, you can create a homogeneous copy of an Oracle database by copying
database files. This method is suitable for creating an exact copy of an existing database. The source of
the copy is a complete data backup of your source database. You can use an offline backup, an online
backup, or the file system of your source host.
You use SAPinst for the installation on the target system host as described in the installation
documentation for your SAP component. Only the SAPinst steps for setting up and loading the database
content are different.
Advantages
■ You can use existing offline or online backups.
■ This method is faster than the R3load and Jload method.
Disadvantages
■ Backup/copy of database files in a heterogeneous environment is not possible because the hardware
of the source and target systems must be binary-compatible. ■ Source system host and target system host must be different.
■ You must shut down the SAP system and the database when you create an offline backup manually
or an offline backup with BR*Tools.
■ You cannot change the database schema and the table space names.
Prerequisites
■ You must use the same Oracle release and patch level for your database in the source and target
system.
■ You must have prepared your system for SAPinst [page 20].
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
2010-03-16 PUBLIC 57 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 58/154
■ The ojdbc14.jar must exist in the /ORACLE/client/10x_64/instantclient (installed using a
standard Oracle installation).
■ If your source system is an ABAP only system, make sure that JRE version 1.4.1 or higher is installed
on the database instance.
■ The JAVA_HOME environment variable must point the JRE directory.
■ The source and target systems must run on different hosts for security reasons.
■ The source and target systems must be binary compatible.
NOTE
Note that you can also perform a system copy from 32-bit systems to 64-bit systems and vice
versa (same operating system assumed) even if source and target system are not binary
compatible.
If your source system uses the US7ASCII character set, you must choose this character set wheninstalling the target system. SAPinst prompts for the character set during the installation (key:Database
Character Set). The installation default is WE8DEC or UTF8 for Unicode systems. To find out the
character set used by the source system, connect to the source database as user sap<schemaid> or
sapr3 with sqlplus and enter: SELECT * FROM V$NLS_PARAMETERS;
5.1.1 Generating the Control File Structure
The OraBRCopy Java tool writes a file CONTROL.SQL to the current working directory, which can be usedwithout further adaptations on the target system.
For more information about the OraBRCopy tool, see the documentation ORABRCopy.pdf, which is part
of the OraBRCOPY.SAR archive.
Prerequisites
RECOMMENDATION
We recommend that you shut down the SAP system before you perform the following steps. The
database must still be running.
Procedure
1. Create an installation directory <INSTDIR> (UNIX: with permissions 777) on the source system.
2. Copy the ORABRCOPY.SAR archive from the SAP Installation Master DVD to the installation directory
and extract it using SAPCAR.
You can find the archive in the following directory on the Installation Master DVD:
Only valid for: UNIX |
<DVD-DIR>:/COMMON/INSTALL/ORA/ORABRCOPY.SAR
End of: UNIX |
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
58 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 59/154
Only valid for: Windows |
<DVD-DIR>:\COMMON\INSTALL\ORA\ORABRCOPY.SAR
End of: Windows |
3. Make sure that all redo log groups are archived.4. Start the OraBRCopy tool as an OS user with Oracle DBA privileges:
user ora<dbsid>
user <sapsid>adm
■ If you perform an offline manual copy, enter the following commands:
● On UNIX:
./ora_br_copy.sh –generateFiles –forceLogSwitches —targetSid
<TARGET_DBSID> —password <system's password> —listenerPort <listener port>
● On Windows:
ora_br_copy.bat –generateFiles –forceLogSwitches —targetSid <TARGET_DBSID>
—password <system's password> —listenerPort <listener port>
The tool creates the files CONTROL.SQL, CONTROL.TRC and init<targetSID>.ora in your
installation directory, shuts down and restarts the database and performs the required log
switches.
■ If you perform an offline or online backup using BR*Tools, enter the following commands:
● On UNIX:
./ora_br_copy.sh –generateFiles —targetSid <TARGET_DBSID> —password
<system's password> —listenerPort <listener port>
● On Windows:
ora_br_copy.bat –generateFiles —targetSid <TARGET_DBSID> —password
<system's password> —listenerPort <listener port>
NOTE
During the online backup, the database must be up and running. To ensure this, this
command must not contain the parameter —forceLogSwitches.
The tool creates the files CONTROL.SQL, CONTROL.TRC and init<targetSID>.ora in your
installation directory, and performs the required log switches.
NOTE
If an error occurs, check the log file:
<INSTDIR>/ora.brcopy.log
5. Verify and, if necessary, update the CONTROL.SQL control file using the CONTROL.TRC trace file as
follows.
Example for Windows
In the following example for Windows, entries of CONTROL.SQL written in bold should be compared to
the trace file:
REM
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
2010-03-16 PUBLIC 59 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 60/154
====================================================================
REM CONTROL.SQL
REM
REM SAP AG Walldorf
REM Systeme, Anwendungen und Produkte in der Datenverarbeitung
REM
REM (C) Copyright SAP AG 2004
REM
====================================================================
REM Generated at:
REM Fri Sep 17 08:33:25 CEST 2005
REM for target system NEW
REM on
REM Windows 2000 5.0 x86
CONNECT / AS SYSDBA
STARTUP NOMOUNT
CREATE CONTROLFILE REUSE
SET DATABASE "NEW"
RESETLOGS
ARCHIVELOG
MAXLOGFILES 255
MAXLOGMEMBERS 3
MAXDATAFILES 1022
MAXINSTANCES 50
MAXLOGHISTORY 1134
LOGFILE
GROUP 1 (
'D:\ORACLE\NEW\ORIGLOGA\LOG_G11M1.DBF',
'D:\ORACLE\NEW\MIRRLOGA\LOG_G11M2.DBF'
) SIZE 50M,
GROUP 2 (
'D:\ORACLE\NEW\ORIGLOGB\LOG_G12M1.DBF',
'D:\ORACLE\NEW\MIRRLOGB\LOG_G12M2.DBF'
) SIZE 50M,
GROUP 3 (
'D:\ORACLE\NEW\ORIGLOGA\LOG_G13M1.DBF',
'D:\ORACLE\NEW\MIRRLOGA\LOG_G13M2.DBF'
) SIZE 50M,
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
60 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 61/154
GROUP 4 (
'D:\ORACLE\NEW\ORIGLOGB\LOG_G14M1.DBF',
'D:\ORACLE\NEW\MIRRLOGB\LOG_G14M2.DBF'
) SIZE 50M
DATAFILE
'D:\ORACLE\NEW\SAPDATA1\SYSTEM_1\SYSTEM.DATA1',
'D:\ORACLE\NEW\SAPDATA3\IMS_1\IMS.DATA1',
'D:\ORACLE\NEW\SAPDATA3\IMS_2\IMS.DATA2',
'D:\ORACLE\NEW\SAPDATA3\IMS_3\IMS.DATA3',
'D:\ORACLE\NEW\SAPDATA3\IMS_4\IMS.DATA4',
'D:\ORACLE\NEW\SAPDATA4\IMS_5\IMS.DATA5',
'D:\ORACLE\NEW\SAPDATA4\IMS_6\IMS.DATA6',
'D:\ORACLE\NEW\SAPDATA4\IMS_7\IMS.DATA7',
'D:\ORACLE\NEW\SAPDATA4\IMS_8\IMS.DATA8',
'D:\ORACLE\NEW\SAPDATA4\IMS_9\IMS.DATA9',
'D:\ORACLE\NEW\SAPDATA1\IMS700_1\IMS700.DATA1',
'D:\ORACLE\NEW\SAPDATA1\IMS700_2\IMS700.DATA2',
'D:\ORACLE\NEW\SAPDATA1\IMS700_3\IMS700.DATA3',
'D:\ORACLE\NEW\SAPDATA1\IMS700_4\IMS700.DATA4',
'D:\ORACLE\NEW\SAPDATA2\IMS700_5\IMS700.DATA5',
'D:\ORACLE\NEW\SAPDATA2\IMS700_6\IMS700.DATA6',
'D:\ORACLE\NEW\SAPDATA2\IMS700_7\IMS700.DATA7',
'D:\ORACLE\NEW\SAPDATA2\IMS700_8\IMS700.DATA8',
'D:\ORACLE\NEW\SAPDATA2\IMS700_9\IMS700.DATA9',
'D:\ORACLE\NEW\SAPDATA3\IMS700_10\IMS700.DATA10',
'D:\ORACLE\NEW\SAPDATA4\IMS700_11\IMS700.DATA11',
'D:\ORACLE\NEW\SAPDATA1\IMSUSR_1\IMSUSR.DATA1',
'D:\ORACLE\NEW\SAPDATA2\ROLL_1\ROLL.DATA1'
;
ALTER DATABASE OPEN RESETLOGS;
ALTER TABLESPACE PSAPTEMP ADD TEMPFILE
'D:\ORACLE\NEW\SAPDATA3\TEMP_1\TEMP.DATA1'
SIZE 350M REUSE AUTOEXTEND OFF;
NOTE
In the above example for Windows, entries and values of control.sql written in bold should be
compared to the trace file. The changes to be made are valid for UNIX, too.
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
2010-03-16 PUBLIC 61 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 62/154
Changes to be made
1. If you want to upgrade your database from 32-bit to 64-bit, add the following lines at the bottom
of the control.sql file:
shutdown immediate;
startup restrict
spool utlirp.log
@?/rdbms/admin/utlirp.sql
spool off
alter system disable restricted session;
2. MAXLOGFILES 255
...
The numbers must be greater than or equal to the corresponding numbers in the trace file.
3. GROUP 1 (
'D:\ORACLE\NEW\ORIGLOGA\LOG_G11M1.DBF',
'D:\ORACLE\NEW\MIRRLOGA\LOG_G11M2.DBF'
) SIZE 50M,
Group 2 (
…
The sizes of the respective groups must be equal to the sizes of the corresponding groups in the
trace file.
4. 'D:\ORACLE\NEW\SAPDATA1\SYSTEM_1\SYSTEM.DATA1',
'D:\ORACLE\NEW\SAPDATA3\IMS_1\IMS.DATA1',
…
'D:\ORACLE\NEW\SAPDATA1\IMS700_1\IMS700.DATA1'
…
The count of the data files must be equal to the count of the corresponding data files in the trace
file.
5. ALTER TABLESPACE PSAPTEMP ADD TEMPFILE
'D:\ORACLE\NEW\SAPDATA3\TEMP_1\TEMP.DATA1'
SIZE 350M REUSE AUTOEXTEND OFF;
…
The size must be equal to the corresponding size in the trace file.
6. The number of the rows withALTER TABLESPACE must be equal to the number of the corresponding
rows in the trace file.
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
62 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 63/154
5.1.2 Creating a Backup
Create a backup if required. Choose between the following possibilities: Performing an offline backup
manually or an offline or online backup with BR*Tools.
■ Creating an Offline Backup Manually [page 63]
■ Creating an Offline or Online Backup with BR*Tools [page 63]
5.1.2.1 Creating an Offline Backup Manually
Procedure
There are different possibilities to prepare the actual transfer of the database files:
■ If you have an up-to-date offline backup, you can use it (provided that redo logs were cleaned
up with forced log switches). ■ If you want to transport the database file (for example, on tape) or if you have to perform the
database shutdown at a certain time, stop the database (normal shutdown) and perform a complete
offline backup. You can use the trace file CONTROL.TRC created by OraBrCOPY to determine the file
system trees that have to be saved.
■ You stop the database (normal shutdown) and copy the database files when the actual transfer to
the target system takes place. You do not have to perform any preparations for the actual transfer
now. Proceed with the next step.
NOTEIf you choose this manual offline backup method, you also have to restore the database files on
the target system manually. For more information, see Restoring the Database Files on the Target System
Manually [page 66].
5.1.2.2 Creating an Offline or Online Backup with BR*Tools
You can use any backup strategy supported by BR*Tools as the basis for a system copy: Offline or online,
with or without BACKINT, with or without RMAN, complete or incremental, and so on. The backup
strategy must simply be valid for restore and recovery. This means that a complete restore and recovery
of the source database must be possible. For BACKINT and RMAN, the external backup tools must also
be configured so that a restore is possible on the target host.
Procedure
CAUTION
To ensure that no changes are made to the file system during backup, stop the Software
Deployment Manager (SDM).
Proceed as described in the SAP Library at:
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
2010-03-16 PUBLIC 63 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 64/154
help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver Library Administrator’s Guide
Technical Operations Manual for SAP NetWeaver General Administration Tasks Database Administration
Database Administration for Oracle BR*Tools for Oracle DBA BR*Tools in Action Backup and Database Copy
with BR*Tools
NOTE
If you choose a backup method with BR*Tools, you also have to restore the database files on the
target system with BR*Tools. For more information, see Restoring the Database Files on the Target System
with BR*Tools [page 67].
5.1.3 Preparing the Target System
PrerequisitesMake sure that sapdata<n> file systems on the target system host are large enough.
Procedure
1. Install the target SAP system with SAPinst as described in the installation documentation for your
SAP solution.
CAUTION
When you perform a system copy with the Oracle backup/restore method, you cannot change
the database schema and the table space names of the new target system. When installing the
target central instance, database instance, or dialog instance make sure that you enter the
correct database schema names (which are the database schema name of the source system).
The schema names of the source and target system must be identical.
1. On the Welcome screen, choose the required installation service:
SAP NetWeaver 7.0 Support Release 2 Software Life-Cycle Options System Copy Oracle Target
System <Central System | Distributed System | High-Availability System> .
2. When SAPinst prompts for the installation type, choose Homogeneous System Copy (Backup/
Restore).
3. Proceed until SAPinst stops to restore the database files on the target system.The following message is displayed:
SAPinst now stops the installation. Please proceed as follows:...
2. If necessary, extract the Oracle stage archives manually and install the Oracle Software as described
in the installation documentation for your SAP solution.
3. If they do not exist, create the following directories on the target system:
■ UNIX:
● /oracle/<TARGET_DBSID>/mirrlog<x>
● /oracle/<TARGET_DBSID>/origlog<x>
● /oracle/<TARGET_DBSID>/sapdata<x>
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
64 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 65/154
● /oracle/<TARGET_DBSID>/sapreorg
● /oracle/<TARGET_DBSID>/saparch
● /oracle/<TARGET_DBSID>/oraarch
● /oracle/<TARGET_DBSID>/saptrace
● /oracle/<TARGET_DBSID>/saptrace/background
● /oracle/<TARGET_DBSID>/saptrace/usertrace
● /oracle/<TARGET_DBSID>/origlogA/cntrl
● /oracle/<TARGET_DBSID>/sapdata1/cntrl
● /oracle/<TARGET_DBSID>/saparch/cntrl
● /oracle/<TARGET_DBSID>/sapcheck
■ Windows:
● <drive>:\oracle\<TARGET_DBSID>\mirrlog<x>
● <drive>:\oracle\<TARGET_DBSID>\origlog<x>
● <drive>:\oracle\<TARGET_DBSID>\sapdata<x>
● <drive>:\oracle\<TARGET_DBSID>\sapreorg
● <drive>:\oracle\<TARGET_DBSID>\saparch
● <drive>:\oracle\<TARGET_DBSID>\oraarch
● <drive>:\oracle\<TARGET_DBSID>\saptrace
● <drive>:\oracle\<TARGET_DBSID>\saptrace\background
● <drive>:\oracle\<TARGET_DBSID>\saptrace\usertrace
● <drive>:\oracle\<TARGET_DBSID>\origlogA\cntrl
● <drive>:\oracle\<TARGET_DBSID>\sapdata1\cntrl
● <drive>:\oracle\<TARGET_DBSID>\saparch\cntrl
● <drive>:\oracle\<TARGET_DBSID>\sapcheck
4. Make sure that the following directories are empty (except the subdirectory saparch/cntrl):
/oracle/<TARGET_DBSID>/saparch and /oracle/<TARGET_DBSID>/oraarch
<drive>:\oracle\<TARGET_DBSID>\saparch and <drive>:\oracle\<TARGET_DBSID>\oraarch
5. Only valid for: UNIX |
All directories must be owned by the user ora<target_dbsid>.
To achieve this, enter the following command:
chown ora<target_dbsid>:dba<directory>
End of: UNIX |
6. Set the security settings for the built-in accounts and groups SYSTEM, Administrators,
SAP_<SAPSID>_GlobalAdmin (domain installation), and SAP_<SAPSID>_LocalAdmin (local
installation) for all directories as follows:
1. In the Windows Explorer, right-click the Oracle root directory and choose Properties.
2. Under Security, choose Advanced .
3. Deselect Allow inheritable permissions from the parent....
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
2010-03-16 PUBLIC 65 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 66/154
4. In the next dialog, choose Copy to copy the permission entries that were previously applied
from the parent to this object.
5. Choose OK .
6. Set the permissions for the above-mentioned accounts SYSTEM, Administrators,
SAP_<DBSID>_GlobalAdmin, or SAP_<DBSID>_LocalAdmin to Full Control.
7. Delete all other accounts.
7. Restore the database files on the target system either manually (see Restoring the Database Files on the
Target System Manually [page 66]) or with BR*Tools (see Restoring the Database Files on the Target System
with BR*Tools [page 67]), then proceed with SAPinst.
5.1.4 Restoring the Database Files on the Target System
Manually CAUTION
If you do not use a backup but copy the database files directly from the source to the target system
host, make sure that you shut down the database on the source system before you copy the listed
files from the source to the target directories.
Procedure
1. Copy the following files from the source to the target system host by copying the listed files from
the source directories to the target directories. For more information, see Creating an Offline Backup
Manually [page 63].
Directories on UNIX:
Source and Target Directory Files
/oracle/<DBSID>/sapdata<x> All files
/oracle/<DBSID>/origlog<x> All files
/oracle/<DBSID>/mirrlog<x> All files
source: <INSTDIR>
target: <SAPINST_INSTDIR>
CONTROL.SQL
source: <INSTDIR>
target: /oracle/<DBSID>/<DB_VERSION>_<BIT>/dbs
init<TARGET_DBSID>.ora
Directories on Windows:
Source and Target Directory Files
<drive>:\oracle\<DBSID>\sapdata<x> All files
<drive>:\oracle\<DBSID>\origlog<x> All files
<drive>:\oracle\<DBSID>\mirrlog<x> All files
source: <INSTDIR>
target: <SAPINST_INSTDIR>
CONTROL.SQL
source: <INSTDIR>
target: \oracle\<DBSID>\<DB_VERSION>_<BIT>\database
init<TARGET_DBSID>.ora
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
66 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 67/154
Only valid for: Windows |
NOTE
The installation directory of the target system is normally located in the directory:
%programfiles%\sapinst_instdir\NW04S\LM\COPY\ORACLE\SYSTEM\<system_variant>
End of: Windows |
2. After you have copied the database files, make sure that the files on the source and target system
are not located in different directories or drives. If required, make the corresponding changes in
the files control.sql and the init<DBSID>.ora.
3. Verify that the created directories and copied files have the owner ora<target_dbsid>, belong to
the group dba, and have the permissions 740.
4. Make sure that the control files are not restored. If necessary, remove them.
The file names are specified by the parameter control_files of the init<TARGET_DBSID>.ora file.
5.1.5 Restoring the Database Files on the Target System withBR*Tools
Procedure
1. Copy the following files from the source system host to the target system host by copying the listed
files from the source directories to the target directories manually.
■ On UNIX:
Source and Target Directory Files
source: <INSTDIR>
target: <SAPINST_INSTDIR>
CONTROL.SQL
source: <INSTDIR>
target: /oracle/<DBSID>/<DB_VERSION>_<BIT>/
dbs
init<TARGET_DBSID>.ora
■ On Windows:
Source and Target Directory Files
source: <INSTDIR>
target: <SAPINST_INSTDIR>
CONTROL.SQL
source: <INSTDIR>
target: \oracle\<DBSID>\<DB_VERSION>_<BIT>\database
init<TARGET_DBSID>.ora
2. Create an Oracle spfile from init<TARGET_DBSID>.ora profile as follows:
SYNTAX
sqlplus /nologconnect / as sysdbacreate spfile from pfile;exit
3. Call the restore and recovery function of BR*Tools.
For more information about the required steps and prerequisites, see SAP Note 1003028.
5 Database-Specific System Copy
5.1 Oracle-Specific Procedure
2010-03-16 PUBLIC 67 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 68/154
The main prerequisite is that the corresponding BR*Tools logs (BRBACKUP detailed and summary
log,BRARCHIVE summary log) are copied manually from the source to the target system. In addition,
the postprocessing steps mentioned in this SAP Note are performed automatically by SAPinst.
SAP Note 1003028 also comprises information about executing restore and recovery under the
control of BRRECOVER and the exact syntax of BRRECOVER (see section Homogeneous Database Copy).
For more information about BR*Tools, see help.sap.com/nw70 SAP NetWeaver 7.0 Library English
SAP NetWeaver Library Administrator’s Guide Technical Operations Manual for SAP NetWeaver General
Administration Tasks Database Administration Database Administration for Oracle BR*Tools for Oracle
DBA .
4. Shut down the Oracle database instance as follows:
SYNTAX
sqlplus /nologconnect / as sysdbashutdown immediateexit
End of: Oracle |
Only valid for: MaxDB |
5.2 SAP MaxDB-Specific Procedure
In an SAP system environment, you can create a homogeneous copy of a SAP MaxDB database by using
the backup and restore method. This method is suitable for creating an exact copy of an existing database.
The source of the copy is a complete data backup of your source database.
The SAPinst tool is used for the installation on the target system host as described in the installation
documentation for your SAP solution. In SAPinst you select the backup and restore method as the
database installation method. SAPinst stops before the database instance initialization and asks you to
perform the recovery on the target database. After you have performed recovery and post-recovery
activities you can continue the installation in SAPinst.
This description is not valid for the liveCache system copy.
Advantage
■ You can use existing offline backups.
■ This method is faster than the database-independent method using R3load or Jload [page 23].
Disadvantage
You can only copy between systems with the same byte order. For more information, see below.
Prerequisites
■ Byte order ‒ little-endian or big-endian
You can use the backup and restore method to copy systems with the same byte order. That is,
you can copy a system based on little-endian to another system based on little-endian. You can
5 Database-Specific System Copy
5.2 SAP MaxDB-Specific Procedure
68 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 69/154
also copy a system based on big-endian to another system based on big-endian. Check SAP Note
552464 to find out which processor and operating system combination uses which byte order.
■ Data backup
You perform the complete data backup of your source database.
■ Recovery tool
You are using the SAP MaxDB Database Manager (DBMGUI) version 7.5.0 Build 12 or above.
You can find more information on DBMGUI at either of the following:
● http://dev.mysql.com/doc SAP MaxDB by MySQL SAP MaxDB Online Library Tools
● http://help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver Library SAP
NetWeaver by Key Capability Databases SAP MaxDB Tools Database Manager GUI
■ Database Software
The database software on the target host must have the same version as the software on the sourcehost. The build number of the software version on the target host must be greater than or equal
to the version on the source host.
■ Size of the data on the target system
The size of the target system must be greater than the used space on the source system. You can
find the size of the used pages on the source system as follows:
dbmcli —d <database_name> —u <dbm_user>,<password> —n <database_server> —u SQL
sap<sid>,<password> sql_execute 'SELECT USEDPERM FROM SERVERDBSTATISTICS'
The result of this query is the amount of used space, expressed as the number of 8 KB pages. To
get the used space in MB, divide this value by 128. When SAPinst prompts you, configure thedatabase data volumes according to this value.
■ JRE
You must have installed JRE version 1.5 or higher on your system.
The JAVA_HOME environment variable must point to the JRE directory.
Process
1. You do the following on the source system:
1. If you do not already have a suitable recent complete SAP MaxDB backup, you create a
complete data backup using the DBMGUI tool:
DBMGUI Backup Backup Wizard Complete
2. You make the backup medium available on the target host.
3. Only valid for: UNIX;Windows |
Run SAPinst to perform the export for UNIX or Windows [page 32].
End of: UNIX;Windows |
2. You do the following on the target system:
1. To install the new system you start SAPinst as follows:
SAP NetWeaver 7.0 Lifecyle Management System Copy SAP MaxDB Target System <Central
System | Distributed System | High-Availability System> .
5 Database-Specific System Copy
5.2 SAP MaxDB-Specific Procedure
2010-03-16 PUBLIC 69 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 70/154
During the installation of the database instance, SAPinst stops before database initialization in
the screen Perform Database Recovery and asks you to perform the data recovery.
2. You start the data recovery wizard from DBMGUI
1. You register your database instance in the DBMGUI
2. You check the database instance in the admin state.
3. You choose Recovery Recovery with Initialization ...
4. In type of recovery you select Restore a medium.
5. You specify the backup medium.
6. You start the restore procedure.
NOTE
The recovery wizard does not start the recovery immediately. It initializes the database
instance first. It takes some time for the database server to format the database volumes.3. After the restore, you check the state of the target database instance. Change the database state
to online if it is not already in online state.
4. You delete the entries from the following tables to make sure that information about the
backup history for update statistics in the Computing Center Management System (CCMS)
from the old system does not appear in the new system:
CNHIST, CNREPRT, CNMEDIA, DBSTATHADA, DBSTAIHADA, DBSTATIADA, DBSTATTADA,
SDBAADAUPD
5. You continue with SAPinst or restart it if you stopped it during the recovery.
6. After installation is completed you maintain the database connection for CCMS. For more
information, see SAP Note 588515.
End of: MaxDB |
Only valid for: Windows | MS SQL Server |
5.3 MS SQL Server-Specific Procedure
This section describes how to perform a homogeneous system copy of an MS SQL Server database by
using the backup/restore method, or the detach/attach method in an SAP environment. The SAPinst
installation tool supports both methods.
The backup/restore method and the detach/attach method have the following advantages compared
to the R3load method:
■ You can use an existing backup.
■ These methods are much faster than the database-independent method [page 23].
NOTE
● For more information about the system copy procedure, see also SAP Notes 193816 and
151603.
5 Database-Specific System Copy
5.3 MS SQL Server-Specific Procedure
70 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 71/154
● With SQL Server, you can use backup images across the platforms I386, IA64, x64. That
is, you can make a backup on one type of platform and use it on another type.
● You can only attach SQL Server 2000 files to SQL Server 2005 but not vice versa.
Process
1. On the source system, run SAPinst to create an export of the Java central instance [page 32] by choosing the
following installation service on the Welcome screen:
<Your SAP system> Software Life-Cycle Options System Copy MS SQL Server Source System <system
variant> Based on <technical stack>
■ For a central system, choose Database and Central Instance Export .
NOTE
On the SAPinst screen SAP SystemDatabase Export , make sure to select Use database-specific
tools for the system copy method.
■ For a distributed system, you choose Central Instance Export .
When performing the export you create a MIGRATION EXPORT CD image, which contains the
data of the exported system, and which you use to install the target system.
2. Detach the database files from the source system database or create a backup and copy the files to
the target system.
3. Attach the database files or restore the backup of the source database on the target database server.
4. Run SAPinst to install the target system by choosing the following on the Welcome screen:
<Your SAP system> Software Life-Cycle Options System Copy MS SQL Server Target System <systemvariant> <technical stack>
NOTE
■ The target system is installed using the exports from the source system.
■ Choose the installation services exactly in the order they appear. For more information,
see the MS SQL Server installation guide for your SAP system at http://
service.sap.com/installnw70.
■ On the SAPinst screen SAP SystemDatabase make sure to select Homogeneous System Copy (MS
SQL Server-specific: Detach/Attach or Backup).
End of: Windows | MS SQL Server |
Only valid for: IBM DB2 for Linux and UNIX and Windows |
5.4 IBM DB2 for Linux, UNIX, and Windows SpecificProcedures
In an SAP system environment, you can create a homogeneous system copy of a DB2 database using
the backup method or by relocating your database. The relocation of the database is usually used in
conjunction with split mirror. For more information, see the documentation Database Administrat ion
5 Database-Specific System Copy
5.4 IBM DB2 for Linux, UNIX, and Windows Specific Procedures
2010-03-16 PUBLIC 71 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 72/154
Guide: SAP on IBM DB2 Universal Database for UNIX and Windows, section The db2inidb Tool and the DB2
documentation.
This section provides information on the backup method.
SAPinst is used for the installation on the target system host as described in the installation
documentation for your SAP component.
In a Java or ABAP+Java system, you have to additionally run an export for the Java Engine to archive
SDM and application-specific file system content.
Advantages of the Backup Method
■ You can use existing offline backups.
■ Using the backup method is faster than the database-independent method [page 23].
Disadvantages of the Backup Method ■ You cannot change the database schema. The database schema will be the same as of the source
system.
■ You cannot copy an individual MCOD component to another system. You can only copy the
complete system.
Prerequisites
■ The source and target database systems should be binary compatible.
NOTE
With DB2, it is possible to use backup images cross platform for AIX, Solaris and HP-UX. ■ If errors occur when restoring the backup on the target system, the complete restore must be
repeated.
Process
1. You perform an offline backup or restore an existing backup copy.
NOTE
To export the database content for Java, you can also use the database-specific method
(backup/restore).
During the dialog phase, SAPinst asks you in the Database Export dialog box to specify the systemcopy method. If you want to use the backup/restore method, choose Use database-specific tools.
2. To create the export directory structure with labels and to archive SDM and application-specific
file system content, you additionally have to run SAPinst.
On the Welcome screen, choose <Your SAP system> Software Life-Cycle Options S ystem Co py IBM
DB2 for Linux, UNIX, and Windows Source System <system variant> <technical stack> .
Perform the installation options in the given sequence and follow the instructions on the SAPinst
dialogs.
5 Database-Specific System Copy
5.4 IBM DB2 for Linux, UNIX, and Windows Specific Procedures
72 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 73/154
3. To create a target system, run SAPinst on the target system host by choosing the following on the
Welcome screen:
<Your SAP system> Software Life-Cycle Options System Copy IBM DB2 for Linux, UNIX, and Windows
Target System <system variant> <technical stack>
Perform the installation options in the given sequence and follow the instructions on the SAPinst
dialogs. During the installation phase SAPinst prompts you to perform the database restore.
CAUTION
Be aware of the following constraints when using the backup method for a homogeneous
system copy:
■ You cannot change the connect user. During the dialog phase you have to make sure
that you enter the name of the connect user exactly as you did on your source system.
■
The table space names remain the same during the database restore. However, you canchange them after the installation.
■ If you want to change the container names on the target system, you have to adapt the
container names in the redirected restore script and then perform a redirected restore.
For more information, see the documentation Database Administration Guide: SAP on IBM
DB2 Universal Database for UNIX and Windows, section Usage of Tool brdb6brt .
For the restore of your database, you can choose between one of the following options:
■ Simple database restore
To perform a database restore, use the DB2 restore command. For more information see the
IBM DB2 documentation DB2 Command Reference.
■ Redirected restore
To perform a redirected restore, use the tool brdb6brt that retrieves a database backup and
creates a CLP script for the restore of this backup image. For more information about how to
use the tool brdb6brt, see the documentation Database Administration Guide: SAP on IBM DB2
Universal Database for UNIX and Windows section Usage of Tool brdb6brt and the IBM DB2
documentation DB2 Command Reference.
4. Perform the database restore.
If you have used an online backup, you have to make sure that you have access to the log files thatwere created during the online backup. You also have to perform a roll forward operation to bring
the database into a consistent state.
You can now continue with the installation.
5. If required, you can modify the table space names after the installation using the following
command:
db2 rename tablespace <old name> to <new name>
EXAMPLE
db2 rename tablespace <SAPSID_SOURCE>#STABD to <SAPSID_TARGET>#STABD
5 Database-Specific System Copy
5.4 IBM DB2 for Linux, UNIX, and Windows Specific Procedures
2010-03-16 PUBLIC 73 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 74/154
In addition, you have to update the table space names in tables TSDB6, IADB6 and TADB6 using
the following commands:
■ For table TSDB6, enter the following SQL command:
update <connect_user_name>.tsdb6 set tabspace = '<SAPSID_TARGET>#'||substr
(tabspace,5,length(tabspace)-4),indspace='<SAPSID_TARGET>#'||substr(indspace,
5,length(indspace)-4)
■ For table IADB6, enter the following SQL command:
update <connect_user_name>.iadb6 set tabspace = '<SAPSID_TARGET>#'||substr
(tabspace,5,length(tabspace)-4)
■ For table TADB6, enter the following SQL command:
update <connect_user_name>.tabdb6 set tabspace = '<SAPSID_TARGET>#'||substr
(tabspace,5,length(tabspace)-4)
More Information
IBM DB2 documentation DB2 Command Reference
End of: IBM DB2 for Linux and UNIX and Windows |
Only valid for: IBM DB2 for i5/OS |
5.5 IBM DB2 for i5/OS Procedure
In an SAP system environment, you can create a homogeneous system copy of a DB2 database using
the SAV/RSTLIB system copy method.
Advantage of the Offline System Copy Method
This method is faster than the database-independent method [page 23].
For more information, see SAP Note 585277.
CAUTION
You can only copy for IBM DB2 for i5/OS.
End of: IBM DB2 for i5/OS |Only valid for: IBM DB2 for z/OS |
5.6 IBM DB2 for z/OS Specific Procedure
In an SAP system environment, you can create a homogeneous system copy of a DB2 database using
the offline system copy method.
This document assumes that the database schema of your SAP system is SAPR3. If you employ a different
schema, adapt the references to SAPR3 in the following SQL statements and jobs to reflect the actual
schema name.
5 Database-Specific System Copy
5.5 IBM DB2 for i5/OS Procedure
74 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 75/154
The following section describes an offline system copy method for SAP systems on IBM DB2 for z/
OS.
For this example system copy, the high-level qualifier of the source system is assumed to be D8A0 of the
target system D8B0.
Advantage of the Offline System Copy Method
This method is faster than the database-independent method [page 23].
Restriction of the Offline System Copy Method
At the moment, you cannot copy an individual MCOD component to another system. You can only
copy the complete system.
NOTE
The offline system copy must be performed by an experienced database administrator.
You can find an adapted procedure for an online system copy in the IBM documentation High
Availability for SAP on zSeries Using Autonomic Computing Technologies.
Prerequisites
The following prerequisites must be fulfilled to use this method:
■ The permissions of the source and target systems must be completely separate. The source system
must not be able to use the resources of the target system, and the target system must not be able
to use the resources of the source system.
■ RACF authorization for the target DB2 subsystem is complete.
■ Source and target systems must work with DB2 managed objects.
■ Table spaces are not partitioned.
■ The system copy is made from a nondata sharing system to a nondata sharing system.
■ Procedures of the source and the target system are defined in the DB2 PROCLIB.
■ Source and target systems have their appropriate entries in the APF list.
■ Volumes of the source and target systems are managed by SMS.
■ Source and target systems run with the same DB2 service level.
Variables Used in this Procedure
■ Source System = D8A0
■ Target System = D8B0
■ Storage Group = TEMPORA
■ High-Level Qualifier = HLQ
■ Boot Strap Data Set = BSDS
Main Steps in this Procedure
The following sections contain the detailed steps involved in the homogeneous system copy procedure
for DB2 for z/OS.
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
2010-03-16 PUBLIC 75 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 76/154
In the following steps, storage groups must be modified to apply the new high-level qualifier. This can
be achieved by dropping and re-creating the storage groups with the new high-level qualifier (and
volumes).
To prepare the DB2 catalog of the target system, you must run JCL jobs created by SQLs running in
the source system.
The offline system copy can be divided into the following steps:
1. Check the Source System for Consistency
2. Stop and Restart the Source System
3. Run SQLs in the Source System
4. Capture View Definitions
5. Stop the Source System
6.Print the Bootstrap Data Sets
7. Make Copies of the Source Data Sets
8. Create the Target System
9. Post-process the Target System
10. Changing the VCAT of the Target System
11. Changing the Schema of the Target System (DB2 V9 only)
12. Adapting WLM Application Environments for DB2 Stored Procedures
JCL jobs and SQL Statements
The JCL jobs and SQL Statements are now located in a compressed file (.zip) that is attached to SAPNote 680746.
The path for each file is given in the section that previously contained the code.
5.6.1 Step 1: Check Consistency
The following is a list to help you check the source system for consistency.
■ Check if there are threads.
■Check for authorized utilities using the following:DISPLAY DATABASE(*) UTIL(*) and press [ENTER]
Your output should be:
No authorized utility found.
If there are running utilities, you must shut them down properly before continuing.
■ Ensure that all DB2 objects of the source system are started RW mode.
This can be checked with
DISPLAY DATABASE(*) SPACENAM(*)
with keyword
RESTRICT.
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
76 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 77/154
For more information, see DB2 UDB for z/OS and OS/390 Command Reference (SC26-9932-05).
■ If there are no objects in pending status, the source system must be stopped.
5.6.2 Step 2: Stop and Restart the Source System
Now you must stop and restart the source system with the ACCESS (MAINT) command option to
prohibit any authorization IDs other than install SYSADM and install SYSOPR.
5.6.3 Step 3: Run SQL Statements in the Source System
Prerequisites
As described earlier in this section, you must stop and restart the source system with theACCESS(MAINT)
command option to prevent changes and to obtain consistent data.
Information for IBM DB2 V9 for z/OS
If you are running your system with DB2 V9, note that SQL Statements 2 through 9, as well as Creating
a New Storage Group Using the HLQ of the Target System are not relevant tasks for this procedure.
Activities
Execute all the following SQL statements in the source system:
5.6.3.1 SQL Statement Number 01
This statement is located at
HSCProcedure\Step3\STMT01.SQL
in the .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs and
SQL Statements.
With this statement, you identify user-defined indexes that you need to change in the DB2 catalog. For
more information, see Step 8e: Changing the User-Defined Indexes in the DB2 Catalog [page 88].
Output
The output of this statement is similar to the following:
EXAMPLE
---------+---------+---------+---------+---------+-----
NAME DBNAME INDEXSPACE
---------+---------+---------+---------+---------+-----
SYSTBLSP~0 DSNDB06 SYSTBLSP
SYSTABLE~0 DSNDB06 SYSTABLE
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
2010-03-16 PUBLIC 77 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 78/154
SYSIXPART~0 DSNDB06 SYSIXPAR
5.6.3.2 SQL Statement Number 02
This statement is located at
HSCProcedure\Step3\STMT02.SQL
in the .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs and
SQL Statements.
With this statement, you identify all databases that you want to stop at a later point in time in the target
system:
NOTE
This task is not relevant for DB2 V9.
Output
The output of this statement is similar to the following:
EXAMPLE
-STOP DATABASE (A000XAAA)
-STOP DATABASE (A000XAAB)
-STOP DATABASE (A000XAAC)
-STOP DATABASE (A000XAAD)
-STOP DATABASE (A000XAAE)
-STOP DATABASE (A000XAAF)
-STOP DATABASE (A000XAAG)
-STOP DATABASE (A000XAAH)
-STOP DATABASE (A000XAAI)
-STOP DATABASE (A000XAAJ)
-STOP DATABASE (A000XAAK)
-STOP DATABASE (A000XAAL)
.
.
.
etc.
5.6.3.3 SQL Statement Number 03
This statement is located at
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
78 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 79/154
HSCProcedure\Step3\STMT03.SQL
in the .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs and
SQL Statements.
With this statement, you identify all table spaces to be connected at a later point in time to the temporary
storage group TEMPORA:
NOTE
This task is not relevant for DB2 V9.
Output
The output of this statement is similar to the following:
EXAMPLE
ALTER TABLESPACE A000XAAA.ABAPTREE USING STOGROUP TEMPORA; COMMIT;
ALTER TABLESPACE A000XAAA.ABAPTREE USING STOGROUP TEMPORA; COMMIT;
ALTER TABLESPACE A000XAAA.ADIRACCE USING STOGROUP TEMPORA; COMMIT;
ALTER TABLESPACE A000XAAA.ADOWNERR USING STOGROUP TEMPORA; COMMIT;
ALTER TABLESPACE A000XAAA.ADRCOMCS USING STOGROUP TEMPORA; COMMIT;
ALTER TABLESPACE A000XAAA.ADRDIFIN USING STOGROUP TEMPORA; COMMIT;
ALTER TABLESPACE A000XAAA.ADRGS2 USING STOGROUP TEMPORA; COMMIT;
ALTER TABLESPACE A000XAAA.ADR10 USING STOGROUP TEMPORA; COMMIT;
5.6.3.4 SQL Statement Number 04
This statement is located at
HSCProcedure\Step3\STMT04.SQL
in the .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs and
SQL Statements.
With this statement, you identify all indexes to be connected with storage group TEMPORA.
NOTE
This task is not relevant for DB2 V9.
Output
The output of this statement is similar to the following:
EXAMPLE
ALTER INDEX "DSNACC"."UTLEX01" USING STOGROUP TEMPORA; COMMIT;
ALTER INDEX "DSNACC"."UTLSTX01" USING STOGROUP TEMPORA; COMMIT;
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
2010-03-16 PUBLIC 79 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 80/154
ALTER INDEX "DSNACC"."UTPEBX01" USING STOGROUP TEMPORA; COMMIT;
ALTER INDEX "DSNACC"."UTPETX01" USING STOGROUP TEMPORA; COMMIT;
ALTER INDEX "DSNACC"."UTPEX01" USING STOGROUP TEMPORA; COMMIT;
ALTER INDEX "DSNACC"."UTPRCX01" USING STOGROUP TEMPORA; COMMIT;
ALTER INDEX "DSNACC"."UTRESTARTX" USING STOGROUP TEMPORA; COMMIT;
ALTER INDEX "DSNACC"."UTRESTART2X" USING STOGROUP TEMPORA; COMMIT;
ALTER INDEX "DSNACC"."UTTMDX01" USING STOGROUP TEMPORA; COMMIT;
ALTER INDEX "DSNACC"."UTTMPX01" USING STOGROUP TEMPORA; COMMIT;
.
.
etc.
5.6.3.5 SQL Statement Number 05
This statement is located at
HSCProcedure\Step3\STMT05.SQL
in the .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs and
SQL Statements.
Storage groups in the target system still contain the high-level qualifier of the source system. With this
statement, you identify storage groups to be dropped at a later point in time with the following
statement:
NOTE
This task is not relevant for DB2 V9.
Output
The output of this statement is similar to the following:
EXAMPLE
DROP STOGROUP SYSDEFLT; COMMIT;DROP STOGROUP SAPU1I; COMMIT;
DROP STOGROUP SAPU1D; COMMIT;
DROP STOGROUP SAPSOI; COMMIT;
DROP STOGROUP SAPSOD; COMMIT;
DROP STOGROUP SAPESI; COMMIT;
DROP STOGROUP SAPESD; COMMIT;
DROP STOGROUP SAPPRI; COMMIT;
DROP STOGROUP SAPPRD; COMMIT;
DROP STOGROUP SAPLOI; COMMIT;
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
80 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 81/154
.
.
etc.
5.6.3.6 SQL Statement Number 06
This statement is located at
HSCProcedure\Step3\STMT06.SQL
in the .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs and
SQL Statements.
NOTEThis task is not relevant for DB2 V9.
With this statement, you identify storage groups to be created at a later point in time with the high-
level qualifier of the target system. In this case, we assume that FR01 is the high-level qualifier of the
target system.
Storage Group Naming Conventions
Some storage group names may have to be adapted for all storage groups for which the creator is your
SQLID and not
SAPR3. The naming convention is as follows:
ABAP Storage Group Naming Convention
Schema Storagegroup Name
SAPR3 SAP<SI><I|D>
other <SID><SI><I|D>
NOTE
<SI> signifies the two-character STORAGEID of the table type (TABART).
Java Storage Group Naming Convention
Schema Storage Group Name
<schema> <schema>
CAUTION
For Java, the schema name is also the name of the storage group. You must not change the name
of the storage group. Be aware that as of DB2 V9, you can use the CATMAINT utility to globally
switch a schema name.
Output
The output of this statement is similar to the following:
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
2010-03-16 PUBLIC 81 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 82/154
EXAMPLE
CREATE STOGROUP SYSDEFLT VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPU1I VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPU1D VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPSOI VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPSOD VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPESI VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPESD VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPPRI VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPPRD VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPLOI VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPLOI VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
CREATE STOGROUP SAPLOD VOLUMES('*') VCAT FR01; COMMIT;; COMMIT;
.
.
etc.
5.6.3.7 SQL Statement Number 07
This statement is located at
HSCProcedure\Step3\STMT07.SQL
in the .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs and
SQL Statements.
With this statement, you connect table spaces with their previous storage groups, which now contain
the high-level qualifier of the target system.
NOTE
This task is not relevant for DB2 V9.
Output
The output of this statement is similar to the following:
EXAMPLE
ALTER TABLESPACE "DSNRLST"."DSNRLS01" USING STOGROUP SYSDEFLT;COMMIT;
ALTER TABLESPACE "BCXXXC5E"."SYNCLOG" USING STOGROUP SAPD7DDB;COMMIT;
ALTER TABLESPACE "BCXXXC5E"."DDDBRTH" USING STOGROUP SAPD7DDB;COMMIT;
ALTER TABLESPACE "BCXXX3UT"."DDDBTAB" USING STOGROUP SAPD7DDB;COMMIT;
ALTER TABLESPACE "BCXXX3UT"."LDDDBT3U" USING STOGROUP SAPD7DDB;COMMIT;
ALTER TABLESPACE "BCXXX3UT"."DDDBRTX" USING STOGROUP SAPD7DDB;COMMIT;
ALTER TABLESPACE "BCXXXC5E"."JMSDMSG" USING STOGROUP SAPD7DDB;COMMIT;
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
82 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 83/154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 84/154
NOTE
This task is not relevant for DB2 V9.
Output
The output of this statement is similar to the following:
EXAMPLE
-START DATABASE (A000XAAA)
-START DATABASE (A000XAAB)
-START DATABASE (A000XAAC)
-START DATABASE (A000XAAD)
-START DATABASE (A000XAAE)
-START DATABASE (A000XAAF)-START DATABASE (A000XAAG)
-START DATABASE (A000XAAH)
-START DATABASE (A000XAAI)
-START DATABASE (A000XAAJ)
-START DATABASE (A000XAAK)
-START DATABASE (A000XAAL)
.
.
etc.
5.6.4 Step 4: Capturing View Definitions with DB2 V9 (if theSchema Name is to be Changed)
DB2 V9 adds the capability to change the VCAT name to the CATMAINT utility. This new capability
facilitates homogenous system copy. Moreover, the CATMAINT utility can change the schema and
creator of objects.
If you intend to also change the schema name as part of the homogeneous system copy, for example
for SAP Java systems, you need to capture the view definitions in this step. This is necessary since
renaming the schema using CATMAINT requires that no views exist on the tables for which a VCAT name
is changed. Therefore, the view definitions are exported in this step using R3ldctl.
As part of the post-processing steps that are performed in the target system, the saved view definitions
are later used to re-create the views in the target system. The views may also be saved and later re-
created in the target system using alternative tools.
Procedure
To export the view definitions using R3ldctl:
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
84 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 85/154
1. Run R3ldctl without parameters to create the DDLDB2.TPL file, the SAPVIEW.STR file and others
2. Store these files
5.6.5 Step 5: Stop the Source System
Stop the source system with the following command option:
MODE (QUIESCE)
5.6.6 Step 6: Making Copies of Source Data Sets
With this step, you make copies of the source data sets, which includes:
■ DB2 bootstrap data sets
■ DB2 logcopy data sets
■ All DB2 VSAM data sets belonging to the source system
With these JCL jobs, you can make copies of the source data sets:
■ HSCProcedure\Step6\DUMPA0.JCL
■ HSCProcedure\Step6\DUMPA1.JCL
■ HSCProcedure\Step6\DUMPA2.JCL
■ HSCProcedure\Step6\DUMPLIB.JCL
■ HSCProcedure\Step6\DUMPLOG.JCL
■ HSCProcedure\Step6\DUMPREST.JCL
All scripts are located in the .zip file [page 74] attached to SAP Note 680746. For more information, see
the section JCL Jobs and SQL Statements.
NOTE
The source system can be restarted now. It is no longer needed for the following system copy
process.
5.6.7 Step 7: Creating the Target System
With the following JCL jobs, you create the target system.
In the first step, the dumps of the source system have to be restored. All data sets of the source system
have to be restored with the high-level qualifier of the target system.
All statements are located in the .zip file [page 74] attached to SAP Note 680746. For more information,
see the section JCL Jobs and SQL Statements.
■ HSCProcedure\Step7\RSTOREA0.JCL
■ HSCProcedure\Step7\RSTOREA1.JCL
■ HSCProcedure\Step7\RSTOREA2.JCL
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
2010-03-16 PUBLIC 85 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 86/154
■ HSCProcedure\Step7\RSTORELI.JCL
■ HSCProcedure\Step7\RSTORELO.JCL
■ HSCProcedure\Step7\RSTORERE.JCL
5.6.8 Step 8: Printing the Bootstrap Data Sets
Prerequisites
The source system must be stopped at this point.
Statement
This JCL job is located at
HSCProcedure\Step8\PROLOGMAP.JCL
in the .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs and
SQL Statements.
With this statement, you print the bootstrap data sets. You can use the output of this statement to
manipulate the bootstrap data sets in the target system.
Output
The output of this statement is similar to the following:
SYNTAX
. . . GROUP NAME: ........ BSDS COPY 1 DATA SET NAME:............................................ BSDS COPY 2 DATA SET NAME:............................................ ENFM START RBA/LRSN: 000000000000 ACTIVE LOG COPY 1 DATA SETS START RBA/TIME END RBA/TIME DATE LTIME DATA SET INFORMATION -------------------- -------------------- -------- ----- --------------------
0034A0468000 0034AC7DFFFF 2003.106 12:12 DSN=D8A0.LOGCOPY1.DS01 2004.163 18:31:44.4 2004.163 20:14:45.7 PASSWORD=(NULL) STATUS=REUSABLE 0034AC7E0000 0034B8B57FFF 2003.106 12:12 DSN=D8A0.LOGCOPY1.DS02 2004.163 20:14:45.7 2004.163 20:37:23.1 PASSWORD=(NULL) STATUS=REUSABLE
0034B8B58000 0034C4ECFFFF 2003.106 12:12 DSN=D8A0.LOGCOPY1.DS03 2004.163 20:37:23.1 ........ .......... PASSWORD=(NULL) STATUS=REUSABLEARCHIVE LOG COPY 1 DATA SETSNO ARCHIVE DATA SETS DEFINED FOR THIS COPYACTIVE LOG COPY 2 DATA SETSNO ACTIVE DATA SETS DEFINED FOR THIS COPYARCHIVE LOG COPY 2 DATA SETSNO ARCHIVE DATA SETS DEFINED FOR THIS COPY
.
.
.etc.
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
86 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 87/154
5.6.9 Step 9a: Changing the Bootstrap Data Sets (BSDS)
Before starting the target system, the BSDS must be changed.
The JCL jobs listed here are located in the .zip file [page 74] attached to SAP Note 680746. For more
information, see the section JCL Jobs and SQL Statements.
1. Change the HLQ entry in the BSDS of the target system, using the HLQ D8B0.
The corresponding JCL job is located at
HSCProcedure\Step9a\CHGBSDS1.JCL
in the .zip file.
2. Change the log entries in the BSDS. The START and END RBA information as of utility DSNJU004
have to be used for the target system as follows:
The corresponding JCL job is located at
HSCProcedure\Step9a\CHGBSDS2.JCL
in the .zip file.
After changing the BSDS with these scripts, you can start the target system.
5.6.10 Step 9b: Start the Target System
When you start the DB2 target system for the very first time, the system is still working with the work
file database of the source system. However, access fails with insufficient access authority, as seen in the
log.Partial example of a LOG when you start the target system for the first time:
SYNTAX
. . . . DSNR005I -D8B0 RESTART...COUNTS AFTER FORWARD 604 RECOVERY IN COMMIT=0, INDOUBT=0 DSNR006I -D8B0 RESTART...COUNTS AFTER BACKWARD 605 RECOVERYINFLIGHT=0, IN ABORT=0, POSTPONED ABORT=0 DSNP012I -D8B0 DSNPCNP0 - ERROR IN VSAM CATALOG 606 LOCATE FUNCTION FOR D8A0.DSNDBC.DSNDB07.DSN4K01.I0001.A001
CTLGRC=AAAAAA08 CTLGRSN=AAAAAA08 CONNECTION-ID=D8E0, CORRELATION-ID=003.RCRSC 02, LUW-ID=*IKJ56228I DATA SET D8A0.DSNDBC.DSNDB07.DSN4K01.I0001.A001 NOT IN CATALOGOR CATALOG CAN NOT BE ACCESSEDDSNB207I -D8B0 DYNAMIC ALLOCATION OF DATA SET 608FAILED. REASON=17080002.DSNAME=D8A0.DSNDBC.DSNDB07.DSN4K01.I0001.A001DSNT501I -D8B0 DSNITFFS RESOURCE UNAVAILABLE 609
CORRELATION-ID=D8E0 CONNECTION-ID=D8E0
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
2010-03-16 PUBLIC 87 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 88/154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 89/154
HSCProcedure\Step9e\ALTERIDX.JCL
in the .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs and
SQL Statements.
5.6.14 Step 9f: Restart the Index Spaces
At this point, you must restart the index spaces.
5.6.15 Step 9g: Creating the Temporary Files for the DB2 Target System
To create the temporary files for the DB2 target system:1. Run part of DSNTIJTM to create temporary files for DB2. DSNTIJTM was generated by DSNTINST
(optional) or consists of a manually changed copy from another existing DB2 subsystem.
The JCL job is located in the .zip file atHSCProcedure\Step9g\CRTTMPFL.JCL.
The .zip file [page 74] attached to SAP Note 680746. For more information, see the section JCL Jobs
and SQL Statements.
2. Stop and restart the DB2 subsystem. The error as described in Step 6: Make Copies of the Sources Data
Sets [page 85] should not occur since DB2 is working with the new temporary files.
5.6.16 Step 9h: Implementing HLQ of the Target System in the Work File Database
In the next step, the work file database is changed to use the new HLQ D8B0.
Procedure
To change the work file database:
1. Drop work file databaseDSNDB07 in the target system, delete the clusters for 4K and 32K and create
them again.2. Stop and restart the target system.
Error message IKJ56228I should not appear because DB2 is now working with its own work file
database.
5.6.17 Step 9i: Adjusting the DDF Location Name and PortNumber
To allow communication with the SAP Application Servers of the DB2 target system, you must adjust
the DDF location name and port number.
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
2010-03-16 PUBLIC 89 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 90/154
Procedure
To adjust the DDF location name and port number, run the DB2 utility DSNJU003 with the option
DDF to specify the location name and port number.
5.6.18 Step 10 (DB2 V8 and Lower): Changing the VCAT of the Target System
The target system with the new HLQ D8B0 still works with storage groups using VCAT D8A0.
In the following steps, the DB2 catalog is manipulated by stopping the databases, altering table-spaces
and indexes, dropping and creating storage groups with the new VCAT D8B0, altering table-spaces and
indexes using the new storage groups, and starting all databases.
The objects to be manipulated are identified by the results of previously described SQL statements.
All SQL statements listed here are located in the.zip file [page 74] attached to SAP Note 680746. For more
information, see the section JCL Jobs and SQL Statements.
Procedure
1. Stop all databases
The corresponding JCL job is located at
HSCProcedure\Step10\STOPDBS.JCL.
2. Alter table spaces using storage group TEMPORA
The corresponding JCL job is located at
HSCProcedure\Step10\ALTERTBS.JCL.
3. Alter indexes using storage group TEMPORA
The corresponding JCL job is located at
HSCProcedure\Step10\ALTERIDX.JCL.
4. Drop the storage groups
The corresponding JCL job is located at
HSCProcedure\Step10\DROPSTG.JCL.
5. Create the storage groupsThe corresponding JCL job is located at
HSCProcedure\Step10\CREATSTG.JCL.
6. Alter table spaces using their previous storage group
The corresponding JCL job is located at
HSCProcedure\Step10\ALTERTB2.JCL.
7. Alter indexes using their previous storage group
The corresponding JCL job is located at
HSCProcedure\Step10\ALTERID2.JCL.
8. Start all databases
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
90 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 91/154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 92/154
5.6.20 Step 11 (DB2 V9): Changing the Schema of the TargetSystem
To change the schema or creator name of your SAP tables and indexes, proceed as follows. This approach
requires that you have previously invoked R3ldctl on your source system to capture the view
definitions of the SAP system.
Procedure
1. If user-defined materialized query tables or triggers exist, save their definitions in a separate place
2. Delete all views, materialized query tables and triggers that exist on the SAP tables
3. Ensure that the DB2 EMD pool and DB2 EDM DBD cache have at least the following sizes:
■ EDMPOOL ≥ 200000 KB
■ EDMDBDC ≥ 300000 KB
4. Call the CATMAINT utility with the SCHEMA SWITCH option to switch the schema name
5. Reinstate the original sizes of EDMPOOL and EDMDBDC.
6. Start the DB2 subsystem in regular mode
7. Create a new DB2 stogroup for each existing stogroup. These new stogroups reflect the SAP system
ID of the new SAP system instead of the SAP system ID of the source SAP system.
To create the stogroups, submit the following statement:
CREATE STOGROUP <stogroup_name> VOLUMES (*) VCAT <vcat_name>
where <vcat_name> is the VCAT name of the new DB2 subsystem.
EXAMPLE
If an existing stogroup name is OLDDID and if the SAP system IDs of the source and target
systems are OLD and NEW, respectively, then a new stogroup needs to be created with the name
NEWDID.
8. Re-create the views by implementing the following steps:
1. Generate the R3load task files by submitting the following command:
R3load -ctf I SAPVIEW.STR DDLDB2.TPL SAPVIEW.TSK DB2 -l SAPVIEW.log
2. Create an SAPVIEW.cmd file to prepare the recreation of the views. This file can contain the
following lines for example:
EXAMPLE
tsk: "SAPVIEW.TSK"
icf: "SAPVIEW.STR"
dcf: "DDLDB2.TPL"
dat: null
dir: null
ext: null
3. Call R3load with the option
-i SAPVIEW.cmd -dbcodepage <codepage> -l SAPVIEW.log
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
92 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 93/154
to re-create the views.
9. If user-defined materialized query tables or triggers exist, re-create them.
5.6.21 Step 12: Adapting WLM Application Environments forDB2 Stored Procedures
The WLM environments of the WLM-established stored procedures need to be changed if the target
system is running with other WLM environments.
Procedure
To change the WLM environments of the WLM-established stored procedures, carry out the following
steps:
1. Create WLM application environments for the DB2 stored procedures as described in the SAP DBA
Guide: DB2 for z/OS.
2. Use the ALTER PROCEDURE statement as described in the IBM documentation DB2 for z/OS SQL
Reference.
End of: IBM DB2 for z/OS |
5 Database-Specific System Copy
5.6 IBM DB2 for z/OS Specific Procedure
2010-03-16 PUBLIC 93 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 94/154
This page is left blank for documents that are printed on both sides.
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 95/154
6 Follow-Up Activities
To finish the system copy of your SAP system:
■ Perform follow-up activities in the source system [page 95]
■ Perform follow-up activities in the target system [page 95]
NOTE
The Java engine is not started automatically. After the target system has been installed and the
follow-up activities have been performed, you have to start the Java engine manually.
6.1 Performing Follow-Up Activities in the Source System
Procedure
1. Reschedule your canceled jobs: Tools CCMS Jobs Maintenance (SM37) .
2. Using CCMS, adapt your operation mode timetable to the original status: Tools CCMS
Configuration Operation mode calendar (SM63) .
6.2 Performing Follow-Up Activities in the Target System
NOTE
Before you start the Java engine after the system copy, apply SAP Note 831812 and change the
Java VM parameters, if necessary.
6.2.1 Installing the License Key
Once the installation of the target system is completed and the SAP system copy has been imported,
you have to install a new license key. For more information about ordering and installing the SAP
license, see
http://help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver Library SAP NetWeaver
by Key Capability Solution Life Cycle Management SAP Licenses
6 Follow-Up Activities
6.1 Performing Follow-Up Activities in the Source System
2010-03-16 PUBLIC 95 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 96/154
6.2.2 Performing Follow-Up Activities for ABAP
Procedure
Actions at Operating System Level1. Adapt the configuration files at operating system level to meet network and SAP requirements.
2. Adapt additional SAP software components (for example, RFC, CPIC, SAP ArchiveLink) if required.
3. Adapt additional non-SAP software components (for example, archiving systems, monitoring
tools, job schedulers) if required.
4. Adapt backup programs (for example BRBACKUP, BRARCHIVE, BACKINT) if required.
5. Adapt non-SAP directories, file systems, NFS mounts, and so on if required.
6. Check the SAP parameters of the default and instance profiles.
7. Check your UNIX shell files for special entries.
8. Check crontab or AT jobs.
9. Check operating system files (for example, .netrc, .rhosts).
10. Check operating system printers.
11. Oracle: Adapt the database profiles init<SAPSID>.ora, init<SAPSID>.dba and
init<SAPSID>.sap.
Actions at Database Level
1. Before starting the SAP system, make sure that the logging mechanism of the database is active.
2. Check the parameters in the database profiles.
3. Oracle: Delete all entries from the following tables:
DBSTATHORA, DBSTAIHORA, DBSTATIORA, DBSTATTORA.
4. Oracle: Delete the user OPS$<SOURCE_SAPSID>ADM.
5. Oracle: If you changed the <DBSID> during the system copy, we recommend that you adapt the
global_name parameter with the following SQL command:
alter database rename global_name to <NEW_DBSID>;
If the parameter does not exist on your system, ignore this step.
Actions at SAP System Level
1. Run an installation check: Administration System administration Administration Installation Check
(transaction SM28).
2. Configure the Transport Management System (transactionSTMS). If you did not change the SAPSID
during the system copy, all open transport, repair and customizing requests that have not been
released in the source system, will not be released automatically.
3. Adapt the transport parameters and transport routes in the Transport Management System (TMS):
a.
1. Choose transaction STMS Overview Systems .
2. Select the system and select the tab Transporttool.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
96 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 97/154
To adapt the transport routes:
Choose transaction STMS Overview Transport routes .
4. Delete all entries from the following tables:ALCONSEG, ALSYSTEMS, DBSNP, MONI, OSMON, PAHI,
SDBAD, SDBAH, SDBAP, SDBAR.
5. Delete canceled and finished jobs.
Execute ABAP program RSBTCDEL, marking the field delete with forced mode: Tools ABAP Workbench
ABAP Editor (transaction SE38).
6. Adapt all jobs needed in the target system:
1. Copy the old jobs.
2. Modify the new jobs.
3. Delete the old jobs.
7. Check the consistency of the Temporary Sequential Objects (TemSe) by searching for files of TemSeobjects for which no TemSe objects exist:
Administration CCMS Spool TemSe administration (transaction SP12). For more information,
see SAP Note 16875.
8. Adapt the definition of the printers to meet the new system requirements:
■ Device types and character set definitions
■ Spool servers
■ Output management systems (OMS)
9. Delete entries in table DDLOG for buffer synchronization.
10. Synchronize the buffers as described in SAP Note 36283 and adapt the client information for the
logical system.
11. Adapt the RFC destination: Tools Administration Administration Network RFC destinations
(transaction SM59).
12. If you have performed a system copy with R3load, you must set up the trusted and trusting RFC
relationships again.
13. Clean the transactional RFC: Tools Administration Monitor Transactional RFC (transaction
SM58). For more information, see the relevant description in the SAP Online Documentation.
14. Start transactionSECSTORE using Check Entries. If you find erroneous entries with message text System-
dependent data for entry … changed , see SAP Note 816861.
15. Create new operation modes and remove old ones:
1. Create new operation modes and instance definitions.
2. Maintain the timetable using the new operation modes.
3. Delete the old operation modes and old instance definitions.
16. Adapt the operation mode time tables (CCMS): Administration CCMS Configuration Operation
mode calendar (transaction SM63).
17. Adapt the instances and profiles (CCMS): Administration CCMS Configuration OP modes/
instances (transaction RZ04).
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 97 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 98/154
18. Define or remove the SAP system users: Tools Administration User maintenance Users
(transaction SU01). Also revise the authorizations of the system users.
19. Run transaction SE14 to delete all entries from tablesTPFET and TPFHT. These contain information
about changes made to the profile of your source system.
IBM DB2 for i5/OS: Use the commands CLRPFM R3<SID>DATA/TPFET and CLRPFM R3<SID>DATA/
TPFHT.
20. Adapt other CCMS settings (for example, alert thresholds, reorganization parameters of CCMS
table MONI) if required.
21. Delete all entries from table TLOCK, which holds the repair requests from your source system.
22. Make data archived in the source system (data that does not reside in the database but was moved
to a different storage location using SAP Archive Management) accessible in the target system.
Adapt the file residence information in the target system. For more information, see the SAP
Online Documentation (SAP Web Application Server System Administration Application Data Archiving and
Reorganization) .
23. Redefine database actions (backup, update statistics, and so on) if you have used the DBA calendar
in the source system (transaction DB13).
24. Check logon groups and assignment of application servers to logon groups (transaction SMLG).
25. Check the connection to SAPNet - R/3 Frontend (transaction OSS1).
26. Check self-defined external commands (transaction SM69).
27. Check entries of the following tables in all relevant systems:
■ TXCOM (transaction SM54)
■ THOST (transaction SM55)
28. Check the logical system names. For more information, see Preparations [page 17]. If you need to
change logical system names in the system that results from the copy, change the logical system
names at this time as described in SAP Notes 103228 and 544509. Follow your corporate naming
strategy for logical systems when making this change.
BI customers: If you have copied a BI (formerly BW) system, read SAP Note 325525.
29. For every client in your SAP system check the detail settings (client role, changes and transports
for client-dependent objects, changes for client-independent objects, protection level, restrictions)
(transaction SCC4).
30. Check if you can delete clients that will no longer be used in the target system (transaction
SCC5).
31. Check the contexts and segments of remote application servers for the SAP Monitoring
Infrastructure if required (transaction RZ21).
32. Configure the domain controller in the Transport Management System (TMS) by using
transaction STMS.
33. Post-processing for customer objects:
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
98 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 99/154
If customer objects are not original in the new system, modify the corresponding entries in table
TADIR.
If you encounter problems modifying a customer development class using transaction SMTS or
SM31, try to use the option Validate (ENTER) instead of the option Save to save your changes.
34. ABAP Program Loads
The ABAP loads are platform-dependent programs that are generated during runtime and stored
in database tables. They are not exported when you use the R3load procedure to copy your SAP
system. The ABAP loads are generated in the target system when they are first used. This might,
however, reduce production system performance. To avoid this, you can use transaction SGEN to
generate the missing loads.
Load generation requires a large amount of system resources. Therefore, it makes sense to schedule
the generation job to run overnight.For a detailed description of the features, see the online documentation in transaction SGEN by
choosing Information on the SAP Load Generator , or in the Job Monitor by choosing Job Monitor .
35. If you did not change the database when copying the system, you have to start program
RS_BW_POST_MIGRATION in the background with variant SAP&POSTMGR. Otherwise, if you
changed the database when copying the system, you have to start program
RS_BW_POST_MIGRATION in the background with variant SAP&POSTMGRDB Program
RS_BW_POST_MIGRATION performs necessary modifications on database-specific objects (mainly BI
objects).
Checking the Target System
The following actions are suitable for checking the consistency of the target system:
1. Perform initial consistency check (transaction SM28).
2. Check the system log on all application servers (transaction SM21).
3. Check the consistency of the database (transaction DB02).
4. Perform server check (transaction SM51).
5. Test transactions frequently used by the customer.
6. FI customers: Run the job SAPF190 (accounting reconciliation) and compare the results to those
gained on the source system before the system copy ( Accounting Financial Accounting General ledger
Periodic Processing Closing Check/count Comparison ).
7. FI customers: Run the jobs RFUMSV00 (tax on sales/purchases), RAGITT01 (asset history sheet),
RAZUGA01 (asset acquisitions), RAABGA01 (fixed asset retirements) and compare the results to those
gained on the source system before the system copy.
8. CO customers: Run the report group 1SIP and compare the results to those gained on the source
system before the system copy.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 99 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 100/154
Replacing the PSEs in the Target System
Replace all existing PSEs in the target systems with new ones, which contain the new system's
information. Proceed as follows:
1. In your ABAP system, call transaction STRUST.2. Proceed as described in the documentation Creating or Replacing a PSE in the SAP Library at http://
help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability Security System Security System Security for SAP NetWeaver AS ABAP only Trust
Manager .
NOTE
■ Since replacing a PSE will remove all of the previously used certificates, also import all
necessary trusted certificates into the new PSE's certificate list. (Check the old PSE's
certificate list.) Also distribute the new PSE's public-key certificate to the systems where
it will be used.
■ Make sure the new PSE contains the new system ID.
■ Note the naming conventions to use for each PSE. The naming conventions are usually
specified by the Certification Authority (CA) where you obtain the certificate, however,
the type of PSE also has some restrictions, for example, for the SSL server PSE, the CN
part of the Distinguished Name must be the host name used to access the server. For the
system PSE, we recommend using the SID as the CN part.
Therefore, make sure that the Distinguished Name used for the PSE conforms with the
naming convention that applies.
6.2.3 Performing Follow-Up Activities for Java
Depending on the usage types or software units contained in your target system, you have to perform
general and usage types or software unit-specific configuration steps:
■ General follow-up activities [page 100]
■ Usage Type or Software Unit-specific follow-up activities [page 101]
6.2.3.1 General Follow-Up Activities
You have to perform the following activities for all usage types or software units of the copied SAP
system.
6.2.3.1.1 Configuration Steps for the SAP Java Connector
You need to perform these post-installation steps for a copied Java system that includes a component
that has to connect to an ABAP back end using the SAP Java Connector (SAP JCo), for example SAP
Business Warehouse or SAP Enterprise Portal.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
100 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 101/154
Procedure
1. Log on to the Visual Administrator as an administrator.
2. On the launch path on the left, choose Cluster Server <server name> Services JCo RFC
Provider .3. On the right, choose Runtime and select the RFC destination that you use for the connection to the
back end.
4. Maintain the required parameters for the RFC destination and repository.
5. Remove the old JCo-destination that was copied from the source system.
6. Restart the Java server and the component.
6.2.3.1.2 Generating Public-Key Certificates
Reconfiguring the Public-Key Certificates
After system copy, the public key certificates are wrong on the target system. You need to reconfigure
them as described at help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver Library
SAP NetWeaver by Key Capability Security User Authentication and Single Sign-On Authentication on the AS
Java Configuring Authentication Mechanisms Using Logon Tickets for Single Sign-On Configuring the Use of Logon
Tickets Replacing the Key Pair to Use for Logon Tickets .
Importing the Public-Key Certificates
You also need to import this public-key certificate on any systems that are to accept logon tickets from
the AS Java system. For more information, see help.sap.com/nw70 SAP NetWeaver 7.0 Library EnglishSAP NetWeaver Library SAP NetWeaver by Key Capability Security User Authentication and Single Sign-On
Authentication on the AS Java Configuring Authentication Mechanisms Usin g Logon Tickets for Single Sign-On
Configuring the Use of Logon Tickets Configuring SAP Web AS ABAP to Accept Logon Tickets from the J2EE .
6.2.3.2 Usage Type or Software Unit-Specific Follow-Up Activities
You have to perform the following activities for specific usage types or software units of the copied SAP
system.
6.2.3.2.1 Application Server Java (AS-Java)
6.2.3.2.1.1 AS Java: SAP Knowledge Warehouse
After the system copy, you have to configure the Internet Knowledge Servlet (IKS) to connect to the
new ABAP back-end as described in Configuring the Access to Knowledge Warehouse Content from SAP Internet
Knowledge Servlet in the documentation Installation Guide - SAP NetWeaver 7.0 SR3 on <OS>:<database> at
http://service.sap.com/installNW70 Installation – SAP NetWeaver Systems .
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 101 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 102/154
Only valid for: EP Core (EPC) |
6.2.3.2.2 EP Core (EPC)
6.2.3.2.2.1 EPC: Portal
If trust between a portal and any other system is required, then you need to replace certificates and re-
establish trust with the newly copied system on which the portal is installed. For more information,
see Generating Public-Key Certificates [page 101].
If you have more than one portal in your landscape and the portals share content via a federated portal
network (FPN), refer to SAP Note 1080080 for more information about post-system copy configuration
steps.
End of: EP Core (EPC) |
Only valid for: Enterprise Portal (EP) |
6.2.3.2.3 Enterprise Portal (EP)
6.2.3.2.3.1 EP: Knowledge Management andCollaboration
After the system copy, the Knowledge Management and Collaboration (KMC) target system still has
access to the same data as the original source system. If the source and target system have write access
to the same data, this results in serious inconsistencies in both systems. For this reason, it is essential to
prevent both systems from using the same data.
Critical items that are accessed by both systems are, for example:
■ Indexes for search and classification (TREX)
■ Data in external repositories, for example, on file system shares
■ Data on groupware servers
Procedure
To prevent source and target system from working with the same data, reconfigure the following
components on the target system:
■ TREX
■ Repository Managers
■ Services
■ Collaboration
The tables below summarize the configuration steps for each of the components and specify where
you can find more information.
TREX
After the system copy, the target system is still connected to the same TREX installation as the source
system. For this reason you need to install a new instance of TREX and connect it to the target system.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
102 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 103/154
CAUTION
While KMC is still connected to the old TREX installation, do not delete any indexes, otherwise
they will also be deleted on the source system.
Task Detailed Information
For the target system, install a new instance of TREX. http://service.sap.com/installNW70 Installation
Installation - Standalone Engines & Clients Installation -
Standalone Engine - NW 7.0 SR3 TREX Single Host
On the target system, set up the connection to the
newly installed TREX system.
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability Information Integration Search and
Classification (TREX) TREX Configuration Post-
Installation Configuration Client Side Java Application
(HTTP Connection) Specifying the Address of the TREX Name
Server On the target system, delete old indexes that belong to
the source system. Define and generate new indexes for
the target system.
NOTE
The prerequisite for this step is that all repository
managers are configured correctly for the target
system.
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability Information Integration Knowledge
Management Administration Guide System Administration
System Configuration ‘Index Administration’ iView
Repository Managers
Ensure that the target system does not have write access to the same repositories as the source system.
Task Detailed Information
On the target system, check the configuration of all
external and internal repository managers that have
write access to the same data as the source system. Make
sure that the source and target system do not have write
access to the same data. For example, check the
repository manager settings for:
■ CM FSDB or CM DBFS repositories
■ Simple File System repositories
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability Information Integration Knowledge
Management Administration Guide System Configuration
Content Management Configuration Repositories and
Repository Managers External Repositories
Services
Task Detailed Information
Content Exchange
If content exchange is in use, the configuration on the
source and target system is identical. However, it does
not make sense to have the same content exchange
procedures configured twice. For this reason, you
delete the configuration on the target system and, if
required, set up a new configuration. To remove the
existing configuration on the target system, you run a
cleanup file:
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability Information Integration Knowledge
Management Administration Guide System Configuration
Content Management Configuration Global Services
Content Exchange Service
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 103 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 104/154
Task Detailed Information
■ Download the cleanup file attached to SAP
Note 1120872. Note that the cleanup procedure
automatically creates a new ID for a syndicator and
subscriber. ■ Import the cleanup file into the target portal. To
do this, choose System Administration System
Configuration Knowledge Management Content
Management and then, on the right, choose
Actions Import .
■ If required, configure new content exchange
settings on the target system.
URL Generator
On the target system, check the settings for the Host
and Alternative Host parameters.
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability Information Integration Knowledge
Management Administration Guide System ConfigurationContent Management Configuration Global Services URL
Generator Service
System Landscape: On the target system, delete the
old system IDs that belong to the source system.
Log on to the Portal and choose System Administration
System Configuration Knowledge Management Content
Management Global Services System Landscape Definitions
Systems Content Management Systems .
Scheduler Service: If the target system is a SAP Java
cluster, then you must assign scheduler tasks to the
new system IDs of the target system. After the system
copy, tasks are still assigned to the IDs of the source
system.
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability Information Integration Knowledge
Management Administration Guide Minimal Configuration
for Knowledge Management Cluster Only: Assigning Tasks toNodes
Collaboration
Task Detailed Information
On the target system, adapt the room back-end
properties server address, server port and Web
protocol.
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability People Integration Collaboration
Administration Guide Basic Configuration Defining
Backend System Properties for Room URLs
On the target system, generate a new index to enablesearch operations in the content of rooms.
http://help.sap.com/nw70 SAP NetWeaver 7.0Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability People Integration Collaboration
Administration Guide Virtual Rooms Configuration of
Search Functions for Rooms Configuration of the Search for Room
Content
On the target system, check the properties of the
roomsearch object. Make sure that the parameter Use
TREX is set.
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability People Integration Collaboration
Administration Guide Virtual Rooms Configuration of
Search Functions for Rooms Configuration of the Search for
Rooms
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
104 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 105/154
Task Detailed Information
On the target system, configure the connection to the
required groupware server.
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability People Integration Collaboration
Administration Guide Basic Configuration Configuring E-Mail Connectivity
If the e-mailing service is active on the source system,
but is not required on the target system, you need to
delete the e-mail transport. After deletion of the
transport, e-mailing is disabled. E-mails will no longer
be automatically sent, for example, when members are
excluded from a room or documents are updated and
deleted.
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability People Integration Collaboration
Administration Guide Groupware Groupware Framework
Installing and Configuring E-Mail Connectivity
Configuration Steps Creating an E-Mail Transport
On the target system, reconfigure the ServerName and
ServerPort for the application sharing server.
http://help.sap.com/nw70 SAP NetWeaver 7.0
Library English SAP NetWeaver Library SAP NetWeaver by
Key Capability People Integration Collaboration
Administration Guide Real-Time Collaboration
Configuring Real-Time Collaboration Configuring the
Application Sharing Server (RTC) Setting Application Sharing
Server Parameters (RTC)
End of: Enterprise Portal (EP) |
Only valid for: BI Java |
6.2.3.2.4 Business Intelligence Java Components (BI Java)
You have to perform the following follow-up activities for usage type BI Java:
6.2.3.2.4.1 Business Intelligence (BI Java)
Follow the instructions in this section if the entries for source system connection have not been copied
to the services file of your target system.
Prerequisites
You have performed a system copy that includes SAP Business Warehouse (SAP BW).
Procedure
Adding Entries to the Services File
You have to do the following to add the entries to the services file:
Your target host runs on a UNIX platform
1. Log on to your target system as user root.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 105 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 106/154
CAUTION
Make sure that the user root has not set any environment variables for a different SAP system
or database.
2. Edit the file / etc/services.3. Add the entries for your source system connection, for example sapgw47 3347.
Your target host runs on a Windows platform or on System i
1. Log on to your target system as a member of the local administration group.
2. Edit the file <WindowsDirectory>\system32\drivers\etc\services.
3. Add the entries for your source system connection, for example sapgw47 3347.
6.2.3.2.4.2 Basic Configuration for Usage Type BI JavaProcedure
1. BI-Integrated Planning
Call transaction SPRO and choose SAP NetWeaver Business Intelligence BI-Integrated Planning .
Follow the instructions for the following step::Define JCo Destination.
2. Integration into the Portal
Call transaction SPRO and choose SAP NetWeaver Business Intelligence Reporting-relevant Settings
BEx Web Integration into the Portal .
Follow the instructions for the following steps:1. Create RFC Destination in J2EE Engine
2. Import BI Certificate to the Portal
3. Maintain Portal Server Settings for the Portal
4. Create RFC Destination for the Portal
5. Import Portal Certificate to BI System
End of: BI Java |
Only valid for: Process Integration (PI) |
6.2.3.2.5 Process Integration (PI)
You have to perform the following follow-up activities for usage type PI:
NOTE
The following changes reflect exactly the regular configuration steps for usage type PI. For more
detailed instructions about how to change the values, read the configuration information at
http://help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver Library
Technology Consultant's Guide Business Process Management Configuration of Usage Type Process
Integration .
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
106 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 107/154
6.2.3.2.5.1 PI: System Landscape Directory
Procedure
NOTEFor more information about how to perform the individual tasks, see the documentation in the
SAP Library at http://help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver
Library SAP NetWeaver by Key Capability Solution Life Cycle Management by Key Capability Software Life
Cycle Management System Landscape Directory Configuring Systems to Connect to SLD . The respective
sections are stated below.
■ Maintain the SLD connection parameters:
Call transactionSLDAPICUST and change the value for the host name as well as for the port number.
For more information, see section Connection Between Web AS ABAP Systems and SLD SLD Application
Programming Interface for ABAP-Based Systems Creating an HTTP Destination for the SLD ABAP API on the
ABAP Side .
See
■ Maintain the ABAP connection:
Call transaction RZ70 and change the value for the host and the gateway service in the group box
Transport Information. This value should be predefined by the value entered before in transaction
SLDAPICUST.
For more information, see section Connection Between Web AS ABAP Systems and SLD Configuring theSLD Data Supplier: Default Settings .
■ Configure the SLD Data Supplier Service in the Visual Administrator:
Change the value for the host as well as for the HTTP port number.
For more information, see section Connection Between Web AS Java Systems and SLD Setting Up the SLD
Data Supplier for J2EE-Based Systems .
NOTE
For information on how to perform the following tasks, see the Post-Installation Guide SLD of SAP
NetWeaver 7.0 at http://service.sap.com/installNW70 Configuration . The respectivesections are stated below.
■ Maintain server settings in the SLD:
Change the value for the object server.
For more information, see section Configuring Server and Persistence Parameters.
■ Configure the SLD Bridge:
Change the value for the gateway server as well as for the gateway service.
For more information, see section Configuring the SLD Bridge.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 107 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 108/154
6.2.3.2.5.2 PI: Integration Server
Procedure
1. Maintain the logical system:
Call transaction SSC4 to maintain the logical system information.
2. Maintain the technical system and the business system for the Integration Server:
In the SLD, maintain a product for the Technical System. Create a Business System for the
Integration Server and maintain the logical system information.
3. Create RFC destinations in the ABAP environment:
Call transaction SM59, navigate to destination INTEGRATION_DIRECTORY_HMI, and change the value
for the target host as well as for the HTTP port number.
4. Maintain RFC destination in the ABAP and Java environment:
For the following connections, change the value for the gateway host as well as for the gatewayservice on the ABAP side and in the Visual Administrator. In the Visual Administrator, additionally
change the value for the application host name and the system number. Change the value for the
gateway host as well as for the gateway service on the ABAP side and the value for the PI host in
the Visual Administrator for the following connections:
Connection Description
AI_RUNTIME_JCOSERVER Used for the connection of the ABAP part to the Java part of the Integration Server
LCRSAPRFC Used for the connection of the Integration Server to the SLD.
SAPSLDAPI
5. Create HTTP destination pmistore in the Java environment:
Change the value for the host and port number in the destination URL.
6. Maintain the pipeline to the Integration Server:
Change the pipeline to the Integration Server by running transaction SXMB_ADM.
7. Maintain Prefix Numbers for Workflow and Organizational Management.
Run transaction SWF_XI_CUSTOMIZING, select Maintain Definition Environment Maintain Prefix
Numbers and choose Perform Automatic Workflow Customizing (F9).
6.2.3.2.5.3 PI: Changes in the Exchange Profile
Procedure
1. Maintain server settings for Exchange Profile connection:
Change the value for the host name as well as for the instance number.
2. Change all parameters pointing to the source system:
The following parameters contain the host name for the connection of components. All
parameters pointing to the source system must be changed in order to reference the target system.
For more information about parameters, see Exchange Profile Parameters in the PI configuration
documentation at http://help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
108 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 109/154
Library Technology Consultant's Guide Business Process Management Configuration of Usage Type Process
Integration .
Parameter Description
com.sap.aii.connect.cr.name Contains the host name of the componentrepository server.
com.sap.aii.connect.cr.httpport Contains the HTTP port number of the
component repository server.
com.sap.aii.connect.directory.name Contains the host name of the directory
server.
com.sap.aii.connect.directory.httpport Contains the HTTP port number of the
directory server.
com.sap.aii.connect.directory.httpsport Contains the HTTPS port number of the
directory server.
com.sap.aii.connect.directory.rmiport Contains the RMI port number of thedirectory server.
com.sap.aii.connect.integrationserver.name Contains the host name of the Integration
Server.
com.sap.aii.connect.integrationserver.httpport Contains the HTTP port of the J2EE Engine
of the Integration Server. Used by the XI
integration directory to connect to the XI
runtime.
com.sap.aii.connect.integrationserver.httpsport Contains the HTTPS port of the J2EE Engine
of the Integration Server. Used by the XI
integration directory to connect to the XI
runtime.
com.sap.aii.connect.integrationserver.r3.sysnr R3 system number of the NetWeaver
Application Server on which the Integration
Server runs.
com.sap.aii.connect.integrationserver.r3.httpport Contains the HTTP port number of the
Integration Server.
com.sap.aii.connect.landscape.name Contains the host name of the landscape
directory server.
com.sap.aii.connect.landscape.httpport Contains the HTTP port number of the
landscape directory server.
com.sap.aii.connect.landscape.httpsport Contains the HTTPS port number of thelandscape directory server.
com.sap.aii.connect.repository.name Contains the host name of the repository
server.
com.sap.aii.connect.repository.httpport Contains the HTTP port number of the
repository server.
com.sap.aii.connect.repository.httpsport Contains the HTTPS port number of the
repository server.
com.sap.aii.connect.repository.rmiport Contains the RMI port number of the
repository server.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 109 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 110/154
Parameter Description
com.sap.aii.connect.rwb.name Contains the host name of the Runtime
Workbench (RWB).
com.sap.aii.connect.rwb.r3.sysnr R3 system number of the NetWeaver
Application Server on which the Runtime
Workbench runs.
com.sap.aii.connect.rwb.httpport Contains the HTTP port number of the
Runtime Workbench.
com.sap.aii.connect.rwb.httpsport Contains the HTTP port number of the
Runtime Workbench.
com.sap.aii.ib.server.connect.webas.r3.ashost Connection from Java stack to ABAP stack of
the NetWeaver Application Server.
com.sap.aii.ib.server.connect.webas.r3.sysnr Connection from Java stack to ABAP stack of
the NetWeaver Application Server.
com.sap.aii.rwb.server.centralmonitoring.r3.ashost Application server of the NetWeaverApplication Server on which the central PMI,
the central CCMS, and the central alert
server run.
com.sap.aii.rwb.server.centralmonitoring.r3.sysnr System number of the NetWeaver
Application Server on which the central PMI,
CCMS and Alert Server run.
com.sap.aii.rwb.server.centralmonitoring.httpport HTTP port of the NetWeaver Application
Server (ABAP part) on which the central PMI,
the CCMS and the Alert Server run.
6.2.3.2.5.4 PI: Refresh Caches
Procedure
1. Restart the Java engine:
In order to initialize caches of Exchange Profile and SLD, restart the Java engine.
2. Refresh the CPACache:
Since the restart of the Java server only leads to a delta cache refresh for the CPACache, a full
CPACache refresh is to be forced by executing the following URL:
http://<host>:<Java-Port>/CPACache/refresh?mode=full
NOTE
To call the CPACache refresh URL, you have to enter user PIDIRUSER and the corresponding
password you entered during the installation.
3. Refresh the XI Cache:
Refresh the XI Cache by running transaction SXI_CACHE.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
110 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 111/154
6.2.3.2.5.5 PI: Switching Addresses
Procedure
The newly installed target IS 7.0 resides at a new network address. In case you want to reconnect business
systems, you must make address changes at several locations in order to account for this change.
The following actions are performed automatically:
■ Communication from the target IS 7.0 to business systems is set due to copying BI content, which
contains the communication channels for these business systems.
The following sections contain a detailed description of all necessary manual address changes.
Connecting Business Systems to the SLD of the Target System
Business systems with an Integration Engine require a connection to the SLD server of the target system
to obtain their name from the SLD. The business system name is used in the header of the message sent
to the Integration Server. The connection to the SLD is established by creating an RFC destination (as
described below) and calling a registered server program, which is defined on the J2EE JRFC engine of
the Integration Server. The server program is called with the HTTP address as a parameter that is
maintained with transaction SLDAPICUST.
NOTE
For more information about performing the individual tasks, see the configuration information
for PI at http://help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver Library
Technology Consultant's Guide Business Process Management Configuration of Usage Type Process IntegrationConfiguration of Business Systems with an Integration Engine Connecting to the System Landscape Directory .
1. Use transaction SLDAPICUST in the business system to define the SLD access data. This data consists
of the host and port of the SLD as well as a user (PIAPPLUSER) and password. You can use the entries
that you maintained on your Integration Server.
2. Change all RFC destinations on your business system. They use the same registered server program,
which is defined as part of the JRFC engine settings of the Java engine on the SLD host. This means
that all business systems can use the same server program ID (SAPSLDAPI_UNICODE or
SAPSLDAPI_NONUNICODE) for their RFC destinations LCRSAPRFC and SAPSLDAPI.
3. You must also change the RFC destinations in:
■ all business systems (enter the new Integration Server and, if necessary, adjust the roles)
■ all technical adapters
■ file SLDaccessor.properties in directory /tech_adapter/BaseConfiguration
4. Enter the Gateways in file etc/services.
5. For Unicode business systems (program ID SAPSLDAPI_UNICODE), the Unicode indicator is set in
the JRFC engine settings. For non-Unicode business systems (program ID
SAPSLDAPI_NONUNICODE), the Unicode indicator is not set.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 111 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 112/154
Maintaining System Connections and Destinations
If the host name and port of your Integration Server have changed after the system copy, you have to
maintain the destinations and connections if you want to reconnect Integration Engines and adapters.
For information on how to perform the individual tasks, see the configuration information for PI athttp://help.sap.com/nw70 SAP NetWeaver 7.0 Library English SAP NetWeaver Library Technology
Consultant's Guide Business Process Management Configuration of Usage Type Process Integration . The respective
sections are stated below.
■ Update the HTTP destinations:
Update the HTTP destination that points from the Integration Engines (business systems) to the
PI Integration Server. For more information, see section Configuration of Business Systems with an Integration
Engine in the configuration information.
■ Optional: Update the destinations to IS 7.0 for receiver preidentification:
In the Integration Engine, update RFC destination AI_INTEGRATION_SERVER. For more
information, see section Configuration of Business Systems with an Integration Engine in the configuration
information.
■ Optional: Update the destinations to IS 7.0 for maintenance of value mapping table:
In the Integration Engine, update RFC destination AI_INTEGRATION_SERVER. For more
information, see section Configuration of Business Systems with an Integration Engine in the configuration
information.
■ Reintegrate business systems using the IDoc adapter of the source system:
In the sending system, update the RFC destination to the Integration Server. For more information,see section Integration of Business Systems Integration Using the IDoc Adapter in the configuration
information.
■ In case you made configuration settings Maintain Services for the Integration Server in transaction
SICF, make sure these settings are maintained in the newly installed target system, too.
For the following steps, see SAP Library at http://help.sap.com/nw70 SAP NetWeaver 7.0 Library
English SAP NetWeaver Library SAP NetWeaver by Key Capability Process Integration by Key Capability SAP
NetWeaver Exchange Infrastructure Runtime Connectivity and then the sections stated below:
■ Change the system connections for the RFC adapter:
In all application systems, change the program ID RFC Destination in transaction SM59 to the new
program ID defined in your sender channels in the section RFC Adapter. For more information,
see section Adapters RFC Adapters .
■ Integrate business systems using the Plain J2SE Adapter Engine:
Update the URL of the HTTP destination to the Integration Server in the sender adapters. For more
information, see section Adapter Engine Plain J2SE Adapter Engine .
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
112 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 113/154
6.2.3.2.5.6 PI: Connection Checks
Procedure
1. Checks in SLDCHECK:
On the Integration Server, call transaction SLDCHECK.
2. Checks in SPROXY:
Call transaction SPROXY, choose Goto Connection Test and execute all checks.
End of: Process Integration (PI) |
Only valid for: Development Infrastructure (DI) |
6.2.3.2.6 Development Infrastructure (DI)
You have to perform the following manual steps on the target system after the move of an SAP system
with usage type Development Infrastructure (DI). The assumption here is that all components (DTR,
CBS, CMS, SLD and name server) were on a single host before the move and will remain on a single
host after the move.
Procedure
1. If you are using an LDAP server for user management it should be running to ensure that all the
users that were created when the Development Infrastructure (DI) was on the source system will
still be valid after the move to the target system.
2. Check the Java Engine Configuration:
■ Set MaxHeapSize and other engine parameters to the recommended values.
See Installation Guide for SAP NetWeaver 7.0 SR3 Java on <OS>:>Database> (including usage type DI)
for details.
■Only valid for: MaxDB |
If your database is SAP MaxDB:,
1. Upgrade it to at least version 29.
2. Set theJOIN_OPERATOR_IMPLEMENTATION parameter to IMPROVED (setting this value is only
possible using the DB-WebUI in SAPMMC).
3. Restart the database.End of: MaxDB |
■ For general recommendations for the configuration of the Development Infrastructure
Servers, see SAP Note 889038.
3. Design Time Repository (DTR):
■ Redeploy the database schema.
This is necessary to re-create the missing metadata for the database views in the dictionary.
Otherwise OpenSQL cannot see the database views.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 113 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 114/154
The database schema of the DTR server is part of the NWDI SCA. This is the SCA that you
have downloaded from http://service.sap.com/swdc to deploy the NetWeaver
Development Infrastructure (NWDI).
In order to only deploy this database schema you have to extract the SCA file. You can do this
by appending.zip to the filename. Then you can use a normal archive tool like WinZip. Under
the subfolder DEPLOYARCHIVES you can find the SDA sap.com~tc~dtr~dbschema.sda for the
database schema. This SDA must be deployed using the Software Deployment Manager (SDM).
NOTE
During deployment, use the option Update deployed SDAs/SCAs that have any version. This
option can be set in the Deployment tab on SDM.
■ Restart DTR server.
■Change the URL of name server (in name server configuration page in Web UI: http://<dtrhost>:<port>/dtr/system-tools/administration/NameServerConfiguration) if you
intend to use a different name server for the moved DTR instance or if the name server was
also moved.
■ Perform an Update Statistics (30%) on the database.
Only valid for: MaxDB |
NOTE
If your database is SAP MaxDB you can use the Database Manager to update the database
statistics.
End of: MaxDB |
4. System Landscape Directory (SLD):
Change the CIM Server URL of the SLD that is defined in the technical landscape to point to the
target host.
CAUTION
Do not change the ObjectServer attribute.
5. Component Build Service (CBS):
The service properties JDK_HOME_PATHS, BUILD_TOOL_JDK_HOME, rootFolder and
threadPoolSize have to be adjusted according to the hardware and software configuration of the
new system.
See Installation Guide for SAP NetWeaver 7.0 SR3 Java on <OS>:>Database> (including usage type DI) for
details about these parameters.
6. Change Management Service (CMS):
The main steps in CMS involve resetting the fields containing URLs to other components (like
DTR, CBS, SLD).
■ If CMS has not been configured yet, proceed as follows:
1. Copy the folder /usr/sap/trans/EPS/in/CMS<host><SID>, including its content, to the
target host.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
114 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 115/154
2. Rename the folder to the new host value and new SAPSID (if changed).
3. Make sure that the engine user (<SID>adm) has write permissions in the copied folder.
■ If CMS has been configured and you have used it already, proceed as follows:
1. For the domain (in the Domain Data tab):
1. Change the SLD URL to point to the target host.
2. Change the CMS URL to point to the target host.
3. Change the transport directory to the appropriate directory on the new CMS (target
host).
4. Save the domain. You should see a status message that the data was saved successfully.
5. Update CMS (using the button Update CMS). You should see a status message that
the CMS update was successfully.
2. Copy the contents of the transport directory of the old CMS (source system) to thetransport directory of the new CMS (target system). The transport directory is configured
in the domain (see Domain Data tab).
3. For each track (in the Track Data tab):
1. Change the CBS and DTR URLs.
2. For each runtime system that is defined, change the runtime system configuration
to point to the appropriate host (of the target runtime system).
If this has not changed, leave the fields unchanged.
3. Save the track definition.
You should see a status message that the data was saved successfully.
4. Restore System State (of the DEV system). This will place the Software Components
(SCs) into the import queue of this system.
5. Import these SCs. After the import is finished, you should see a status for each SC.
7. IDE:
■ Change the SLD URL in the preference page of the SAP NetWeaver Development Studio (under
Java Development Infrastructure Development Configuration Pool ).
This should now point to the new SLD on the target system.
■ Import the development configuration you had earlier used for development.
Now you are ready to begin the development with you new (relocated) Development
Infrastructure (DI).
8. Verification Steps (optional)
The following steps can optionally be done to verify that the Development Infrastructure (DI) is
fully functional after the move:
1. Log in to the DTR (using the browser) for all defined users and browse the repository.
2. Using IDE, create a new Development Component (DC), check in and activate:
■ The activation should succeed.
■ The name of the Development Component (DC) must be reserved on the name server.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 115 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 116/154
3. Release the activity created above (from the Transport view in the IDE):
The activity (Change Request ) should appear in the import queue of the CONS system of the
track.
4. Import the Change Request into the CONS system (from the CMS Transport Studio).
5. Assemble a new version of your Software Components (SCs) in one of the tracks.
End of: Development Infrastructure (DI) |
Only valid for: SAP ERP | Self Services (XSS) |
6.2.3.2.7 Self Services (XSS)
6.2.3.2.7.1 Re-Creating the JCo Destinations
ProcedureYou must re-create the JCo destinations as described in the documentation Creating JCo Destinations in
the SAP Library at http://help.sap.com/nw70 SAP NetWeaver Library SAP NetWeaver by Key
Capability Application Platform (SAP Web Application Server) Java Technology in SAP Web Application Server
Java Development Manual Developing User Interfaces Web Dynpro Advanced Web Dynpro Technologies Web
Dynpro Content Administrator .
For more information, see SAP Note 899144.
Only valid for: SAP ERP | Self Services (XSS) |
6.2.3.2.7.2 ERP-XSS: SAP WebDynpro Applications
SAP WebDynpro applications that use “Adaptive RFC” (a Web Dynpro technology based on JCo and
AII), require that their “Destinations ”(back-end connections) are configured with the Web Dynpro
Content Administrator “Admin” (a tool specific to Web Dynpro). The configuration data is stored in
the System Landscape Directory (SLD) where it is associated with the Java Cluster that the Content
Admin runs on. Some additional data is stored in the Secure Storage of the Java Cluster itself. For both
reasons, the destinations have to be configured for each Java Cluster individually and currently cannot
be transported.For more information, see the documentation in the SAP Library at http://help.sap.com/nw70
SAP NetWeaver Library SAP NetWeaver by Key Capability Application Platform Java Technology Java
Development Manual Core Development Tasks Developing User Interfaces Web Dynpro.
NOTE
Make sure you use the correct host and port in the portal under System administration System
configuration Systems SAP_Webdynpro .
End of: SAP ERP | Self Services (XSS) |
End of: SAP ERP | Self Services (XSS) |
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
116 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 117/154
Only valid for: SAP CRM;SAP ERP | CRM Java Components (JCRM);Extended E-Selling Components (XECO) |
6.2.3.2.8 CRM Java Components (JCRM) / Extended E-Selling Components (XECO)
Only valid for: SAP ERP;SAP CRM | CRM Java Components (JCRM);Extended E-Selling Components (XECO) |
6.2.3.2.8.1 Sub-Component Workforce Deployment AS/CS
The XCM parameters for Workforce Deployment Application and Calculation Services (WFD AS/CS)
point to an SAP CRM or SAP ERP back-end system. The WFD Calculation Services also has an XCM
parameter cs.http.port that points to the HTTP port of the Java instance it was installed on.If the system copy involves copying the SAP CRM back-end system, you need to adjust the
cs.jco.xxxxx XCM parameters (which point to the SAP CRM back-end system) in the target system.
If the system copy involves copying the Java engine, you need to adjust the cs.http.port XCM
parameter for WFD Calculation Services in the target system. It should point to the HTTP port of the
target Java engine.
Procedure
Configure XCM parameters for WFD Application Services:
http://<J2EEHOST>:<>//wfd/admin/xcm/init.do.Configure XCM parameters for WFD Calculation Services:
http://<J2EEHOST>:<J2EEHTTPPORT>//wfdcs/admin/xcm/init.do
End of: SAP ERP;SAP CRM | CRM Java Components (JCRM);Extended E-Selling Components (XECO) |
End of: SAP CRM;SAP ERP | CRM Java Components (JCRM);Extended E-Selling Components (XECO) |
Only valid for: SAP CRM | MapBox (MBX) |
6.2.3.2.9 MapBox
You need to proceed as follows to restore the configuration of the CRM Java component MapBox on
the target system.
Procedure
1. You shut down the Java engine.
2. You copy the following files to the relevant directories:
1. Copy the files mapboxmeta.xml, mapboxmeta.xsl and xmlprofiles.xml to the directory
<J2EE_root>/cluster/server/.mapboxmeta. You can find these files at the same location on
the source system.
2. Copy the file coordserver.cfg to the <J2EE_root>/cluster/server directory.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 117 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 118/154
3. If you want to have the smoketest directory on the target system, then you need to copy the
smoketest directory, too.
3. You start the Java engine and MapBox from the URL as described in Post-Installation Steps for
MapBox in the documentation Installation Guide — SAP CRM 5.0 on <OS> <ABAP+Java|Java> at
http://service.sap.com/crm-inst .
Result
You have restored the configuration for MapBox on the target system.
End of: SAP CRM | MapBox (MBX) |
Only valid for: SAP SRM | SRM Live Auction Cockpit (SRMLAC) |
6.2.3.2.10 SRM Live Auction Cockpit (SRMLAC)Only valid for: SAP SRM | SRM Live Auction Cockpit (SRMLAC) |
6.2.3.2.10.1 SRM Live Auction Cockpit (SRMLAC)
To facilitate customization, the resource files for the Live Auction Cockpit applet are packaged
separately from the web application itself. In order for the applet to retrieve its resources, the web server
must make the resource files accessible using HTTP. This is achieved by creating a web alias for the
directory that contains the resources. Without this alias, the applet does not load properly.
Prerequisites
The J2EE Engine is running.
Procedure
1. Open the Java engine administration tool.
EX AMPLE
Windows (and System i), go to:
<T_INSTDIR>\usr\sap\<sapsid>\<instancenumber>\j2ee\admin\go.batUNIX, go to:
<T _INSTDIR>/usr/sap/<sapsid>/<instancenumber>/j2ee/admin/go.sh
Port: 5<instance number>04
2. Enter the Java engine administrator password and choose Connect .
3. In the navigation pane, choose Server Services HTTP Provider
4. Select the Runtime tab.
5. Select the Aliases tab.
6. In Alias enter srm/lib/resources.
7. Enter the Path.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
118 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 119/154
EXAMPLE
Windows (and System i):
<T_INSTDIR>:\usr\sap\<SAPSID>\SYS\global\srmla\resources
UNIX:<T_INSTDIR>:/usr/sap/<SAPSID>/SYS/global/srmla/resources
8. Choose Add .
9. Choose Save Properties.
10. Choose the Java administration tool.
End of: SAP SRM | SRM Live Auction Cockpit (SRMLAC) |
Only valid for: SAP SRM | SRM Live Auction Cockpit (SRMLAC) |
6.2.3.2.10.2 Configuring Single Sign-OnTo enable Single Sign-On (SSO) you need to configure certain settings in SAP Enterprise Buyer (EBP).
NOTE
If you are using an external SAP Internet Transaction Server (ITS), you need certain system patches
to make sure that the SSO ticket is properly generated. For more information, see SAP Note
720738.
Prerequisites
You have access to the following transactions in EBP: ■ RZ10 (Edit Profiles)
■ STRUST (Trust Manager)
Procedure
1. Create SSO ticket in Profile Maintenance.
1. Go to transaction RZ10.
2. Choose the Default profile along with the latest version number and select Extended
Maintenance.
3. Change the following profile parameters: ■ login/create_sso2_ticket = 1
■ login/accept_sso2_ticket = 1
4. Save and Activate the profile.
A new profile is automatically generated.
5. Restart the application server.
CAUTION
Do not forget or skip this step.
2. Export the R3 SSO certificate from the Trust Manager on the target host server.
1. Go to transaction STRUST.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 119 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 120/154
2. Double-click the text box to the right of Own certif .
The certificate information is displayed.
NOTE
Make a note of the values displayed in the certificate information because you need to
enter those values below in step 3.
3. Click the icon with the quick info: Export Certificate.
4. Save the file as <R3_Name>-<Client>.crt.
EXAMPLE
For SAP System EBS, client 300, the file name is EBS-300.crt.
CAUTION
Make sure Binary is selected under File Format .
NOTE
If you export the certificate to a local system, you must copy the file from the local system
to the target host server.
3. Import R3 SSO certificate to the java engine using the administrator tool.
NOTE
Make sure the Java engine is started.
1. Open the Java administration tool.
2. Enter the Java engine administrator password and click Connect .
3. Choose Server Services Key Storage .4. Click TicketKeyStore in the View panel.
5. Click Load in the Entry group box.
6. Choose the <R3_Name>-<Client>.crt certificate that was exported from EBP earlier in step
2.
The certificate is added to the list in the Entries panel.
NOTE
Make a note of the issuer and subject distinguished names displayed in the certificate of
the SAP system. These values must be identical to those you define for the properties in
step 4.
4. Configure the Security Provider service in the SAP Java engine using the administrator tool.
1. Choose Server Services Security Provider .
2. Choose ticket in the component panel and go to the Authentication tab.
3. Modify the options of EvaluateTicketLoginModule and add the following properties to each back-
end system on which you want to configure SSO:
NOTE
For each property below, {n} represents the number of the back-end system on which
you want to configure SSO.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
120 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 121/154
■ trustedsys{n}: <R3_Name>, <Client>
EXAMPLE
trustedsys1: EBS, 300
■ trustediss{n}: <the issuer distinguished name>
NOTE
The value you define here must be identical to the issuer distinguished name in the
certificate of the SAP system. This certificate was already imported into the keystore
when you previously configured SSO for that system. You can find the certificate
there and copy the needed data. For more information, see SAP Note 721815.
EXAMPLE
trustediss1: CN=EBS
■trusteddn{n): <the subject distinguished name>
NOTE
The value you define here must be identical to the subject distinguished name in
the certificate of the SAP system. This certificate was already imported into the
keystore when you previously configured SSO for that system. You can find the
certificate there and copy the needed data. For more information, see SAP Note
721815.
EXAMPLE
trusteddn1: CN=EBS
End of: SAP SRM | SRM Live Auction Cockpit (SRMLAC) |
End of: SAP SRM | SRM Live Auction Cockpit (SRMLAC) |
Only valid for: SAP SCM |
6.2.3.2.11 SCM Forecas ting & Replenishment Processor(SCM FRP)
Procedure
You must perform follow-up activities after the system copy as described in SAP Note 862955.
End of: SAP SCM |
6.2.4 Performing Jobhead Correction after HomogeneousSystem Copy
NOTE
This section is only relevant for customers using CCMS to monitor their SAP system(s).
After copying your system, the CCMS jobhead still points to the former database SSID. In order to
complete the homogeneous system copy, the SSID needs to be set to the target system.
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
2010-03-16 PUBLIC 121 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 122/154
CAUTION
Only experienced users should use this utility.
Only valid for: SAP NetWeaver 7.0 |
Prerequisites
You must have SAP NetWeaver 7.0 SP 12 or above to use this function.
End of: SAP NetWeaver 7.0 |
Procedure
To set the SSID to the target system:
Only valid for: SAP NetWeaver 7.0;SAP NetWeaver 7.1 |
1. Call transaction DBACOCKPIT.
2. Choose Configuration Homogeneous System Copy: Jobhead Correction
3. Modify the necessary data.
End of: SAP NetWeaver 7.0;SAP NetWeaver 7.1 |
Only valid for: SAP Web AS 6.40 |
1. Call transaction DB2.
2. Choose Checks/Settings Correct Jobheads
3. Modify the necessary data.
End of: SAP Web AS 6.40 |
6 Follow-Up Activities
6.2 Performing Follow-Up Activities in the Target System
122 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 123/154
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
Purpose
The Migration Monitor is a tool that helps you to perform and control the unload and load process
during the system copy procedure. The Migration Monitor is integrated into the SAPinst system copy
tool, but you can also use the monitor for copying older releases by starting it manually.
The Migration Monitor will
■ create R3load command files
■ create R3load task files if required
■ start the R3load processes to unload the data
■ transfer packages from the source to the target host if required
■ start the R3load processes to load the data as soon as a package is available
■ inform the person performing the system copy in case of errors
The Migration Monitor has to be started on the source database host (Export Monitor) and on the
target database host (Import Monitor).
CAUTION
If you want to convert a non-Unicode system to Unicode using the Socket option, you need an
R3load version with at least patch level 73 (compile date: 12.01.2008).
Prerequisites
■ JRE version 1.5 or higher
■ The JAVA_HOME environment variable must point to the JRE directory.
■ The correct directory structure for R3load dump files must exist on both the source and target
hosts.
7.1.1 Configuration
Help
The tool will display the available parameters, if you call it with one of the following options:
■ -help
■ -?
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
2010-03-16 PUBLIC 123 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 124/154
Version
The tool will display the version information (release branch and build date), if you call it with the
following option:
■ -version
General Options
Name Description Comments
monitorTimeout Monitor timeout in seconds During a timeout, the monitor
thread sleeps and does not analyze
any files or analyze its processing
state. The default timeout value is 30
seconds.
E-Mail Options
Name Description Comments
mailServer SMTP server Server name or IP address of the
company SMTP server
mailFrom “From” e-mail address
mailTo “To” e-mail address Can contain an address list separated
by ‘;’ or blanks.
Trace Option
Name Description Comments
trace Trace level Possible values:all, off,
1 (error), 2 (warning), 3 (info), 4 (config, default),
5,6,7 (trace)
Export Options
Option Description Comments
installDir Installation directory The installation start directory is the
directory in which the installation
tools (SAPinst, R3SETUP) write their
log files. When the Migration Monitor
is used without the installation tools,
the installation start directory is the
directory, where the R3load TSK and
log files will be created.
exportDirs List of export directories Separator on Windows: ‘;’ Separator
on UNIX: ‘:’ The ‘exportDirs’
parameter points to the directory
where the R3load dump files will be
written to. In the ‘exportDirs’
directory, the subdirectories DATA,
DB and DB/<TARGET_DBTYPE>(for
example, DB/ORA) have to exist.
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
124 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 125/154
Option Description Comments
client Client operating mode Running in client mode means, the
Monitor will run parallel with
standard SAPinst export process and
transfer the exported dump files ontothe import server.
server Server operating mode Running in server mode means, the
Monitor will create R3load TSK files (if
necessary). R3load cmd files and start
the R3load processes.
All options below are for the server mode. The Import Monitor always runs in the server mode. If you want to run the Export Monitor in the
server mode, specify the parameter ‘ server’ in the Export Monitors properties file.
orderBy Package order Can be the ‘name’ or path of the file that
contains package names. If the option
value is omitted then package order is
not determined.
r3loadExe Path of the R3load executable Optional; the default is R3load. If only
the name of the R3load executable is
available, then JVM looks for the
R3load executable using OS-specific
process search rules.
tskFiles 'yes' to create task files; 'no' to skip Before version 4.6 must be set to ‘no’;
starting from version 4.7 ‘yes’. If the
R3load task files ‘*.TSK’ already exist
then the monitor will not overwrite
them.dataCodepage Code page for data files See SAP Note 552464. Possible values:
4102, 4103, 1100
taskArgs Additional R3load arguments for the
TASK phase
Appended to the R3load command
line. Options already set by the
monitor: -ctf; -l; -o (if the omit
argument is specified).
loadArgs Additional R3load arguments for the
LOAD phase
Appended to the R3load command
line. Options already set by the
monitor: -e; -datacodepage; -l; -
p; -r; -socket (if the socket option
is specified); -o (if the omit argumentis specified and task files are not used,
that is, the value of the ‘tskFiles’
option is ‘no’).
expJobNum Number of parallel export jobs, the
default is 1.
Any positive number; 0 for an
unlimited number of jobs.
Network Exchange Options
Option Description Comments
net Network operating mode Exported dump files must be visible
on the import host to use this mode.
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
2010-03-16 PUBLIC 125 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 126/154
Option Description Comments
netExchangeDir Network exchange directory Used for communication between
the export and Import Monitors.
Must be writable for Export Monitor
and readable for Import Monitor.The Export Monitor will write a file
<package>.SGN to the network
exchange directory as a signal for the
Import Monitor that the package is
exported successfully and the
import could be started.
FTP Exchange Options
Option Description Comments
ftp FTP operating mode Exported dump files will be
transferred automatically from the
source host (directory ‘exportDirs’)
to the target host (directory
‘importDirs’) using FTP.
ftpHost Remote FTP host Name or IP address of the import
server.
ftpUser Name of the remote FTP user The FTP user specified here should
be the <sapsid>adm to make sure
that the package files can be read by
during the import (which is started
as<sapsid>adm
).ftpPassword Password of the remote FTP user CAUTION
Security risk!
ftpExportDirs List of remote FTP directories for
export dump
Both ‘;’ or ‘:’ separators are valid.
This is the directory on the target
host to which the dump will be
transferred. The value will be the
same as for ‘importDirs’ in the
Import Monitors property file.
ftpExchangeDir Remote FTP exchange directory Used for communication between
the export and Import Monitors.
Must be writable for the ExportMonitor and readable for the
Import Monitor. The Export
Monitor will write a file
<package>.SGN to the FTP exchange
directory as a signal for the Import
Monitor that the package is
exported successfully and the
import could be started.
ftpJobNum Number of parallel FTP jobs; the
default is 1.
Any positive number; 0 for an
unlimited number of jobs.
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
126 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 127/154
Export Socket Host
Option Description Comment
socket Socket operating mode R3load will not write dump files to
the file system but the export and
import work through the socket
connection.
host Remote import host Name or IP address of the import
host.
port Host port number Must be the same as the port
number on the import host. Any
free port on the import host from
1024 to 65535.
FTP Copy Options
Option Description Command
ftpCopy FTP copy operating mode Used as a separate program call for
migration with sockets. All files
produced by R3lctl and R3szchk will
be transferred from the source to
the target host using FTP.
exportDirs List of export directories Separator on Windows: ‘;’ Separator
on UNIX: ‘:’ In the ‘exportDirs’
directory, the subdirectories DATA,
DB andDB/<TARGET_DBTYPE> (e.g.DB/
ORA) have to exist. The R3load STR
files have to exist in the subdirectory
DATA, the DDL*.TPL files in the
subdirectory DB, and the R3load
EXT files (if required) in the
subdirectory DB/<TARGET_DBTYPE>.
ftpHost Remote FTP host Name or IP address of the import
server.
ftpUser Name of the remote FTP user The FTP user specified here should
be the <sapsid>adm to make sure
that the package files can be read by
during the import (which is started
as <sapsid>adm).
ftpPassword Password of the remote FTP user CAUTION: Security risk
ftpExportDirs List of remote FTP directories for
export dump
Both ‘;’ or ‘:’ separators are valid.
This is the directory on the target
host to which the dump will be
transferred. The value will be the
same as for ‘importDirs’ in the
Import Monitors property file.
Any other option is ignored by Import Monitor.
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
2010-03-16 PUBLIC 127 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 128/154
Mandatory Options for Export Monitor
■ Client mode:
installDir, exportDirs,
one of the options ftp, net (and their related parameters)
■ Server mode:
installDir, exportDirs, tskFiles,
one of the options ftp, net, socket (and their related parameters)
■ FTP copy:
exportDirs, ftpHost, ftpUser, ftpExportDirs, ftpExchangeDir
NOTE
The value of the dbType option is determined automatically in the shell script/batch files from
the dbms_type environment variable.
Import Options
Option Description Comment
installDir Installation directory The installation start directory is the directory in
which the installation tools (SAPinst, R3SETUP) write
their log files. When the Migration Monitor is used
without the installation tools, the installation start
directory is the directory, where the R3load TSK and
log files will be created.
importDirs List of import directories Separator on Windows: ‘;’ Separator on UNIX: ‘:’ The‘importDirs’ parameter points to the directory where
the R3load dump files will be written to. In the
‘importDirs’ directory, the subdirectories DATA, DB
and DB/<TARGET_DBTYPE> (for example, DB/ORA) have
to exist.
orderBy Package order This option is used only if the Import Monitor works
without the Export Monitor in stand-alone mode,
that is, all export dump files are available on the import
host before the Import Monitor is started. Values can
be:
name: load packages in alphabetical order,size: load packages starting with the largest one, or a
path of the file that contains package names.
If the option is omitted then package order is not
defined.
r3loadExe Path of the R3load
executable
Optional; the default is R3load. If only the name of the
R3load executable is available then JVM looks for the
R3load executable using OS-specific process search
rules.
tskFiles ‘yes’ to create task files;
‘no’ to skip
Before version 4.6 must be set to ‘no’; starting from
version 4.7 ‘yes’. If the R3load task files ‘*.TSK’ already
exist then the monitor will not overwrite them.
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
128 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 129/154
Option Description Comment
extFiles ‘yes’ to include EXT files;
‘no’ to skip them
Add EXT file entries to cmd files; If the EXT files cannot
be found in DB/<TARGET_DBTYPE> import dump
subdirectory the package processing is aborted.
dbCodepage Database code page for
the target database
See SAP Note 552464. Possible values: 4102, 4103,
1100
migrationKey Migration key
omit R3load omit value Can contain only 'DTPIV' letters.
-o D : omit data; do not load data
-o T: omit tables; do not create tables
-o P: omit primary keys; do not create primary keys
-o I: omit indexes; do not create indexes
-o V: omit views; do not create views If you want to
combine several omit options, list these options
without blank (for example, ‘-o TV’).
taskArgs Additional R3load
arguments for the TASK
phase
Appended to the R3load command line.
Options already set by the monitor:
-ctf; -l; -o (if the omit argument is specified).
loadArgs Additional R3load
arguments for the LOAD
phase
Appended to the R3load command line.
Options already used by the monitor:
-i; -dbcodepage; -l; -p; -k; -r; -socket (if the
socket option is specified); -o (if the omit argument is
specified and task files are not used, that is, the value
of ‘tskFiles’ option is ‘no’).
impJobNum Number of parallel
import jobs; the defaultis 1.
Any positive number; 0 for an unlimited number of
jobs
Import Exchange Options
Option Description Comment
exchangeDir Exchange directory If this option is not set, then the
monitor runs in stand-alone mode,
that is without the Export Monitor.
All the export dump files or the SAP
export CDs from the installation kit
must be available on the import host
and be specified with the parameter
‘importDirs’ (for example, in the
properties file). If there is an old file
export_statistics.properties
(for example, from a previous
export run), remove this file.
Import Socket Options
Option Description Command
socket Socket operating mode
port Server port number Any free port from 1024 to 65535.
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
2010-03-16 PUBLIC 129 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 130/154
Any other option is ignored by Import Monitor.
Mandatory Options for Import Monitor
■Server mode (default):installDir, importDirs, tskFiles, extFiles,
one of the options exchangeDir or socket (and their related parameters)
■ Stand-alone mode:
installDir, importDirs, tskFiles, extFiles
NOTE
The value of the dbType option is determined automatically in the shell script/batch files from
the dbms_type environment variable.
7.1.2 Assigning DDL Files to Packages
It is possible to use several different DDL*.TPL templates during the export respectively during the
import. The assignment of a specific DDL file to a single package is done within a simple text file, which
then has to be specified via the ddlMap option within the migration monitor's properties file. Packages
not listed in the DDL mapping file will use the default DDL control file.
Procedure
Example of a DDL mapping file:
# DDL mapping file ddl_mapping.txt
# !!! line with [GROUP_NAME] can be skipped
# used for documentation purposes only
[ SORTED UNLOAD ]
# DDL file for sorted unload
ddlFile = /export_dump/ABAP/DB/ORA/DDLORA.TPL
# package names
SAPAPPL0SAPAPPL1
SAPSDIC
[ UNSORTED UNLOAD ]
DDL file for unsorted unload
ddlFile = ./DDLORA_LRG.TPL
# table names
TABLE_A
TABLE_B
TABLE_C
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
130 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 131/154
7.1.3 Defining Groups of Packages
The “package group” feature is an enhancement of defining a package order. By defining groups you
can prevent parallel execution of certain packages and you can define how many large tables are
exported or imported at the same time. In addition, you can specify different values for the parameter
jobNum and taskArgs / loadArgs per package. Package groups can be defined in the same text file in
which the package order can be defined (see parameter orderBy). The old package order format is also
fully supported.
If package groups are defined, the maximal number of parallel R3load jobs is the sum of jobNum of all
packages. All packages without package group will be assigned to a “default group” with the number
of jobs, which was defined in the migration monitor's properties file.
Procedure
Example of a package order file with group:
# custom package order
# package names
SAPAPPL0
SAPAPPL1
SAPAPPL2
# package group
[ SEQUENTIAL GROUP ]
jobNum = 1
# table names
TABLE_A
TABLE_B
TABLE_C
7.1.4 Processing Split Tables
If tables have been split during the export, it has to be ensured before the import starts that the table
exists and that the primary key and the indexes are created before/after (as defined in the DDL template)
the table data have been imported. These tasks will be synchronized by the migration monitor
automatically. WHR files are part of the package and have to be copied to DATA export subdirectory to
make sure that the same WHR file is used for the export and the import of the corresponding package.
The following database platforms to not support parallel data import:
■ IBM DB2 for Linux, UNIX, and Windows
■ MS SQL
You can ensure this by using the feature Defining Groups of Packages [page 131].
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
2010-03-16 PUBLIC 131 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 132/154
Procedure
Example: Target database does not support parallel data import
Use
During the export you have split the table MY_FIRST_TABLE into 3 packages and MY_SECOND_TABLE into
5 packages. Now you want to run a maximum of 10 R3load processes for parallel data import.
Procedure
Create the file inputFile.txt with the following content:
[ MY_FIRST_TABLE ]
jobNum = 1
MY_FIRST_TABLE-1
MY_FIRST_TABLE-2
MY_FIRST_TABLE-3[ MY_SECOND_TABLE ]
jobNum = 1
MY_SECOND_TABLE-1
MY_SECOND_TABLE-2
MY_SECOND_TABLE-3
MY_SECOND_TABLE-4
MY_SECOND_TABLE-5
In this file, you can also define the processing order of packages or you can assign DDL files to packages.
The inputFile.txt file has to be specified as value for the Migration Monitor parameter orderBy.
For every group (MY_FIRST_TABLE andMY_SECOND_TABLE) a R3load job is started. The number of parallel
R3load jobs will be the total of the number of R3load jobs of each group plus the number of R3load
jobs defined for the default group (which is made up of all packages without an explicit group name),
defined by the parameter jobNum.
In this example the parameter jobNum in the import_monitor_cmd.properties file has to be set to 8 to
ensure that not more than 10 R3load processes will run in parallel.
Re-Starting the Import of a Split-table Package
If the import of a package fails, the rows. which belong to this package have to be deleted using the
WHERE condition assigned to this package before starting the data import again. The deletion with a
WHERE clause can be very time consuming so it is faster to delete all rows of the corresponding table
manually and reimport all packages instead.
Restart for all other database platforms:
1. Eliminate the reason for the failure of the import of the package(s).
2. Delete all rows of the table, for which the import one or more packages failed, manually.
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
132 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 133/154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 134/154
■ in the application property file,
insert the new line optionName=optionValue
Only valid for: UNIX |
Example of a command line for a UNIX terminal:End of: UNIX |
Only valid for: UNIX |
./export_monitor.sh –ftp
End of: UNIX |
Only valid for: UNIX |
./export_monitor.sh –ftpCopy
End of: UNIX |
Only valid for: UNIX |
./export_monitor.sh –socket –host <import server> –port 5000End of: UNIX |
Only valid for: Windows |
Example of a command line for Windows cmd.exe:
End of: Windows |
Only valid for: Windows |
export_monitor.bat –net
End of: Windows |
Only valid for: Windows |
export_monitor.bat –socket
End of: Windows |
If FTP access is used and security is required, start the monitor using the secure version of the shell
script/batch file to prevent seeing FTP password in the command line parameter string / property file.
Only valid for: UNIX |
Example of a command line for a UNIX terminal:
End of: UNIX |
Only valid for: UNIX |
./export_monitor_secure.sh –ftpPassword <password>
End of: UNIX |
Procedure
1. Start the monitor and close the shell window / command processor. The monitor process will run
in background.
2. Use monitor *.log and *.console.log files to check monitor processing state.
Example of an export_monitor_cmd.properties file with export options:
# Export Monitor options
# Operating mode: ftp | net
#net
ftp
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
134 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 135/154
#
# Common options
#
# List of export directories, separator on Windows ; on UNIX :
exportDirs=C:\TEMP\export_dump
# SAPinst start directory
installDir=C:\install\start
# Monitor timeout in seconds
monitorTimeout=30
#
# FTP options
#
# Remote FTP host
ftpHost=server
# Name of remote FTP user
ftpUser=sysadm
# Password of remote FTP user
ftpPassword=password
# List of remote FTP directories for export dump, separator : or ;
ftpExportDirs=/install_dir/export_dump
# Remote FTP exchange directory
ftpExchangeDir=/install_dir/exchange
# Number of parallel FTP jobs
ftpJobNum=3
#
# E-mail options
#
# SMTP server
mailServer=sap-ag.de
# "From" email address
# "To" email address
[email protected] [email protected]
Example of an import_monitor_cmd.properties file with import options:
# Import Monitor options
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
2010-03-16 PUBLIC 135 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 136/154
#
# Common options
#
# List of import directories, separator on Windows ; on UNIX :
importDirs=/install_dir/export_dump
# SAPinst start directory
installDir=/install_dir/start
# Exchange directory
exchangeDir=/install_dir/exchange
# Generation of task files: yes | no
tskFiles=yes
# Inclusion of extent files: yes | no
extFiles=yes
# Monitor timeout in seconds
monitorTimeout=30
#
# R3load options
#
# DB code page for the target database
dbCodepage=1100
# Migration key
migrationKey=
# Additional R3load arguments for TASK phase
taskArgs=
# Additional R3load arguments for LOAD phase
loadArgs=
# Number of parallel import jobs
impJobNum=3
#
# E-mail options
#
# SMTP server
mailServer=sap-ag.de
# "From" email address
# "To" email address
[email protected] [email protected]
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
136 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 137/154
What happens during export / import with the above listed property files during a system
copy with source and target database Oracle:
■ On the export host, the following directories have to exist (see parameter exportDirs):
●c:\temp\export_dump\DATA
● c:\temp\export_dump\DB
● c:\temp\export_dump\DB\ORA
The directory c:\temp\export_dump\DATA has to contain the STR files generated by R3ldctl, the
directory c:\temp\export_dump\DB the files DDL<DBTYPE>.TPL generated by R3ldctl as well, the
directory c:\temp\export_dump\DB\ORA the EXT files generated by R3szchk.
■ The Export Monitor will write the R3load dump files and the TOC files to the directory c:\temp
\export_dump\DATA.
■ The R3load log files, cmd files and TSK files (if required) are located in the directory c:\install
\start (parameter: installDir). The export itself is not done by the Export Monitor, as the
monitor is started in client mode (parameter ‘server’ is not set).
■ As soon as a package has been exported successfully, the Export Monitor will transfer all files
belonging to that package (TOC, STR, EXT, 001, ...) to the target host (parameter: ftpHost) into
the corresponding subdirectories of the directory /install_dir/export_dump (parameter:
ftpExportDirs) as user <sapsid>adm (parameter: ftpUser) identified by password (parameter:
ftpPassword) to logon.
■ If the package files have been transferred completely to the server, the Export Monitor will write
a signal file<package>.SGN
to the directory/install_dir/exchange
(parameter:ftpExchangeDir) to notify the Import Monitor that it could start the import of this package.
■ On the import host, the following directories have to exist (see parameter importDirs):
● /install_dir/export_dump/DATA
● /install_dir/export_dump/DB
● /install_dir/export_dump/DB/ORA
The directory /install_dir/export_dump/DATA has to contain the STR files generated by R3ldctl,
the directory/install_dir/export_dump/DB the filesDDL<DBTYPE>.TPL generated by R3ldctl, too,
the directory /install_dir/export_dump/DB/ORA the EXT files generated by R3szchk.
■ The import monitor will start to import a package as soon as the file <package>.SGN is found inthe directory /install_dir/exchange (parameter: exchangeDir).
■ The R3load log files, cmd files and TSK files (if required) will be located in the directory /
install_dir/start (parameter: installDir).
■ The file DDLORA.TPL has to be copied to the directory /install_dir/start (parameter:
installDir) before you can start the Import Monitor.
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
2010-03-16 PUBLIC 137 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 138/154
7.1.6 Output Files
Export
■ export_monitor.log
■ export_state.properties
■ ExportMonitor.console.log
Import
■ import_monitor.log
■ import_state.properties
■ ImportMonitor.console.log
Both the export and import state files contain package state lines such as the following: SAPUSER=+
Format of lines is <PACKAGE>=<STATE>. Possible values for state are:
0 Package export/import not yet started.
? Package export/import in progress.
- Package export/import finished with errors.
+ Package export/import finished successfully.
If any ftp/net exchange options are used, then the export state file may contain a second <STATE>
column, which refers to the state of the package transfer.
Then the export state file contains package state lines such as the following: SAPUSER=++
Format of lines is <PACKAGE>=<STATE>. Possible values for state are:
0 Package export not yet started.
? Package export in progress.
- Package export finished with errors.
+0 Package export finished successfully; package transfer not yet started.
+? Package transfer in progress.
+- Package transfer finished with errors.
++ Package transfer finished successfully.
7.1.7 Installing the Target System Using the MigrationMonitor
Prerequisites
Make sure there is enough free space in the target system for the database load. To find out the size of
the export and the sizes of the tablespaces or dbspaces that are created, look at the file DBSIZE.XML
located in the directory <DRIVE>:\<EXPDIR>\DB\<DATABASE> (Windows) or <EXPDIR>/DB/
<DATABASE> (UNIX).
7 Additional Information
7.1 R3load Procedures Using the Migration Monitor
138 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 139/154
Procedure
1. If you want to start the installation of the target host using the migration monitor, make sure that
at least the dump directory with the following files is accessible on the target host and contain
correct data before you start SAPinst:
■ <dump dir>/LABEL.ASC
■ <dump dir>/DB/<DBTYPE>/DBSIZE.XML
■ <dump dir>/DB/DDLORA.TPL
If the dump directory is not shared on the target host, you can copy the files as soon as they have
been created on the source host with the (export) migration monitor's FTP Copy options from
the source system to the target system.
2. You start SAPinst as described in the installation documentation for your SAP component.
3. To install the target system, follow the instructions in the SAPinst input dialogs and enter the
required parameters up to the screen ABAP System > Database. On this screen, choose Standard System
Copy/Migration (R3load-Based).
4. Select the option Use Migration Monitor .
NOTE
If you need more information about input parameters, position the cursor on the field of the
respective parameter and press F1.
5. When SAPinst displays the CD browser-window and asks for the Export Migration CD, enter the path
to the export directory <EXPDIR>.
6. Continue as described in the installation documentation for your SAP component until a dialog
box appears that states:
If the export has been started on the source system and the Export Monitor is
running, you can now start the data load by starting the Import Monitor.
7. Check that the prerequisites in the dialog box are fulfilled by your system. If so, you can start the
Migration Monitor.
8. Complete the installation as described in the installation documentation for your SAP solution.
CAUTION
If you have to restart the import after an error, just restart SAPinst. The import is continueswith the table that was not imported successfully.
7.2 Using SAPinst GUI
The following table shows the most important functions that are available in SAPinst GUI:
SAPinst GUI Functions
Input Type Label Description
Function key F1 Displays detailed information about each input parameter.
7 Additional Information
7.2 Using SAPinst GUI
2010-03-16 PUBLIC 139 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 140/154
Input Type Label Description
Menu option File Log off Stops the SAPinst GUI, but SAPinst and the GUI server continue
running.
NOTEIf for some reason you need to log off during the installation
from the host where you control the installation with SAPinst
GUI, the installation continues while you are logged off. You can
later reconnect to the same SAPinst installation from the same
or another host. For more information, see Starting SAPinst GUI
Separately [page 144].
Menu option File View Log Displays the installation log (sapinst_dev.log)
Menu option File Exit Cancels the installation with the following options:
■ Stop
For more information, see the description of the message button
below.
■ Continue
For more information, see the description of the message button
below.
Message button Retry Performs the installation step again (if an error has occurred).
Message button View Log Displays the installation log (sapinst_dev.log)
Message button Stop Stops the installation (SAPinst GUI, SAPinst and the GUI server)
without further changing the installation files. You can continue the
installation later from this point.
Message button Continue Continues with the option you have chosen before.
7.3 Interrupted Installation with SAPinst
The SAP system installation might be interrupted for one of the following reasons:
■ An error occurred during the dialog or processing phase:
SAPinst does not abort the installation in error situations. If an error occurs, the installation pauses
and a dialog box appears. The dialog box contains a short description about the choices listed in
the table below as well as a path to a log file that contains detailed information about the error.
■ You interrupted the installation by choosing Exit in the SAPinst menu.
The following table describes the options in the dialog box:
Option Definition
Retry SAPinst retries the installation from the point of failure without repeating
any of the previous steps.
This is possible because SAPinst records the installation progress in the
keydb.xml file.
We recommend that you view the entries in the log files, try to solve the
problem and then choose Retry.
If the same or a different error occurs again, SAPinst displays the same dialog
box again.
7 Additional Information
7.3 Interrupted Installation with SAPinst
140 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 141/154
Option Definition
Stop SAPinst stops the installation, closing the dialog box, the SAPinst GUI, and
the GUI server.
SAPinst records the installation progress in the keydb.xml file. Therefore, you
can continue the installation from the point of failure without repeating anyof the previous steps. See the procedure below.
Continue SAPinst continues the installation from the current point.
Only valid for: UNIX |
NOTE
You can also terminate SAPinst by choosing Ctrl + C . However, we do not recommend that
you use Ctrl + C , because this kills the process immediately.
End of: UNIX |
Procedure
This procedure describes the steps to restart an installation, which you stopped by choosing Stop, or to
continue an interrupted installation after an error situation.
1. Only valid for: Windows |
Log on as a user who is a member of the local administrators group.
End of: Windows |
2. Only valid for: UNIX |
Log on to your local UNIX host as user root.
CAUTION
Make sure that the root user has not set any environment variables for a different SAP system
or database.
End of: UNIX |
3. Only valid for: Windows |
Insert the Installation Master DVD in your DVD drive.
End of: Windows |
4. Only valid for: Unix |
Mount your Installation Master DVD.
NOTE
Mount the DVD locally. We do not recommend using Network File System (NFS).
End of: Unix |
5. Only valid for: Windows |
Change to the required directory
<DVD drive>:\IM_WINDOWS_<platform>
Double-click sapinst.exe
End of: Windows |
6. Only valid for: Unix |
Enter the following commands:
cd <Installation_Master_DVD>/IM_<OS>
7 Additional Information
7.3 Interrupted Installation with SAPinst
2010-03-16 PUBLIC 141 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 142/154
./sapinst
End of: Unix |
7. Only valid for: IBM i5/OS |
Check if a SAPinst GUI Java process is still running.If a process is still running, look for javaw.exe under Processes in your Task Manager and kill it.
■ If you used the default installation directory (recommended):
cd <Mapped_Drive>:\<Copied Installation Master DVD>\IM_OS400_PPC64
sapinst.exe
■ If you used an alternative installation directory:
cd <Mapped_Drive>:\<your installation directory>
<Mapped_Drive>:\<Copied Installation Master DVD>\IM_OS400_PPC64\sapinst.exe
End of: IBM i5/OS |
8. From the tree structure in the Welcome screen, select the installation service that you want tocontinue and choose Next .
NOTE
If there is only one component to install, the Welcome screen does not appear.
The What do you want to do? screen appears.
9. In the What do you want to do? screen, decide between the following alternatives and confirm with
OK .
Alternative Behavior
Run a new Installation SAPinst does not continue the interrupted installation. Instead, it movesthe content of the old installation directory and all installation-specific files
to the backup directory. Afterwards, you can no longer continue the old
installation.
For the backup directory, the following naming convention is used:
<log_day_month_year_hours_minutes_seconds> (for example,
log_01_Oct_2003_ 13 _47_56).
Continue old installation SAPinst continues the interrupted installation from the point of failure.
7.4 Performing a Remote Export Using SAPinstPurpose
You can run the SAPinst GUI in standalone mode to perform a remote export.
This enables you to perform the export on another host (the remote host) while monitoring the export
with the SAPinst GUI on your local Windows or UNIX computer (the local host).
Prerequisites
■ Make sure that you have performed the preparation activities for your local host (SAPinst GUI
host) and your remote host as described in Prerequisites in Exporting the Source System Using SAPinst [page
32].
7 Additional Information
7.4 Performing a Remote Export Using SAPinst
142 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 143/154
■ Both computers are in the same network and can ping each other.
To test this:
● Log on to your remote host and enter the command ping <local host>.
● Log on to the local host and enter the command ping <remote host>.
Process Flow
1. You start the SAPinst server on your remote host.
2. You start the SAPinst GUI on your local host.
3. You perform the installation using the SAPinst GUI.
For more information, see:
■ Starting SAPinst on the Remote Host [page 143]
■ Starting SAPinst GUI Separately [page 144]
7.4.1 Performing a Remote Installation with SAPinst(Optional)
You use this procedure to install your SAP system on a remote host. In this case, SAPinst and the GUI
server run on the remote host, and SAPinst GUI runs on the local host. The local host is the host from
which you control the installation with SAPinst GUI.
Only valid for: SAP CRM;SAP SCM;SAP SRM | SAP CRM 5.2;SAP SCM 5.1;SAP SRM Server 6.0 |
You can run SAPinst GUI on a PC with 32-bit while SAPinst is running on a 64-bit installation host.End of: SAP CRM;SAP SCM;SAP SRM | SAP CRM 5.2;SAP SCM 5.1;SAP SRM Server 6.0 |
Only valid for: IBM i5/OS | IBM i5/OS | IBM DB2 for i5/OS |
CAUTION
If you install SAP instances on System i, “local host” in this section refers to the Windows
installation host, not the System i host.
End of: IBM i5/OS | IBM i5/OS | IBM DB2 for i5/OS |
Prerequisites
■ Both computers are in the same network and can “ping” each other.
To test this:
● Log on to your remote host and enter the command ping <local host>.
● Log on to the local host and enter the command ping <remote host>.
ProcedureOnly valid for: IBM i5/OS;Windows |
1. Log on to your remote host as a user who is a member of the local administrators group.
2. Insert the Installation Master DVD in the DVD drive on your remote host.
3. Open a command prompt and change to the required directory of the installation Master DVD.
7 Additional Information
7.4 Performing a Remote Export Using SAPinst
2010-03-16 PUBLIC 143 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 144/154
Enter the following commands:
Only valid for: IBM DB2 for Linux and UNIX and Windows;IBM DB2 for z/OS;MaxDB;MS SQL Server;Oracle |
<DVD drive:\>cd <DVD drive>:\IM_WINDOWS_<platform>
End of: IBM DB2 for Linux and UNIX and Windows;IBM DB2 for z/OS;MaxDB;MS SQL Server;Oracle |
Only valid for: IBM DB2 for i5/OS (Linux/Windows) |
cd <mapped drives>:\IM_OS400_PPC64
End of: IBM DB2 for i5/OS (Linux/Windows) |
sapinst.exe -nogui
For more information, see Running SAPinst on UNIX or Windows to Perform the Export [page 32].
SAPinst now starts and waits for the connection to the SAPinst GUI. You see the following at the
command prompt:
guiengine: no GUI connected; waiting for a connection on host <host_name>, port
<port_number> to continue with the installation
4. Start SAPinst GUI on your local host as described in Starting SAPinst GUI Separately [page 144].
End of: IBM i5/OS;Windows |
Only valid for: UNIX |
1. Log on to your remote host as user root.
CAUTION
Make sure that the root user has not set any environment variables for a different SAP system
or database.
2. Mount the Installation Master DVD.3. Enter the following commands:
cd <Installation_Master_DVD>/IM_<OS>
./sapinst -nogui
For more information, see Running SAPinst on UNIX or Windows to Perform the Export [page 32].
SAPinst now starts and waits for the connection to the SAPinst GUI. You see the following at the
command prompt:
guiengine: no GUI connected; waiting for a connection on host <host_name>, port
<port_number> to continue with the installation.
4. Start SAPinst GUI on your local host as described in Starting SAPinst GUI Separately [page 144].End of: UNIX |
Only valid for: IBM i5/OS;UNIX;Windows |
7.4.2 Starting SAPinst GUI Separately (Optional)
You use this procedure to start SAPinst GUI separately. You might need to start SAPinst GUI separately
in the following cases:
■ You have logged off from SAPinst.
7 Additional Information
7.4 Performing a Remote Export Using SAPinst
144 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 145/154
If you logged off during the installation and you later want to reconnect to the installation while
it is still running, you can start SAPinst GUI separately.
■ You want to perform a remote installation [page 143].
If you want to run SAPinst GUI on a different host from SAPinst and the GUI server, you have to
start SAPinst GUI separately.
Only valid for: SAP CRM;SAP SCM;SAP SRM | SAP CRM 5.2;SAP SCM 5.1;SAP SRM Server 6.0 |
You can run SAPinst GUI on a PC with 32-bit while SAPinst is running on a 64-bit installation host.
End of: SAP CRM;SAP SCM;SAP SRM | SAP CRM 5.2;SAP SCM 5.1;SAP SRM Server 6.0 |
Only valid for: IBM i5/OS | IBM i5/OS | IBM DB2 for i5/OS |
CAUTION
If you install SAP instances on System i, “local host” in this section means the Windows installation
host, not the System i host.
End of: IBM i5/OS | IBM i5/OS | IBM DB2 for i5/OS |
Prerequisites
You have installed the Java Development Kit [page 20] on the host on which you want to start SAPinst without
SAPinst GUI.
Procedure
Starting SAPinst GUI on a Windows Platform1. Log on as a member of the local administrators group.
2. Insert the SAP Installation Master DVD into your DVD drive.
3. Open a command prompt and change to the relevant directory:
Only valid for: IBM DB2 for Linux and UNIX and Windows;IBM DB2 for z/OS;MaxDB;MS SQL Server;Oracle |
<DVD drive>:\IM_WINDOWS_<platform>
End of: IBM DB2 for Linux and UNIX and Windows;IBM DB2 for z/OS;MaxDB;MS SQL Server;Oracle |
Only valid for: IBM DB2 for i5/OS;IBM DB2 for i5/OS (Linux/Windows) |
cd <mapped drives>:\IM_OS400_PPC64
End of: IBM DB2 for i5/OS;IBM DB2 for i5/OS (Linux/Windows) |4. Start SAPinst GUI in one of the following ways:
■ If SAPinst GUI runs on the same host as SAPinst and the GUI server, enter the following
command:
startinstgui.bat
SAPinst GUI uses the local host as default.
■ If SAPinst and the GUI server runs on a different host from SAPinst GUI (remote installation),
enter the following command:
startinstgui.bat -host <host_name>
<host_name> is the host name of the installation host.
7 Additional Information
7.4 Performing a Remote Export Using SAPinst
2010-03-16 PUBLIC 145 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 146/154
NOTE
● If you enter the command without additional parameters, SAPinst GUI uses the
local host as default. SAPinst GUI starts and tries to connect to the GUI server and
SAPinst. Since SAPinst and the GUI server are running on another host, SAPinst GUIcannot connect and the SAP Installation GUI Connection dialog appears.
In this case, enter the name of the host on which SAPinst is running and choose Log
on.
The first dialog of the installation appears and you can perform the remote
installation from your local host.
● For a list of options to start SAPinst GUI, change to the same directory as your SAPinst
executable and enter the command startinstgui.bat -h.
Starting SAPinst GUI on a UNIX Platform
1. Log on as user root.
CAUTION
Make sure that the root user has not set any environment variables for a different SAP system
or database.
2. Mount your installation DVD.
NOTE
Mount the DVD locally. We do not recommend that you use Network File System (NFS).
3. To change to the mount directory enter the following command:
cd <Installation_Master_DVD>/IM_<OS>
4. Start the SAPinst GUI in one of the following ways:
■ If SAPinst GUI runs on the same host as SAPinst and the GUI server, enter the following
command without additional parameters:
./startInstGui.sh
SAPinst GUI uses as default the local host.
■ If SAPinst and the GUI server run on a different host from SAPinst GUI (remote installation),
enter the following command with additional parameters:
./startInstGui.sh -host <host_name>
<host_name> is the host name of the installation host.
NOTE
● If you enter the command without additional parameters, SAPinst GUI uses the
local host as default. SAPinst GUI starts and tries to connect to the GUI server and
SAPinst. Since SAPinst and GUI server are running on another host, SAPinst GUI
cannot connect and the SAP Installation GUI Connection dialog appears.
In this case, enter the name of host on which SAPinst is running and choose Log on.
7 Additional Information
7.4 Performing a Remote Export Using SAPinst
146 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 147/154
The first dialog of the installation appears and you can perform the remote
installation from your local host.
● For a list of options to start SAPinst GUI, change to the same directory as your SAPinst
executable and enter the command ./startInstGui.sh -h.End of: IBM i5/OS;UNIX;Windows |
7 Additional Information
7.4 Performing a Remote Export Using SAPinst
2010-03-16 PUBLIC 147 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 148/154
Typographic Conventions
Example Description
<Example> Angle brackets indicate that you replace these words or characters with appropriate
entries to make entries in the system, for example, “Enter your <User Name>”.
Example
Example
Arrows separating the parts of a navigation path, for example, menu options
Example Emphasized words or expressions
Example Words or characters that you enter in the system exactly as they appear in the
documentationhttp://www.sap.com Textual cross-references to an internet address
/example Quicklinks added to the internet address of a homepage to enable quick access to specific
content on the Web
123456 Hyperlink to an SAP Note, for example, SAP Note 123456
Example ■ Words or characters quoted from the screen. These include field labels, screen titles,
pushbutton labels, menu names, and menu options.
■ Cross-references to other documentation or published works
Example ■ Output on the screen following a user action, for example, messages
■ Source code or syntax quoted directly from a program
■ File and directory names and their paths, names of variables and parameters, andnames of installation, upgrade, and database tools
EXAMPLE Technical names of system objects. These include report names, program names,
transaction codes, database table names, and key concepts of a programming language
when they are surrounded by body text, for example, SELECT and INCLUDE
EXAMPLE Keys on the keyboard
148 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 149/154
SAP AGDietmar-Hopp-Allee 16
69190 WalldorfGermany
T +49/18 05/34 34 34
F +49/18 05/34 34 20 www.sap.com
© Copyright 2010 SAP AG. All rights reserved.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission
of SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software
vendors.
No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permissionof SAP AG. The information contained herein may be changed without prior notice.
Some software products marketed by SAP AG and its distributors contain proprietary software components of other software
vendors.
Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation.
IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10,
z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server,
PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes,
BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA,
AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation.
Linux is the registered trademark of Linus Torvalds in the U.S. and other countries.
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems
Incorporated in the United States and/or other countries.
Oracle is a registered trademark of Oracle Corporation.
UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group.
Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered
trademarks of Citrix Systems, Inc.
HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium,
Massachusetts Institute of Technology.
Java is a registered trademark of Sun Microsystems, Inc.
JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented
by Netscape.
SAP, R/3, xApps, xApp, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP Business ByDesign, and other SAP products and
services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany
and in several other countries all over the world. All other product and service names mentioned are the trademarks of their
respective companies. Data contained in this document serves informational purposes only. National product specificationsmay vary.
These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies
(“SAP Group”) for informational purposes only, without representation or warranty of any kind, and SAP Group shall not
be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are
those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein
should be construed as constituting an additional warranty.
Disclaimer
Some components of this product are based on Java™. Any code change in these components may cause unpredictable and
severe malfunctions and is therefore expressly prohibited, as is any decompilation of these components.
Any Java™ Source Code delivered with this product is only to be used by SAP’s Support Services and may not be modified or
altered in any way.
2010-03-16 PUBLIC 149 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 150/154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 151/154
Permission to use, copy, modify, distribute and sell this software and its documentation for any purposes is
hereby granted without fee, provided that the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting documentation. SAP makes no
representations about the suitability of this software for any purpose. It is provided with a limited warranty
and liability as set forth in the License Agreement distributed with this copy. SAP offers this liability andwarranty obligations only towards its customers and only referring to its modifications.
2. Support and Maintenance
SAP does not provide software maintenance for the STLport. Software maintenance of the STLport therefore shall
be not included.
All other services shall be charged according to the rates for services quoted in the SAP List of Prices and Conditions
and shall be subject to a separate contract.
3. Exclusion of warranty
As the STLport is transferred to the Customer on a loan basis and free of charge, SAP cannot guarantee that the
STLport is error-free, without material defects or suitable for a specific application under third-party rights.
Technical data, sales brochures, advertising text and quality descriptions produced by SAP do not indicate any
assurance of particular attributes.
4. Limited Liability
1. Irrespective of the legal reasons, SAP shall only be liable for damage, including unauthorized operation, if this(i) can be compensated under the Product Liability Act or (ii) if caused due to gross negligence or intent by
SAP or (iii) if based on the failure of a guaranteed attribute.
2. If SAP is liable for gross negligence or intent caused by employees who are neither agents or managerial
employees of SAP, the total liability for such damage and a maximum limit on the scope of any such damage
shall depend on the extent to which its occurrence ought to have anticipated by SAP when concluding the
contract, due to the circumstances known to it at that point in time representi ng a typical transfer of the
software.
3. In the case of Art. 4.2 above, SAP shall not be liable for indirect damage, consequential damage caused by a
defect or lost profit.
4. SAP and the Customer agree that the typical foreseeable extent of damage shall under no circumstances
exceed EUR 5,000.
5. The Customer shall take adequate measures for the protection of data and programs, in particular by makingbackup copies at the minimum intervals recommended by SAP. SAP shall not be liable for the loss of data and
its recovery, notwithstanding the other limitations of the present Art. 4 if this loss could have been avoided
by observing this obligation.
6. The exclusion or the limitation of claims in accordance with the present Art. 4 includes claims against
employees or agents of SAP.
3. Adobe Document Services
Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States and / or other countries. For information on Third Party software delivered with Adobe
document services and Adobe LiveCycle Designer, see SAP Note 854621.
4. Only valid for: SAP ERP;SAP CRM |
Apache License, Version 2.0
1. Definitions:
■ "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections
1 through 9 of this document.
■ "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the
License.
■ "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by,
or are under common control with that entity. For the purposes of this definition, "control" means (i) the
power, direct or indirect, to cause the direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial
ownership of such entity.
■ "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
■ "Source" form shall mean the preferred form for making modifications, including but not limited to software
source code, documentation source, and configuration files.
2010-03-16 PUBLIC 151 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 152/154
■ "Object" form shall mean any form resulting from mechanical transformation or translation of a Source
form, including but not limited to compiled object code, generated documentation, and conversions to other
media types.
■ "Work" shall mean the work of authorship, whether in Source or Object form, made available under the
License, as indicated by a copyright notice that is included in or attached to the work (an example is providedin the Appendix below).
■ "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived
from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall
not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work
and Derivative Works thereof.
■ "Contribution" shall mean any work of authorship, including the original version of the Work and any
modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to
Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to
submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of
electronic, verbal, or written communication sent to the Licensor or its representatives, including but not
limited to communication on electronic mailing lists, source code control systems, and issue tracking systems
that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, butexcluding communication that is conspicuously marked or otherwise designated in writing by the copyright
owner as "Not a Contribution."
■ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has
been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide,
non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or
Object form.
3. Grant of Patent License
Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide,
non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, havemade, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those
patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by
combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute
patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any
patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution
You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You meet the following conditions:
1. You must give any other recipients of the Work or Derivative Works a copy of this License; and
2. You must cause any modified files to carry prominent notices stating that You changed the files; and
3. You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent,
trademark, and attribution notices from the Source form of the Work, excluding those notices that do not
pertain to any part of the Derivative Works; and
4. If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You
distribute must include a readable copy of the attribution notices contained within such NOTICE file,
excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following
places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative
Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for
informational purposes only and do not modify the License. You may add Your own attribution notices
within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the
Work, provided that such additional attribution notices cannot be construed as modifying the License.
You may add Your own copyright statement to Your modifications and may provide additional or different license
terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works
152 /154 PUBLIC 2010-03-16
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 153/154
as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions
stated in this License.
5. Submission of Contributions
Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You
to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions.Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement
you may have executed with Licensor regarding such Contributions.
6. Trademarks
This License does not grant permission to use the trade names, trademarks, service marks, or product names of
the Licensor, except as required for reasonable and customary use in describing the origin of the Work and
reproducing the content of the NOTICE file.
7. Disclaimer of Warranty
Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides
its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT,
MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining
the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of
permissions under this License.8. Limitation of Liability
In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless
required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any
Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential
damages of any character arising as a result of this License or out of the use or inability to use the Work (including
but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability
While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance
of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However,
in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for anyliability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty
or additional liability.
End of: SAP ERP;SAP CRM |
Documentation in the SAP Service Marketplace
You can find this document at the following address: http://service.sap.com/instguides
2010-03-16 PUBLIC 153 /154
8/10/2019 Manual Copia Homogenea SAP
http://slidepdf.com/reader/full/manual-copia-homogenea-sap 154/154
SAP AGDietmar-Hopp-Allee 1669190 WalldorfGermany T +49/18 05/34 34 34F +49/18 05/34 34 20
www.sap.com