Dbindependent Method System Copy Unix

Preview:

Citation preview

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 1/26

System Refresh with DB independent Method using sapinst.

Source system – PD1IX100

System – PD1 (ABAP + JAVA)

IP address – 10.0.1.19

Target system – UD1IX100

System – UD1 (ABAP + JAVA)

IP address – 10.0.1.11

Step 1 :

a)  Login to putty as root and start the vncserver.

Hit enter

b)  Login to VNC viewer from the laptop.

Press ok (Make sure the IP address and hostname are mapped in the host file of the local

laptop)

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 2/26

 Password2010 (password for root user)

Click ok

Logged on to the source system for export using sapinst.

Launch sapinst from the below mentioned path.

Press enter

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 3/26

 

Click next

At the unix level create (PD1_export) a folder to hold the backup of 

DB export

Java export

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 4/26

Click next

Keep unchecked as we are db independent method.

Click next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 5/26

Click next

Click ok

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 6/26

Select the target database type “oracle” 

Click next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 7/26

Click next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 8/26

Click next

Select the option skip statistics update

Click next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 9/26

Export is running.

Login as pd1adm as shutdown SAP. (use the stopsap r3 command)

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 10/26

Once SAP is shutdown click ok the below screen.

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 11/26

Export is running.

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 12/26

Export completed successfully.

Once the export is complete we are done with source system and source system SAP application

can be started.

To move the backup /PD1_export to the target.

Various options available.

We will use the mount option.

To mount the backup location below are steps.

Login to putty on PD1 server as root which is PD1IX100 – 10.0.1.19.

Type yast

The following screen will appear.

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 13/26

Press enter

Click next (ALT+N)

The above step will share /PD1_export to be mounted to any server which is in the same

network.

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 14/26

Login to Target – UD1 – UD1IX100 – 10.0.1.11

Login as root

Create an empty folder under “/” with same name (PD1_export) 

Mount the /PD1_export from source to target.

Go to /PD1_export folder on the target and validate the content.

Make sure SAP system is available on target If there is an SAP application uninstall the sap

application using sapinst.

After the uninstall (CI & DB) are deleted and oracle software & client software are intact.

Now you can run sapinst and start the installation on target.

From the below location on UD1IX100 start the sapinst as root.

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 15/26

 

./sapinst

Click next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 16/26

Click next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 17/26

Click next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 18/26

Click next

Master password – password2010

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 19/26

Select the option 1 and click next

click cancel

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 20/26

Click next

J2ee_admin password from source – password2010.

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 21/26

Ddic password from source system – password2010.

Double check on the source ddic & j2ee_admin password on the source system before.

Click next

Validate the input in the final validation screen and click next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 22/26

Click next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 23/26

Click next

The import is running on the target.

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 24/26

Usually if its an ABAP+JAVA system it takes long time to start the java processes so sapinst errors

out.

To fix the error.

Stop the sapisnt for now and restart SAP manually and re-run sapinst.

When the SAP application is stopped

Start SAP application. (startsap all)

Now re-run sapinst again

Login as root and go to the media location for sapinst.

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 25/26

 

./sapinst

Next

7/28/2019 Dbindependent Method System Copy Unix

http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 26/26

Click next ( Make sure to select “Continue with the old option”) 

Recommended