Upgrade SAP 4.0B

Home
Up

 

Requirement:

  1. Directory /usr/sap/put must have 610 MB.
  2. Oracle = 7.7 GB extended.

Result of prepare can be seen in directory /usr/sap/put/log/CHECKS.LOG

If /usr/sap/put not exist, create with user root and the owner : <sapsid>adm

cd /usr/sap/put

ls –ld *

rm –rf *

Insert CD Sap Kernel

  1. su – hrxadm
  2. cd /usr/sap/put
  3. /sapcd/UNIX/PREPARE
  4. choose SERVER
  5. Starting Upgrade Assistant Server.
    1. run as root
    2. edit file .cshrc with following :

    set path=($path /usr/bin)
    setenv CLASSPATH /usr/lib/class.zip:/usr/sap/put/ua/ua.zip

  6. Start Upgrade Assistant Server with :
  7. java UaServer

  8. Starting R/3 Upgrade Assistant GUI
    1. Open new window
    2. Run as root
    3. setenv DISPLAY <hostname>:0.0
    4. java UaGui
  9. Starting GUI on windows Hosts
    1. Open Internet Explorer
    2. http://<hostname>:4239/ua/UaGui.html
    3. login as administrator password admin
    4. or login as observer password observer

Pre-Check

  1. Check parameter in DEFAULT.PFL in /usr/sap/<SID>/SYS/profile :
  2. Send on, exeauto (several R/3 instances are installed for this R/3 system.

    Send off, exeauto (one instance is installed for this R/3 system)

  3. Ensure parameter rdisp/bufrefmode is not set in instance profile.
  4. Create 4 tablespaces for repository switch in different disk.
  5. PSAPES40BD, PSAPES40BI, PSAPEL40BD, PSAPEL40BI.

  6. Check RDDIMPDP in SAP whether it is running or not, if not run RDDNEWPP in transaction /nse38.
  7. Check list in CHECKS.LOG, find out the transports that are not release right now.
    1. Logon onto R/3.
    2. /nse01 and choose find.
    3. Enter REPA in field Type.
    4. Execute.
    5. Repair à release repair.
    6. Edit à Confirm repair.
    7. If cannot logon using particular user ID à Edit à change owner.
  8. Check :
    1. select * from dba_sys_privs where grantee = ‘SAPR3’;

    and the result should contain :
    grantee = ‘SAPR3’, privilege = ‘UNLIMITED TABLESPACE’, adm = ‘yes’
    grantee = ‘SAPR3’, privilege = ‘UNLIMITED TABLESPACE’, adm = ‘no’
    if not contain :
    grant unlimited tablespace to sapr3;

  9. Make sure :
  10. TABLE                          MAX EXTENTS         NEXT EXTENTS
    TERCL                          200                               500KB
    <index on TERCL>       200                              500KB
    TERCL3                         200                              500KB
    <index on TERCL3>      200                              500KB

    add using :

    1. sapdba
    2. d. Reorg
    3. b. alter/show table or index storage parameter
    4. b. table/index
    5. enter TERCL%
  11. Logon to client 000 as DDIC, password 19920706
  12. Delete unnecessary client.
  13. Setting the op mod for upgrade.
  14. Check using transaction /nrz04, including the op mod DUMMY.

    1. Start /nrz04
    2. Select op mode à Create
    3. Enter name for op mode, eg: upgrade.
    4. Instance required for upgrade has been start up.
    5. Position the cursor on new op mode and choose op mode à maintain instances à instance/op modes. Select Settings à Based on act.status à New Instances à Create and select save.
    6. Enter created op mode as active op mode for 24 hours with transaction /nsm63.

Start Upgrade

Requirements :

  1. R/3 Upgrade assistant must be active.
  2. Prepare modules à finished successfully.
  3. No file may have been deleted in directory /usr/sap/put.
  4. Preparation not supported by prepared have been executed.

Calling

  1. Start GUI of R/3 upgrade assistant
  2. Choose administrator à start R/3 up.

Upgrade log in /usr/sap/put/log.

Phase INIT PUT

One entries was incorect à correct with command : R3up set stdpar

To connect entry of passwor of user DDIC à R3up set DDIC pwd

Using GUI :

  1. Main menu choose à Admin à Start R3up with option.
  2. Enter option set stdpar or set DDIC pwd.

Phase DBCHK

Check /usr/sap/put/log/SLOG40B. (error message because there is not transport system).

Run /nse06 à choose new installation à select correct system configuration, choose create button.

Step :

  1. Administrator à connect to R3up.
  2. Figure 1.1. R/3 Upgrade Assistant

  3. Enter system ID : HRX.
  4. Select Database : Oracle.
  5. R/3 Upgrade control program : cont <enter>.
  6. Figure 1.2. R/3 Upgrade Control Program

  7. Help language : E.
  8. Select, ok.
  9. Figure 1.3. Selecting Prepare Modules

  10. Check all and ok.
  11. Figure 1.4. Select the Prepare Modules

  12. cp /usr/sap/put/log/CHECKS.LOG à/usr/sap/put/log/CHECKS.SAV
  13. Figure 1.5. Log Result and Warning

    Execute and click OK.

  14. Confirm R/3 system : HRX.
  15. Confirm instance number : 01.
  16. Sapsystem Host = academic.
  17. Startsap path = /usr/users/hrxadm.
  18. Kernel path = /usr/sap/HRX/SYS/exe/run.
  19. Database ID = HRX.
  20. System Password = manager.
  21. Database Host = academic.
  22. CD mount point 1 = /sapcd.
  23. CD mount point 2 = STOP.
  24. R3 Trans Processes = 3.
  25. Help Language = E.
  26. R/3 Start profile = START_DVEBMGS01_academic.
  27. Instance profile = /usr/sap/HRX/SYS/profile/HRX_DVEBMGS01_academic.
  28. Default profile = /usr/sap/HRX/SYS/profile/DEFAULT.PFL.
  29. Enter DDIC password in client 000.
  30. Verify password.
  31. Batch host = academic.
  32. Maximum SYNC TIME = 60.
  33. Figure 1.6. Maximum SYNC Time

  34. Local syslog path = /usr/sap/HRX/DVEBMGS01/log
  35. Central syslog path = /usr/sap/HRX/SYS/global
  36. EPS Inbox = /usr/sap/trans/EPS/in
  37. Error because HRX system are not defined yet. Use transaction /nse06.
  38. Figure 1.7. Error Unable to Read from Database

  39. Error because of:
  40. Figure 1.8. Environment Variables not Set

    su - hrxadm
    vi .dbenv_academic.csh
    add :
        setenv ORA_NLS33 /oracle/HRX/ocommon/nls/admin/data
    su – hrxadm
    vi .dbenv_academic.csh
    add :
        setenv ORACLE_HOME /oracle/HRX
        setenv ORA_NLS /oracle/HRX/ocommon/nls/admin/data
        setenv ORA_NLS32 /oracle/HRX/ocommon/nls/admin/data
        setenv ORA_NLS33 /oracle/HRX/ocommon/nls/admin/data

  41. Error :
  42. Figure 1.9. Error from Prepare Phase

    Extent tablespace PSAPDDICD by 142 MB.
    Extent tablespace PSAPDDICI by 132 MB.
    use sapdba and alter datafile.

  43. Insert CD Report Load.
  44. Insert CD Language disk.
  45. R/3 add-on, select nothing else.
  46. Figure 1.10. R/3 Add-on

  47. Patch, select no & continue
  48. Figure 1.11. Bind Pathes

    Figure 1.12. Maintaining Modification

    Select No.

  49. Prepare finished with status succeeded and failed, check at log : CHECKS.LOG.
  50. Figure 1.13. Status of Prepare Phase

  51. Example of CHECKS.LOG
  52. Figure 1.14. Example of CHECKS.LOG

     Action :

    1. Change permission for saposcol.
    2. chmod 777 saposcol.
      chown hrxadm saposcol.

    3. Add datafile and create new tablespaces according to CHECKS.LOG.
    4. Repeat the PREPARE phase.
  53. Prepare phase finished and choose continue.
  54. Figure 1.15. Prepare Phase Finished

  55. Check /usr/sap/put/CHECKS.LOG
  56. Figure 1.16. CHECKS.LOG

  57. Check PREPARE’s status by selecting status in this following screen :
  58. Figure 1.17. Check Prepare's Status

  59. Look at the result :
  60. Figure 1.18. Result

If all phases are completed successfully then finished the prepare phase.

Begin Upgrade

R/3 upgrade assistant, select Administrator à Start R/3 up.

  1. Confirm name of R/3 system = HRX.
  2. Instance Number = 01.
  3. SAP System host = academic.
  4. Startsap path = /usr/user/hrxadm.
  5. Kernel path = /usr/sap/HRX/SYS/exe/run.
  6. Database ID = HRX.
  7. System password = manager.
  8. Database Host = academic.
  9. Mount CD point = /sapcd.
  10. R3 Trans processes = 3
  11. Help Language = E
  12. R/3 start profile = START_DVEBMGS01_academic
  13. Instance profile = /usr/sap/HRX/SYS/profile/HRX_DVEBMGS01_academic.
  14. Default profile = /usr/sap/HRX/SYS/profile/DEFAULT.PFL.
  15. DDIC password client 000 : 19920706.
  16. Batch Host = academic.
  17. Maximum SYNC TIME = 60.
  18. Local SYSLOG PATH = /usr/sap/HRX/DVEBMGS01/log
  19. CENTRAL SYSLOG PATH = /usr/sap/HRX/SYS/global.
  20. EPS INBOX = /usr/sap/trans/EPS/in.
  21. Look at the following screen, the R3up keyword is 90511. (notes 91709).
  22. Figure 2.1. R3up Keyword

  23. Select A_off for upgrade strategy.
  24. Figure 2.2. Upgrade Strategy

  25. Define the upgrade stop : select do not stop.
  26. Figure 2.3. Define Stop Strategy

  27. Select machine types.
  28. Figure 2.4. Machine Type

  29. Enter number of batch processes during the upgrade.
  30. Figure 2.5. Number of Process During Upgrade

  31. Enter CD Report Load.
  32. Confirmation the usage of A_off strategy, choose continue.
  33. Figure 2.6. Confirmation of A_off Usage Strategy

  34. Archive Log disabled, select yes.
  35. Figure 2.7. Archive Log Disable

  36. Insert CD Upgrade 1.
  37. Insert CD Upgrade 2.
  38. All secondary application servers of R/3 system HRX can be started now, select continue.
  39. Error occurred during the upgrade that require revision. Look at /usr/sap/put/log/LONGPOST.LOG. Search Oss for keyword ‘TG123’. Phase PCON_40B
  40. Save all log file, upgrade finish.
  41. Language transport.
  42. Change /nrz10, add zcsa/system language : E.
  43. Run transaction /nsmlt.
  44. Run program rscp0004.

Post Processing Ugrade

  1. su – root
  2. cd /usr/sap/put/exe
  3. ./saproot.sh <SAPSID>
  4. exit
  5. su – ora<sapsid>
  6. svrmgrl
  7. drop tablespace PSAPES<startrel>D.
  8. drop tablespace PSAPES<startrel>I.
  9. drop tablespace PSAPEL<startrel>D.
  10. drop tablespace PSAPEL<startrel>I.
  11. Remove all droped tablespaces’ datafile from unix level.
  12. Run program RDDGENLD, using variant : SAP_REGEN_REST.

Upgrade Finished

 

Upgrade to SAP rel 4.0BOracle 7.2.3

This page was last updated on 08/20/98.

frontpag.gif    iexplore.gif (14871 bytes)