Ubuntu Openstack Installer, Single Machine Mode

Similar documents
Using Juju with a Local Provider with KVM and LXC in Ubuntu LTS

OpenStack Havana All-in-One lab on VMware Workstation

Installing Cisco Nexus 1000V for KVM

Comparison of OpenStack Installers

OpenStack Lab on VMware Workstation Setting up the All-In-One VM

Redhat OpenStack 5.0 and PLUMgrid OpenStack Networking Suite 2.0 Installation Hands-on lab guide

Life Without DevStack: OpenStack Development With OSA. Miguel

Cisco Nexus 1000V for KVM Installation Guide, Release 5.2(1)SK1(2.2)

Cisco ACI with OpenStack Deployment Guide for Ubuntu Using Juju Charms

Setting up Docker Datacenter on VMware Fusion

The InfluxDB-Grafana plugin for Fuel Documentation

Introduction to OpenStack Trove

Preparing for Installation

INSTALLATION RUNBOOK FOR Triliodata + TrilioVault

Andrew Pullin, Senior Software Designer, School of Computer Science / x4338 / HP5165 Last Updated: October 05, 2015

HPCC Systems: See Through Patterns in Big Data to Find Big Opportunities

Setting Up the Dell DR Series System as an NFS Target on Amanda Enterprise 3.3.5

So Many Distributions! Information for Selecting One for a Proof of Concept

Competitive Power Savings with VMware Consolidation on the Dell PowerEdge 2950

DEPLOYING A 3SCALE API GATEWAY ON RED HAT OPENSHIFT

Setting Up the Dell DR Series System on Veeam

Accelerate OpenStack* Together. * OpenStack is a registered trademark of the OpenStack Foundation

Deployment Guide for Nuage Networks VSP

Deployment Guide for Nuage Networks VSP

Andrew Pullin, Senior Software Designer, School of Computer Science / x4338 / HP5165 Last Updated: September 26, 2016

클라우드스토리지구축을 위한 ceph 설치및설정

The Python Mini-Degree Development Environment Guide

Using Dell Repository Manager to Update Your Local Repository

SUREedge MIGRATOR INSTALLATION GUIDE FOR VMWARE

IBM Single Sign On for Bluemix Version December Identity Bridge Configuration topics

Creating a Yubikey MFA Service in AWS

Synchronizer Quick Installation Guide

Introduction to OpenStack

Setting Up the IBM Cloud Manager with OpenStack Cloud Manager Appliance (CMA) on z/vm

From How-To to POC to Production: Learning by Building. Presented By: Grant Kirkwood, CTO Unitas Global March 4, 2017 SCALE 15x Pasadena, Calif

How to Execute a Successful Proof-of-Concept in the Dell Solution Centers

Build Cloud like Rackspace with OpenStack Ansible

PASSPORTAL PLUGIN DOCUMENTATION

Simplified CICD with Jenkins and Git on the ZeroStack Platform

Setting Up the DR Series System as an NFS Target on Amanda Enterprise 3.3.5

SUSE Cloud Admin Appliance Walk Through. You may download the SUSE Cloud Admin Appliance the following ways.

Veritas CloudPoint 1.0 Administrator's Guide

Installing and Configuring Devstack Newton for Infoblox Integration

FOSS IN TELCOS. Is it something new for the TELCOS? June Evgeny Zobnitsev

Application Layer Capture and Assignment

DELL TM PowerVault TM DL Backup-to-Disk Appliance

KeyNexus Hyper-V Deployment Guide

New Dropbox Users (don t have a Dropbox account set up with your Exeter account)

Cisco Modeling Labs ISO Installation

User Workspace Management

SUSE OpenStack Cloud Production Deployment Architecture. Guide. Solution Guide Cloud Computing.

Site License Installation Guide

Acronis Backup & Recovery 11 Beta Advanced Editions

Intel Education Theft Deterrent Deployment Guide. December 2017

Introduction to OpenStack

Zadara Enterprise Storage in

OpenStack Architecture and Pattern Deployment with Heat. OpenStack Architecture and Pattern Deployment using Heat Ruediger Schulze

Installation runbook for

Cymmetria MazeRunner INSTALLATION GUIDE

DesktopPlayer for Windows Release Notes. Version 2.5.0

Ansible Tower Quick Setup Guide

Immersion Day. Getting Started with Amazon RDS. Rev

SafeConsole On-Prem Install Guide. version DataLocker Inc. July, SafeConsole. Reference for SafeConsole OnPrem

Scheduled Automatic Search using Dell Repository Manager

Business Intelligence on Dell Quickstart Data Warehouse Appliance Using Toad Business Intelligence Suite

