Slide 1

Slide 1 text

DevOpsDays Singapore 2017 MAAS, CEPH & OpenStack - October 2017 DevOps Lead | PALO IT Pradeep BUDITI

Slide 2

Slide 2 text

Bare Metal Automation for Smart Data Centres and to deploy high available and scalable OpenStack Private Cloud Tools: ○ Metal As A Services (MAAS) ○ OpenStack Deployment ○ Juju Charms ○ CEPH OBJECTIVE

Slide 3

Slide 3 text

1 MAAS

Slide 4

Slide 4 text

● Bare metal machines is where all VMs run. ● Complexity on On-boarding, provisioning ● Is Infrastructure must be agile ? ● Manual Data centre deployments ● A tool to manage infrastructure. Bare Metal

Slide 5

Slide 5 text

What is MAAS ? ● Metal as a Service -- MAAS ● treat physical servers like virtual machines in the cloud. ● Elastic cloud-like resource ● Provisioning construct created by Canonical

Slide 6

Slide 6 text

● Use MAAS to deploy Windows servers in their data centre during business hours to support applications and employee systems. ● Once the day is done, they use MAAS to redeploy the data centre server infrastructure to support Linux Servers and perform batch processing and transaction settlement for the day’s activities. MAAS – Use Case

Slide 7

Slide 7 text

● Installing, configuring, and monitoring bare metal hardware. Including but not limited to, servers, switches, power distribution units (PDU)/mains distribution units (MDU), etc. ● Install and upgrade firmware,patches, and updates. ● Automated server utilisation and re-utilisation based on need. ● Discovery of compute, network, capabilities, and storage based on server. ● Power on and off servers as needed. MAAS Introduction Benefits

Slide 8

Slide 8 text

MAAS Architecture Enhance NLP ● Web UI (optimised for mobile devices) ● Open source IP address management (IPAM) full API/CLI support ● High availability (optional) ● Inventory of components ● DHCP and DNS for other devices on the network ● DHCP relay integration ● VLAN and fabric support ● NTP for the entire infrastructure ● Hardware testing ● Composable hardware support

Slide 9

Slide 9 text

MAAS NETWORKING MAAS A B C D ethernet ports 1 2 3 1 2 3 1 2 3 1 2 3 Internal Switch External Switch IPMI Power PXE DHCP Internet

Slide 10

Slide 10 text

MAAS SETUP steps STEP 01 STEP 02 STEP 03 STEP 04 STEP 05 Hardware Setup Install MAAS Access Enable DHCP Comission Nodes Rack mounting hardware Setup Network Switches Configure both internal and External Switch Install Ubuntu Server on one box Install Maas “sudo snap install maas” Create admin user and password for login Complete the first user configuration journey Turn on DHCP on the internal subnet Start the servers. Maas will recognize the nodes. Hit commissioning MAAS Cloud is ready

Slide 11

Slide 11 text

2 OpenStack Deployment

Slide 12

Slide 12 text

● OpenStack is an open source cloud platform ● Controls large pools of compute, storage, and networking resources throughout a datacenter ● Turns hypervisors into data centres (supports KVM to Hyper-V) ● Support Container Orchestration (Kubernetes, Swarm, Mesos) What is OpenStack ?

Slide 13

Slide 13 text

OpenStack Business Drivers OpenStack User Survey April 2017 https://www.openstack.org/assets/survey/April2017SurveyReport.pdf

Slide 14

Slide 14 text

OpenStack Architecture Keystone - Authentication Nova - Compute Neutron - Network Glance - Image Cinder - Volume Storage Horizon - Dashboard Swift - Object Storage Core Services

Slide 15

Slide 15 text

OpenStack Deployment Challenges ● Big software big challenges ○ Deployment ○ Scaling out ○ Server upgrades ○ Rolling updates ○ Repeatable best Practices ● H/W configuration and integration ● Agility

Slide 16

Slide 16 text

3 JUJU Charms

Slide 17

Slide 17 text

OpenStack Deployment Fully Automated MAAS and Juju - workflow Juju openstack-base model MAAS JUJU Physical Infrastructure Model Landscape Charm store Initial deployme nt update/sc ale openstack Auto Provisioning On Bare Metal DNS/DHCP/NT P Web Console $ conjure-up juju gui ● MAAS – to handle bare metal ● Juju – Model-driven solution to deploy, manage and monitor (WebUI and CLI) ● Autopilot - OpenStack installation with best practices (LXD, ZFS, CEPH, OVS) ● Two Step deployment ○ Run ”conjure-up” on maas server to deploy landscape ○ Launch Landscape GUI to install OpenStack

Slide 18

Slide 18 text

JUJU Charms openstack-base ● Juju, enables you to quickly design, configure, deploy and manage both legacy and cloud ready applications. ● Provides a drag-and-drop ability to deploy individual components ● Ability to scale with MAAS

Slide 19

Slide 19 text

CEPH for Storage CEPH ● Ceph is a massively scalable, open source, distributed storage comprised of ○ object store ○ block store ○ POSIX-compliant distributed file system ● Auto-scale to the exabyte level and beyond ● Runs on commodity hardware ● Self-healing and self-managing, and has no single point of failure

Slide 20

Slide 20 text

Automation MAAS JUJU Physical Infrastructure Model Landscape Charm store Initial deployment update/scale openstack Auto Provisioning On Bare Metal DNS/DHCP/NTP Web Console $ conjure-up juju gui