+ All Categories
Home > Documents > Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per...

Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per...

Date post: 24-Jun-2020
Category:
Upload: others
View: 1 times
Download: 0 times
Share this document with a friend
31
Presented by Bruno Lago // 05 May 2016 Things you MUST know before you deploy OpenStack
Transcript
Page 1: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Presented by Bruno Lago // 05 May 2016

Things you MUST know before you deploy OpenStack

Page 2: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network
Page 3: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network
Page 4: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

WARNING!

I AM NOT HERE TO SELL YOU A PRODUCT

So...

I don’t have to make it look good

Page 5: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

How much will it cost?

~ USD $150k one off

For a production cluster and pre-prod environment

+ 2 to 3 people per month to run it

OR

A service provider to manage it remotely for you (~ USD $10k / month)

Page 6: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Selecting your hardware

Page 7: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Network hardware

2x 10Gbps switches per rack

2x 40Gbps switches for the spine

2x 1Gbps switches for the management network

1x 1Gbps switch for the pre-prod cluster

Features required: VLAN, VXLAN, MLAG, L3 routing using BGP ECMP

Forget Cisco, Juniper, Arista. Use open source switches!

Avoid using vendor specifc neutron providers and go for Open vSwitch.

Page 8: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Network hardware

2x 10Gbps switches per rack

2x 40Gbps switches for the spine

2x 1Gbps switches for the management network

1x 1Gbps switch for the pre-prod cluster

Features required: VLAN, VXLAN, MLAG, L3 routing using BGP ECMP

Forget Cisco, Juniper, Arista. Use open source switches!

Avoid using vendor specifc neutron providers and go for Open vSwitch.

Not required onday one!

Page 9: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Server specs

Page 10: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Compute nodes

Page 11: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

ALL THE HYPERVISORS!

(Yeah, Right!)

KVM is by far the most widely adopted and best supported hypervisor.

Open source hypervisors is where the numbers stack up!

AND where you get most support from the community.

That said: OpenStack does work with most hypervisors on the industry

and there are successful deployments running Xen or even VMware.

Page 12: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Node segmentation (for financial reasons)

● Specialised object storage nodes allow optimisation for low cost, high

capacity

● Block storage nodes can be optmised independently for performance

(IO operations completed under 30ms or 10ms)

● Compute optimised for high CPU and memory density (and maybe

GPUs)

Page 13: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Techniques to drive quality and service levels up

Page 14: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Node segmentation (service levels)

Potential issues with hyper convergence:

● Kernel bug high memory

● OVS / kernel bug affecting network namespaces

Segment at least controll plane, compute and storage. If possible

segment network nodes.

Page 15: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Useful techniques

● Run CI / automated tests in your own cloud (and ensure you can run

it on someone’s else cloud too if you have only one region)

Page 16: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Useful techniques

● Run CI / automated tests in your own cloud (and ensure you can run

it on someone’s else cloud too if you have only one region)

● Run tempest scenario tests as a CI gateway and monitoring check

Page 17: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Useful techniques

● Run CI / automated tests in your own cloud (and ensure you can run

it on someone’s else cloud too if you have only one region)

● Run tempest scenario tests as a CI gateway and monitoring check

● Have a decent pre-production environment (YES, you need one)

Page 18: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Useful techniques

● Run CI / automated tests in your own cloud (and ensure you can run

it on someone’s else cloud too if you have only one region)

● Run tempest scenario tests as a CI gateway and monitoring check

● Have a decent pre-production environment (YES, you need one)

● Think about communication channels with customers and prepare

communication tools ahead of time

Page 19: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Useful techniques

● Run CI / automated tests in your own cloud (and ensure you can run

it on someone’s else cloud too if you have only one region)

● Run tempest scenario tests as a CI gateway and monitoring check

● Have a decent pre-production environment (YES, you need one)

● Think about communication channels with customers and prepare

communication tools ahead of time

● Monitoring that picks up automatically every service / component

deployed

Page 20: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

In place upgrades

(Yes Sergey, they are possible!)

● No big bang. One service at a time. Most services have backward

compatible API.

● Test every change in CI with automated tests

● Reherse every move in pre-prod

● Bullet proof live migration (Mitaka, QEMU guest agent)

● Have scripts to migrate routers and DHCP agents with minimum

downtime

Page 21: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Common deployment mistakes

Page 22: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

GUI driven OpenStack

Page 23: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Carrying your own patches

● As a rule of thumb, never run code in production that has not been

merged upstream

● Every patch that is not commited upstream creates a recurring

overhead on the team with every release of OpenStack!

● DON’T do it, unless it is absolutely necessary

● Trusted me - people have wasted millions with this mistake!

● Be prepared to fix bugs and introduce new features upstream. If you

are not, then ask for a service provider to do it for you

Page 24: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Cloud != Hypervisor

● A cloud is a complex distributed system with many moving parts

● It touches every part of your data centre

● Your team needs to be prepared to dive deep in each area to

troubleshoot incidents and problems

Page 25: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Keystone != IDP

● Back Keystone with OpenLDAP, Active Directory or a SAML based

IdP

● Think about how people will create / terminate accounts, reset

passwords

Page 26: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

All projects are production ready

“A project exists, therefore I can do it in production”

How to identify projects ready?

● Understand your requirements

● Validate functional and non-functional requirements in real life

● Try HA procedures in real life

● Try upgrade procedures in real life

● Validate security standards

● Consider doing a code inspection yourself

Page 27: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Do the numbers stack up?

Page 28: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Can OpenStack beat the prices of “massive sacale” global cloud providers?

AWS Sydney m3.large / month

USD $136.16

Page 29: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Can OpenStack beat the prices of “massive sacale” global cloud providers?

AWS Sydney m3.large / month

USD $136.16

AWS USA m3.large / month

USD $97.36

Page 30: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Can OpenStack beat the prices of “massive sacale” global cloud providers?

AWS Sydney m3.large / month

USD $136.16

AWS USA m3.large / month

USD $97.36

AWS USA m3.large reserved 3Y upfront

USD $38.14

Page 31: Things you MUST know before you deploy OpenStack - Catalyst OpenStack... · 2x 10Gbps switches per rack 2x 40Gbps switches for the spine 2x 1Gbps switches for the management network

Can OpenStack beat the prices of “massive sacale” global cloud providers?

AWS Sydney m3.large / month

USD $136.16

AWS USA m3.large / month

USD $97.36

AWS USA m3.large reserved 3Y upfront

USD $38.14

OpenStack Cloud USD $15.13

Price difference USD -$23.01

Price difference (%) 152%


Recommended