3. IBM AnalyticsIBM Analytics
Miran Badzak, Simon Lightstone
Product Management
Db2 on Cloud
A fully-managed SQL database | Deploys in 1 click
4. IBM AnalyticsIBM Analytics
Miran Badzak, Simon Lightstone
Product Management
New, intuitive designs. Native cloud scaling.
Scales < 45 mins and Add DR with the click of button| Not hours
or days
6. IBM AnalyticsIBM Analytics
Miran Badzak, Simon Lightstone
Product Management
IBM Cloud is a catalog of services you can deploy at your fingertips.
Build apps or infrastructure | Simple as building with Lego bricks
13. IBM Cloud
• Db2 on Cloud Deployment – Availability Options
13
Db2 on Cloud
Single Node
Db2 on Cloud
High Availability
• Single Node
• Daily automated backups
for recovery
• Off site by request –
soon to always be off
site
• Transaction logs are
archived.
• Monitored and managed for
availability
• Fault Monitor for restarts
• All recovery performed by
IBM
• 2 Nodes
• Active/Passive
• Hot / warm (failover typically
<3 minute)
• Automatic recovery after
failures
• Daily automatic backups
• Archive logs on Cloud
Storage
• Synchronous Replication
• All recovery performed by
IBM
Db2 on Cloud With
Disaster Recovery
Node Option
• 2 or 3 Nodes
• Active/Active (UR read)
• Can be added to a single
node or an HA node
• DR node can be in a different
data center or even a
different continent
• Super Asynchronous
Replication
• All recovery performed by
IBM
• Ability to manually takeover
14. IBM Cloud
• Example: HA Node with Disaster Recovery Node
Db2 Server A
(Primary)
ALTERNATE SERVER
– Floating IP
(LDAP)
Db2 Server B
(Principal
Standby)
ALTERNATE SERVER
– Floating IP
(LDAP)
Floating IP
(eth1:0)
(READ/WRITE
Queries)
Db2 Server C
(DR Node –
Auxillary Standby)
(LDAP)
hostname-ROS IP
(READ Only Queries)
SYNC Replication
Super Asynchronous Replication
Region 2 – eg. FRA – FRA01Region 1 Data Center – eg Us-South – Dal10
hostname-DR IP (Read
Write IP) Used for
client connectivity
Only up when
primary
Always up
15. IBM Cloud
• Db2 on Cloud HADR High Level Architecture - Transactions
Tables
Indexes
Logs
Old
Logs
Log
Writer
Log
Reader
Db2 Engine
HADR
Primary Server
Tables
Indexes
Logs
Old
Logs
Db2 Engine
(Read Only)
HADR Shredder Replay Master
Replay Workers
Replay Workers
Replay Workers
Replay Workers
DR (Or HA) Server
TCP/IP
Log
Reader
Log
Writer
16. IBM Cloud
• IBM Db2 on Cloud - Cluster Manager and Availability Architecture
Db2
(Transitive
Primary)
Governor
Db2
(Transitive
Standby)
Governor
Db2 HADR (Log
Shipping)
ETCD ETCD
ETCD
Standby – read keys -TTL
Benefits of Architecture
• Simplified operations – able to handle more
scenarios in an automated fashion vs. other
solutions.
• Simplified design – small, simple existing
proven technologies used at the core of the
solution.
• Leverages cloud based economies – shares
common infrastructure for quorum
Portable
IP (VIP)
Clients
(ACR)
Follows the
primary
Secondary
Health
Primary – set keys
17. IBM Cloud
• IBM Db2 on Cloud – Simple to use interfaces
17
Addition of DR Node & Failover
18. IBM AnalyticsIBM Analytics
Miran Badzak, Simon Lightstone
Product Management
Db2 on Cloud 2X the Performance per Dollar vs Amazon Aurora
https://ibm.biz/db2oncloud-aurora-benchmark-17
21. IBM AnalyticsIBM Analytics
Miran Badzak, Simon Lightstone
Product Management
Try it yourself on the free Db2 Lite plan.
https://ibm.biz/db2oncloud-tile
Tutorial videos: https://ibm-dte.mybluemix.net/ibm-db2-on-cloud