Complete the prerequisite tasks
This content applies only to On-premises and Client-managed cloud environments
Before you upgrade your application, ensure that you complete all of the following tasks.
Pega Customer Decision Hub
Update Guide
- Ensure that there are no open change requests in your application, including requests
created through Revision Management and through Pega 1:1 Operations Manager.
- Ensure that any existing responses to adaptive models are updated.
- Run the Pre-Upgrade Check component to assess if your application is ready for the
upgrade. If the check reports any issues, resolve them.For more information, see Pre-Upgrade Check for Pega Customer Decision Hub.
- Ensure that you can stop and start the application server.
- Before starting an update, and before backing up your system, review the database policies and application permissions that are used by your Pega Platform update. Determine whether the application is permitted to update the database automatically or if you must generate the database scripts that your organization will use to manually make schema changes.
- If you are upgrading from Pega Marketing 7.13, 7.21, 7.22, 7.31, or 7.4, apply the
required upgrade hotfix for the version you are upgrading from.
- Pega Marketing 7.13 - HFix-48983
- Pega Marketing 7.21- HFix-49813
- Pega Marketing 7.22 - HFix-50020
- Pega Marketing 7.31- HFix-46621
- Pega Marketing 7.4 - HFix-67467
- Run the activity in the upgrade hotfix, depending on the version you are upgrading
from:
- Pega Marketing 7.13 - UpgradePMToSeamless
- Pega Marketing 7.21- UpgradePMToSeamless
- Pega Marketing 7.22 - UpgradePMToSeamless
- Pega Marketing 7.31- UpgradePMToSeamless
- Pega Marketing 7.4 - UpgradePMTo74CloudReady
- If you are upgrading from Pega Marketing 7.13 and your environment includes Pega Field
Marketing, ensure that all Field Marketing campaigns are in Pending-Details or
Resolved-Completed status.
- If you are upgrading from Pega Marketing 7.13, in the PR4_RULE table located in the PegaRULES database schema, update the length of the pyDescription column to 1000.
- If the ServiceLevelEvents agent in the Pega-ProCom ruleset is enabled, disable it.
- If you are upgrading from Pega Marketing 7.13, 7.21, or 7.22, import the bundle
PegaMarketing_Upgrade_DB_0801.zip
.ThePegaMarketing_Upgrade_DB_0801.zip
file is distributed as attachment to the required upgrade hotfix for the version you are upgrading from. For more information, see step 3 above. - Unlock all artifacts rulesets that contain any artifacts which you want to continue using after the upgrade.
- Before you upgrade Pega Marketing, ensure that you have the following
database information available:
- Such database connection information as:
- Hostname or IP address
- Database port
- Database name
- JDBC driver JAR file for your database type
- PegaRULES schema name
- If using split schema, PegaDATA schema name
- Ensure that the Pega Marketing external schema meets the following
requirements:
- This is the schema that contains your customer data repository and other marketing assets.
- This schema must exist in the same database as the PegaDATA and PegaRULES schemas.
- This schema must have the database privileges to create views and to select from tables in the PegaDATA schema.
- Ensure that the Pega Marketing external user and password meet the following
requirements:
- This user must already exist.
- This is the user that Pega Platform uses to connect to the Pega Marketing external schema.
- This user must have full privileges to the Pega Marketing external schema.
- This user must have the database privileges to create views and to select from tables in the PegaDATA schema.
- Ensure that the Pega Deployment user and password meet the following
requirements:
- This user must already exist.
- This is the user that the setup utility will use to connect to the database.
- This user must have permissions to create and modify objects in all Pega schemas.
- If using Oracle, this user must have permission to create materialized views.
- Ensure that the user associated with PegaDATA DB rule meets the following
requirements:
- This user must be set in application server configuration.
- For Tomcat, this would typically be in the context.xml file.
- The user that is mapped to the PegaDATA DB rule must already exist.
- This user must have the following privileges on the PegaDATA schema:
- Select, Create, and Drop on tables, indexes, and views
- Insert, Update, and Delete on tables
- Alter on tables and indexes
- This user must be set in application server configuration.
- Ensure that the user associated with PegaRULES DB rule meets the following
requirements:
- This user must be set in application server configuration.
- For Tomcat, this would typically be in the context.xml file.
- The user that is mapped to the PegaRULES DB rule must already exist.
- This user must have the following privileges on the PegaRULES schema:
- Select, Create, and Drop on tables, indexes, and views
- Insert, Update, and Delete on tables
- Alter on tables and indexes
- This user can be the same as the PegaDATA user, provided the user has permissions to both schemas.
- This user must be set in application server configuration.
- Such database connection information as:
- For IBM Db2 databases, if you use JDBC URL to connect to your external database, add
the following parameters to the template URL and the
prweb.xml
file where the Pega DB connections are defined:- resultSetHoldability=1;
- resultSetHoldabilityForCatalogQueries=1;
- allowNextOnExhaustedResultSet=1;
jdbc:db2://localhost:50000/MYDB:fullyMaterializeLobData=true;
fullyMaterializeInputStreams=true;
progressiveStreaming=2;
progressiveLocators=2;
useJDBC4ColumnNameAndLabelSemantics=false;
currentSchema=MKTDATA;
resultSetHoldability=1;
resultSetHoldabilityForCatalogQueries=1;
allowNextOnExhaustedResultSet=1;
- Check in all checked out rules and log off all users.
- Back up existing database and app-server level application data. For more information, see Backing up your system.
- Log in as an operator with the your application:MKTAdmins access group.
- Edit the your application:MKTAdmins access group, or another access
group with administrator privileges which your application uses, and add the
PegaRULES:SecurityAdministrator user role.
- Finalize any in-use database templates.
- Click and ensure there are no data flow runs in progress.
- Disable agent schedules by performing the following actions:
- Click .
- Open all Pega Marketing agent schedules, including the following:
- PegaMKT-Engine
- PegaMKT-PushNotification
- PegaMKT-Install
- PegaMKT-FieldMarketing (if installed)
- Uncheck Enable this agent and ensure that each individual agent is disabled.
- Click Save.
- Update to the latest version of
Pega Platform
8.5, and ensure that you can log in as an
administrator. For more information, see the Pega Platform
Update
Guide for your environment on the Deploy Pega Platform page.
- Optional: Update the Pega Platform online help to the latest version
from the Online Help Files section on the Pega Platform Update page. After you download the latest
prhelp.war
file, deploy it in your Pega Platform installation before continuing. For deployment information, see the Pega Platform Installation Guide for your application server. - In Admin Studio, stop the RevalidateAndSave agent from the Pega-ImportExport ruleset on all nodes.
- Disable the agent schedule for the RevalidateAndSave agent.
Previous topic Pega Customer Decision Hub or Pega Marketing 7.x to Pega Customer Decision Hub 8.5 Update Guide Next topic Pre-Upgrade Check for Pega Customer Decision Hub