dbindependent method system copy unix
TRANSCRIPT
![Page 1: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/1.jpg)
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)
![Page 2: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/2.jpg)
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
![Page 3: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/3.jpg)
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
![Page 4: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/4.jpg)
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
![Page 5: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/5.jpg)
7/28/2019 Dbindependent Method System Copy Unix
http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 5/26
Click next
Click ok
![Page 6: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/6.jpg)
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
![Page 7: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/7.jpg)
7/28/2019 Dbindependent Method System Copy Unix
http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 7/26
Click next
![Page 8: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/8.jpg)
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
![Page 9: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/9.jpg)
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)
![Page 10: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/10.jpg)
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.
![Page 11: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/11.jpg)
7/28/2019 Dbindependent Method System Copy Unix
http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 11/26
Export is running.
![Page 12: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/12.jpg)
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.
![Page 13: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/13.jpg)
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.
![Page 14: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/14.jpg)
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.
![Page 15: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/15.jpg)
7/28/2019 Dbindependent Method System Copy Unix
http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 15/26
./sapinst
Click next
![Page 16: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/16.jpg)
7/28/2019 Dbindependent Method System Copy Unix
http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 16/26
Click next
![Page 17: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/17.jpg)
7/28/2019 Dbindependent Method System Copy Unix
http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 17/26
Click next
![Page 18: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/18.jpg)
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
![Page 19: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/19.jpg)
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
![Page 20: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/20.jpg)
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.
![Page 21: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/21.jpg)
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
![Page 22: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/22.jpg)
7/28/2019 Dbindependent Method System Copy Unix
http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 22/26
Click next
![Page 23: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/23.jpg)
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.
![Page 24: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/24.jpg)
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.
![Page 25: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/25.jpg)
7/28/2019 Dbindependent Method System Copy Unix
http://slidepdf.com/reader/full/dbindependent-method-system-copy-unix 25/26
./sapinst
Next
![Page 26: Dbindependent Method System Copy Unix](https://reader035.vdocuments.us/reader035/viewer/2022062413/577cdc9a1a28ab9e78aaea17/html5/thumbnails/26.jpg)
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”)