VMware Integrated OpenStack Administration Guide - VMware ... The VMware Integrated OpenStack...

download VMware Integrated OpenStack Administration Guide - VMware ... The VMware Integrated OpenStack Administration

If you can't read please download the document

  • date post

    30-May-2020
  • Category

    Documents

  • view

    1
  • download

    0

Embed Size (px)

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

  • VMware Integrated OpenStack Administration Guide Update 2 Modified on 13 NOV 2018 VMware Integrated OpenStack 5.0

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

    https://docs.vmware.com/

    If you have comments about this documentation, submit your feedback to

    docfeedback@vmware.com

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

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

    VMware Integrated OpenStack Administration Guide

    VMware, Inc. 2

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

  • Contents

    1 VMware Integrated OpenStack Administration Guide 7

    Updated Information 8

    2 Deployment Configuration 9 Add Capacity to an OpenStack Deployment 9

    Add Compute Clusters to Your Deployment 9

    Add Storage to a Compute Node 10

    Add Storage to the Image Service 11

    Modify Management and API Access Networks 11

    Update Component Credentials 12

    Add Certificates to Your Deployment 12

    Configure Public API Rate Limiting 13

    Modify In-Flight Encryption Settings 14

    Create a Custom Theme for the VMware Integrated OpenStack Dashboard 16

    Profile OpenStack Services 17

    Create a Tenant Virtual Data Center 18

    3 Neutron Network Configuration 20 Create a Provider Network 20

    Create a Provider Network with NSX-T Data Center 21

    Create a Provider Network with NSX Data Center for vSphere 22

    Create a Provider Network with VDS Networking 23

    Create an External Network 25

    Create an External Network with NSX-T Data Center 25

    Create an External Network with NSX Data Center for vSphere 26

    Create a Layer 2 Bridge 27

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

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

    Create a Neutron Availability Zone 29

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

    Create a Neutron Availability Zone with NSX Data Center for vSphere 31

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

    Configure VLAN Transparency 34

    Configure MAC Learning 34

    Manage Edge HA with NSX Data Center for vSphere 35

    Specify Tenant Router Types for NSX Data Center for vSphere 36

    Configure Dynamic Routing for Neutron Networks with NSX Data Center for vSphere 37

    VMware, Inc. 3

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

    Create a Provider Security Group 42

    Use NSX Data Center for vSphere Security Policies in OpenStack 44

    4 Authentication and Identity 46 Domain Management 46

    Configure LDAP Authentication 46

    Configure VMware Identity Manager Federation 49

    Configure Generic SAML 2.0 Federation 51

    5 OpenStack Projects and Users 56 Create an OpenStack Project 56

    Create a Cloud User 57

    Create a User Group 58

    6 OpenStack Instances 59 Import Virtual Machines into VMware Integrated OpenStack 59

    Migrate an Instance 62

    Enable Live Resize 63

    Enable Huge Page Support 64

    Use Affinity to Control OpenStack Instance Placement 65

    Use DRS to Control OpenStack Instance Placement 66

    Define VM and Host Groups for Placing OpenStack Instances 67

    Create a DRS Rule for OpenStack Instance Placement 67

    Apply VM Group Settings to Image Metadata 68

    Configure QoS Resource Allocation for Instances 69

    Use Storage Policy-Based Management with OpenStack Instances 71

    Configure Virtual CPU Pinning 72

    Configure OpenStack Instances for NUMA 73

    Configure Passthrough for Networking Devices 74

    Configure Passthrough for Non-Networking Devices 75

    Configure Passthrough for an NVIDIA GRID vGPU 77

    7 OpenStack Flavors 79 Default Flavor Configurations 79

    Create a Flavor 79

    Delete a Flavor 80

    Modify Flavor Metadata 81

    Supported Flavor Extra Specs 82

    8 Cinder Volumes and Volume Types 85

    VMware Integrated OpenStack Administration Guide

    VMware, Inc. 4

  • Create a Volume Type 85

    Modify the Default Volume Adapter Type 86

    Modify the Default Volume Snapshot Format 87

    Migrating Volumes Between Datastores 88

    Migrate All Volumes from a Datastore 88

    Migrate Unattached Cinder Volumes 89

    Migrate Attached Cinder Volumes 90

    Supported Volume Type Extra Specs 91

    9 Glance Images 92 Import Images Using the GUI 92

    Import Images Using the CLI 93

    Import a Virtual Machine Template as an Image 95

    Migrate an Image 95

    Modify the Default Behavior for Nova Snapshots 96

    Modify the Default Cinder Upload-to-Image Behavior 97

    Supported Image Metadata 98

    10 Backup and Recovery 101 Back Up Your Deployment 101

    Configure the Backup Service for Cinder 102

    Restore Your Deployment from a Backup 102

    Recover OpenStack Nodes 103

    11 Troubleshooting VMware Integrated OpenStack 105 VMware Integrated OpenStack Log File Locations 105

    VMware Integrated OpenStack Performance Tuning 107

    Display the VMware Integrated OpenStack vApp 109

    Resynchronize Availability Zones 110

    Troubleshoot Cinder Volume Backup Failure with Memory Error 110

    Troubleshoot Cinder Volume Backup Failure with Permission Denied Error 111

    DCLI Cannot Connect to Server 112

    12 VMware Integrated OpenStack APIs 114 Using the OpenStack Management Server APIs 114

    Using the Tenant Virtual Data Center vAPIs 114

    13 VMware Integrated OpenStack Command Reference 117 viocli backup Command 118

    viocli certificate Command 118

    viocli dbverify Command 120

    VMware Integrated OpenStack Administration Guide

    VMware, Inc. 5

  • viocli deployment Command 120

    viocli ds-migrate-prep Command 124

    viocli enable-tvd Command 125

    viocli epops Command 126

    viocli federation Command 127

    viocli identity Command 131

    viocli inventory-admin Command 133

    viocli lbaasv2-enable Command 137

    viocli recover Command 138

    viocli restore Command 139

    viocli rollback Command 139

    viocli services Command 139

    viocli show Command 140

    viocli upgrade Command 140

    viocli volume-migrate Command 142

    viocli vros Command 143

    viopatch add Command 143

    viopatch install Command 143

    viopatch list Command 144

    viopatch snapshot Command 144

    viopatch uninstall Command 145

    viopatch version Command 145

    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

  • Updated Information

    The VMware Integrated OpenStack Administration Guide is updated with each release of the product or when necessary.

    This table provides the update history of the VMware Integrated OpenStack Administration Guide.

    Revision Description

    Update 2 (13 NOV 2018) n Added documents about creating availability zones.

    n Added document about creating provider security groups.

    n Various corrections and improvements

    Update 1 (08 OCT 2018) n Added troubleshooting section.

    n Updated command reference.

    n Various corrections and improvements.

    03 JUL 2018 Initial release.

    VMware, Inc. 8

  • 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 Modify Management and API Access Networks

    n Update Component Credentials

    n Add Certificates to Your Deployment

    n Configure Public API Rate Limiting

    n Modify In-Flight Encryption Settings

    n Create a Custom Theme for the VMware Integrated OpenStack Dashboard

    n Profile OpenStack Services

    n Create a Tenant Virtual Data Center

    Add Capacity to an OpenStack Deployment You can add compute clusters and datastores to an existing VMware Integrated OpenStack deployment.

    Add Compute Clusters to Your Deployment You can add compute clusters to your VMware Integrated OpenStack deployment to increase processing capacity.

    Prerequisites

    In vSphere, create the cluster that