You can upgrade Pega Platform by performing a rolling upgrade (rolling restart) that keeps your system always available during upgrade. You remove nodes from the load balancer, shut them down, upgrade, and restart each node one by one. You do not add them back to the load balancer until you have upgraded half of the nodes.
To perform a rolling upgrade, complete the following steps:
Prepare to upgrade your database by doing the following steps.
Disable rule saving. For more information, see Disabling rule creation on the rules schema in the appropriate Upgrade guide for your system.
Migrate the PegaRULES schema to a temporary schema. For more information, see Migrating the existing rules schema in the appropriate Upgrade guide for your system.
Update the new rules schema, for example, a framework or application update. For more information, see Upgrading the migrated rules schema in the appropriate Upgrade guide for your system.
Copy the new rule schema to the production database. For more information, see Migrating to the new rules schema in the appropriate Upgrade guide for your system.
Upgrade half the nodes one by one.
Configure the load balancer to disable a node.
Note:
Quiesce the Pega Platform node, by using the Autonomic Event Services (AES), System Management Administrator (SMA), or high availability landing pages. For more information, see Cluster management.
Ensure that all requestors are passivated and the system run state is set to "Quiesce Complete", by using the HA Cluster Management landing page.
Shut down the node.
Update the data source to connect to the updated schema. For more information, see Upgrading the data schema in the appropriate upgrade guide for your system.
Start the node.
Perform any needed post-upgrade activities and tests.
After you upgrade half of nodes, disable the remaining non-upgraded nodes in the load balancer.
Add all the upgraded nodes, which you upgraded in step 3, back to the load balancer to start taking traffic.
Upgrade the remaining half of the nodes (the non-upgraded nodes) one by one.
Perform steps 3 b through 3 g.
Add the node back to the load balancer to start taking traffic.