Beruflich Dokumente
Kultur Dokumente
Clients
• Easy administration
HADR HADR
send() receive()
u s
no
As
o
hr
yn
log writer
c
ch
n
Sy
ro
r-
no
ea
N
us
Co
m
m
it s
log Re ro nou
qu Synch log
file es
t
Sup file
er A
sync
hro n
ous
Commit Succeeded
Principal Standby
ode
sync m
Any
Super as
yn c mode
Auxiliary Standby
• Allows for one standby for high availability and up to two other standbys for disaster
recovery
– Rolling fix pack updates of standbys and primary without losing HA
• When enabled, allows the standby to spool log records arriving from the primary
• Decouples log replay on the standby from receiving of the log data from the
primary
Primary Standby
Spooled logs
on standby
10
Primary Standby
Spooled logs
on standby
Extreme Capacity
– Buy only what you need, add capacity as your
needs grow
Application Transparency
– Avoid the risk and cost of application changes
Continuous Availability
– Deliver uninterrupted access to your data with
consistent performance
Integrated Cluster
Manager
Shared Data
13 © 2013 IBM Corporation
DB2 pureScale : Technology Overview
Leverage IBM’s System z Sysplex Experience and Know-How
Clients
Clients connect anywhere,…
… see single database
– Clients connect into any member
Single Database View – Automatic load balancing and client reroute
DB2 engine runs on several hosts
– Co-operate with each other to provide coherent
access to the database from any member
PowerHA pureScale
Member 1 CF
Buffer Pool 3 Group Buffer
Pool
501 1 501
4
db2agent 2
1,I Eaton,
don’t 10210, SW
have it, I want page 501.
2, Smith, 10111, NE Put into slot 42
get it from disk
3, Jones, 11251, NW Direct remote memory of my buffer pool.
write of response
Clients Clients
% of Data Available
100
50
Time (~seconds)
Member
Connections to failed
CF CF
Primary
CF DB2 DB2 DB2 DB2
CF CF
CF
CF CF
Connections to failed
CF CF
CF CF
Connections to failed
member transparently move
to another member
CF CF
Connections to failed
member transparently move
to another member
x x x x
x
x
CF knows what rows on these pages had in-flight updates at time of failure
Admin Utilities
Control Control
Log based
WebSphere MQ
Q Apply Q Capture
Q Capture Q Apply
PROD STBY
Read/Write Applications
Q
Q Replication
Replication provides
provides aa solution
solution for
for continuous
continuous availability
availability where
where the
the active
active
secondary
secondary system
system isis also
also available
available for
for other
other applications
applications
HA Cluster
DB1
Pros: Cons:
Inexpensive local failover solution No protection from disk failure
Protection from software and server failure No protection from site failure
DB2 9.5 integrated TSA cluster manager Failover times vary from 1 to 5 minutes
HADR Cluster
Primary Standby
Database Database
Pros: Cons:
Inexpensive local failover or DR solution Two full copies of the database (a plus
Protection from software, server, storage, and site from a redundancy perspective)
failures Only read transactions can run on
Simple to setup and monitor standby
Failover time in the range of 30 sec
Reporting on standby without increase in failover
time
26 © 2013 IBM Corporation
HADR With Disk Mirroring to Remote DR Site
Primary Connection
HADR Cluster
Automatic client reroute
Pros: Cons:
Very fast local failover with DR capability Three full copies of the database (a plus
Protection from software, server, storage, and site from a redundancy perspective)
failures More costly than HADR for just DR
Local failover time in the range 30 seconds
Primary Connection
HADR Cluster
Automatic client reroute
Disaster Recovery
Primary Local Standby Site
Database Database
Pros: Cons:
Very fast local failover with DR capability Three full copies of the database (a plus
Protection from software, server, storage, and site from a redundancy perspective)
failures
Allows for time delay on auxiliary standbys
Local failover time in the range 30 seconds
Primary Standby
Primary Standby
• Both – fast local failover with server, storage and site protection
Any Distance
Replication
Server Server Any Distance Server
Site A Server
A B C D Site B
• Delivers:
– Fast Local Failover
– Active / Active DR
– Rolling patch upgrades
– Rolling version upgrades
– Online database on-disk modifications
– Schema modifications online/rolling
Member Member
1 2
Site A CF CF