IBM Cloud1
Modernizing your Database Infrastructure with
IBM Db2 and RedHat OpenShift
Phil Downey
IBM DTE Hybrid Data Management Leader
Loic Julien
STSM / Databases Deployment
IBM Cloud, Data & AI
Irina Delidjakova
Db2 Deployment and Licensing Manager
IBM Canada
IBM Cloud2IBM Digital Technical Engagement
Please note
▪ IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice and at IBM’s sole discretion.
▪ Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision.
▪ The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract.
▪ The development, release, and timing of any future features or functionality described for our products remains at our sole discretion.
▪ Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
IBM Cloud3IBM Digital Technical Engagement
Agenda
• Journey to Cloud for Database Landscapes
• DB2 for IBM Db2 Cloud Pak for Data on
OpenShift
• Considerations for your Journey
• Deep Dive into the DB2 on IBM Cloud Paks and
Red Hat OpenShift
IBM Cloud4IBM Digital Technical Engagement
The Journey to Cloud: Database
Public Cloud has fallen short
Businesses need to modernize traditional platforms &
adopt agile deployment practices
• Without compromising on Service levels
To achieve this they want cloud simplicity and
standardization combined with:
• Choice of configuration to support different Workloads
• Affinity with application deployment
• Choice of infrastructure
• Simplified life cycle management
• Cloud platform managed availability
IBM Cloud5IBM Digital Technical Engagement
The Adoption of Agile Practices
IBM Cloud6IBM Digital Technical Engagement
The 2 Speed Cloud Journey for Databases on Hybrid Cloud
J2EE J2EE
J2EE
Cloud Native Channel and
Event Sourcing Applications
e.g. Driving Digital Channel Innovation
System of Record Applications
e.g. Traditional Core Business
Applications
Database Layer Servicing Both or Combined Workloads
ML Powered Processes
NoSQL & SQL
IBM Cloud7IBM Digital Technical Engagement
Data Warehouses
Application Databases
Standardized
Deployment & Management
Flexible Configuration
& Service Levels
Hybrid Cloud Databases Provide the benefits of Cloud
but Without the Constraints for Databases
Infrastructure Platform that is
open to all shapes and sizes
8
The Ladder to AI
Cloud Pak for Data
Cloud Pak for Data – Self-serve Different PersonasFoundational “out of the box” multicloud data & AI services
Powered by: Watson Studio open source and Cognos
o Data visualizationo Machine learning learningo Model build & deployo Model management o Dashboards
Powered by: Infosphere, Data Stage and IGC/WKC
o Discovery & searcho Data transformationo Data catalogingo Business glossaryo Policies, rules & privacy
Powered by: Db2 and Db2 Warehouse technologies
o Data virtualizationo Data warehousingo Databases on-demando Data source ingestiono Distributed processing
• Logging• Monitoring
• Metering• Persistent Storage
• Identity Access Mgmt.• Docker Registry / Helm
• Kubernetes• SecurityMulticloud Services
Collect Organize Analyze
BusinessUsers & Analysts
DataEngineers
AppDevelopers
DataScientists
DataStewards
IBM Cloud9
AppDeployment
Data
New Requirements& Engagement
DevelopmentTest
MonitoringRetraining
Search for Data
Acquiring Data/Self Service
Modelbuilding
Hadoop
Data Warehouse
NoSQL
Virtual Data Lake
ML Model Deployment
RefiningData
Continuous Deliveryof Applications
Continuous Deliveryof Insights
Easily Combine with their Journey to AI
Multi-Cloud GovernanceMicroservices & APIs
SQL
IBM Cloud10IBM Digital Technical Engagement
IBM is Embracing Hybrid Cloud for their Database Journey to Cloud and AI
IBM Cloud11IBM Digital Technical Engagement
1. Services Ecosystem
Deploy DB2 with 45+ analytics services and templates from IBM and third parties Plus Cloud Pack for Data and OpenShift options
2. Data Virtualization
Quickly and easily query across multiple data sources without moving your data.
3. Platform Interface
Speed time-to-value with a single user experience that integrates data management, data governance andanalysis for greater efficiency and improved use of resources.
4. Red Hat OPENSHIFT®
Leverage the leading hybrid cloud, enterprise container platform for an innovative and fast deployment strategy
5. Any Cloud
Avoid lock-in and leverage all cloud infrastructures with our multi-cloud approach.
Db2 for IBM Cloud Pak for Data
On-Premises
Services Layer
Platform Interface Layer
Kubernetes Layer
Infrastructure Layer
IBM
Db2
IBM Cloud12IBM Digital Technical Engagement
Translating Traditional Customized Deployments to Hybrid Cloud With Db2
Dedicated vs Shared Resource Deployments
• Databases can share compute and storage or can choose dedicated
Choice of Workload
• Take the Same DB2 and Deploy Optimized for OLTP or Warehousing
Choice of Storage or Compute
• The ability to provide different infrastructure in the same deployment
IBM Cloud13IBM Digital Technical Engagement
Translating Traditional Customized Deployments to Hybrid Cloud With Db2
Co-Location and Security with Applications
• Combine Infrastructure for one Application Logically and Physically
Operate and Manage at a Landscape or Application level
• Group Services together by Namespaces
Manage & Monitor Databases with the Same Console on any Platform
• Integrated and support for IBM Data Management Console
IBM Cloud14IBM Digital Technical Engagement
Accelerate and Reduce Complexity
Cookie Cutter Deployment
• Enables standardized deployment and Management with Flexibility
Automated Update
• Service packs, versions and mods can be deployed at the push of a button
Monitor and Manage at an Infrastructure level
• Platform and Service level monitoring and Management
Automated Failover
• Out of the Box enhanced Kubernetes Availability
• Support for HA/DR
Automated Management by “Application Group”
• Use Namespaces to manage access control and provisioning options
IBM Cloud15IBM Digital Technical Engagement
Adopt Defaults or Configure to your Needs
IBM Cloud16IBM Digital Technical Engagement
Monitor and Manage
IBM Cloud17IBM Digital Technical Engagement
Accelerate and Reduce Complexity
Traditional Connectivity
• JDBC, . Net
Cloud Native Development
• Django
• Node.js
• Swift
• Go
• Ruby ….. And More
Data Science
• Python
Restful API
NoSQL / SQL
• JSON / XML,GML(Spatial)
• BigData
IBM Cloud18IBM Digital Technical Engagement
Getting Started
Putting in the Leg Work
Discover and Categorize Deployments• Categorize by Service levels and
Workloads
Assess Enhancement Options
Prioritize on business Impact• Best fit for success
• Total Cost of Ownership gains
• Business Agility
• Can benefit from AI or Digital
Digital transformation
Pick Candidates to Test and Prove
Prepare for the Descent
Build an onboarding & transition plan
Put in place an Agile / Iterative
deployment strategy
Align Business Owners and Go
Nail the Descent
On Board your target Workloads
Take the momentum and line up the
next category of Apps
Realize the Operational Efficiency
gains
19Cloud Forum / © 2019 IBM Corporation
Db2 for IBM Cloud Pak for Data – An orchestrated Lifecycle
20Data and AI Forum / © 2019 IBM Corporation
Running it over time is harder.
Running a Database is easy.
IBM Cloud21IBM Digital Technical Engagement
What is a Container?
Containers are a lightweight alternative to Virtual Machines for running
software in portable and isolated virtual environments
Attribute VM Container
Start-up time & Performance Slow (minutes) HV overhead Fast (seconds) no HV overhead
Footprint Large (nothing shared) Small (OS kernel shared)
Resource Constraints Yes Yes (CPU, Memory)
Isolation & Security High High
Portability Low High
Traditional Virtualization Approach
App A App B1 App B2
Bins & Libs Bins & Libs Bins & Libs
Guest OS(RHEL)
Guest OS(RHEL)
Guest OS(RHEL)
Hypervisor
Server HW
VMs
Host OS
App A App B1 App B2
Bins & Libs Bins & Libs
Host OS(RHEL)
Server HW
Docker Container Approach
Hypervisor OPTIONAL
Containers
IBM Cloud22
Cgroups & Namespaces isolation
Ap
p A
’
Host OS
Server
Bins/Libs
Ap
p A
Bins/Libs
Ap
p B
Ap
p B
’
Ap
p B
’
Ap
p B
’
Container
Container• An isolated user space within a running Linux OS
• Immutable – container environment will not change across stop/start
• Shared kernel across containers
• Direct device access
• All packages and data in an isolated run-time, saved as a filesystem
• Resource management implemented with Linux Control Groups ( Cgroups )
• Resource isolation through Linux namespaces ( currently 6 implemented )
Run
IBM Cloud23IBM Digital Technical Engagement
Db2U Container Ecosystem
Db2U: Containers & Operators
• Containers are PORTABLE, Secure, Pre-built & Certified
• Containers abstract differences in OS and underlying environments
• Containers are Agile & Lightweight
• Containers unify a consistent environment for DEV/TEST/PROD
• Containers & RHOS enable a Microservice Architecture
IBM Cloud24IBM Digital Technical Engagement
Db2U Container Ecosystem
Db2U: Helm & Operators
• Dec. 2019
• Helm provisioning
• Roadmap for Q1 2020
• Operators extend to Db2U the successful Kubernetes and RHOS Architectural principles
• Operators provide the infrastructure for complex, long running operations (Day 1, Day 2): Deployment,
Backup, Scaling, ...
• Operators work at maintaining a desired state: They will take corrective action when that state isn't reached
(yet or anymore)
• HW failure [An operator will work on bringing back the number of replica desired on a standby]
• Upgrade [An operator will perform a (rolling-)upgrade of all images to an updated & desired level]
• ..
• Containers & Operators unify a Cloud-like experience to any private data centers: Resources, Scaling,
Failover..
IBM Cloud25IBM Digital Technical Engagement 25
Db2U - A strategy built on a unified Db2U Custom Operator [Roadmap @Q1 2020]
▪ With a common underlying architecture based on Kubernetes Operators, we’re working to deliver a consistent experience across cloud environments:
• RedHat OperatorHub: prototyping and basic production use
• Cloud Pak for Data: complex workloads, advanced management capabilities
• IBM Public Cloud: fully managed SaaS experiences
• “True hybrid” experiences: transparent data movement between public and private clouds
IBM Cloud26IBM Digital Technical Engagement
Db2U Container Ecosystem
Container design for the Universal Db2 Container - Db2U (PIT @ 12/2019)
IBM Cloud27IBM Digital Technical Engagement
Db2U Design & Runtime Deployment Architecture
▪ Layers have been optimally designed:
• Universal form factor: OLTP/OLAP workload
• Performance: Deployment time drastically reduced through innovation [for instance a pre-created library of databases]
• Architectural Decoupling: Single concern [Upgrade, CreateOnDemand, Configuration]
• Security: Not Running as root, Security Context
Roadmap Q1 2020Not Running as Root
IBM Cloud28IBM Digital Technical Engagement
▪HADR setup is easy and can be configured across different clusters enabled with Db2U− Scripts inside container to configure the topology
− Post Deployment steps to connect Primary with Standby
Db2U 1
Cluster A with Db2U
Db2U 2
Cluster B with Db2U
Db2U HADRA Hybrid Strategy
Primary Standby
RHOS in Zone A RHOS in Zone B
Roadmap 1Q 2020
• Automated take-over
IBM Cloud29IBM Digital Technical Engagement
Db2U Storage ArchitectureTechnology Information Status
Traditional Storage
Shared Cluster File System
GPFS, GPFS FPO, NFS…
https://www.ibm.com/support/kno
wledgecenter/en/SSCJDQ/com.i
bm.swg.im.dashdb.doc/admin/lo
cal_filesystem.html
Supported
Local Storage (Not Native) Supported
Container Storage
GlusterFS Not Supported
Portworx Being Certified / Q1 2020
Ceph 2020
Spectrum Scale (CSI) 2020
IBM Cloud30IBM Digital Technical Engagement
Db2U Release Cycle: Agile & Synchronized
RHOS
Aug.2019
Nov.2019
CI/CD
Db2 WH
Nov.2019
CP4D
Docker Hub (RHOS)
Db2U [Db2 and Db2 WH]Db2U [Db2 WH]
June2019
Db2U [Db2 WH]
CP4DMay2019
Db2U [Db2 WH]
Dec.2019
Q12020
CP4D
Q12020
IBM Cloud31IBM Digital Technical Engagement
Questions ?
IBM Cloud32IBM Digital Technical Engagement
Thank You !
See more on Db2 @
IBM.COM/Demos/collection/db2-database