Sei sulla pagina 1di 38

© 2013, Confidential, Pegasystems Inc.

Pega High Availability

Mark Replogle, VP Product Management


Technology Platform

This information is not a commitment, promise or legal obligation to deliver


any material, code, or functionality and the development, release, and timing
of any features or functionality described for our products remains at our
sole discretion.
© 2013, Confidential, Pegasystems Inc.
Pega High Availability
Abstract: Achieving very high levels of application availability is a
challenge faced by many of the world’s largest organizations. This
session will cover the new Pega High Availability offering and how you
can use it to achieve 99.99% availability of your PRPC based
applications.

 Technology Review
 Using PRPC to Achieving High Availability

33 © 2013, Confidential, Pegasystems Inc.


High Availability vs. Disaster Recovery
 High Availability (HA) is a system design approach and
associated service implementation that ensures a
prearranged level of operational performance will be met
during a contractual measurement period.

Source: Wikipedia

55 © 2013, Confidential, Pegasystems Inc.


Simplified PRPC Deployment Architecture

Single Sign On

Load Balancer

Application Server
PRPC

PRPC Database

66 © 2013, Confidential, Pegasystems Inc.


PRPC User Session

77 © 2013, Confidential, Pegasystems Inc.


PRPC User Session
 Requestor
Requestor
 PRThread
 Work Page
PRThread PRThread
 Page
Work Work
Page Page
Page Page

Page Page Page Page

Page Page Page Page

88 © 2013, Confidential, Pegasystems Inc.


PRPC User Session (Passivation)
Requestor
PRThread PRThread
Work Work
Page Page Page
Page

Page Page Page Page

Page Page Page Page

PRThread
Work
Page

Local Page

Storage Page Page

Page Page

99 © 2013, Confidential, Pegasystems Inc.


PRPC User Session (Activation)
Requestor
PRThread PRThread
Work Work
Page Page Page
Page

Page Page Page

Page Page Page

PRThread
Work
Page

Local Page

Storage Page Page

Page Page

10
10 © 2013, Confidential, Pegasystems Inc.
Database Connection Management

Application Server
PRPC

Connection Pool
JDBC JDBC JDBC JDBC

PRPC Database

11
11 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability

Single Sign On

Load Balancer

PRPC Application
Server

JDB JDB JDB JDB


C C C C

PRPC Database

12
12 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability
1. Redundancy (No Single Point of Failure)

13
13 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability

Single Sign On Single Sign On Single Sign On

Load Balancer Load Balancer

Application Server Application Server Application Server


PRPC PRPC PRPC

PRPC Database Replication PRPC Database


Active Replica

14
14 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability
1. Redundancy (No Single Point of Failure)
2. Capacity

15
15 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability

Single Sign On Single Sign On Single Sign On

Load Balancer Load Balancer

Application Server Application Server Application Server


PRPC PRPC PRPC

PRPC Database Replication PRPC Database


Active Replica

16
16 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability
1. Redundancy
2. Capacity
3. Resiliency

17
17 © 2013, Confidential, Pegasystems Inc.
Resiliency
 Initiated Shutdown
̶ Graceful and no material impact to the user
 Uninitiated Shutdown
̶ Abrupt and some user impact

18
18 © 2013, Confidential, Pegasystems Inc.
Initiated Shutdown
 Existing Session Load Balancer

 New Session

PRPC Application PRPC Application PRPC Application


Server #1 Server #3 Server #2

19
19 © 2013, Confidential, Pegasystems Inc.
Initiated Shutdown
 Requestor
Requestor
 PRThread
 Work Page
PRThread PRThread
 Page
Work Work
Page Page
Page Page

Page Page Page Page

Page Page Page Page

20
20 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability (Quiesce)
Single Sign On Single Sign On Single Sign On

Load Balancer Load Balancer

PRPC Application PRPC Application PRPC Application


Server Server Server

New Custom Storage


Shared Storage
In
PRPC 7
PRPC Database PRPC Database
Active Replica

21
21 © 2013, Confidential, Pegasystems Inc.
Session Persistence
 Configuring Shared Storage
