Red Hat OpenStack Platform 13

Similar documents
Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 10 CephFS Back End Guide for the Shared File System Service

Red Hat CloudForms 4.0

Red Hat OpenStack Platform 12

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 13

Red Hat CloudForms 4.5 Integration with AWS CloudFormation and OpenStack Heat

Red Hat OpenStack Platform 14

Red Hat OpenStack Platform 13

Red Hat CloudForms 4.1

Red Hat CloudForms 4.0

Red Hat OpenStack Platform 8 Configure firewall rules for Red Hat OpenStack Platform director

Red Hat OpenStack Platform 11 Monitoring Tools Configuration Guide

Red Hat Developer Studio 12.0

Red Hat OpenStack Platform 9 Introduction to the OpenStack Dashboard

Red Hat OpenStack Platform 10 Product Guide

Red Hat Enterprise Linux OpenStack Platform 7 Fujitsu ETERNUS Back End Guide

Red Hat JBoss Developer Studio 11.1

.NET Core 2.0 Release Notes for Containers

Red Hat Satellite 6.3

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 10

Red Hat JBoss A-MQ 6.0

Red Hat 3Scale 2.0 Terminology

Red Hat Enterprise Virtualization 3.6

Red Hat JBoss A-MQ 6.3

Red Hat Virtualization 4.1 Hardware Considerations for Implementing SR-IOV

Red Hat OpenStack Platform 13

Red Hat CloudForms 4.5

Red Hat Cloud Infrastructure 1.1

Red Hat OpenStack Platform 10

Red Hat Process Automation Manager 7.0 Executing a business process in Business Central

Red Hat OpenStack Platform 13

Red Hat JBoss Fuse 6.1

Red Hat Virtualization 4.2

Red Hat CloudForms 4.6

Red Hat OpenStack Platform 12

Red Hat 3scale 2.3 Accounts

Red Hat Cloud Suite 1.1

Red Hat Process Automation Manager 7.0 Managing and monitoring business processes in Business Central

Red Hat Application Migration Toolkit 4.0

Red Hat CloudForms 4.6

Red Hat JBoss Enterprise Application Platform 7.1

Red Hat JBoss Enterprise Application Platform 7.2

Red Hat Mobile Application Platform Hosted 3

Red Hat Virtualization 4.0

Red Hat JBoss Enterprise Application Platform 7.0

Red Hat JBoss Enterprise Application Platform 7.2

Red Hat JBoss BRMS 6.0

Red Hat Ceph Storage 2 Using Keystone to Authenticate Ceph Object Gateway Users

Red Hat Mobile Application Platform Hosted 3

Red Hat OpenStack Platform 14

Red Hat Process Automation Manager 7.0 Planning a Red Hat Process Automation Manager installation

Red Hat Virtualization 4.1 Product Guide

Red Hat JBoss Data Virtualization 6.2 Using the Dashboard Builder. David Sage

Red Hat AMQ 7.2 Introducing Red Hat AMQ 7

Red Hat Application Migration Toolkit 4.2

Red Hat Enterprise Virtualization 3.6

Red Hat Ceph Storage 3

Red Hat Container Development Kit 3.0 Release Notes and Known Issues

Red Hat CloudForms 4.6

Red Hat Decision Manager 7.0 Designing a decision service using guided rules

Red Hat JBoss Middleware for OpenShift 3

Red Hat Ceph Storage 3

Red Hat CloudForms 4.0

Red Hat CloudForms 4.5 Introduction to the Self Service User Interface

Red Hat JBoss Data Grid 7.1 Feature Support Document

Red Hat JBoss Fuse 6.1

Red Hat Network Satellite 5.4

OpenShift Dedicated 3 Release Notes

Red Hat JBoss Developer Studio Integration Stack 10.0 Installation Guide

Red Hat OpenStack Platform 13

Red Hat Decision Manager 7.0

Red Hat JBoss Fuse 6.3

Red Hat Decision Manager 7.0 Migrating from Red Hat JBoss BRMS 6.4 to Red Hat Decision Manager 7.0

Red Hat JBoss Developer Studio Integration Stack 9.0 Installation Guide

Red Hat JBoss Data Virtualization 6.3 Getting Started Guide

Red Hat OpenShift Application Runtimes 1

Red Hat Development Suite 1.1 Installation Guide

Red Hat Enterprise Linux OpenStack Platform 7 Dell EqualLogic Back End Guide

Red Hat CloudForms 4.2

Red Hat Decision Manager 7.0 Designing a decision service using guided rule templates

Red Hat JBoss Data Grid 6.4

Red Hat CloudForms 4.6

Red Hat Security Data API 1.0

Red Hat Decision Manager 7.0 Migrating from Red Hat JBoss BRMS 6.4 to Red Hat Decision Manager 7.0

