SAP OS & DB Migration AIX-DB2 To Windows-SQL Server Step-By-step

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 15

Contents

1. PURPOSE................................................................................................................................................. 3
2. SYSTEM DESCRIPTION................................................................................................................................ 3
3. PREREQUISITES........................................................................................................................................ 3
3.1 FILE SYSTEM............................................................................................................................................. 3
3.2 ACCOUNTS........................................................................................................................................ 3
3.3 SAP KERNEL, SUPPORT PACKAGES, OTHER SAP OBJECTS................................... 3
3.4 SAP NOTES............................................................................................................................... 4
3.5 INSTALLATION/UPGRADE MANUAL(S)......................................................... 4
4. INSTALLATION/ACTIVITY STEPS.................................................................................................. 4
4.1 PREPARTION................................................................................................................ 4
4.2 SOURCE SYSTEM EXPORT.......................................................................................... 6
4.3 TARGET SYSTEM IMPORT........................................................................................................... 13
5. POST INSTALLATION.......................................................................................... 17
6. APPENDIX/ABBREVIATION........................................................................................................ 19

1. Purpose

SAP system migration from AIX-DB2 environment to Windows-SQL environment. This document contains detailed steps to
complete this activity using SAPs conventional method.

2. System Description

SID AIO
Hostname Sap-solman
SAP Version SAP solution manager with EHP1
SAP Product SAP Solution Manager
OS (Including Version) AIX 6.1
DB (Including Version) DB2
Target OS Windows Server 2008
Target DB Microsoft SQL server 2008 R2

3. Prerequisites

3.1 File System

File system Size


/backup/AIO_MIG_Export (Source System) 15G
C:/AIO_MIG_Export (Target System) 15G
C: (Installation Drive) 250G

3.2 Accounts

OS Admin User (Source System) Root, AIOadm, db2AIO


OS Admin User (Target System) Administrator, AIOadm, SAPServiceAIO
SAP User DDIC, SAP* (000)
Database User
3.3 SAP Kernel, Support Packages, other SAP Objects

List of Kernel/Support Package files Present (Y/N)


/sapcd/nw2004s/(Installation Master) Source system Y
C:SAP_CDsD51036888_Installation_Master_SR1 (Target system) Y
C:SAP_CDsD51036767_SAP__EhP1_for_NW1_SR1_Kernel701 (Target System) Y
SAPEXEDB_94-10005995.SAR (new Kernel Target System) Y
SAPEXE_94-10005992.SAR (New Kernel Target System) Y
SAP_CRYPTOGRAPHIC.SAR (Target System) Y

3.4 SAP Notes

317096 Migration Key Generation for ABAP systems


82478 SAP system OS-DB Migration
970518 Hom./Het. System copy SAP Netweaver 7.0

3.5 Installation/Upgrade Manual(s)

SAP heterogeneous system copy guide Netweaver with EHP1

4. Installation/Activity steps

4.1 Preparation
S. Activity Screenshot
No. Description

1 Create Export
directory
User AIOadm
=> cd /backup
=> mkdir
AIO_MIG_Export

2 Make sure that


tables TATGPC
and TATGPCA
are empty.
3 Run report -
SMIGR_CREATE_DDL
4 Generate
Solutioin
manager Key

4.2 Source System Export


S Activity Screenshot
. Description
N
o
.
1 Start sapinst
User root
=> setenv
DISPLAY
=> setenv
JAVA_HOME
/usr/java14_64
=>
./sapcd/solman
/instmast/IM_
AIX_PPC64/s
apinst
2 Provide Inputs
as shown in
the
screenshots

=> profile
directory =
/usr/sap/AIO/S
YS/profile

=> DB SID =
AIO

=> Confirm
database user

=>OS
password for
AIOadm

=> OS
password for
db2AIO

=> DB
password for
schema user
sapAIO

=> Export
location

=> Target DB
= MS SQL
server

=> Verify
parameters
and click next
to start the
export
preparation.
=> Confirm
the export
preparation
completion.

=> choose
Database
Instance
Export
=> profile
directory -
/usr/sap/AIO/S
YS/profile

=> DB SID
AIO

DB user
sapAIO
(Confirmation
)

=> OS
password for
AIOadm

=> OS
password
db2AIO

=> schema
user sapAIO
password

=> Copy file


generated after
running the
report in
preparation
section and
confirm the
pop-up
=> Target DB
type MS
SQL server

=> export files


splitting
parameters
(No file bigger
than 2GB)

=> Target OS
endianness
Little
Endian
(windows
x86) and
parallel job
options 6 in
our case.
3 Verify
parameters
and Confirm
Execution by
pressing Next

4 Verify export
file and its
size and
confirm the
execution of
operation.

4.3 Target System Import


S. Activity Description Screenshot
No
.
1 FTP Export directory to target system
Using FTP software e.g. Filezila or
commandline FTP.
2 Set environment variables and Start
sapinst
User administrator

3 Provide Inputs as shown in the


screenshots

=> Choose parameter mode Typical


(minimal inputs)

=> Provide JRE directory path


C:program files (x86)jre

=> Provide SAP system ID and


Installation Drive AIO, C: and
Unicode system
=> Provide Master password
Welcome

=> OS user AIOadms password same


as master password.

=> OS user SAPServiceAIOs password


same as master password

=> Database Installation method


Standard System copy

=> Database SID AIO

=> Click cancel to skip repeating the


checks and move ahead

=> Provide Migration CD location


C:SAP_CDsAIO_MIG_Export

=> Provide Source system DDIC/000


password same as master password
=> Provide Kernel CD path
C:SAP_CDsD51036767_SAP__Ehp1_
......

=> Provide SAP Cryptographic SAR


location

4 Confirm Execution by pressing Start

Provide Solution manager key


generated in Prerequisites.
Provide Generic Migration Key from
SAP Note - 970518
5 Confirm the successful execution of
operation by clicking OK

5. Post Installation

S. Activity Description Screenshot


No.
1 Run Installation check
SICK

2 Upgrade Kernel to
Latest version
Extract SAPEXE_94-
10005992.SAR and
SAPEXEDB_94-
10005995.SAR
3 Run SGEN

4 Stop all the existing


jobs run BTCTNS1

5 Reschedule Mandatory
Jobs SM36 ->
Standard Jobs Default
Scheduling
6
6. Appendix/Abbreviation

You might also like