empowering solution - waddaya solutions pvt...
TRANSCRIPT
Empowering Solution
Title System Copy
Version 1.0
Author Kapil Bhati
Date 01.01.2014
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
2
Table of Contents
1 Symptoms .......................................................................................................................... 3
2 Prerequisites ...................................................................................................................... 3
3 Solutions ............................................................................................................................ 3
4 References ........................................................................................................................20
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
3
1 Symptoms: 1 At several stages in the lifecycle of your SAP solution, you will face the requirement to perform
a system copy or a migration. For example, SAP recommends that you perform a system copy to create test, demo and training systems. Also, if you need to change your operating system and/or database, you have to perform a migration of your SAP system.
2 Up until NetWeaver 04 (SAP Web Application Server 6.40), it was only possible for you to
perform a system copy for an ABAP system.
3 As of NetWeaver 04 SR1 (SAP Web Application Server 6.40 SR1), you also have the option of
performing a system copy for a Java add-in of an ABAP system, as well as for a Java standalone system.
4 As of NetWeaver 7.0, you can copy a mixed ABAP Stack and Java Stack system in a single
operation, not just standalone ABAP or Java systems.
5 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.
6 You perform a homogeneous system copy if your target system is on the same operating
system and database system as your source system. The database contents are copied from the source system to the target system.
7 You perform a heterogeneous system copy if you want to change the operating system or
database system. Migration is another term for a heterogeneous system copy.
2 Prerequisites:
a) Database backup
b) Database dump
c) SAP dump (including java)
d) ddic password
3 Solutions:
a) Install Database
b) Restore Database
c) Change database setting
d) Install java
e) Set environment variable
f) Set virtual memory
g) Host file entry
h) Run sapinst
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
4
Install Database: Run SQL Script SQL4SAP from command prompt and install db.
Restore Database: Open Management Studio.
Right Click on Database and select Restore Database.
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
5
Give Database name and select backup from device. then select Options.
Give path name where data files have to be stored under Restore As.
As restore completes, a prompt will appear with success message.
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
6
Change database setting: Now we will proceed for changing database default setting. Right click as per screen shot.
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
7
Change Server authentication to SQL Server and Windows Authentication mode.
Enable Database User "sa".
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
8
Restart database.
Install Java:
We will install java as per screen shots.
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
9
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
0
Set Environment Variable: We will set environment variable JAVA_HOME with the path vale where java is installed.
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
1
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
2
Set Virtual Memory:
Set Initial Size=23000 (MB) & Maximum size= 46000 (MB)
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
3
Host File Entry:
IP address hostname
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
4
Run sapinst:
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
5
Click Next
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
6
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
7
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
8
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
1
9
System Copy BASIS Service
W
AD
DA
YA
S
OL
UT
IO
NS
P
ag
e
No
2
0
System Copy Completes.
References: [1] SAP AG “System Copy”, http://help.sap.com