Red Hat JBoss BRMS 6.4

Red Hat Enterprise Linux 5 Global Network Block Device

Red Hat JBoss BPM Suite 6.4

Red Hat Enterprise Virtualization 3.6

Red Hat Enterprise Virtualization 3.6 Introduction to the User Portal

Red Hat Ceph Storage 3

3.6. How to Use the Reports and Data Warehouse Capabilities of Red Hat Enterprise Virtualization. Last Updated:

Red Hat JBoss Developer Studio Integration Stack 8.0

Red Hat Ceph Storage Release Notes

Red Hat CloudForms 4.6

JBoss Enterprise Application Platform 5

Red Hat JBoss Web Server 3.1

Red Hat JBoss Data Virtualization 6.4 Quick Starts Guide

Red Hat Fuse 7.2 Fuse Online Sample Integration Tutorials

Transcription:

Red Hat OpenStack Platform 13 NetApp Back End Guide for the Shared File System Service Deploying Multiple NetApp Back Ends for the Shared File System Service in a Red Hat OpenStack Platform Overcloud Last Updated: 2019-01-29

Red Hat OpenStack Platform 13 NetApp Back End Guide for the Shared File System Service Deploying Multiple NetApp Back Ends for the Shared File System Service in a Red Hat OpenStack Platform Overcloud OpenStack Team rhos-docs@redhat.com

Legal Notice Copyright 2019 Red Hat, Inc. The text of and illustrations in this document are licensed by Red Hat under a Creative Commons Attribution Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is available at http://creativecommons.org/licenses/by-sa/3.0/. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must provide the URL for the original version. Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert, Section 4d of CC-BY-SA to the fullest extent permitted by applicable law. Red Hat, Red Hat Enterprise Linux, the Shadowman logo, JBoss, OpenShift, Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States and other countries. Linux is the registered trademark of Linus Torvalds in the United States and other countries. Java is a registered trademark of Oracle and/or its affiliates. XFS is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States and/or other countries. MySQL is a registered trademark of MySQL AB in the United States, the European Union and other countries. Node.js is an official trademark of Joyent. Red Hat Software Collections is not formally related to or endorsed by the official Joyent Node.js open source or commercial project. The OpenStack Word Mark and OpenStack logo are either registered trademarks/service marks or trademarks/service marks of the OpenStack Foundation, in the United States and other countries and are used with the OpenStack Foundation's permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community. All other trademarks are the property of their respective owners. Abstract This document describes how to configure and deploy the OpenStack Shared File System Service using a NetApp storage controller (running Data ONTAP) as a back end. The scenario described herein uses the `manila.share.drivers.netapp.common.netappdriver` in a custom environment file to enable the NetApp back end and allow it to provision and manage shared file system storage.

Table of Contents Table of Contents. CHAPTER......... 1... INTRODUCTION................................................................................. 3.. CHAPTER......... 2... REQUIREMENTS................................................................................. 4.. CHAPTER......... 3... CREATE........ THE.... ENVIRONMENT.............. FILE....................................................... 5.. CHAPTER......... 4... DEPLOY........ THE.... SHARED........ FILE.... SYSTEM........ SERVICE......... WITH..... NETAPP........ BACK..... ENDS...................... 7.. CHAPTER......... 5... CREATE........ A. BASIC....... SHARE...... TYPE........................................................... 8. 1

Red Hat OpenStack Platform 13 NetApp Back End Guide for the Shared File System Service 2

CHAPTER 1. INTRODUCTION CHAPTER 1. INTRODUCTION The OpenStack Shared File Systems service (manila) enables users to provision shared file systems that can be consumed by multiple compute instances. This release supports the use of the NetApp unified driver (manila.share.drivers.netapp.common.netappdriver). This driver allows the Shared File System service to use NetApp storage controllers (running Data ONTAP) as a back end. The recommended method for configuring a Shared File System back end is through the director. Doing so involves writing a custom environment file. 3

Red Hat OpenStack Platform 13 NetApp Back End Guide for the Shared File System Service The following sections assume that: CHAPTER 2. REQUIREMENTS A NetApp storage controller is deployed and ready to be used as a back end. You intend to use only one NetApp storage controller as a back end for your Shared File System service. You can use the director installation user account, which is created as part of the overcloud deployment. See Creating a Director Installation User (from Director Installation and Usage) for more information. The Shared File System service will still be installed on the Controller nodes, as is the default behavior. This document does discuss the different deployment configurations possible for your NetApp back end. To learn more about possible NetApp storage deployment configurations suitable for the Shared File System service, consult the upstream NetApp documentation (in particular, see Theory of Operation and Deployment Choices). After mapping your target configuration (the settings you want for each NetApp back end), you can translate your configuration to a custom environment file. The director uses this file to orchestrate the configuration of your back ends and makes them persistent across overcloud updates. 4

