Upgrading the P6 EPPM Oracle Database

Previous TopicNext TopicContents

To upgrade the P6 EPPM Oracle Database:

  1. If you haven't done so, download the Primavera P6 Enterprise Project Portfolio Management R8.3 for <platform> folder and extract the contents.
  2. Go to the location of the extracted contents and locate the P6_R8.3\p6suite\database folder.

    Note: Make a backup copy of any files you will modify before you edit them.

  3. For Release 8.3.2, execute the following steps:
    1. From the command line, execute: sqlplus sys/password as sysdba
    2. Go to \scripts\install\PM_08_03_00 and execute the manual_script_before_upgrade.sql
    3. If you don’t have a default user, ADMUSER, go to \scripts\install\PM_08_03_00, update the user in the script, and then execute the orpm_grantpriv.sql script.
  4. Log into the database as ADMUSER or use your custom administrative user name if you created one.
  5. Go to \scripts\install\PM_08_03_00 and execute the orpm_init_px.sql script to create a PX tablespace.

    Executing this script will create the PMDB_PX_DAT1 tablespace, which will hold PX data.

    Note: Modify the tablespace name in this script if you changed the default tablespace name (PMDB_PX_DAT1).

  6. Go to \scripts\install\PM_08_03_00 and execute the orpm_create_plus_users.sql script.

    Notes:

  7. Go to \scripts\install\PM_08_03_00 and execute the orpm_create_bguser_upgrade.sql script.
  8. Go to \scripts\install\PM_08_03_00 and execute the orpm_grantpriv_bguser_upgrade.sql script.
  9. Go to \scripts\common and execute the or_disable_triggers.sql script.
  10. Go to \scripts\upgrade\PM_08_03_00 and execute one of the following scripts:

    ORPM_p62.sql, if upgrading from P6 version 6.2.1

    ORPM_p621sp1.sql, if upgrading from P6 version 6.2.1 service pack 1

    ORPM_p70sp1.sql, if upgrading from P6 version 7.0, 7.0 service pack 1, or 7.0 service pack 2

    ORPM_p7.0sp3.sql, if upgrading from P6 version 7.0 service pack 3

    ORPM_p70sp5.sql if upgrading from P6 version 7.0 service pack 5

    ORPM_p80.sql if upgrading from P6 version 8.0

    ORPM_p81.sql if upgrading from P6 version 8.1

    ORPM_p81sp3.sql if upgrading from P6 version 8.1 service pack 3

    ORPM_p82.sql if upgrading from P6 version 8.2

    ORPM_p82sp2.sql if upgrading from P6 version 8.2 service pack 2

    ORPM_p82sp2f10.sql if upgrading from P6 version 8.2 service pack 2 Hotfix 10

    ORPM_p83.sql if upgrading from P6 version 8.3 or 8.3 service pack 1

    Notes:

  11. If you're using version ORPM_p70sp1.sql or later, skip to the next step.

    If you're using a version before ORPM_p70sp1.sql, go to \scripts\common and execute the or_update_usereng.sql script to grant all users with P6 Professional module access rights to the Projects section in P6.

    Note: Prior to P6 version 7.0, users with Project Management module access also had rights to the Projects section in P6 Web Access. For security reasons, beginning with P6 version 7.0, P6 Professional module access only grants rights to log into the P6 Professional module.

  12. Go to \scripts\common and execute the or_post_upgrade script.
  13. Go to \scripts\upgrade\PM_08_03_00 and execute the orpm_grants.sql script.

    Note: If you changed the default user names, update the privuser, pubuser, and PxRptUser names in this script with your custom user names.

  14. Go to \scripts\upgrade\PM_08_03_00 and execute the orpm_ctxindex.sql script
  15. Go to \scripts\upgrade\PM_08_03_00 and execute the orpm_dbcrudseq.sql script
  16. Go to \scripts\upgrade\PM_08_03_00 and execute the orpm_synonyms.sql script.

    Caution: The orpm_synonyms.sql script contains a table called PUBUSER, do not replace it if you have to change the pubuser user name.

    Note: If you changed the default user names, you must update the admuser, privuser, pubuser, and pxrptuser names in this script with your custom user names.

  17. Go to \scripts\source\PM_08_03_00 and execute the orpm_src.plb script.
  18. Go to \scripts\source\PM_08_03_00 and execute the orpm_secpac.sql script.

    Note: If you changed the default user names, update the admuser, privuser, and pxrptuser names in this script with your custom user names.

  19. Go to \scripts\source\PM_08_03_00 and execute the orpm_logon_trigger.sql script.
  20. Go to \scripts\install\PM_08_03_00 and execute the orpm_database_version.sql and orpm_querylib.sql scripts.
  21. Go to \scripts\common and execute the or_enable_triggers.sql script.
  22. Run the databaselogins.bat (on Windows) or databaselogins.sh (on Linux) to upgrade the encryption of privilege user passwords.
  23. Log into the database as background job user.
  24. Go to \scripts\install\PM_08_03_00 and execute the orpm_init_bgjobs.sql script.
  25. Log into the P6 EPPM database as PxRptUser or use your custom PX reporting user name.

    Follow steps a-c if you changed the default admuser name.

    If you did not change the default admuser name, skip a-c and go to the next step.

    1. Go to \scripts\source\PM_08_03_00 and edit the orpm_px_rpt_src.sql script.
    2. Replace the default admuser name with your custom admuser name.
    3. Save and close the script file.
  26. Go to \scripts\source\PM_08_03_00 and execute the orpm_px_rpt_src.sql script.


Legal Notices
Copyright © 1999, 2014, Oracle and/or its affiliates. All rights reserved.

Last Published Wednesday, February 19, 2014

PDF Library