n OpenStack 4 - docs. deployment Command 140 VMware Integrated OpenStack Administrator Guide VMware,

download n OpenStack 4 - docs. deployment Command 140 VMware Integrated OpenStack Administrator Guide VMware,

of 168

  • date post

    22-Jun-2018
  • Category

    Documents

  • view

    261
  • download

    0

Embed Size (px)

Transcript of n OpenStack 4 - docs. deployment Command 140 VMware Integrated OpenStack Administrator Guide VMware,

  • VMware IntegratedOpenStack AdministratorGuideModified on 22 FEB 2018VMware Integrated OpenStack 4.1

  • VMware Integrated OpenStack Administrator Guide

    VMware, Inc. 2

    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

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

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

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

  • Contents

    Updated Information 6

    1 About This Book 7

    2 About VMware Integrated OpenStack 8

    Internationalization 8

    OpenStack Foundation Compliance 9

    VMware Integrated OpenStack System Requirements 9

    OpenStack Instances in vSphere Web Client 12

    Monitor OpenStack Instances in the vSphere Web Client 15

    Using the REST API 16

    Customer Experience Improvement Program 17

    3 Managing Your VMware Integrated OpenStack Deployment 19

    Managing Your Deployment Configuration 19

    Managing Your Network Configuration 30

    Adding Capacity in the vSphere Web Client 42

    Configure the Backup Service for Block Storage 45

    Back Up the VMware Integrated OpenStack Deployment 49

    Restore VMware Integrated OpenStack from a Backup 50

    Failure Recovery 51

    VMware Integrated OpenStack Log File Locations 54

    Upgrade to VMware Integrated OpenStack 4.1 56

    Upgrade VMware Integrated OpenStack 4.0 to VMware Integrated OpenStack 4.1 63

    Customize the Dashboard Logos and Background 65

    Use Profiling to Trace OpenStack Deployments 67

    4 Managing OpenStack Projects and Users 70

    Create an OpenStack Project 70

    Modify a Project 71

    Working with Security Groups 72

    Create a Cloud User Account in OpenStack 80

    Modify a User Account 81

    5 Working with Instances in OpenStack 82

    Import vSphere VMs into VMware Integrated OpenStack 82

    Create a Snapshot from an Instance 87

    Control the State of an Instance 87

    VMware, Inc. 3

  • Track Instance Use 88

    Use DRS to Control OpenStack Instance Placement 88

    Using Affinity and Anti-Affinity to Place OpenStack Instances 92

    Apply QoS Resource Allocation to Existing Instances 94

    Define Default Nova Storage for OpenStack Instances 95

    Configure GPU Passthrough Devices for OpenStack Instances 96

    6 Working with Volumes and Volume Types in OpenStack 98

    Modify the Default Cinder Volume Adapter Type 98

    Create a Volume Type 99

    Delete a Volume Type 100

    Migrating Volumes Between Datastores 101

    7 Managing Images for the Image Service 105

    Import Images to the Image Service 105

    Modify Image Settings 110

    Modify Image Resource Metadata 111

    Configuring Images for Windows Guest Customization 112

    Configure QoS Resource Allocation for Instances Using Image Metadata 114

    Delete an Existing Image 116

    Migrate an Existing Image 117

    Add a VM Template as an Image 118

    Configure Images to Enable Live Resize of VMs Deployed From That Image 120

    Modify the Default Behavior for Nova Snapshots 120

    Modify the Default Cinder Upload-to-Image Behavior 121

    8 Working with Flavors 123

    Default Flavor Configurations 123

    Create a Flavor 123

    Delete a Flavor 124

    Modify Flavor Metadata 125

    Configure QoS Resource Allocation for Instances Using Flavor Metadata 126

    9 Working with VMware Integrated OpenStack Carrier Edition 129

    Use Tenant Virtual Data Center for Secure Multi-Tenancy and Resource Allocation 129

    Enhanced Platform Awareness 132

    Configuring Networking Passthrough Devices on OpenStack Instances 133

    10 VMware Integrated OpenStack CLI Command Reference 139

    viocli backup Command 139

    viocli dbverify Command 140

    viocli deployment Command 140

    VMware Integrated OpenStack Administrator Guide

    VMware, Inc. 4

  • viocli ds-migrate-prep Command 142

    viocli epops Command 142

    viocli identity Command 143

    viocli inventory-admin Command 144

    viocli recover Command 146

    viocli restore Command 147

    viocli rollback Command 148

    viocli services Command 148

    viocli show Command 149

    viocli upgrade Command 149

    viocli volume-migrate Command 150

    11 vRealize Automation Integration 152

    Integrate VMware Integrated OpenStack with vRealize Automation 153

    Designing and Publishing Blueprints 155

    VMware Integrated OpenStack Administrator Guide

    VMware, Inc. 5

  • Updated Information

    This Administrator Guide is updated with each release of the product or when necessary.

    This table provides the update history of the Administrator Guide.

    Revision Description

    22 FEB 2018 Added section Configuring MAC Learning.

    18 JAN 2018 Initial release.

    VMware, Inc. 6

  • About This Book 1The VMware Integrated OpenStack Administrator Guide shows you how to perform administrative tasksin VMware Integrated OpenStack including how to create and manage projects, users, accounts, flavors,images, and networks.

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

    VMware Technical Publications GlossaryVMware Technical Publications provides a glossary of terms that might be unfamiliar to you. Fordefinitions of terms as they are used in VMware technical documentation, go to http://www.vmware.com/support/pubs.

    VMware, Inc. 7

    http://www.vmware.com/support/pubs

  • AboutVMware Integrated OpenStack 2With VMware Integrated OpenStack, you can implement OpenStack services on your existing VMwarevSphere implementation.

    You deploy VMware Integrated OpenStack through the Integrated OpenStack Manager vApp invCenter Server.

    The Integrated OpenStack Manager provides a workflow that guides you through and completes theVMware Integrated OpenStack deployment process. With Integrated OpenStack Manager, you canspecify your management and compute clusters, configure networking, and add resources. Post-deployment, you can use Integrated OpenStack Manager to add components or otherwise modify theconfiguration of your VMware Integrated OpenStack cloud infrastructure.

    VMware Integrated OpenStack 4.x is based on the Ocata release of OpenStack.

    This chapter includes the following topics:n Internationalization

    n OpenStack Foundation Compliance

    n VMware Integrated OpenStack System Requirements

    n OpenStack Instances in vSphere Web Client

    n Monitor OpenStack Instances in the vSphere Web Client

    n Using the REST API

    n Customer Experience Improvement Program

    InternationalizationVMware Integrated OpenStack 2.0 and greater is available in English and seven additional languages:Simplified Chinese, Traditional Chinese, Japanese, Korean, French, German, and Spanish.

    ASCII characters must be used for all input and naming conventions of OpenStack resources (such asproject names, usernames, image names, and so on) and for the underlying infrastructure components(such as ESXi hostnames, vSwitch port group names, data center names, datastore names, and so on).

    VMware, Inc. 8

  • OpenStack Foundation ComplianceEvery new version of VMware Integrated OpenStack complies with the latest Guidelines created by theOpenStack Foundation DefCore Committee.

    VMware Integrated OpenStack is designated as an OpenStack Powered Platform product andtherefore provides proven interoperability with all other OpenStack Powered products.

    For detailed information about the compatibility of VMware Integrated OpenStack with the OpenStackPowered Platform, go to http://www.openstack.org/marketplace/distros/distribution/vmware/vmware-integrated-openstack.

    VMware Integrated OpenStack System RequirementsBefore you begin the VMware Integrated OpenStack deployment tasks, your system must comply with allhardware, software, networking, and storage requirements.

    Hardware Requirements for VMware Integrated OpenStackThe hardware requirements are based on the number of VMs used for each component. For example,two VMs are used for load balancing, each of which requires two CPUs for a total requirement of fourCPUs. The requirements vary depending on whether your OpenStack deployment uses Virtual DistributedSwitch (VDS) or VMware NSX for vSphere (NSX) with the Networking component.

    Core VMware Integrated OpenStack Components

    Component VMs CPU RAM (GB) Disk Space (GB)

    Integrated OpenStackManager

    1 2 (2 per VM) 4 (4 per VM) 25

    Load balancing service 2 4 (2 per VM) 8 (4 per VM) 40 (20 per VM)

    Database service 3 12 (4 per VM) 48 (16 per VM) 240 (80 per VM)

    Memory cache service 2 4 (2 per VM) 32 (16 per VM) 40 (20 per VM)

    Message queue service 2 8 (4 per VM) 32 (16 per VM) 40 (20 per VM)

    Controllers 2 16 (8 per VM) 32 (16 per VM) 160 (80 per VM)

    Compute service (NovaCPU)

    1 2 (2 per VM) 4 (4 per VM) 20 (20 per VM)

    DHCP service (VDSdeployments only)

    2 8 (4 per VM) 32 (16 per VM) 40 (20 per VM)

    TOTAL 15 56 192 605

    VMware Integrated OpenStack Administrator Guide

    VMware, Inc. 9

    http://www.openstack.org/marketplace/distros/distribution/vmware/vmware-integrated-openstack

  • VMware Integrated OpenStack Requirements for Compact ModeVMware Integrated OpenStack 3.0 supports a new deploym