Updating the application
This content applies only to On-premises and Client-managed cloud environments
To update Pega Customer Decision Hub, complete the procedures in this section.
Importing the application bundles
Import the application bundles from the distribution media.
Rules/PegaCDH_Core_0807.zip
. This contains the Pega Customer Decision Hub framework application which consists of schema changes, JAR files, and rulesets required by Pega Customer Decision Hub that are not shipped separately.Rules/PegaCDH_Upgrade_0807.zip
. This contains the update version of the Pega Customer Decision Hub implementation application. This version will not overwrite configuration settings that may have been made to your existing implementation application.
- On IBM Db2 environments, ensure that ownership of the MKT_INTERACTION_DETAIL and
MKT_COMMUNICATION_HISTORY views is attributed to the ExternalMKTData schema owner. For
example, if that user is MKTDATA:
- Transfer ownership of VIEW MKTDATA.MKT_INTERACTION_DETAIL to user MKTDATA PRESERVE PRIVILEGES.
- Transfer ownership of VIEW MKTDATA.MKT_COMMUNICATION_HISTORY to user MKTDATA PRESERVE PRIVILEGES.
- On IBM Db2 environments, run the
ResourceKit/upgrade/DB2/upgrade_pre_import.sql
script by doing the following tasks:- If your database schema is different from PegaDATA, edit the
ResourceKit/upgrade/DB2/upgrade_pre_import.sql
script and, if different, change all references of PEGADATA to refer to your database schema. - Log in to your database client as a user who can create and drop objects in your database schema.
- In your database client, run the upgrade_pre_import.sql script.
- If your database schema is different from PegaDATA, edit the
- Log in to Pega Platform as [email protected].
- To open the Import wizard, in Dev Studio, click .
- Click Choose File, browse for the
Rules/PegaCDH_Core_0807.zip
file from your distribution media, and follow the wizard instructions. - Based on the review of the database policies and application permissions that are used
by your Pega Platform upgrade, perform the appropriate step:
- Select the Automatic check box and complete the wizard.
- Select Manual and complete the following steps:
- Click View/Download DDL SQL. This produces a text file containing Data Definition Language (DDL) statements for the needed changes.
- Save the DDL file and deliver it to a database administrator to make the required changes. Depending on your organization’s policies, database administrators might need to review these DDL files to determine what changes will occur prior to applying the DDL to your database.
- After the database administrator has applied the DDL, repeat the Import wizard steps.
- To import the
Rules/PegaCDH_Upgrade_0807.zip
file, repeat steps 3-5. - On IBM Db2 environments, run the
ResourceKit/upgrade/DB2/upgrade_post_import.sql
script by doing the following tasks:- If your database schema is different from PegaDATA, edit the
ResourceKit/upgrade/DB2/upgrade_post_import.sql
script and, if different, change all references of PEGADATA to refer to your database schema. - Log in to your database client as a user who can create and drop objects in your database schema.
- In your database client, run the upgrade_post_import.sql script.
- If your database schema is different from PegaDATA, edit the
- Apply the required hotfixes. The list of required hotfixes can be found here Required Pega Customer Decision Hub and Pega Marketing hotfixes and here Required Pega 1:1 Operations Manager hotfixes.
- Optional: For best performance and initial user experience, run the Static Assembler utility to pre-assemble the rules in the application. For more information, see Preassembling rules in an application by using the Static Assembler utility.
Restarting the application server
At the end of the update process, restart the application server.
- Log out of Pega Platform.
- Stop and start the application server.
Updating Pega 1:1 Operations Manager
After updating your Pega Customer Decision Hub application, update Pega 1:1 Operations Manager.
- In Dev Studio, click the name of your application, and then click Definition.
- Make sure that the top rule in the Application ruleset section has
a major and a minor version, for example, OpsOverlay:01-02. If
required, update the ruleset version.
- Log in as an operator with the OpsMgrAdmin access group and make sure that the overlay ruleset is pointing to the latest version.
Updating Pega 1:1 Operations Manager in configurations with Deployment Manager 5.1
If your environment includes Deployment Manager 5.1, do the following additional steps:
- Create a Product rule that contains just the ruleset.
- Create the following deployment pipeline in the orchestration server: Business Operations environment > Development > Production.
- In the new pipeline, click Start deployment.
- Create a new Business Operations pipeline.
- If any merge conflicts occur on the new Business Operations pipeline, do the
following steps:
- Log in as an operator with the OpsMgrAdmin access group.
- From the application definition, open the associated revision branch.
- Click , and then click Conflicts.
- Solve each merge conflict, and then click Mark as resolved.
- Submit your changes.
- On the Merge Branches screen, click Cancel.
- In the orchestration server, retry the deployment.
Previous topic Backing up your system Next topic Updating from Pega Customer Decision Hub for Communications