solman system copy

Download Solman System Copy

Post on 07-Apr-2015

360 views

Category:

Documents

8 download

Embed Size (px)

TRANSCRIPT

Solution Manager System Copy ABAP+JAVA Windows

Applies to:SAP Solution Manager SR3 ABAP+JAVA on Oracle Windows. For more information, visit the Application Management homepage.

SummaryThis document describes Homogeneous system copy procedure that is based on database-specific methods. As of SAP NetWeaver 2004s you can copy ABAP systems, ABAP+JAVA systems and Java systems in one run using either database-specific methods or database independent methods

Author: Company:

Uday Kumar Intelligroup Asia Pvt Ltd.

Created on: 5 October 2009 Author BioUday Kumar is working as an SAP Consultant with Intelligroup Asia since September 2007.He is good at Netweaver, Solution Manager, and EP administration

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 1

Solution Manager System Copy ABAP+JAVA Windows

Table of ContentsMethod Followed ................................................................................................................................................ 3 Advantages ......................................................................................................................................................... 3 Documents Referred and Validity ....................................................................................................................... 3 Caution ............................................................................................................................................................ 3 Software Requirements................................................................................................................................... 3 Source system preparations ............................................................................................................................... 3 Source system export ......................................................................................................................................... 4 For parameter mode choose custom .................................................................................................................. 5 Generating the Control File Structure ................................................................................................................. 7 Purpose:.............................................................................................................................................................. 7 Recommendations .............................................................................................................................................. 7 Starting the OraBRCopy Java Tool .................................................................................................................... 8 Preparing the Target System .............................................................................................................................. 9 Target system Installation ................................................................................................................................. 11 Post Activity steps ............................................................................................................................................. 20 ABAP ............................................................................................................................................................. 20 JAVA ............................................................................................................................................................. 20 Related Content ................................................................................................................................................ 21 Disclaimer and Liability Notice .......................................................................................................................... 22

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 2

Solution Manager System Copy ABAP+JAVA Windows

Method FollowedDatabase-specific method

Advantages You can use existing offline or online backups This method is faster than the R3load and Jload method

Documents Referred and Validity System Copy for SAP Systems Based on SAP NetWeaver 7.0 ABAP+JAVA.pdf Note 1120872 - Hom./Het.System Copy SAP NetWeaver 7.0 SR3 Note 831812 - Config Tool shows incorrect parameters after System Copy Caution This document does not cover all the pre and post activities steps, please refer system copy guide Software Requirements DVD Material used Serial Number 1 2 3 4 DVD/Material 51032955 51033032 51032958 51033272 CD Description Solution Manager Installation Master SR3 NW700 UC Kernel Solman JAVA Components Oracle10G Client

Source system preparationsCreating Offline backup of source system preferably a backup on disk Edit the Configuration files of oracle initSID.sap which is located at E:\oracle\SID\102\database

Change the parameter backup_dev_type to disk and backup_root dir to directory where you would like to have your database backup and stage value as well.

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 3

Solution Manager System Copy ABAP+JAVA Windows

Open a command and run the below command for offline backup brbackup -u / -c force -t force m all

Source system exportWhen performing the export you create a MIGRATION EXPORT CD image, which contains the data of the Exported system, and which you use to install of the target system The following steps will be performed Creating the export directory structure with label files and source system information (if required) Creating database structure files (*.STR) for ABAP database objects Updating database statistics (depending on the database platform and the selected dialog option) Size calculation for the target database (*.EXT, DBSIZE.XML) Exporting the ABAP and / or Java database content Archiving the SDM Archiving application specific file system content

Start SAPinst choose the following path, Additional Software Life-Cycle Tasks->system copy Oracle>Source System->Central system->Based on AS ABAP and AS JAVA Database and central instance Export

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 4

Solution Manager System Copy ABAP+JAVA Windows

For parameter mode choose custom

Provide the path of Profile Directory (Source system)

Provide OS user Passwords

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 5

Solution Manager System Copy ABAP+JAVA Windows

Check the box Use database specific tools

Create a directory for the Database export (whatever you like) and provide the path of the directory at this stage SAP system will be stopped

Chose start at the end to proceed the export

Export is in progress

All Phases have been completed

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 6

Solution Manager System Copy ABAP+JAVA Windows

You can see the Export has created the below file structure directory

Generating the Control File Structure Purpose:The OraBRCopy Java tool writes a file CONTROL.SQL to the current working directory this can be used without further adaptations on target system

RecommendationsWe recommend that you shut down the SAP system before you perform the following Steps .The database must still be running Where to find that 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 DVDDIR>:common\install\ora\ORABRCOPY.SAR

Uncar the file ORABRCOPY.SAR using sapcar command Sapcar xvf ORABRCOPY.SAR

When uncared you could see below files with OraBRcopy.pdf

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 7

Solution Manager System Copy ABAP+JAVA Windows

PDF file OraBRCopy.pdf

Starting the OraBRCopy Java ToolOraBRCopy tool need to be executed as OS user with Oracle DBA privileges user Ora or user adm Switch the directory to where ORABRCOPY.SAR is uncared and execute the below command as mentioned in OraBRCopy user Guide

ora_br_copy.bat -generateFiles -forceLogSwitches -targetSid password -listenerPort 1527

After the execution of the command, the tool created the below files

Note if error occurs check the log file /ora.brcopy.log

SAP COMMUNITY NETWORK 2009 SAP AG

SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com 8

Solution Manager System Copy ABAP+JAVA Windows

Preparing the Target System This section describes the actions which have to be taken on the Target System If necessary, make a copy of your profiles, a copy of the environment settings If necessary, make a copy of your profiles, a copy of the environment settings of your sidadm and oracle user and your ORA sqlnet files. Take the backup of config tool so that you can get back the old parameter values later Make sure to copy the backup dump of the source system to target system and can be accessible If an SAP instance is currently installed on the target server then first remove it Clean your target system. Delete your oracle datafiles You must use the same Oracle release and patch level for your database in the source and target Make sure that JDK version same as source system. The JAVA_HOME environment variable must point the JRE directory The source and target systems must run on differe