System Refresh - Cookbook
System Refresh - Cookbook
QA Downtime
Perform System Refresh:
1. Login with admin user.
2. Go to <INST_DIR>\SWPM22 E:\install\SystemCopy\SWPM22
3. Run sapinst.exe as administrator.
4. Login with admin user and <master password>
5. Choose SAP S/4HANA 1709 – SAP S/4HANA Server – SAP HANA Database – System Copy
– Target System – Standard System – Based on AS ABAP – Refresh or Move Database
Instance.
6. Click Next.
7. In Parameter Settings, Choose Custom and click Next.
8. In Profile Directory, \\<ci_hostname>\sapmnt\<SID>\SYS\profile
9. Click Next.
10. In Master Password, type <master password> and click Next.
11. In Password for <sid>adm, type <master password>
12. In Password for SAPService<SID>, type <master password>
13. In SAP System Database, choose Homogeneous System Copy and click Next.
14. In Instance Number of the SAP HANA Database, type <HANA_Instance_number>
15. Go to HANA Studio.
16. For SYSTEMDB and <SID>: ))אין צורך
a. Open SQL Console for SystemDB and tenant
b. Alter user system activate user now;
17. Click Next.
18. In Password of SAP HANA Database Superuser, type <master password> and Click Next.
19. In Database System Administrator Password, type <master password> and Click Next.
20. In User SYSTEM, type <master password>
21. Click Next.
22. In Software Package Manager, choose <INST_DIR>\Upgrade and click Next – Next.
23. In Prerequisites Checker Results, Click Next – No.
24. In SAP HANA Multitenant Database Container, Click Next.
25. In Database Schema, Click Next.
26. In Database <sid>adm, type <sid>adm
27. In Database Password, type <master password>
28. Click Next.
29. In Database Recovery:
30. For SYSTEMDB and <SID> in PROD: אין צורך
a. Open SQL Console for SystemDB and tenant
b. Alter user system activate user now;
31. Backup PROD tenant.
32. Copy backup to /usr/sap/<SID>/HDB*/backup/data/DB_<SID>
33. chmod 777 /usr/sap/<SID>/HDB*/backup/data/DB_<SID>/*
34. in Backup Location, type /usr/sap/<SID>/HDB01/backup/data/DB_<SID>
35. In Backup Name, type <BACKUP_PREFIX>
36. Click Next.
37. In Action Before SAP System Start, mark Interrupt before Starting the SAP System and
Click Next.
38. In Password of DDIC user in client 000, type <master password>
39. Click Next.
40. Unmark Install SAP liveCache for SAP HANA and Click Next.
41. Stop SAP.
42. Stop PO.
43. Stop Gateway.
44. In Parameter Summary, Click Next.
45. In Message, change instance profile parameter rdisp/wp_run_btc to 0
46. Click OK
47. In Information, click OK.
48. Click Exit.
Install License:
1. Install License.
Generate System PSE:
1. Go to STRUST.
2. Click Change.
3. Right-click on System PSE – Replace.
4. Click Continue.
5. Click Save.
Define FM RFCs:
1. Go to SM59.
2. Delete FINBTR@HUPCLNT4[1-6]0
3. Delete MDGTR@HUP CLNT4[1-6]0
Client Copy:
1. For each client: 300 330 600
a. Go to SCC4.
b. Click Change – New Entries.
c. In Client, type <target_client_no>
d. In City, type Jerusalem.
e. In Client Role, type <client_role>
f. In Logical System, choose <SID>CLNT<Client_no>
g. Close client for changes.
h. Click Save.
i. Login to new client with user SAP* and password pass
j. Go to SCCL.
k. In Selected Profile, choose SAP_ALL
l. In Source Client and Source Client for users, choose <source client>
m. Click Start Immediately.
n. Click Wizard.
o. Click Continue.
p. In Password, type <master password>
q. Click Continue.
r. Click Complete.
s. Go to SM59.
t. Copy FINBTR@HUPCLNT000 to FINBTR@HUQCLNT000
u. Delete FINBTR@HUPCLNT000
v. Copy MDGTR@HUPCLNT400 to MDGTR@HUQCLNT400
w. Delete MDGTR@HUPCLNT400
x. Go to FINB_TR_DEST
y. Change <OLD_SID> to <NEW_SID>
z. Delete all other client’s records.
aa. Go to MDG_TR_DEST
bb. Change <OLD_SID> to <NEW_SID>
cc. Delete all other client’s records.
dd. Check users for RFCs MDGTR@HUPCLNT400 and FINBTR@HUQCLNT400
ee. Click Start Immediately.
ff. After client copies:
i. Go to SM59.
ii. Copy FINBTR@HUQCLNT400 to all clients and test authorization.
iii. Copy MDGTR@HUQCLNT400 to all clients and test authorization.
gg. Go to FINB_TR_DEST
hh. Create records for all clients.
ii. Go to MDG_TR_DEST
jj. Create records for all clients.
kk.
BW Post:
1. Go to BDLS
2. Change logical system HUQCLNT400 to HUQCLNT330.
3. Change logical system HUPCLNTBW to HUQCLNTBW.
4. Change logical system HUPCLNTCDS to HUQCLNTCDS.
Preparations for BW:
1. Go to SE37
2. Execute RS_MANDT_UNIQUE_SET
3. Type client 330
4. Execute.
5. Go to SM59
6. Copy HUPCLNT400 to HUQCLNT330
7. Copy HUPCLNTBW to HUQCLNTBW
8. Copy HUPCLNTCDS to HUQCLNTCDS
9. Change client in HUPCLNTBW, HUQCLNTBW, HUPCLNTCDS, HUQCLNTCDS
10. Go to RSA1
11. Click Check.
Setup Mail:
1. Go to SCOT.
2. Click on Internet.
3. Delete * in address area.
4. Add [email protected], *@savion.huji.ac.il, [email protected], uzi.zangi@ness-
tech.co.il, [email protected], [email protected], tal.nagar@ness-
tech.co.il, [email protected], [email protected]
5. Click Settings.
6. In Default Domain, type HUQ790.CC.HUJI.AC.IL
7. Click EMAIL.
8. Click Change.
9. Change description.
10. Go to send job.
11. Schedule job for INT.
Schedule DB Jobs:
1. Go to DB13.
2. Schedule databackup at 02:00
3. Schedule check at 03:00