Using the Oracle ZFS Storage Appliance as Storage Back End for OpenStack Cinder An Example Architecture Using Oracle ZFS Storage Appliance and

ORACLE WHITE PAPER | DECEMBER 2015

Table of Contents

Introduction 3 Introducing the OpenStack Project 5 Providing a Reference Model for Cloud Services 5 Defining Cloud Deployment Models 5 Private Cloud 5 Community Cloud 6 Public Cloud 6 Hybrid Cloud 6 OpenStack Main Services Overview 6 Compute Service 7 Block Storage Service 7 Networking Service 7 Image Service 7 7 Identity Service 8 Dashboard Service 8 OpenStack on the Oracle Solaris 8 Architecture of the Oracle OpenStack Implementation on Oracle Solaris 9 Meeting Storage Requirements in an OpenStack Environment 10 Gaining Flexibility with the Oracle ZFS Storage Appliance Architecture 10 Storage Pool 11 Project 12 Shares 12 Data Services 12 Snapshots 12 Clones 12 Remote Replication 12 Shadow Migration 12 Data Security 13 Virus Protection 13 Encryption 13 Analytics 13 Using the Oracle ZFS Storage Appliance in an Oracle OpenStack Environment 13 Designing an OpenStack Architecture with Oracle Solaris and Oracle ZFS Storage Appliance 14 Establishing a 16 Installing and Configuring Oracle OpenStack in Oracle Solaris 20 Implementing the Network Configuration 21 Setting Up Storage Network Interfaces 21 Setting Up the OpenStack Network Connections 22 Setting Up OpenStack Cinder and the Oracle ZFS Storage Appliance 24

1 | Using the Oracle ZFS Storage Appliance as Storage Back End for OpenStack Cinder

Using iSCSI as the Communication Link 24 Understanding the Role of the Oracle OpenStack ZFSSA Cinder Driver 25 Installing and Configuring the Oracle OpenStack ZFSSA Cinder Driver 28 Setting Up Network Interfaces on the Oracle ZFS Storage Appliance 28 Setting Up Storage Connections on Oracle Solaris OpenStack Nodes 29 Setting Up the Cinder Configuration File 29 Setting Up Cinder Service with Oracle ZFS Storage Appliance Cluster Configurations 31 Using Multiple Cinder Storage Back-end Definitions 33 Administering Oracle ZFS Storage Appliance Volumes in the OpenStack Environment 35 Best Practices for Deploying Oracle OpenStack on Oracle Solaris with Oracle ZFS Storage Appliance 38 Planning for Growth with a Multiple Network Architecture 38 Incorporating Uniformity into the Network Design 39 Using Logical Hostnames 40 Using NTP to Synchronize OpenStack Nodes Time 40 Employing a Uniform Symmetrical Hardware Design 40 Using Configuration to Manage Storage Capacity for Various Cinder Guests 41 Use Multiple Backend Definitions 41 Increase Block Storage API Service Throughput 42 Managing Volumes 43 Use Volume Labels 43 Troubleshooting Configurations 44 Troubleshooting iSCSI Connectivity 45 Troubleshooting Using Analytics 47 Appendix A: Cinder Configuration File 48 Appendix B: Oracle OpenStack on Oracle Solaris Open Issues 50 References 51

2 | Using the Oracle ZFS Storage Appliance as Storage Back End for OpenStack Cinder

Introduction As the use of cloud computing continues to grow, so too do industry expectations for increasing corporate spending on IT cloud implementations. The cost benefits of being able to standardize on hardware and software and share those resources in a more economical way within a cloud service model are key factors for the uptake of cloud computing. Furthermore, cloud computing offers flexibility to adapt to organizational changes, and control over critical issues like security and capacity management.

The OpenStack flexible Cloud platform has helped with the wide adoption and deployment of cloud computing. OpenStack offers seamless scaling for both private and public clouds.

Designing and imple