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

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

Red Hat CloudForms 4.0

Red Hat OpenStack Platform 12

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 13

Red Hat Developer Studio 12.0

Red Hat CloudForms 4.5 Integration with AWS CloudFormation and OpenStack Heat

Red Hat CloudForms 4.1

Red Hat CloudForms 4.0

Red Hat OpenStack Platform 13

.NET Core 2.0 Release Notes for Containers

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

Red Hat OpenStack Platform 13

Red Hat JBoss Developer Studio 11.1

Red Hat Satellite 6.3

Red Hat Virtualization 4.2

Red Hat OpenStack Platform 9 Introduction to the OpenStack Dashboard

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

Red Hat Cloud Infrastructure 1.1

Red Hat JBoss Fuse 6.1

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

Red Hat JBoss A-MQ 6.0

Red Hat Virtualization 4.1 Product Guide

Red Hat 3scale 2.3 Accounts

Red Hat 3Scale 2.0 Terminology

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

Red Hat Ceph Storage 3

Red Hat Cloud Suite 1.1

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

Red Hat JBoss BRMS 6.0

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

Red Hat JBoss A-MQ 6.3

Red Hat OpenStack Platform 11 Monitoring Tools Configuration Guide

Red Hat OpenStack Platform 14

Red Hat CloudForms 4.0

Red Hat OpenStack Platform 13

Red Hat OpenStack Platform 10

Red Hat Virtualization 4.1 Hardware Considerations for Implementing SR-IOV

Red Hat CloudForms 4.5

Red Hat CloudForms 4.6

Red Hat CloudForms 4.6

Red Hat Enterprise Virtualization 3.6

Red Hat Ceph Storage 3

Red Hat Application Migration Toolkit 4.0

Red Hat Virtualization 4.0

Red Hat JBoss Enterprise Application Platform 7.1

Red Hat OpenStack Platform 10 Product Guide

Red Hat JBoss Fuse 6.1

Red Hat CloudForms 4.5 Introduction to the Self Service User Interface

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

Red Hat Development Suite 1.1 Installation Guide

Red Hat JBoss Developer Studio Integration Stack 9.0 Installation Guide

Red Hat JBoss Data Virtualization 6.3 Getting Started Guide

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 10.0 Installation Guide

Red Hat JBoss Middleware for OpenShift 3

Red Hat Developer Studio 12.9

Red Hat Application Migration Toolkit 4.2

Red Hat JBoss Enterprise Application Platform 7.2

Red Hat JBoss Data Grid 7.1 Feature Support Document

Red Hat Enterprise Virtualization 3.6

Red Hat CloudForms 4.6

Red Hat Ceph Storage Release Notes

Red Hat Single Sign-On 7.1 Getting Started Guide

Red Hat Mobile Application Platform Hosted 3

Red Hat JBoss Fuse 6.3

Red Hat Single Sign-On 7.2

Red Hat AMQ 7.2 Introducing Red Hat AMQ 7

Red Hat Development Suite 2.2

Red Hat Enterprise Virtualization 3.6

Red Hat Enterprise Virtualization 3.6 Introduction to the User Portal

Red Hat JBoss Developer Studio 9.1

Red Hat Enterprise Linux Atomic Host 7 Getting Started with Cockpit

Red Hat Ceph Storage 3

Red Hat JBoss BRMS 6.4

Red Hat CloudForms 4.6

Red Hat Quay 2.9 Deploy Red Hat Quay - Basic

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

Red Hat Enterprise Linux 5 Global Network Block Device

Red Hat JBoss BRMS 6.1

Red Hat JBoss Developer Studio 9.0

Red Hat Development Suite 2.1

Red Hat Network Satellite 5.4

Red Hat OpenStack Platform 12

Red Hat JBoss Enterprise Application Platform 7.0

Red Hat JBoss Enterprise Application Platform 7.2

Red Hat JBoss Developer Studio Integration Stack 8.0

Red Hat OpenStack Platform 13

Red Hat CloudForms 4.2

Red Hat Enterprise Linux 7 Getting Started with Cockpit

Red Hat Container Development Kit 3.0 Release Notes and Known Issues

Red Hat JBoss BPM Suite 6.4

Red Hat CloudForms 4.6-Beta

Red Hat JBoss Data Grid 6.4

Red Hat Decision Manager 7.0

OpenShift Dedicated 3 Release Notes

Red Hat OpenStack Platform 13

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

Red Hat JBoss Fuse 6.1

Transcription:

Red Hat Enterprise Linux OpenStack Platform 7 Fujitsu ETERNUS Back End Guide A Guide to Using a Fujitsu ETERNUS Back End in a RHEL OpenStack Platform 7 Environment OpenStack Team