Edge Device Manager Quick Start Guide. Version R15

Quest VROOM Quick Setup Guide for Quest Rapid Recovery and Foglight Windows Installers

Guide. Cloudistics Ignite: Setup and Configuration Guide

Cisco Modeling Labs OVA Installation

OSDC.de 2013 Introduction to OpenStack. Justin Clift Open Source & Standards RH 17 April 2013

Quest VROOM Quick Setup Guide for Quest Rapid Recovery for Windows and Quest Foglight vapp Installers

Kaminario K2 Reference Architecture for OpenStack and MongoDB

Elastic Compute Service. Quick Start for Windows

Vembu VMware Virtual Appliance Installation Guide - OffsiteDR

Setting Up the DR Series System on Veeam

OPENSTACK CLOUD RUNNING IN A VIRTUAL MACHINE. In Preferences, add 3 Host-only Ethernet Adapters with the following IP Addresses:

Reference Architecture for Dell VIS Self-Service Creator and VMware vsphere 4

Contrail Cloud Platform Architecture

LIVENX UPGRADE GUIDE (AIO)

Proactive maintenance and adaptive power management using Dell OpenManage Systems Management for VMware DRS Clusters

VMware Workspace ONE UEM VMware AirWatch Cloud Connector

Install and Configure FindIT Network Manager and FindIT Network Probe on a VMware Virtual Machine

Build Nested Openstack. Using Ubuntu as BaseOS on BareMetal

vstart 50 VMware vsphere Solution Specification

VMware AirWatch Cloud Connector Guide ACC Installation and Integration

Install and Configure FindIT Network Manager and FindIT Network Probe on Microsoft Hyper-V Manager

bitcurator-access-webtools Quick Start Guide Last updated: May 8th, 2018 Release(s): and later

Setting Up Replication between Dell DR Series Deduplication Appliances with NetVault 9.2 as Backup Software

Experiences with OracleVM 3.3

DesktopPlayer for Windows Release Notes. Version 2.6.0

Mascot Insight Installation and setup guide

Dell EMC Ready Architecture for Red Hat OpenStack Platform

The ScaleIO plugin for Fuel Documentation

DELL TM PowerVault TM DL Backup-to-Disk Appliance

Setup Guide: TeraVM on Microsoft Azure. TeraVM Version 11.4

Eucalyptus User Console Guide

A Performance Characterization of Microsoft SQL Server 2005 Virtual Machines on Dell PowerEdge Servers Running VMware ESX Server 3.

TCPWave DDI Virtual Machine Installation Guide

Linux application virtualization with UDS Enterprise. Versión Rev. 1

User Guide for XenServer Fuel Plugin

Transcription:

Ubuntu Openstack Installer, Single Machine Mode A Dell and Canonical Technical White Paper Kent Baxley Canonical Field Engineer

2 THIS WHITE PAPER IS FOR INFORMATIONAL PURPOSES ONLY, AND MAY CONTAIN TYPOGRAPHICAL ERRORS AND TECHNICAL INACCURACIES. THE CONTENT IS PROVIDED AS IS, WITHOUT EXPRESS OR IMPLIED WARRANTIES OF ANY KIND. 2014 Dell Inc. All rights reserved. Reproduction of this material in any manner whatsoever without the express written permission of Dell Inc. is strictly forbidden. For more information, contact Dell. August 2014

3 Contents Introduction... 4 Introducing the Ubuntu OpenStack Installer... 4 What s different about this installer?... 4 Getting Started... 4 What s happening under the hood?... 6 Adding Resources... 12 Uninstalling the Cloud... 12 Contributing, Getting Help, and Learning More... 13

