OpenStack Plugin 2.0 Implementation Guide - Extreme .OpenStack Plugin 2.0 Implementation Guide 12.

download OpenStack Plugin 2.0 Implementation Guide - Extreme .OpenStack Plugin 2.0 Implementation Guide 12.

of 80

  • date post

    10-Jun-2018
  • Category

    Documents

  • view

    216
  • download

    0

Embed Size (px)

Transcript of OpenStack Plugin 2.0 Implementation Guide - Extreme .OpenStack Plugin 2.0 Implementation Guide 12.

  • OpenStack Plugin 2.0Implementation Guide

    120873-00

    Published June 2014

  • Copyright 2014 Extreme Networks All rights reserved.

    AccessAdapt, Alpine, Altitude, BlackDiamond, Direct Attach, EPICenter, ExtremeWorksEssentials, Ethernet Everywhere, Extreme Enabled, Extreme Ethernet Everywhere, ExtremeNetworks, Extreme Standby Router Protocol, Extreme Turbodrive, Extreme Velocity,ExtremeWare, ExtremeWorks, ExtremeXOS, Go Purple Extreme Solution, ExtremeXOSScreenPlay, ReachNXT, Ridgeline, Sentriant, ServiceWatch, Summit, SummitStack, Triumph,Unified Access Architecture, Unified Access RF Manager, UniStack, XNV, the Extreme Networkslogo, the Alpine logo, the BlackDiamond logo, the Extreme Turbodrive logo, the Summit logos,and the Powered by ExtremeXOS logo are trademarks or registered trademarks of ExtremeNetworks, Inc. or its subsidiaries in the United States and/or other countries.sFlow is the property of InMon Corporation.iBooks is property of Apple, Inc.Specifications are subject to change without notice.All other registered trademarks, trademarks, and service marks are property of their respectiveowners.For additional information on Extreme Networks trademarks, please see: http://www.extremenetworks.com/company/legal/trademarks/.

    For information, contact:Extreme Networks, Inc.145 Rio RoblesSan Jose, 95134

    http://www.extremenetworks.com/company/legal/trademarks/http://www.extremenetworks.com/company/legal/trademarks/

  • Table of ContentsChapter 1: Prerequisites............................................................................................................ 5

    Software Requirements..................................................................................................................................................... 5Hardware Requirements....................................................................................................................................................5OpenStack Requirements.................................................................................................................................................6OpenStack Environment Requirement...................................................................................................................... 6

    Chapter 2: Reference Topology...............................................................................................7Reference Topology Setup.............................................................................................................................................. 7

    Chapter 3: Installing Ubuntu 12.04 LTS on the Hosts......................................................... 12Installing Ubuntu 12.04 LTS on the Hosts................................................................................................................12

    Chapter 4: Installing OpenStack Plugin 2.0 on the Servers.............................................. 14Downloading OpenStack Plugin 2.0.......................................................................................................................... 14Setting Up the OSController.......................................................................................................................................... 15Setting Up the OSHosts................................................................................................................................................... 17

    Chapter 5: Configuring Extreme Networks Switches........................................................ 20Configuring Control and TOR Switches................................................................................................................. 20Configuring the TOR1 Switch....................................................................................................................................... 20Configuring the TOR2 Switch........................................................................................................................................21Configuring the Control 1 Switch................................................................................................................................. 21Configuring the Control 2 Switch................................................................................................................................21

    Chapter 6: Running Extreme Networks OpenStack........................................................... 23Starting Up Extreme Networks OpenStack.......................................................................................................... 23Populating the Topology Database.......................................................................................................................... 23Configuring the Network FabricLAG/MLAG....................................................................................................30Logs...........................................................................................................................................................................................32

    Chapter 7: Managing Tenants and Virtual Machines.......................................................... 33Creating Tenants................................................................................................................................................................ 33Creating Tenants Using Python Script and Configuration File (L3 Agent)...........................................33Creating Tenants Using Python Script and Configuration File (Virtual Routers).............................. 36Verifying TOR Switch Configuration after Tenant Creation (L3 Agent)................................................40Verifying TOR Switch Configuration after Tenant Creation (Virtual Routers).....................................41Creating Tenant Virtual Machine Instances...........................................................................................................43Migrating Tenant Virtual Machine Instances (Live Migration).....................................................................48Deleting Tenant Virtual Machine Instances...........................................................................................................49

    Chapter 8: Deleting OpenStack Items..................................................................................50Deleting Instances, Subnets, Networks, Tenants, and Users........................................................................50Preparing for REST API Calls.........................................................................................................................................51Terminating Instances......................................................................................................................................................52Disabling DHCP................................................................................................................................................................... 54Deleting Interfaces from a Router..............................................................................................................................57Deleting Routers.................................................................................................................................................................. 61Deleting Subnets................................................................................................................................................................ 62Deleting Networks.............................................................................................................................................................64Deleting Tenants.................................................................................................................................................................67

    OpenStack Plugin 2.0 Implementation Guide 3

  • Deleting Users......................................................................................................................................................................69

    Chapter 9: OpenStack Pass-Through Command Line Interface....................................... 73Setting up the OpenStack Pass-Through Command Line Interface.........................................................73Using the OpenStack Pass-Through Command Line Interface.................................................................. 74

    Appendix A: Glossary..............................................................................................................78

    Table of Contents

    OpenStack Plugin 2.0 Implementation Guide 4

  • 1 PrerequisitesSoftware RequirementsHardware RequirementsOpenStack RequirementsOpenStack Environment Requirement

    This chapter explains the prerequisites for installing the Extreme Networks OpenStack Plugin 2.0.

    Software Requirements

    You need the following software installed:

    Extreme Networks' ExtremeXOS operating system release 15.3.2 or 15.3.3 (www.extremenetworks.com/products/extreme-xos.aspx).

    Extreme Networks OpenStack Plugin 2.0 software package (request download package fromExtreme Networks).

    Ubuntu 12.04 LTS (Precise) image with KVM (www.ubuntu.com/download).

    Hardware Requirements

    You need the following hardware if you want to install the reference topology setup (see ReferenceTopology Setup on page 7):

    OSController (OpenStack Cloud Controller with Quantum Server and Network Host; main server)64-bit x86 processor, 8GB RAM (minimum), 7 NICs

    OSHost1, OSHost2 (OpenStack compute hosts; hosts VMs only)64-bit x86 processor, 8GB RAM(minimum), 7 NICs

    TOR1, TOR2Extreme Networks switch (recommended: Summit X460, X480, or X670v)

    We support any switch running ExtremeXOS r