VMware Integrated OpenStack Administration Guide ... VMware Integrated OpenStack Administration...

download VMware Integrated OpenStack Administration Guide ... VMware Integrated OpenStack Administration Guide

If you can't read please download the document

  • date post

    15-Aug-2020
  • Category

    Documents

  • view

    1
  • download

    0

Embed Size (px)

Transcript of VMware Integrated OpenStack Administration Guide ... VMware Integrated OpenStack Administration...

  • VMware Integrated OpenStack Administration Guide

    04 JUNE 2020 VMware Integrated OpenStack 7.0

  • You can find the most up-to-date technical documentation on the VMware website at:

    https://docs.vmware.com/

    VMware, Inc. 3401 Hillview Ave. Palo Alto, CA 94304 www.vmware.com

    Copyright ©

    2015-2020 VMware, Inc. All rights reserved. Copyright and trademark information.

    VMware Integrated OpenStack Administration Guide

    VMware, Inc. 2

    https://docs.vmware.com/ http://pubs.vmware.com/copyright-trademark.html

  • Contents

    1 VMware Integrated OpenStack Administration Guide 7

    2 Deployment Configuration 8 Add Capacity to an OpenStack Deployment 8

    Add Controller Nodes to Your Deployment 9

    Scale OpenStack Services 9

    Add Compute Clusters to Your Deployment 10

    Add Storage to the Image Service 11

    Add Clusters to the Block Storage Service 12

    Enable HA on Your Deployment 13

    Modify Management and API Access Networks 13

    Update Component Credentials 14

    Add Certificates to Your Deployment 14

    Profile OpenStack Services 15

    Create Multiple Horizon Regions 16

    Create a Custom Theme for the VMware Integrated OpenStack Dashboard 17

    Customize OpenStack Settings 18

    Rename a Datastore 19

    Customize a TLS Cipher Suite 20

    Create a Tenant Virtual Data Center 21

    Using the Tenant Virtual Data Center vAPIs 23

    Delete an OpenStack Deployment 25

    3 Neutron Network Configuration 26 Create a Provider Network 26

    Create a Provider Network with NSX-T Data Center 27

    Create a Provider Network with NSX Data Center for vSphere 28

    Create a Provider Network with VDS Networking 30

    Create an External Network 31

    Create an External Network with NSX-T Data Center 31

    Create an External Network with NSX Data Center for vSphere 33

    Create a Tenant Network 34

    Create a Layer 2 Bridge 36

    Create a Layer 2 Bridge with NSX-T Data Center 36

    Create a Layer 2 Bridge with NSX Data Center for vSphere 36

    Create a Neutron Availability Zone with NSX-T Data Center 37

    Configure VMware Integrated OpenStack with an NSX Manager Cluster 40

    Use NSX-T Data Center N-VDS Enhanced Data Path Mode with OpenStack 40

    VMware, Inc. 3

  • Configure VLAN Transparency 41

    Configure MAC Learning 42

    Specify Tenant Router Types for NSX Data Center for vSphere 42

    Add an NSX-T Data Center Back End to an NSX Data Center for vSphere Deployment 43

    Create a Provider Security Group 45

    Use NSX Data Center for vSphere Security Policies in OpenStack 46

    Create a Load Balancer 48

    Create a DNS Zone 51

    4 Authentication and Identity 53 Create an OpenStack Project 53

    Create a Cloud User 54

    Create a User Group 55

    Manage Keystone Domains 56

    Configure LDAP Authentication 56

    Configure VMware Identity Manager Federation 59

    Configure Keystone to Keystone Federation 62

    Configure Generic SAML 2.0 Federation 64

    5 OpenStack Instances 69 Manage OpenStack Flavors 70

    Launch an Instance 70

    Import Virtual Machines into VMware Integrated OpenStack with NSX Data Center for vSphere 71

    Import Virtual Machines into VMware Integrated OpenStack with NSX-T Data Center 75

    Migrate an Instance 77

    Enable Live Resize 78

    Configure Multiple Virtual Interface Drivers 80

    Enable Huge Page Support 81

    Use Affinity to Control OpenStack Instance Placement 82

    Use DRS to Control OpenStack Instance Placement 83

    Define VM and Host Groups for Placing OpenStack Instances 83

    Create a DRS Rule for OpenStack Instance Placement 84

    Apply VM Group Settings to Image Metadata 85

    Configure QoS Resource Allocation for Instances 85

    Use Storage Policy-Based Management with OpenStack Instances 87

    Configure Virtual CPU Pinning 90

    Configure OpenStack Instances for NUMA 91

    Configure Passthrough for Networking Devices 92

    Configure Passthrough for Non-Networking Devices 94

    Configure Passthrough for an NVIDIA GRID vGPU 97

    Supported Flavor Extra Specs 98

    VMware Integrated OpenStack Administration Guide

    VMware, Inc. 4

  • 6 Cinder Volumes and Volume Types 102 Create a Volume 102

    Create a Multi-Attach-Capable Volume 104

    Transfer a Volume 105

    Create a Volume Type 106

    Manage a Volume 107

    Migrating Volumes Between Datastores 108

    Migrate All Volumes from a Datastore 108

    Migrate Unattached Cinder Volumes 109

    Migrate Attached Cinder Volumes 110

    Supported Volume Type Extra Specs 111

    7 Glance Images 112 Import an Image 112

    Import a Virtual Machine Template as an Image 113

    Migrate an Image 114

    Configure an Image for Windows Guest Customization 115

    Supported Image Metadata 116

    8 Heat Orchestration and Stacks 119 Generate a Heat Template 119

    Launch a Stack 120

    Configurable Heat Parameters 121

    9 Swift Object Storage 123 Create the Swift Cluster 123

    Add Nodes to Your Swift Cluster 124

    Store Objects in Swift 125

    10 Backup and Recovery 127 Back Up Your Deployment 127

    Create a Scheduled Backup Task 128

    Configure the Backup Service for Cinder 130

    Restore Your Deployment from a Backup 132

    11 Troubleshooting VMware Integrated OpenStack 137 Create a Support Bundle 137

    VMware Integrated OpenStack Virtual Appliance Fails to Deploy 138

    Synchronize OpenStack Instance State 138

    Project Instance Table Is Slow to Display 138

    User Deletion Intermittently Fails 139

    VMware Integrated OpenStack Administration Guide

    VMware, Inc. 5

  • Cinder Backup Fails Under High Concurrency 140

    12 VMware Integrated OpenStack Command Reference 143 Comparison of Command-Line Operations 144

    VMware Integrated OpenStack Toolbox 146

    viocli add Command 147

    viocli create Command 149

    viocli delete Command 152

    viocli generate Command 154

    viocli get Command 154

    viocli import Command 155

    viocli migrate Command 156

    viocli patch Command 157

    viocli prepare Command 157

    viocli reset Command 158

    viocli restore Command 158

    viocli start Command 159

    viocli stop Command 159

    viocli update Command 160

    viocli version Command 162

    VMware Integrated OpenStack Administration Guide

    VMware, Inc. 6

  • VMware Integrated OpenStack Administration Guide 1 The VMware Integrated OpenStack Administration Guide shows you how to perform administrative tasks in VMware Integrated OpenStack, including how to create and manage projects, users, accounts, flavors, images, and networks.

    Intended Audience

    This guide is for cloud administrators who want to create and manage resources with an OpenStack deployment that is fully integrated with VMware vSphere®. To do so successfully, you should be familiar with the OpenStack components and functions.

    Terminology

    For definitions of terms as they are used in this document, see the VMware Glossary at https:// www.vmware.com/topics/glossary and the OpenStack Glossary at https://docs.openstack.org/ doc-contrib-guide/common/glossary.html.

    VMware, Inc. 7

    https://www.vmware.com/topics/glossary https://www.vmware.com/topics/glossary https://docs.openstack.org/doc-contrib-guide/common/glossary.html https://docs.openstack.org/doc-contrib-guide/common/glossary.html

  • Deployment Configuration 2 You can modify the configuration of your VMware Integrated OpenStack deployment to add capacity, enable profiling, update credentials, and change or customize various settings.

    This chapter includes the following topics:

    n Add Capacity to an OpenStack Deployment

    n Enable HA on Your Deployment

    n Modify Management and API Access Networks

    n Update Component Credentials

    n Add Certificates to Your Deployment

    n Profile OpenStack Services

    n Create Multiple Horizon Regions

    n Create a Custom Theme for the VMware Integrated OpenStack Dashboard

    n Customize OpenStack Settings

    n Rename a Datastore

    n Customize a TLS Cipher Suite

    n Create a Tenant Virtual Data Center

    n Using the Tenant Virtual Data Center vAPIs

    n Delete an OpenStack Deployment

    Add Capacity to an OpenStack Deployment

    You can scale out the nodes, services, clusters, and datastores in your VMware Integrated OpenStack deployment to adapt to higher load.

    VMware, Inc. 8

  • Add Controller Nodes to Your Deployment

    You can scale out your deployment by adding more controller nodes.

    Note The number of controller nodes in a deployment cannot be reduced. Ensure that you have sufficient resources before initiating a scale-out operation. Do not delete controller nodes through vSphere.

    Procedure

    1 Log in to the Integrated OpenStack Manager web interface as the admin user.

    2 In OpenStack Deployment, click the name of your deployment and open the Nodes tab.

    3 Click Scale Out Controller Node.

    4 Enter the desired number of controller nodes and click OK.

    Results

    The new controller nodes are created. Once the nodes are displayed in the table and their status has changed to Ready, they can be used as part of your deployment.

    Scale Op