4 Introduction You ve read about using Juju and MAAS on Dell PowerEdge Servers, you ve also learned about using LXC, the Juju Local Provider and how to leverage LXC and KVMs using Juju on a single machine. Now, let s have a look at how these technologies can help you install an OpenStack cloud on one machine in just a few simple steps. Introducing the Ubuntu OpenStack Installer The Ubuntu OpenStack Installer is designed to help take the headaches out of bringing up a cloud. The installer works with a single machine or multiple machines. This whitepaper will focus on deploying a cloud on a single system. What s different about this installer? There are many other single-node solutions for deploying OpenStack, with devstack being one of the more popular tools. The Ubuntu OpenStack installer is different from devstack in that harnesses the power of Juju to deploy the various services onto a single machine using a combination of KVM and LXC containers. For those that don t have a lot of spare systems lying around, yet wish to see or demonstrate how easy it is to deploy a working cloud using Juju, the Ubuntu OpenStack installer is an ideal option. The finished product is a running OpenStack environment with a pre-configured Neutron network, presynced images, and ready to deploy instances via Nova-Compute. Getting Started For a single-machine installation, the following system specifications are recommended: CPU that supports VT-x/AMD-V. Quad-core or better is recommended. At least 12GB of memory. 100GB+ Hard Drive (a Solid State Drive is recommended for best results). Juju version 1.18.3 or higher Ubuntu 14.04 LTS, 64-bit version Internet access (for downloading packages and images) Since the single-machine scenario is generally used in development or demo environments, a Dell Precision T7610 with Ubuntu 14.04 LTS desktop, 12GB of memory, 250GB of disk space, and a tencore Intel Xeon CPU was used for this write up. Any Dell system, however, that meets at least the recommended requirements above can be used. This includes laptops, workstations, or servers. Once the operating system is installed, some extra software repositories are required to install the cloud-installer as well as the latest stable juju release: $ sudo apt-add-repository ppa:cloud-installer/ppa

5 $ sudo apt-add-repository ppa:juju/stable $ sudo apt-get update From there, install the packages: $ sudo apt-get install cloud-installer Then, kick off the installer: $ sudo cloud-install The first screen will prompt for an install type, choose Single System : Next, when prompted, enter an OpenStack administrative password for your cloud. The system will then proceed to install any extra packages, bootstrap the Juju environment, and begin the process of bringing up machines and services:

6 What s happening under the hood? The cloud-installer installs juju-core and creates a Juju local environment on the standalone system, as seen below from ~/.juju/environments.yaml: default: local environments: local: type: local container: kvm lxc-clone: true admin-secret: admin EOF Juju bootstraps the local environment and a 14.04 LTS image, needed for the containers, is downloaded. The image download may take a while to complete, based on the internet connection speed. The following is displayed in the console while the installer waits for a system to come available:

7 Once the image is downloaded, the first system to be brought up is a KVM container, which acts as the OpenStack controller node. Once this node is up it will proceed to deploy the following services inside of it in individual LXC containers: glance juju-gui keystone mysql nova-cloud-controller glance-simplestreams-sync openstack-dashboard rabbitmq-server Two other KVM containers are also spun up by Juju. One will house a nova-compute node and the other the quantum-gateway node. The console window will also change to show the status of the individual services being deployed:

8 More details on the status of the deploying services can be viewed in a separate console window by running the juju status command. Again, depending on the internet connection speed, it may take a while for the charms to download and for the services to deploy and start up in their respective containers. As each service comes online, the status in the console UI window will change from pending to installed to started. Each service will also get its own IP address assigned to it:

9 Once the Juju-GUI service is in a started state, the graphical status of the OpenStack deployment can be viewed by navigating to Juju-GUI URL in a browser. The cloud-installer s console UI window above provides a URL to the Juju-GUI along the bottom of the window for easy access:

10 When all of the services are started, the OpenStack cloud is ready to go! It is now possible to navigate to the Horizon dashboard (the URL is also provided in the console status UI window along the bottom) and log in with the administrative credentials entered at the beginning of the installation:

11 Navigating to the Networks tab shows that an external (ext-net) and internal (ubuntu-net) has been created already: The images tab reveals that the some images have been pre-populated into this cloud by the installer tool:

12 Pretty much all that needs to be done next is fire up some instances and have some fun with your new OpenStack cloud! Adding Resources While the default setup is generally good enough for experimenting with OpenStack, the Ubuntu OpenStack installer allows users the opportunity to grow their clouds. Adding new resources to the cloud is as easy as pressing the F6 key from the console ui window. Options include ceph, swift-storage, or additional nova-cloud-controller and nova-compute nodes. The number of units to add is also configurable: Warning: Be mindful of system resources when adding units! Since all of this is being done on a single machine, make sure the system has the capacity (i.e. memory and disk space) to take on additional Virtual Machines. Swift Storage alone, for example, will utilize 3 VMs. cloud-installer does not provide any policing of system resources when using this feature. Uninstalling the Cloud To tear down and uninstall the cloud, simply run: $ sudo cloud-install -u This will destroy the juju environment and uninstall all related packages (including cloud-installer and juju-core). The cloud-installer package will need to be reinstalled via apt-get for any new installations.

13 Contributing, Getting Help, and Learning More Documentation on the cloud-installer can be located here. For those interested in contributing to the cloud-installer, all of the code is available on github. Testing, filing bugs, and contributing fixes or enhancements are always welcome. For additional help that can t be found in the documentation, or for any other questions, please feel free to join the #ubuntu-solutions IRC channel on freenode.net.