̶ <env name="initialization/persistrequestor/passivation" value="P:\PassivateHere” />
 Configuring Custom Storage
̶ <env name="initialization/persistrequestor/storage" value="custom" />
̶ <env name="initialization/persistrequestor/storage/custom/class"
value="com.custom.ImplementationClassName" />

New
In
PRPC 7

22
22 © 2013, Confidential, Pegasystems Inc.
Initiated Application Server shutdown

New
In 7.1

23
23 © 2013, Confidential, Pegasystems Inc.
Uninitiated Shutdown
 Existing Session Load Balancer

 New Session

PRPC Application PRPC Application


Server #1 Server #2

24
24 © 2013, Confidential, Pegasystems Inc.
Uninitiated Shutdown
 Existing Session Load Balancer

 New Session

PRPC Application PRPC Application PRPC Application


Server #1 Server #3 Server #2

25
25 © 2013, Confidential, Pegasystems Inc.
Uninitiated shutdown
Single Sign On Single Sign On Single Sign On

Load Balancer Load Balancer

PRPC Application PRPC Application PRPC Application


Server Server Server

Shared Storage
New
In 7.1
PRPC Database PRPC Database
Active Replica

26
26 © 2013, Confidential, Pegasystems Inc.
UnInitiated Shutdown
 Requestor
Requestor
 PRThread
 Work Page
PRThread PRThread
 Page
Work Work
Page Page
Page Page

Page Page Page Page

Page Page Page Page

27
27 © 2013, Confidential, Pegasystems Inc.
PRPC User Session

New
In Cases reloaded
PRPC 7 automatically

28
28 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability

Single Sign On Single Sign On Single Sign On

Load Balancer Load Balancer

PRPC Application PRPC Application PRPC Application


Server Server Server

PRPC Database Replication PRPC Database


Active Replica

29
29 © 2013, Confidential, Pegasystems Inc.
Database Connection Management

PRPC Application Server

JDBC JDBC JDBC JDBC

PRPC Database

30
30 © 2013, Confidential, Pegasystems Inc.
Database Connection Management

31
31 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability
1. Redundancy
2. Capacity
3. Resiliency
4. Build For Change ©

32
32 © 2013, Confidential, Pegasystems Inc.
Build for Change

Configured to take
effect:
• Immediately
• Next Logon
• Next Pega Thread
New • API Call
In
PRPC 7

33
33 © 2013, Confidential, Pegasystems Inc.
Build for Change: Split schema
PegaRULES Schema PegaDATA Schema
PegaRULES Schema

New
Rule Base In Data
Rule Base Data
PRPC 7

Work
System Objects
System Work
Data
Data Objects

34
34 © 2013, Confidential, Pegasystems Inc.
Build for Change: Split schema
select pzPVStream from pr4_rule where pzInsKey = ?

Becomes

select pzPVStream from RuleSchema.pr4_rule where pzInsKey = ?

35
35 © 2013, Confidential, Pegasystems Inc.
Split Schema Upgrade

Single Sign On

Load Balancer

PRPC Application
PRPC Application PRPC Application PRPC Application
Server
Server Server Server

JDB JDB JDB JDB JDB JDB JDB JDB


C C C C C C C C JDB JDB JDB JDB
C C C C

Rules Rules
Work Schema
Schema Schema

36
36 © 2013, Confidential, Pegasystems Inc.
Achieving High Availability
1. Redundancy
2. Capacity
3. Resiliency
4. Build For Change ©

37
37 © 2013, Confidential, Pegasystems Inc.
We Need Your Feedback
On This Session

1. Use the PegaWORLD Mobile App


̶ Find this session in Agenda or “MyAgenda”
̶ Click Rate This Session
̶ Rate Session & Speaker on scale from 1-10
(10 being Excellent)
̶ Add your comments
2. Or, use feedback form at back of room
̶ Enter Session Name
̶ Rate Session & Speaker on scale from 1-10 (10 being Excellent)
̶ Add your comments
38
38 © 2013, Confidential, Pegasystems Inc.
© 2013, Confidential, Pegasystems Inc.

Potrebbero piacerti anche