我的網誌清單

20120213

BASIS-EHP 安裝流程

EHP 安裝流程summary

1.Download of the required components:( Ehp installer from Service Marketplace : service.sap.com/swdc—>support packages and patches—>entry by application group—>additional components—>upgrade tools—>SAP EHP installer->SAP EHP installer 7.00)
2. Download the "Jce policy file " ( http://java.sun.com/javase/downloads/index_jdk5.jsp > Other Downloads > Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 5.0.)
3. Make a folder <drive name>/EHPI. All these files will be saved here.
4. Uncar SAPehpi.SAR.
5. Start the SL Controller ( startup "jce_policy_zip=<drive name>:\jce_policy-1_5_0\jce_policy-1_5_0.zip"; )
6. Then execute the exe file for EHPi.
7. Click on Log On.
8. Accept the certificate
9. Login as <sid>adm.
10.The first phase is Initialization
11. Click on Next to reach the completion of this phase.
12.Follow the screen instruction . there is the 2 field 1.keyword and 2. download directory. You can find the keyword from the mention sap note and choose the download directory (e.g : <drive name > EHPI).
13. Click on Continue
14. In next stage, the installer asks to implement the missing SAP notes .Implement the Notes and click on Continue.
15. The installation continue ( message : The EhP Installtion program extracts required software.
16. The end of Extraction phase is reached (message : The operation is successfully completed)
17. The next is the Configuration phase
18. Click on Manual selection of parameters
19. Disable the archive mode
20. Select the first option, disable SGEN
21. Provide the Batch input parameters
22. Click on Continue
23. The is a message " Remote shadow instance " click "NO" (in my scenario) and continue.
24. The patches are determined from the XML file (\\usr\sap\trans\EPS\in) that is generated from SolMan through MOPZ. Copy the same to the trans directory of <sid>
25. See the screen and Match the above patch level from your system..
26. If the patch level is high in system then we need to create the stack file again and remove the component which have higher patch. Uncar the patches and place them in trans directory of <sid>
27. click "Scan EPS-INBOX and upload new package"
28. A single change request is not selected..(in my scenario)
29. " No additional support packages except the ones from the EHP-XML will be include " Confirm and Continue.
30. If are no Modification adjustments, click on None and continue
31 " EHP keyword " Get the keyword from sap note mention there.
32. Provide an Instance Number for the Shadow system
33. The end of the Configuration phase is reached
34. Next is the Checks phase where the free space in the database is determined. If there is inadequate space, then the installer stops.
35. End of the Checks phase
36. Next is the Preprocessing phase. It is the most important step where the DDIC Activation phase is completed
37. Check for any failed updates.
38. Message " The running SAP kernel is newer or the equal version then the kernel in directory \\EHPI\ABAP\exenew The kernel will not be replaced (in my case click continue).
39.The Development environment is now locked
40. The end of the Preprocessing phase is reached. This takes about 5-6 hours.(in my case)
41. make sure that all the users have logged out. Re-schedule all the jobs. Go to SM37
42. Client 000 Released -> Scheduled
43.Message " When you choose NEXT ,the installation program starts roadmap step Downtime."
44. "Next"
45. The Downtime begins.
46. installer again prompts for a backup to be taken.
47. Message "when you choose NEXT the installation program starts roadmap step POSTPROCESSING"
48. next is Postprocessing.
49. Execute the report BTCTRNS2 and Continue
50 " The EHP installation program creates the installation evaluation, saves the log files, and prompt you to start certain post-installation: choose "continue"
51. start " SGEN "
52. Phase : Updates database table stastics
53. run SPAU
54. Phase : Remove inconsistencies
55. "Your Installation is complete"
56. " When you choose NEXT ,the installation program starts roadmap step finalization
57. "The EhP Installation has finished . Press ok to exit.

clip_image002[4]

 

clip_image004[4]

要先sap 去下載EHP的安裝程式,叫EHPi,然后解壓

clip_image006[4]

Root 下指令xhost+

<SID>adm下指令setenv DISPLAY :1.0

clip_image008[4]

 

clip_image010[4]

設定帳號密碼,若安裝到一半有異常,重起安裝程式時,會需要此組帳密

若此組帳密遺失了,只能歌掉EHPi解壓后的整個目錄,再重新解壓一次

clip_image012[4]

 

clip_image014[4]

 

clip_image016[4]

 

clip_image018[4]

06071992/ejkvs7ai

在安裝過程中若有發生KX_CPYORG類的錯誤,請檢查log中有哪些檔案有missing,然后再去確認/usr/sap/QAS/DVEBMGS10/exe及/usr/sap/QAS/SYS/exe/run及/<安裝路徑>/EHPI/abap/exe 這三個path 下都要有那些檔案

clip_image020[4]

有可能每次裝都會不同,請留意

1125660

1256384

1321756

1113868

1263115

1247451

1390993

1399760

1354957

1224011

1466928

1476315

1462364

1614802

1488040

1051053

1160950

1250481

1158660

clip_image022[4]

 

clip_image024[4]

 

clip_image026[4]

 

clip_image028[4]

 

clip_image030[4]

 

clip_image032[4]

 

clip_image034[4]

 

clip_image036[4]

 

clip_image038[4]

這個step 可以skip掉

clip_image040[4]

會要指定stack.xml 路徑

clip_image042[4]

 

clip_image044[4]

 

clip_image046[4]

若有遇到這個狀況,就需要到marketplace去下載檔案,並解壓及上傳到EPS/in 下

要查少哪些檔案可以用畫面上的component去前面step中指定的xml file中search並比對下載路徑中的檔案,確認出少哪個檔案再去下載

clip_image048[4]

 

clip_image050[4]

 

clip_image052[4]clip_image054[4]

 

clip_image056[4]

Cr可放空白

clip_image058[4]

 

clip_image060[4]

 

clip_image062[4]

 

clip_image064[4]

 

clip_image066[4]

這一段要cretae tbs, 語法系統會提示,請用ora<sid>登入os后操作,會需要一段時間

clip_image068[4]

要備份/usr/sap/<SID>/DVEBMGS10/exe

clip_image070[4]

 

clip_image072[4]

若有沒有被RELEASE的CR要RELEASE掉或是刪掉,以免有LOCK OBJECT的狀況,且processing這個phase會做很久

clip_image074[4]

 

clip_image076[4]

若這台機器上有多個系統,有可能出現如左問題,資源耗盡,導致oracle 開不起來,此時只需要將沒有用到的系統關一關即可,然后再重新執行一次即可

clip_image078[4]

在這個phase 會run很久(十多個小時甚至更長,這是正常的),主要是在這個phase要做出和正常系統一樣的shadow system

Act_upg這個step會跑到8小時甚至以上,此時log 可以改看/<安裝路徑>/abap/tmp下的log,以確認是否有在執行

Shadow_import_inc也是會跑很久約10小時,其log可以看/<安裝路徑>/abap/log下的log,以確認是否有在執行

clip_image080[4]

 

clip_image082[4]

 

clip_image084[4]

系統要求要備份一次

含備份EHPI

clip_image086[4]

 

clip_image088[4]

 

clip_image090[4]

若有遇到無法砍掉的file用如下指令做

fuser -fku /usr/sap/QAS/DVEBMGS10/exe/sapstartsrv@120104

clip_image092[4]

若在MAIN_NEWBAS/XPRAS_UPG,有出現RDDEXECL 的job error,則用DDIC 登入CLIENT 000(此時在昇級中也只能用DDIC登入CLIENT 000),用tx:se18 輸入/SAPCND/ENGINE_TYPE 重新ACTIVE一次,再REPEAT這個PHASE即可

clip_image094[4]

 

clip_image096[4]

 

clip_image098[4]

 

clip_image100[4]

 

clip_image102[4]

若這個STEP 有ERROR 可以不理

clip_image104[4]

clip_image106[4]

clip_image108[4]

 

clip_image110[4]

 

clip_image112[4]

 

clip_image114[4]

clip_image116[4]

終於做完了

clip_image118[4]

做完后建議執行report RUTMSJOB

clip_image120[4]

一定要調到沒有error才行,若此部份有error可以發oss

 

后續工作

做完ehp的昇級后,需要重加入你自己addon的menu到s000中,且某些ehpi預設的動作可能會改到系統原本的預設值,需要留意

沒有留言:

張貼留言