empowering solution - waddaya solutions pvt...

20
Empowering Solution Title System Copy Version 1.0 Author Kapil Bhati Date 01.01.2014

Upload: others

Post on 24-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

Empowering Solution

Title System Copy

Version 1.0

Author Kapil Bhati

Date 01.01.2014

Page 2: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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

Page 3: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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

Page 4: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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.

Page 5: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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.

Page 6: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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.

Page 7: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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".

Page 8: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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.

Page 9: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

System Copy BASIS Service

W

AD

DA

YA

S

OL

UT

IO

NS

P

ag

e

No

9

Page 10: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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.

Page 11: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

System Copy BASIS Service

W

AD

DA

YA

S

OL

UT

IO

NS

P

ag

e

No

1

1

Page 12: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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)

Page 13: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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

Page 14: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

System Copy BASIS Service

W

AD

DA

YA

S

OL

UT

IO

NS

P

ag

e

No

1

4

Run sapinst:

Page 15: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

System Copy BASIS Service

W

AD

DA

YA

S

OL

UT

IO

NS

P

ag

e

No

1

5

Click Next

Page 16: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

System Copy BASIS Service

W

AD

DA

YA

S

OL

UT

IO

NS

P

ag

e

No

1

6

Page 17: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

System Copy BASIS Service

W

AD

DA

YA

S

OL

UT

IO

NS

P

ag

e

No

1

7

Page 18: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

System Copy BASIS Service

W

AD

DA

YA

S

OL

UT

IO

NS

P

ag

e

No

1

8

Page 19: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

System Copy BASIS Service

W

AD

DA

YA

S

OL

UT

IO

NS

P

ag

e

No

1

9

Page 20: Empowering Solution - Waddaya Solutions Pvt Ltdwaddaya.com/blog/wp-content/uploads/2014/04/System-Copy.pdf · c) SAP dump (including java) d) ddic password 3 Solutions: a) Install

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