CHAPTER 3. CREATE THE ENVIRONMENT FILE CHAPTER 3. CREATE THE ENVIRONMENT FILE The director already includes Heat templates to configure most of the necessary settings to integrate a NetApp back end. An environment file allows you to define settings specific to your deployment. To start, log in as the stack user on the undercloud and create an environment file with the following contents: /home/stack/templates/netapp-config.yaml parameter_defaults: ManilaNetappLogin: 'NETAPP_USER' # 1 ManilaNetappPassword: 'NETAPP_USER_PASSWORD' ManilaNetappServerHostname: 'HOSTNAME' # 2 ManilaNetappVserver: 'SVM' # 3 ManilaNetappRootVolumeAggr: 'ROOTVAGGR' # 4 ManilaNetappTraceFlags: 'TRFLAGS' # 5 ManilaNetappDriverHandlesShareServers: 'false' # 6 1 2 3 4 5 6 Replace NETAPP_USER and NETAPP_USER_PASSWORD with the credentials of the administrative account used to access the storage system (specifically, HOSTNAME). Replace HOSTNAME with the storage system or proxy server. The value of this option should be the IP address or hostname of either the cluster management logical interface (LIF) or Storage Virtual Machine (SVM) LIF. SVM specifies the storage virtual machine (previously called a vserver) name on the storage cluster on which provisioning of shared file systems should occur. This parameter is required if the driver should operate without managing share servers (that is, be limited to the scope of a single SVM). ROOTVAGGR specifies the name of the aggregate upon which the root volume should be placed when a new storage virtual machine (SVM) is created to correspond to a manila share server. This parameter is required if the value of ManilaNetappDriverHandlesShareServers is set to true, which means the driver manages the life cycle of share servers. This value is not required if the value of ManilaNetappDriverHandlesShareServers is `false`. Replace TRFLAGS with a comma-separated list of options that control which trace info is written to the Shared File System service logs when the debug level is set to True. Supported values include method and api. The ManilaNetappDriverHandlesShareServers parameter sets whether the driver should handle the lifecycle of the share server (false means it should not). For example: /home/stack/templates/netapp-config.yaml parameter_defaults: ManilaNetappLogin: 'netapp_user' ManilaNetappPassword: 'netapp_user_password' ManilaNetappServerHostname: '10.8.18.108' 5

Red Hat OpenStack Platform 13 NetApp Back End Guide for the Shared File System Service ManilaNetappVserver: 'vserver_1' ManilaNetappTraceFlags: 'method,api' ManilaNetappDriverHandlesShareServers: 'false' The next section describes how to use the /home/stack/templates/netapp-config.yaml environment file to orchestrate the configuration of your NetApp back end. 6

CHAPTER 4. DEPLOY THE SHARED FILE SYSTEM SERVICE WITH NETAPP BACK ENDS CHAPTER 4. DEPLOY THE SHARED FILE SYSTEM SERVICE WITH NETAPP BACK ENDS After you create /home/stack/templates/netapp-config.yaml, log in as the stack user on the undercloud and deploy the configured back end by running: $ source ~/stackrc $ openstack overcloud deploy --templates -e /usr/share/openstack-tripleoheat-templates/environments/manila-netapp-config.yaml -e /home/stack/templates/netapp-config.yaml The /usr/share/openstack-tripleo-heat-templates/environments/manila-netappconfig.yaml used here is the environment file provided with the director for deploying NetApp back ends for the Shared File System service. The /home/stack/templates/netapp-config.yaml file created in the previous section allows you to override the default settings to suit your deployment. IMPORTANT If you passed any extra environment files when you created the overcloud, pass them again here using the -e option to avoid making undesired changes to the overcloud. For more information, see Modifying the Overcloud Environment (from Director Installation and Usage). 7

Red Hat OpenStack Platform 13 NetApp Back End Guide for the Shared File System Service CHAPTER 5. CREATE A BASIC SHARE TYPE Whenever you create a new share, you must specify a share type. If you don t specify one, the share creation will fail. Director does not support automatically configuring or creating the default share type during installation. However, director does set the manila.conf configuration option default_share_type to default. Deployers must create the default share type after the overcloud has been deployed. To create a basic share type named default, run the following as the stack user on the undercloud: $ source ~/overcloudrc $ manila type-create default false In the example, manila type-create default is false because there is no need for the NetApp driver to handle the life cycle of share servers. This is because we set ManilaNetappDriverHandlesShareServers to false in Chapter 3, Create the Environment File. Otherwise, if ManilaNetappDriverHandlesShareServers is set to true you can match the default share type to this. For more information about share types, see Creating and Managing Share Types (from the Red Hat OpenStack Platform Storage Guide). 8