Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

DevOps Supercharged with Docker on Exadata

264 views

Published on

Prezentace z webináře
4.4.2019
Prezentoval: Patrik Plachý – Senior Presales Consultant, Oracle

Published in: Technology
  • Be the first to comment

  • Be the first to like this

DevOps Supercharged with Docker on Exadata

  1. 1. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | DevOps Supercharged with Docker on Exadata
  2. 2. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2
  3. 3. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Exadata Vision Dramatically Better Platform for All Database Workloads • Ideal Database Hardware - Scale-out, database optimized compute, networking, and storage for fastest performance and lowest costs • Smart System Software – specialized algorithms vastly improve all aspects of database processing: OLTP, Analytics, Consolidation • Automated Management – Automation and optimization of configuration, updates, performance, and management culminating in Fully Autonomous Database and Infrastructure 3 Identical On-Premises and in Cloud
  4. 4. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Proven at Thousands of Ultra-Critical Deployments since 2008 • Best for all Workloads • Petabyte Warehouses • Online Financial Trading • Business Applications – SAP, Oracle, Siebel, PSFT, … • Massive DB Consolidation 4 4 of the 5 Largest Enterprises in the World Run Exadata 4 OF THE TOP 5 BANKS, TELECOMS, RETAILERS RUN EXADATA
  5. 5. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Exadata Scale-Out State-of-the-Art Hardware 5
  6. 6. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • Scale-Out 2-Socket or 8-Socket Database Servers – Latest 24 core Intel Xeon Skylake – Latest 25 GigE client connectivity • Ultra-Fast Unified InfiniBand Internal Fabric • Scale-Out Intelligent Storage Servers – Latest Intel 10 core Skylake CPUs offload database processing – Latest disk technology - 10TB Helium Disk Drives – Latest NVMe PCI Flash - 6.4 TB Hot swappable Exadata Adopts Latest State of the Art Hardware Every Year 6 High-Capacity (HC) Storage Extreme Flash (EF) Storage Database Server
  7. 7. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 7 Exadata Smart Software Unique Differentiators for Analytics, OLTP and Consolidation
  8. 8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | • Scale-Out Database Servers • Fastest Internal Fabric • Scale-Out Intelligent Storage High-Capacity Storage Server Extreme Flash Storage Server Exadata Database Machine 8 Smart, Database-Aware Software Compute Software – Oracle Linux 67 – Oracle Database Enterprise Edition – Oracle VM (optional) – Oracle Database options Storage Server Software – Smart Scan (SQL offload) – Smart Flash Cache – Hybrid Columnar Compression – IO Resource Management
  9. 9. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Docker Overview 9
  10. 10. Copyright © 2017 Oracle and/or its affiliates. All rights reserved. | What is Docker? • A software container platform • Originated from Linux / Linux Containers – Also available on Windows and Mac OS X • Part of the Linux Open Container Initiative (OCI) – Part of Open Source Linux • Editions: – Commercial Edition (EE) – Sold by Docker Corp – Community Edition (CE) – Part of Open Source Linux
  11. 11. Copyright © 2017 Oracle and/or its affiliates. All rights reserved. | What is Docker? • docker-engine: The engine running containers • Images: Collection of software to be run as a container • Containers: A container on the Linux host • Registry: Place to store and download images • Volumes: Place to persist data outside the container Terminology
  12. 12. Copyright © 2017 Oracle and/or its affiliates. All rights reserved. | What is Docker? • Containers are non-persistent – Once a container is deleted, all files inside that container are gone • Images are immutable – Changes to an image require to build a new image – Data to be persisted has to be stored in volumes • Containers are spun up from images Concepts
  13. 13. Copyright © 2017 Oracle and/or its affiliates. All rights reserved. | Docker Key Components Source: https://docs.docker.com/engine/docker-overview/ • Registry • Images • Containers • Docker daemon/engine
  14. 14. Copyright © 2017 Oracle and/or its affiliates. All rights reserved. | Why is Docker cool? • Abstracts virtual environment (container) creation into simple steps: – docker create … – docker run … – docker rm … • Runs directly on the Linux kernel (cgroups) – Avoids the hypervisor overhead
  15. 15. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Docker Use Cases 15
  16. 16. Copyright © 2017 Oracle and/or its affiliates. All rights reserved. | Oracle Database on Docker • Oracle Database is fully supported on Docker – Oracle Linux 7 - UEK 4 – Red Hat Enterprise Linux 7 • Oracle images on Oracle Container Registry & Docker Store • Docker build files on GitHub • RAC support for dev/test only
  17. 17. Copyright © 2017 Oracle and/or its affiliates. All rights reserved. | Why RAC on Docker ? •Single orchestration interface –Setup RAC just like you would setup software XYZ •Rapid deployment & management •Lots of interest –Internal development orgs •Testing Team •Exadata Team –Customers embracing containers (micro services) •Customers want to test on RAC using the same Database stack as in production •Customers want to deploy production on RAC for availability 17
  18. 18. Copyright © 2017 Oracle and/or its affiliates. All rights reserved. | RAC on Docker use cases •Easy deployment of RAC test/dev environment on a single or multiple host •Consolidation with lower overhead than VMs –Share a single kernel and application libraries –lower system overhead and performance –Isolation between database instances •Agility and portability of instances across physical hosts •Fast prototyping –A virtual machine could take up several minutes to create and launch whereas a container can be created and launched just in a few seconds. –Patching, pre-build images, RAC rolling fashion for GI/RDBMS 18
  19. 19. Copyright © 2017 Oracle and/or its affiliates. All rights reserved. | Docker Use Cases for Exadata • Host Oracle Applications – Segregated environment for Oracle Apps like Oracle R, Audit Vault – Cloud tooling agents can be also installed in a container making updates simpler • Containerize agents and ISV apps – Customers deploy various agents that get affected by DB node upgrades – Agents and ISV apps that are not compatible with the default OL version • Support database releases for Test and Dev – Customers can deploy new database releases such as Database 18.1 for test and dev – Customers can spin up database containers for rapid provisioning of test/dev 19
  20. 20. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Exadata Setup for Docker • Docker available on Exadata since Exadata System Software Release 18.1 – Recommend Exadata 19.1 with OL7 • Service is turned off by default • Can be easily turned on: systemctl enable docker [root@adczardb02 docker]# systemctl enable docker Created symlink from /etc/systemd/system/multi- user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
  21. 21. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Exadata Setup for Docker • Next install git on Exadata database server: yum install git 21
  22. 22. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Setting up Oracle Database in a Docker container on Exadata • Get the latest Oracle projects from github • Use the install script in the Database projects to setup a Database image • The script downloads the Linux image from docker.io and installs the database home in the image • Image will work with DBCA and sets up the Listener as well • ORCL database processes are now running on the host 22
  23. 23. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Setting up Oracle Database in a Docker container on Exadata • Download the latest Oracle docker image from github: 23
  24. 24. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Setting up Oracle Database in a Docker container on Exadata • Download the latest Oracle Projects from github: 24
  25. 25. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Setting up Oracle Database in a Docker container on Exadata 25 • Build the Docker image next
  26. 26. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 27

×