Red Hat Enterprise Linux OpenStack Platform 7 Fujitsu ETERNUS Back End Guide A Guide to Using a Fujitsu ETERNUS Back End in a RHEL OpenStack Platform 7 Environment OpenStack Team rhos-docs@redhat.com

Legal Notice Copyright 207 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 Red Hat Enterprise Linux OpenStack Platform 7 to use a Fujitsu ETERNUS Disk Storage System as a back end.

Table of Contents Table of Contents. CHAPTER............ INTRODUCTION................................................................................. 3.. CHAPTER......... 2... DEFINE....... AN... ISCSI..... OR... FIBRE...... CHANNEL.......... BACK..... END.......................................... 4.. CHAPTER......... 3... DOWNLOAD........... AND.... INSTALL......... THE.... DEVICE....... DRIVERS.............................................. 7.. CHAPTER......... 4... LOAD..... THE.... NECESSARY............ ADMINISTRATOR................ CREDENTIALS............................................ 9.. CHAPTER......... 5... CONFIGURE........... THE.... BLOCK....... STORAGE.......... SERVICE................................................ 0... CHAPTER......... 6... TEST..... YOUR...... CONFIGURATION.......................................................................

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

CHAPTER. INTRODUCTION CHAPTER. INTRODUCTION This document describes how to manually configure OpenStack to use a Fujitsu ETERNUS Disk Storage System as a back end for the Block Storage service. The following sections assume that: OpenStack has already been deployed with a properly-configured Block Storage service. You intend to use only Fujitsu ETERNUS Disk Storage System devices and drivers for Block Storage back ends. You have the username and password of an admin account for the OpenStack deployment (see User and Role Management in the Users and Identity Management Guide, or Creating additional OpenStack admin users for more information). The driver configuration file for the Fujitsu ETERNUS back end is available from the Block Storage service host (typically, in /etc/cinder/cinder_fujitsu_eternus_dx.xml). You can use either Fibre Channel or iscsi interfaces with a Fujitsu ETERNUS device. Each interface has its own settings and driver: Red Hat supports the use of both interfaces (and their respective drivers) with OpenStack. 3

Red Hat Enterprise Linux OpenStack Platform 7 Fujitsu ETERNUS Back End Guide CHAPTER 2. DEFINE AN ISCSI OR FIBRE CHANNEL BACK END Before downloading and installing the required Fujitsu ETERNUS volume driver, create a new driver installation file for the ETERNUS back end. This file will define which back ends need to be enabled, along with the settings used by each back end. The following snippet is a complete configuration file. The [FJFC] section is a sample definition for a Fibre Channel back end, while [FJISCSI] is for iscsi: [DEFAULT] enabled_backends=fjfc,fjiscsi # [FJFC] fujitsu_volume_driver=true # protocol=fc # driver_config_file=/etc/cinder/fjfc.xml # ip=0..2.3 # port=5988 # user=osvd2 # password=osvd2 # poolname=3jb2b4k,pool,pool2 # snappoolname=3jb2b4k # 6 volume_backend_name=fjfc # 7 3 5 8 0 2 9 4 [FJISCSI] fujitsu_volume_driver=true # protocol=iscsi # driver_config_file=/etc/cinder/fjiscsi.xml # ip=0..2.3 # port=5988 # user=osvd2 # 6 7 password=osvd2 # 3 5 8 poolname=3jb2b4k,pool,pool2 # snappoolname=3jb2b4k # 2 0 iscsiip=92.68.0., 92.68.0.2, 92.68.0.3, 92.68.0.4 # volume_backend_name=fjiscsi # 2 2 9 4 2 enabled_backends: a comma-separated list of volume back end names for all enabled Fujitsu ETERNUS back ends. 4

CHAPTER 2. DEFINE AN ISCSI OR FIBRE CHANNEL BACK END 2 2 fujitsu_volume_driver: specifies whether to apply the driver settings to the Block Storage service configuration file (by default, /etc/cinder/cinder.conf). Set this to true. 3 3 protocol: sets what type of connection protocol the back end should use. Specify fc for Fibre Channel or iscsi for iscsi. 4 4 driver_config_file: the absolute path to the driver configuration file. Specifically, this refers to the file where the back end s settings will be defined. 5 5 ip: the IP address of the back end s SMI-S server. 6 6 port: the port of the back end s SMI-S server. 7 7 user: the username that the Block Storage service should use to access the SMI-S server. 8 8 password: the corresponding password of user. 9 9 poolname: the names of the storage pools (RAID group or Thin Provisioning Pool) in which volumes should be created 0 20 snappoolname (optional): the names of the storage pools where volume snapshots should be created. If this is not specified, then the driver will use the same pools listed in poolname. 22 volume_backend_name: the name of the volume back end. To enable the back end, list this setting s value in enabled_backend (under the [DEFAULT] section). 5

