System Copy for SAP Systems Based on the Application Server Java Of
Total Page:16
File Type:pdf, Size:1020Kb
Operations Guide | PUBLIC Software Provisioning Manager 1.0 SP32 Document Version: 3.7 – 2021-06-21 System Copy for SAP Systems Based on the Application Server Java of SAP NetWeaver 7.5, and SAP Solution Manager 7.2 SR2 Java, on UNIX Target Databases: SAP ASE; SAP MaxDB; Oracle; IBM Db2 for z/OS; IBM Db2 for Linux, UNIX, and Windows company. All rights reserved. All rights company. affiliate THE BEST RUN 2021 SAP SE or an SAP SE or an SAP SAP 2021 © Content 1 Homogeneous and Heterogeneous System Copy....................................8 1.1 About Software Provisioning Manager 1.0............................................9 1.2 SAP Products Based on SAP NetWeaver 7.5 and SAP Solution Manager 7.2 SR2 Java Supported for System Copy Using Software Provisioning Manager 1.0 ...............................10 1.3 New Features...............................................................12 1.4 Naming Conventions..........................................................16 1.5 Constraints.................................................................17 1.6 Accessing the Installation Guides.................................................19 1.7 Accessing the SAP Library......................................................19 2 Planning..................................................................20 2.1 Before You Start.............................................................20 2.2 Use Cases for System Copy.....................................................21 2.3 System Copy Methods.........................................................21 2.4 Creating a System Copy Plan....................................................23 2.5 Basic Planning Aspects and Parameters............................................23 2.6 System Copy and Migration Optimization...........................................26 Database Tuning ..........................................................27 Package Splitting..........................................................28 Table Splitting............................................................29 Java Migration Monitor......................................................29 Database-Specific Central Notes...............................................29 3 Preparation................................................................31 3.1 General Technical Preparations ..................................................31 3.2 Product-Specific Preparations...................................................33 3.3 Preparing the Media Required for Performing the Export................................ 34 Downloading and Extracting the Software Provisioning Manager 1.0 Archive................34 4 Database Independent System Copy............................................ 36 4.1 System Copy Procedure.......................................................36 Preparing Parallel Export and Import............................................40 Exporting the Source System................................................. 41 Setting Up the Target System.................................................62 5 Database-Specific System Copy................................................66 5.1 Oracle-Specific Procedure......................................................68 Performing Online or Offline Recovery with “saphostctrl”..............................69 System Copy for SAP Systems Based on the Application Server Java of SAP NetWeaver 7.5, and SAP Solution Manager 7.2 SR2 Java, on UNIX 2 PUBLIC Content Using a CONTROL.SQL File Created by the ORABRCOPY Tool...........................71 Creating a Backup.........................................................80 5.2 SAP MaxDB-Specific Procedure..................................................81 5.3 IBM Db2 for Linux, UNIX, and Windows-Specific Procedures..............................84 5.4 IBM Db2 for z/OS Specific Procedures.............................................88 Step 1: Check the Source System and Stop it after Successful Check.....................90 Step 2: Consider DB2 Procedures of the Target System...............................91 Step 3: Delete All Obsolete Objects of the Target System..............................91 Step 4: Copy All Objects of the Source System into the Target System.................... 92 Step 5: Add All DB2 Subsystem Libraries to a PARMLIB Containing Definitions Required for APF...................................................................92 Step 6: Alter the BSDS of the Target System.......................................92 Step 7: Change Entries of logcopy Data Sets in the BSDS of the Target System.............. 92 Step 8: Customize DB2 Modules Using DSNTIJUZ.................................. 93 Step 9: Configure the Distributed Data Facility (DDF)................................ 93 Step 10: Start the Target System Using ACCESS(MAINT)............................. 93 Step 11: Update the DB2 Catalog Using CATMAINT UPDATE VCAT SWITCH.................94 Step 12: Stop and Restart the Target System...................................... 94 Step 13: Create DSNTEP2 and DSNTEP4 Load Modules for the Target System...............94 Step 14: Alter All WLM Environments of Stored Procedures............................94 Step 15: Perform Post-Offline System Copy Actions (Optional)..........................95 5.5 SAP ASE Server-Specific Procedure...............................................95 6 Copying Single Instances Only.................................................97 6.1 Copying the Primary Application Server Instance Only..................................98 6.2 Copying the Database Only – Move Database Instance..................................98 6.3 Copying the Database Only – Refresh Database Instance...............................100 6.4 Copying the Database Only - Refresh Database Content................................102 Copying the Database Only - Refresh Database Content on SAP ASE.....................103 Copying the Database Only - Refresh Database Content on IBM Db2 for Linux, UNIX, and Windows...............................................................108 Copying the Database Only - Refresh Database Content on Oracle Database............... 114 Copying the Database Only - Refresh Database Content on IBM Db2 for z/OS...............117 Copying the Database Only - Refresh Database Content on SAP MaxDB.................. 120 7 Follow-Up Activities........................................................ 124 7.1 Performing Follow-Up Activities in the Target System..................................124 Installing the SAP License Key................................................124 SAP Solution Manager: Connection Between SLD and LMDB..........................125 Performing Follow-Up Activities for Java.........................................126 Checking the Database Parameters for IBM Db2 for Linux, UNIX, and Windows.............145 Performing Jobhead Correction after Homogeneous System Copy......................146 System Copy for SAP Systems Based on the Application Server Java of SAP NetWeaver 7.5, and SAP Solution Manager 7.2 SR2 Java, on UNIX Content PUBLIC 3 8 Additional Information......................................................147 8.1 Jload Procedures Using the Java Migration Monitor................................... 147 About the Java Migration Monitor..............................................147 Configuration for Using the Java Migration Monitor.................................148 Starting the Java Migration Monitor............................................150 Output Files of the Java Migration Monitor.......................................152 Restarting Jload Processes..................................................153 8.2 Analysis of the Export and Import Times...........................................154 8.3 Package and Table Splitting for Java Tables.........................................154 Configuration for Using the Java Splitter.........................................155 Starting the Java Splitter....................................................158 Output Files of the Java Splitter...............................................159 8.4 IBM Db2 for Linux, UNIX, and Windows Database.....................................160 Enabling Recoverability of the IBM Db2 for Linux, UNIX, and Windows Database.............160 Deleting a Database Schema Manually..........................................162 Online Information from IBM.................................................164 8.5 Oracle Database............................................................165 Support of Oracle Transparent Data Encryption (Oracle TDE)..........................165 Implementing Oracle Database Vault with Software Provisioning Manager 1.0.............. 168 Database Instance Installation on Oracle Automatic Storage Management................ 169 Installing Oracle Real Application Clusters on your Target System.......................170 Additional Information about the “OraBRCopy” Tool................................ 173 8.6 Online Information from SAP................................................... 175 System Copy for SAP Systems Based on the Application Server Java of SAP NetWeaver 7.5, and SAP Solution Manager 7.2 SR2 Java, on UNIX 4 PUBLIC Content Document History The following table provides an overview on the most important document changes. Note Before you start reading, make sure you have the latest version of this system copy guide, which is available at https://support.sap.com/sltoolset System Provisioning Copy a System using Software Provisioning Manager System Copy Option of Software Provisioning