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.

Red Hat Openstack Platform Director

3,066 views

Published on

Talk on Red Hat Openstack Platform Director at Openstack meetup in Pune office on 28th November 2015.

  • Be the first to comment

Red Hat Openstack Platform Director

  1. 1. Jaison Raju & Anand Nande Red Hat Openstack and Ceph Meetup, Pune 28th November 2015 RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM DIRECTOR
  2. 2. AGENDA ● Need of Provisioning and Management of Openstack Environments ● Openstack Components ● Director Features ● Review Basic working of Director ● Dive into Ironic (the undercloud backbone) ● Questions? Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  3. 3. OpenStack Architecture Overview Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  4. 4. OpenStack Detailed Architecture TOO COMPLEX! Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  5. 5. PackStack Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  6. 6. What was is it? CLI tool that uses Puppet modules to enable rapid deployment of OpenStack on existing servers over an SSH connection. Deployment options are provided either interactively, via the command line, or non-interactively by means of a text (answer) file containing a set of preconfigured values. Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  7. 7. PackStack ...continued Pros: ● Based on puppet modules that are executed locally. ● Ideal for small environments: # yum install ­y openstack­packstack    # packstack –allinone 1. Single-node proof-of-concept installations 2. Proof-of-concept installations where there is a single controller node and multiple compute nodes Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com Cons: ● No support for : ○ High availability for services. ○ Load Balancing. ○ Complex network configurations.
  8. 8. RED HAT ENTERPRISE LINUX OPENSTACK PLATFORM DIRECTOR Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  9. 9. What is it ? This is a Triple0 (Openstack-on-Openstack) based tool used to install and manage the deployment life cycle of RHEL OpenStack Platform 7 (Kilo) It has 2 main concepts: Overcloud and Undercloud Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  10. 10. Director Concept (Openstack on Openstack - TripleO) OverCloud UnderCloud Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com Single-system OpenStack installation that includes components for provisioning and managing the OpenStack nodes compute controller-1 controller-2 controller-3 Resultant Overcloud
  11. 11. Director / Installer / UnderCloud OverCloud Nodes Node Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  12. 12. Director Components Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  13. 13. Director Components ● Heat - Orchestration ● Ironic - Baremetal Provisioning ● Tuskar - WebAPI over Horizon ● TripleO Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  14. 14. Heat ● Heat is used extensively within OSP director to provision and manage the resources associated with deploying an OpenStack-based overcloud. ● Ease of troubleshooting & managing overcloud deployed as stack . Heat API Heat engine API calls using TripleO/Custom templates Queue Cinder API Glance API Nova API Neutron API Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com API request RPC
  15. 15. An Incubated OpenStack project which aims to provision bare metal (as opposed to virtual) machines by leveraging common technologies such as PXE boot and IPMI to cover a wide range of hardware. So, Why Provision Baremetal ? ● Single tenant, dedicated hardware for performance, security, dependability and other regulatory requirements ● Computing tasks that require access to hardware devices which can’t be virtualized. Ironic Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com Mascot of the "Bear Metal" Provisioning Program for OpenStack, a.k.a Ironic. Source: wiki.openstack.org/wiki/File:Ironic_masco Pixie Boots
  16. 16. IRONIC COMPONENTS Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com Components: Ironic API: A RESTful API service, by which operators and other services may interact with the managed bare metal servers. Conductor service which does the bulk of the work. Functionality is exposed via the API service. The Conductor and API services communicate via RPC. various Drivers that support heterogeneous hardware Database for storing information about the resources. Among other things, this includes the state of the conductors, nodes (physical servers), and drivers.
  17. 17. PROVISIONING USED TO DEPLOY BAREMETAL NODES ● Two types of images are required to deploy BM nodes DEPLOY_IMAGES ● deploy-ramdisk-ironic.initramfs ● deploy-ramdisk-ironic.kernel ● discovery-ramdisk.initramfs ● discovery-ramdisk.kernel .kernel and .initramfs files that are used to prepare the bare metal node before the operating system is deployed. USER_IMAGES ● overcloud-full.initrd ● overcloud-full.qcow2 ● overcloud-full.vmlinuz .qcow2 file is used while deploying the operating system, the .vmlinuz and .initrd files are used for booting after the bare metal node is deployed with the .qcow2 file. Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  18. 18. Tuskar ● Provides an API and management platform for defining and linking OpenStack node roles within a TripleO deployment, via the notion of a 'plan'. ● Provides a WebUI through an extension to Horizon, allowing administrators to deploy OpenStack via a web console, monitor progress, and make pre-deployment configuration changes . Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  19. 19. TripleO ● TripleO ships with tools, utilities, and example templates for creating the templates that define the environment and associated images to support the instantiation of such configurations. ○ heat templates ● Describe in a file and see it done. ○ Puppet elements ● used to build disk images for deploying OpenStack via Heat. ● Example: # git clone https://git.openstack.org/openstack/diskimage-builder.git # git clone https://git.openstack.org/openstack/tripleo-puppet-elements.git # export ELEMENTS_PATH=tripleo-puppet-elements/elements # diskimage-builder/bin/disk-image-create -u base vm bootstrap local-config stackuser heat-cfntools -a i386 -o bootstrap ○ Diskimage-builder: Create custom images to be deployed on Overcloud nodes. Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  20. 20. Demo Time Tagged VLAN Controllers Computes Ceph Nodes Director/Undercloud Node [https://youtu.be/UKH6tRoJvaE] Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com Provisioning Network used by Ironic Compute: 3Gb RAM          2 NICs          40Gb Sata HDD Ceph Nodes: 2.5 Gb RAM             2 NICs             40Gb Sata HDD Controllers: 4Gb RAM              2 Nics              40Gb Sata HDD Director: 10Gb RAM           2 NICs           30 Gb Sata HDD 8 cpus
  21. 21. References ● Red Hat Linux Openstack Director Documentation: red.ht/1VNnRwP ● Upstream Page: rdoproject.org/RDO-Manager ● #rdo channel on Freenode ● Mailing List : rdo-list@redhat.com ● Ironic: wiki.openstack.org/wiki/Ironic ● TripleO: wiki.openstack.org/wiki/TripleO Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com
  22. 22. Questions ? Red Hat Openstack and Ceph Meetup | 28-11-15 anande@redhat.com

×