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.

OpenStack Australia Day 2016 - Avi Miller, Oracle: Deploying and Upgrading OpenStack using Docker Containers

2,037 views

Published on

Audience: Beginner

About: OpenStack is notoriously complex to deploy and update. Traditional method of using RPMs is extremely unreliable due to inter-dependencies resulting into delays in deployment and failures in update. Any change in any of the RPMs may can adversely impact other RPMs and the deployment risks failures and delays. Leveraging OpenStack upstream Kolla project, Oracle has transformed the deployment. OpenStack services are deployed as micro-services in docker containers which are fully independent from each other. Using the Ansible deployment tool, any of the containers can be changed or replaced easily without impacting other containers. In this session, you will learn the details of the ACTUAL EXPERIENCE with Oracle OpenStack distribution using Docker containers

Actual time for the fast deployment: small, medium and large OpenStack deployments

Learn the surprisingly easy update process and actual time required.

Understand the recommended OpenStack configuration for different size of deployments

Learn the actual performance, scalability and tuning for different deployment size

Speaker Bio: Avi Miller – Product Management Director, Oracle

Avi is an accomplished technical product manager with extensive experience across the operating system, virtualisation and application stacks.

Avi has spoken at numerous conferences, in particular at linux.conf.au in Australia and several times at Oracle OpenWorld in San Francisco as well as Oracle OpenWorld Asia in Shanghai.

http://www.australiaday.openstack.org.au

Published in: Technology
  • Be the first to comment

OpenStack Australia Day 2016 - Avi Miller, Oracle: Deploying and Upgrading OpenStack using Docker Containers

  1. 1. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Deploying and upgrading OpenStack using Docker containers Avi Miller Product Management Director: Oracle Linux OpenStack Australia Day – 5 May 2016 Oracle Confidential –
  2. 2. Copyright © 2015, 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.
  3. 3. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Agenda Introduction Why use Docker Containers for deployment? Oracle deployment architecture Performance comparison 1 2 3 4
  4. 4. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Docker containers and Kolla: A New Model Simplifying adoption by minimizing complexity
  5. 5. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | Oracle OpenStack Management Software for the Virtual Datacenter 6 • Current release is based on ‘Kilo’. Next release is based on ‘Mitaka’. • Free to download and use with the latest updates and patches. • Support included in the Oracle Linux and VM Premier Support subscriptions at no additional cost. Image service Glance Block Storage service Cinder Identity service Keystone Object Storage service Swift Network service Neutron OpenStack Dashboard Horizon Compute service Nova Orchestration Service Heat Application Catalog Murano
  6. 6. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Building a Cloud Infrastructure is Not for the Timid Deployment Plane (infrastructure deployment + configuration & reconfiguration of services) Control Plane (Interaction with services to build instances) Data Plane (Deployed instances delivering application content to tenants) OpenStack involves multiple planes, each focused on specific requirements, with varying levels of complexity Our goal is to minimize complexity and simplify deployments….. …by using containers for deployment of OpenStack services
  7. 7. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Previous deployment model – RPM based - thousands of interdependent packages – Unstable. Difficult to Manage • Conflicting interdependencies from different versions of OS and services • Change in one can bring down other – As a result….. • Long time to deploy • Difficult to upgrade • High risk and unforeseen downtime with changes Deployment with Docker Container – Package each service as an independent micro-service in a Docker container. – Only thing that changes is the configuration loaded into the container • New containers are easy to create and fast and reliable to deploy • Does not reconfigure anything else • Provides immutability and portability – As a result….. • Simplified and fast deployment • Easy to upgrade, operate and modify • Reliable Why Docker Containers for OpenStack Deployment?
  8. 8. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | • Oracle’s own Docker containers based deployment merged with OpenStack Kolla project – Oracle contributing upstream • Production ready all services – Install from source (not RDO) • Deployment tools: Ansible playbooks • Simplified rapid deployment, upgrade and operation Oracle Deployment based on OpenStack Kolla Monitor Deploy Build Code Test Delivering OpenStack Services as Microservices
  9. 9. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Installation & Configuration Architecture Local Docker Registry OpenStack Docker Images ULN or Public-Yum 1 2 Kolla-CLI 34 Docker Container Configure Services Nova Neutron Horizon Swift Docker Registry
  10. 10. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Nova Compute Neutron ML2 agent Neutron OvS agent Docker Containers Hypervisor (KVM/Hyper-V/LXC/Xen) Compute Node(s) Swift Account Swift Container Swift Object Cinder Volume Docker Containers Storage Node(s) Neutron Neutron ML2 agent Neutron L3 agent Neutron OvS agent Docker Containers Network Node(s) MySQL Cluster RabbitMQ Keepalived Nova Neutron Memcached Cinder Swift Keystone Glance Heat Horizon Docker Containers Controller Node(s) MySQL Cluster RabbitMQ Keepalived Nova Neutron Memcached Cinder Swift Keystone Glance Heat Horizon Docker Containers Container life cycle management (Ansible) Management Controller Nodes Deploy, Upgrade and Configure Containers Putting It All Together Oracle Deployment Architecture 11
  11. 11. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Recommended Configuration for Different Size of Deployments Compute Nodes Controller Nodes Network Nodes Storage (ceph) Expected duration 4 to 50 2 2 4-50 shared with compute Under 1 hr 50 to 100 4 2 6 Separate additional Approx 1.5 hrs 100 to 400 6 2 10 Separate additional Approx 2 hrs
  12. 12. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Improvements: Deployment and Update Durations Deployment RPM based deployment Docker Containers based deployment 50 Compute nodes Approx 120 minutes 60 minutes or 50% faster 100 compute nodes Approx 180 minutes 90 minutes or 50% faster Updating the services Several Manual Steps and iteration risk Expected duration slightly longer than the fresh deployment while significantly faster and reliable than RPM- based (measurements in-progress)
  13. 13. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Measurements with Rally Simulation 2 control nodes + 3 compute nodes. Using Nova command and Rally • 1,434 accumulated VMs booted in 10 minutes with failure rate =0 • 200 concurrent VM (1 fail) booted by Nova command Total duration (from API request to VM launch) from Rally: 1000 iterations in booting 1000 VM with 100 concurrency – 97.7% success, Average: 119 seconds Rally Tuning: Update “nova_server_boot_timeout = 600 – Failures: 0 (100% success), Average: 132 seconds
  14. 14. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | @ORCL_Linux Facebook.com/ OracleLinux blogs.oracle.com/ openstack/ Oracle Linux Experts Group YouTube.com/ OracleLinuxChannel Learn More about Oracle OpenStack for Oracle Linux Join our communities, visit our websites for more information oracle.com/goto/openstack-for-oracle-linux 15
  15. 15. Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

×