Red Hat Enterprise Linux OpenStack Platform 7 Fujitsu ETERNUS Back End Guide this setting s value in enabled_backend (under the [DEFAULT] section). 2 iscsiip: the IP address used to connect to the iscsi back end. You can specify a commadelimited list of multiple IP addresses. 6

CHAPTER 3. DOWNLOAD AND INSTALL THE DEVICE DRIVERS CHAPTER 3. DOWNLOAD AND INSTALL THE DEVICE DRIVERS After creating the driver installation file (in Chapter 2, Define an iscsi or Fibre Channel Back End), download and install the ETERNUS OpenStack VolumeDriver software package. The following procedure describes how to do so in a non-interactive manner:. First, go to the following link: http://www.fujitsu.com/global/support/products/computing/storage/download/openstackvd.html Read the Conditions of use for important information about the software. 2. Click I AGREE. Doing so will take you to the ETERNUS OpenStack VolumeDriver Download page. 3. From there, download the package appropriate for your Red Hat OpenStack version. For Red Hat Enterprise Linux OpenStack Platform version 7, this is Kilo. 4. Either package is available in *.tar.gz format. After downloading the package, copy it to the Controller node of your OpenStack deployment. 5. Copy the driver installation file (in Chapter 2, Define an iscsi or Fibre Channel Back End) to the Controller node as well. 6. Log in to Controller node with the same account used to install OpenStack. 7. Extract the ETERNUS OpenStack VolumeDriver package. For example, to extract the Kilo version: # tar -xvf osvd30_kilo.tar.gz Doing so will extract all the contents of the package to a local osvd30_kilo subdirectory. 8. Enter the extracted subdirectory: # cd osvd30_kilo/ 9. From there, install the ETERNUS driver for OpenStack while also applying your required driver settings: #./osvd_install.sh install INSTALLFILE Replace INSTALLFILE with the absolute path to the driver installation file you created as part of Chapter 2, Define an iscsi or Fibre Channel Back End (for example, /root/osvd30_kilo/eternus.xml). The osvd_install.sh script will then create the driver configuration file of each back end declared in the INSTALLFILE. Each back end s driver configuration file is configured through the driver_config_file setting. Afterwards, the osvd_install.sh script will add an entry for each back end in the Block Storage service configuration file (by default, /etc/cinder/cinder.conf). Each entry contain the back end s name, driver, and a reference to the back end configuration file. The osvd_install.sh script will also enable each back end by name through the enabled_backends setting. 7

Red Hat Enterprise Linux OpenStack Platform 7 Fujitsu ETERNUS Back End Guide To apply the new settings, reboot the Block Storage service to apply the new settings: # openstack-service restart openstack-cinder-volume 8

CHAPTER 4. LOAD THE NECESSARY ADMINISTRATOR CREDENTIALS CHAPTER 4. LOAD THE NECESSARY ADMINISTRATOR CREDENTIALS As you will be performing administrative functions from this point onwards, you need to load the necessary environment variables to facilitate authentication. To do so, run the following commands: # export OS_USERNAME=ADMIN_USER # export OS_TENANT_NAME=admin # export OS_PASSWORD=ADMIN_PW # export OS_AUTH_URL=http://KEYSTONE_IP:35357/v2.0/ # export PS='[\u@\h \W(keystone_admin)]\$ Where: ADMIN_USER and ADMIN_PW are the username/password of a user account with administrative rights within the OpenStack environment. KEYSTONE_IP is the IP address or hostname of the Identity service. For more information about OpenStack admin accounts, see Creating additional OpenStack admin users. 9

Red Hat Enterprise Linux OpenStack Platform 7 Fujitsu ETERNUS Back End Guide CHAPTER 5. CONFIGURE THE BLOCK STORAGE SERVICE After configuring the Block Storage service to use the new Fujitsu ETERNUS back ends, declare a volume type for each one. Volume types allow you to specify which back end to use when creating new volumes. The following commands create two volume types: FJFC (for the fibre channel back end) and FJISCSI (for the iscsi back end): # cinder type-create FJFC # cinder type-create FJISCSI Next, map these volume types to their respective back ends (as defined in Chapter 2, Define an iscsi or Fibre Channel Back End): # cinder type-key FJFC set volume_backend_name=fjfc # cinder type-key FJISCSI volume_backend_name=fjiscsi 0

CHAPTER 6. TEST YOUR CONFIGURATION CHAPTER 6. TEST YOUR CONFIGURATION Verify your configuration by creating a GB iscsi volume named test_iscsi: # cinder create --volume_type FJISCSI --display_name test_iscsi To test the fibre channel back end: # cinder create --volume_type FJFC --display_name test_fc