OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

31
© 2014 VMware Inc. All rights reserved. Upgrade and Operate Powerful Production OpenStack Cloud in Minutes! Mark T. Voelker OpenStack Architect Oct. 27, 2016

Transcript of OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Page 1: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

© 2014 VMware Inc. All rights reserved.

OpenStack + VMware : Deploy, Upgrade and Operate Powerful Production OpenStack Cloud in Minutes!

Mark T. VoelkerOpenStack ArchitectOct. 27, 2016

Page 2: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

2

It was 2011, and it was an exciting time

to be in the cloud business!

Page 3: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

3

Cactus had just been released, and I was attending my first design summit.

Page 4: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

4

Turns out, getting Cactus running in my lab was a *LOT* of work…

…and that was before Cinder, Neutron, Ceilometer, Heat, & many more projects even existed.

Page 5: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

5

Managing it after I built it was kind of awkward in the early days…

Upgrades? Patches? Diagnosing problems? High availability? Existing workloads?

Page 6: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

6…sometimes the problems proved both costly & painful.

Page 7: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

7

This is not 2011.

This is not Cactus.

We’ve come a long way.

Page 8: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

• OpenStack Architect @ VMware, DefCore Committee Co-chair, OpenStack ATC & AUC, Former Puppet-OpenStack core dev, Triangle OpenStack Meetup founder, OS Foundation Member #54

• Fact: can be bribed with doughnuts• OpenStack community member since 2011• In copious (hah!) spare time: distributed systems, big data, Massively Scalable Data Centers, DevOps,

outdoorsey stuff, making sawdust, not building flying suits of armor

“A computer nerd….is somebody who uses a computer in order to use a computer.” –Douglas Adams

Mark T. Voelker (@marktvoelker)

Not actu

ally a

superhero (in

spite of m

y best

efforts)

Page 9: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Now pull up a seat and let’s talk about what a modern OpenStack cloud should look like.

Page 10: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

What is VMware Integrated OpenStack?

• It’s an OpenStack distribution• Deployed as a vApp in VC

• Uses upstream code and drivers• VMware is a major contributor to

OpenStack• It’s an OpenStack Powered™ product

(2016.08 compliant)• Integrated = uses a well tested stack:

• vSphere for compute• NSX or DVS for networking• VMDK driver on vSAN or any

vSphere-friendly storage• Can be managed with vRealize

tools• Got an Enterprise Plus ELA? VIO is free to download!

• Option to purchase support• Now shipping: VIO 3.0 (Mitaka)

• HA & compact modes• Import existing workloads• Much more!

Page 11: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Powerful Parts

Powerful Cloud

Page 12: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Let’s start with deployment…how easy is it to deploy?

Pretty easy!

Page 13: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

• If you can deploy an OVA in vCenter, you can deploy VIO.

• Designed to be familiar for vSphere admins and simple for anyone.

• No need to learn a lot of new stuff to get started…use what you’ve already got and what you already know.

• Upload OVA file• Click on the vApp• Fill out a few fields (IP addresses, passwords, etc)• Go get a drink

Page 14: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Under the hood, we’ll be deploying a highly available OpenStack to your management cluster…

• HAProxy load balancer pair w/Keepalived• Control node pair• RabbitMQ nodes• MariaDB w/Galera Cluster• Compute node per VC cluster• OpenStack Management Server (OMS) for management tasks

Wanna see a video?http://bit.ly/2eNujaz

Page 15: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Your ops guy (who’s been a VC admin for ages and knows his way around VC operations like the back of his hand) wants to vMotion a VM within a cluster? Go ahead!

Puts the power of both VMware and OpenStack in the palm of your hand!

Want to protect workloads with vSphere HA? You can!

Want to use the DRS or SPBM? Not a problem!

Use vCenter to see what’s going on and what’s in use? You’ll see OpenStack info in there too (instance ID’s, etc)!

Page 16: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Let’s not forget control plane/data plane decoupling…

• ESXi host goes down? VM’s rescheduled to another host in the cluster. (optional)

• vCenter goes down? All workloads keep functioning!

• Upgrading or patching services? No app downtime!

• Got cattle and pets? No problem!

• Reduced number of nova-compute instances reduces MQ/API chatter.

Page 17: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Ok, now I’ve got this awesome cloud

…but it’s empty.

I built it, but will the workloads come?

Page 18: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

What if you could import your existing workloads and use them as OpenStack instances going forward?

• Imported instances can now be manipulated with Openstack API’s

• Networks imported as provider networks

• Achieve critical mass faster

• Existing templates can also be imported as Glance images

Page 19: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Ok, I’ve got a cloud and critical workloads on it. Now what about all the Day 2 stuff like:

• Operations

• Patching

• Upgrades

• Just plain being able to know what’s going on in my cloud

Page 20: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

• Patching:• Upload patch to OMS• Patch staged and ready• Deployment and service

restart are automated• No downtime

• Monitoring• vRealize Operations

management packs for OpenStack

• LogInsight • vRealize Business for

costing• Or use whatever tools you

like…it’s OpenStack!

• Other stuff• Add new storage• Add new hosts or retire old

ones• Start/stop/restart services

Page 21: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Another way to find information about what’s going on in your cloud:

Just pull up your VC client.

Page 22: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Projects = Folders

Instance Information from Nova

Security Group Info

Page 23: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Let’s take a minute to talk about upgrades...

Page 24: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

24

How We Do Upgrades: Blue-Green Upgrade Pattern

Load Balancer

• Allows hardware to be swapped• Allows new control plane to be tested before going live• Very fast rollback• Allows for root causing of problems since both planes can be kept in event of failure• Skipping releases? No problem.• Leverages existing deployment code• Doesn’t depend on n-1 or n-2 compatibility in control plane components• Eases addition of new components/decomposition since green plane is “just a new deploy”

Kilo Control Plane Mitaka Control Plane

Page 25: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

CONFIDENTIAL 25

Blue-green upgrades are testable, transactional upgrades: much less awkward than trying to upgrade pieces at a time.

Page 26: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

“BTW just did an upgrade [from Kilo to Mitaka]...while drinking a beer and watching the game! How an OpenStack upgrade should be!”

“We just found out the customer upgraded recently…with no help. They didn’t even tell us they were doing it.”

Page 27: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

So is anyone running important stuff on top of this?

• E-commerce platforms (yes, on Black Friday and back-to-school season)

• Telecom• Transaction processing/ticketing• CI/CD for dev teams• Automotive• NFV workloads• Live demos at OpenStack Summit

keynotes• Many more!

Page 29: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

VMware Integrated Openstack: a robust, powerful cloud that anyone can love!

Page 30: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Any questions?

Page 31: OpenStack + VMware: Deploy, Upgrade, & Operate a Powerful Production OpenStack Cloud In Minutes

Thanks for coming—see you at lunch!

(or down the hall in 118/119 in a few minutes for a talk on skipping releases when upgrading)