Skip to Content
Author's profile photo Former Member

Hardware Migration of SAP Server


Target System and Source System have

OS : Windows

DB : Oracle


Hardware Migration of SAP Server

  • 1. Install the same OS with Service Packs and Hot Fixes as the Source System.
  • 2. Install Java and Set environment variable .JAVA_HOME
  • 3. Set SAPTRANSHOST in c:\Windows\system32\drivers\etc\hosts
  • 4. Install Oracle
  • 5. Patch Oracle
  • 6. Copy Extracted Export
  • 7. Run SAP Installation with (System Copy –>Target System Installation).
  • 8. Copy the Database Backup
  • 9. Restore the BACKUP (EITHER Manually or from BRTools)
  • 10. Copy the Source System Control File & Mirror Log on Target System
  • 11. Start Database.
  • 12. Recover Database.
  • 13. Copy New Kernel.
  • 14. Check Schema.
  • 15. Set OPS$ Users with Script .
  • 16. Set Environment Variables of oracle.
  • 17. Start the Application Server.
  • 18. Copy Trans from Source System.
  • 19. Delete TMS Configuration from All SAP Systems.
  • 20. Setup TMS.
  • 21. Check TMS with Test Transport.
  • Prerequisites

  • SAP Installation Media.
  • JAVA Runtime Environment.
  • System Export.
  • Database Backup, Control File & Online / Offline Redo Logs.
  • OPS$ User creation Script.
  • Source System Kernel.
  • /Oracle & /trans Directory
  • 1. Install Java and Set environment variable .JAVA_HOME
  • Install Java on C:\ Drive

    Right Click My Computer –> Properties –> Advanced –> Environment Variables –> System Variables



    in c:\Windows\system32\drivers\etc\hosts


    3. Install Oracle on the Same Drive as in the source system.

    4. Patch Oracle.

    5. Copy Extracted Export

    6. Run SAP Installation master (SAP ERP –>Software life Cycle Options –> System Copy  –>Target System Installation).

    7. Copy the Database Backup

    8. Restore the BACKUP (EITHER Manually or from BRTools)

    Login with SIDADM

    BRtool Command from command prompt brrestore –b Filename –m full

    9. Copy the backup file in /oracle/SID/Sapbackup.

    Copy the source system control file,Orig Log & Mirror Log file.



    NOTE: Control File is mirrored on several locations please copy the control file to all locations.

    10. Start Database

    Login with SIDADM –> cmd –> sqlplus –> / as sysdba –> startup

    After successfull startup

    11. Recover database

    SQL>recover database;

    For Recovery Offline Redo logs must be copied to oraarch folder

    12. Copy New Kernel

    Copy new kernel from Source System to Target System


    13. Check Schema & OPS Users

    SQL>alter database open;

    SQL> Select username,account_status from dba_users;



    14. Set OPS Users with Script

    Run –> sqlplus /nolog @oradbusr.sql SCHEMAOWNER NT COMPUTER|DOMAIN SAP_SID

    sqlplus /nolog @oradbusr.sql SAPPRD NT ASCEN1 SAP_PRD; 

    Unlock ifuser is Locked

    Run –> ALTER USER username ACCOUNT UNLOCK;

    15. Set environment variables

    Dbs_ora_schema = Schema Name

    16. Start  Application Server

    17. Add SAP License

    18. Maintain Profile Parameters.

    Copy Trans Folder for transport requests

    Switch online redo log to offline redo log.

    Alter system switch logfile;

    Copy the Recent control File;

    Recover databse;

    Assigned Tags

        You must be Logged on to comment or reply to a post.
        Author's profile photo Satyabrata Sahoo
        Satyabrata Sahoo

        Good article. Explained clearly. thanks for sharing.

        Author's profile photo Former Member
        Former Member

        Very gud  doc............thanx