Openstack Deployment and Operations Guide
Total Page:16
File Type:pdf, Size:1020Kb
OpenStack Deployment and Operations Guide Bob Callaway, NetApp, Inc. Rob Esker, NetApp, Inc. July 2014 | Version 3.0 Abstract This guide is intended to detail design considerations, configuration, deployment and ongoing operational practices for the successful implementation of OpenStack services atop or in concert with NetApp technologies. Please note that this version of the guide applies to the Icehouse (Spring 2014) release of OpenStack. The Havana release and prior are documented in version 2.3 available at http://www.netapp.com/openstack. Table of Contents 1. Executive Summary .................................................................................................... 1 1.1. Authors and Contributors ................................................................................... 1 2. OpenStack Overview .................................................................................................. 2 2.1. OpenStack Foundation ....................................................................................... 2 2.2. OpenStack - A Modular Collection of Cloud Services ........................................... 2 2.3. OpenStack Releases and Distributions ............................................................... 6 2.4. NetApp's Contributions To OpenStack ................................................................ 6 3. About NetApp Storage Systems and Software ........................................................... 8 3.1. Description of Data ONTAP ............................................................................... 8 3.2. Description of FAS Systems ............................................................................. 10 3.3. Description of E-Series and EF-Series Systems ................................................ 10 4. OpenStack Block Storage Service (Cinder) .............................................................. 12 4.1. Overview ......................................................................................................... 12 4.2. Key Concepts .................................................................................................. 13 4.3. Process Structure ............................................................................................ 15 4.4. API Overview ................................................................................................... 18 4.5. Theory of Operation & Deployment Choices ...................................................... 19 4.6. Configuration ................................................................................................... 25 4.7. Examples ........................................................................................................ 40 5. OpenStack Image Service (Glance) .......................................................................... 49 5.1. Overview ......................................................................................................... 49 5.2. Key Concepts .................................................................................................. 49 5.3. Theory of Operation & Deployment Choices ...................................................... 50 5.4. Configuration ................................................................................................... 54 6. OpenStack Compute Service (Nova) ........................................................................ 56 6.1. Overview ......................................................................................................... 56 6.2. Key Concepts .................................................................................................. 56 6.3. Theory of Operation & Deployment Choices ...................................................... 57 7. OpenStack Object Storage Service (Swift) ............................................................... 59 7.1. Overview ......................................................................................................... 59 7.2. Swift Zones and NetApp E-Series Storage ........................................................ 61 7.3. Disk Pools, Volumes, and Mapping ................................................................... 62 7.4. Partitioning and File System Considerations ...................................................... 63 7.5. Swift Ring Considerations with DDP ................................................................. 65 8. Operational Concerns ............................................................................................... 67 8.1. Operational Concerns with Data ONTAP ........................................................... 67 A. Packaging ................................................................................................................. 70 A.1. Packaging and Downloading Requirements ...................................................... 70 A.2. Installation and Uninstallation ........................................................................... 70 A.3. Upgrading and Reverting ................................................................................. 70 A.4. Licensing ......................................................................................................... 70 A.5. Versioning ....................................................................................................... 70 A.6. Deprecated Drivers .......................................................................................... 70 B. Troubleshooting ....................................................................................................... 72 B.1. Common Problems .......................................................................................... 72 B.2. Triage and Data Collection ............................................................................... 75 B.3. References ...................................................................................................... 76 B.4. Support ........................................................................................................... 76 ii Deployment and Operations Guide List of Figures 2.1. OpenStack High Level Architecture ............................................................................ 3 4.1. Cinder and Nova Logical Architecture ....................................................................... 12 4.2. Cinder Processes Concept Diagram ......................................................................... 15 4.3. Cinder Workflow - Volume Creation .......................................................................... 16 4.4. Cinder & Nova Workflow - Volume Attach ................................................................. 17 4.5. Cinder & E-Series Deployment Topology .................................................................. 38 5.1. Enhanced Instance Creation Flowchart ..................................................................... 52 7.1. Traditional and E-Series Swift Stack Comparison ...................................................... 60 7.2. Controller-subsystem based zoning .......................................................................... 61 7.3. E-Series Controller Layout ....................................................................................... 62 iii Deployment and Operations Guide List of Tables 2.1. OpenStack Releases to Date ..................................................................................... 6 4.1. Cinder API Overview - Volume ................................................................................. 18 4.2. Cinder API Overview - Snapshot .............................................................................. 18 4.3. Cinder API Overview - Volume Type ........................................................................ 19 4.4. Cinder API Overview - Volume Type Extra Specs ...................................................... 19 4.5. Cinder API Overview - Volume Type QoS Specs ....................................................... 19 4.6. NetApp supported Extra Specs for use with Cinder Volume Types .............................. 24 4.7. Configuration options for clustered Data ONTAP with iSCSI ....................................... 27 4.8. Configuration options for clustered Data ONTAP with NFS ......................................... 29 4.9. Configuration options for Data ONTAP operating in 7-Mode with iSCSI ....................... 31 4.10. Configuration options for Data ONTAP operating in 7-Mode with NFS ....................... 33 4.11. Common Access Level Permissions Required with SVM Administrative Account ........ 35 4.12. Access Level Permissions Required For Extra Specs Support with SVM Administrative Account .................................................................................................... 36 4.13. Access Level Permissions Required For iSCSI Support with SVM Administrative Account .......................................................................................................................... 36 4.14. Access Level Permissions Required For NFS Support with SVM Administrative Account .......................................................................................................................... 36 4.15. Configuration options for E-Series with iSCSI .......................................................... 39 iv Deployment and Operations Guide Chapter 1. Executive Summary Most options for OpenStack integrated storage solutions aspire to offer scalability, but often lack the features and performance needed