mesos/docker clusters with ironic: a match made in heaven

22
1 Docker and Ironic: A Match Made in Heaven Scott Drennan Vlad Gridin Bernard Van De Walle

Upload: nuage-networks

Post on 27-Jul-2015

1.055 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Mesos/Docker clusters with Ironic: A Match Made in Heaven

1

Docker and Ironic:

A Match Made in Heaven

Scott Drennan

Vlad Gridin

Bernard Van De Walle

Page 2: Mesos/Docker clusters with Ironic: A Match Made in Heaven

2

• Introduction to Containers

• Deployment approaches

• Using Ironic

• Example deployment

Docker and Ironic

Page 3: Mesos/Docker clusters with Ironic: A Match Made in Heaven

3

Server Hardware

Hypervisor and/or Host OS

Guest OS

Guest OS

Libs/Bins

Libs/Bins

Apps Apps

Server Hardware

Host OS

Shared Libraries

Libs/Bins

Libs/Bins

Apps Apps

Virtualization (LXC/Docker)

Container Advantages

Single OS to manage

Lower overheads

Better hardware utilization

Simplified application life cycle management

(through Docker etc.)

Quick launch times

Container Issues

Linux on Linux only

Careful security considerations for multi-tenancy

Network and Storage multi-tenancy

Containers vs. Virtualization

Page 4: Mesos/Docker clusters with Ironic: A Match Made in Heaven

4

Containers in VMs

One Deployment Approach…

Page 5: Mesos/Docker clusters with Ironic: A Match Made in Heaven

5

Optimum performance and scale

Containers on bare metal

Page 6: Mesos/Docker clusters with Ironic: A Match Made in Heaven

6

Security Considerations

Page 7: Mesos/Docker clusters with Ironic: A Match Made in Heaven

7

Separate Clusters for security

Security zone A Security zone B

Page 8: Mesos/Docker clusters with Ironic: A Match Made in Heaven

8

Interworking Docker with VMs

Page 9: Mesos/Docker clusters with Ironic: A Match Made in Heaven

9

Solution: Use Ironic!

Ironic provision Bare Metals as a Service

Ironic Boot Glance Images directly on the

Hardware Servers

Each Host is assigned to one “Cluster” only:

Complete separation between Tenants.

Use a Hardware Gateway to receive the traffic

directly

Bare metals are directly connected to the

Hardware Gateway

Ironic will configure the Hardware Gateway Ports

Page 10: Mesos/Docker clusters with Ironic: A Match Made in Heaven

10

Solution: Use Ironic!

Ironic provision Bare Metals as a Service

Ironic Boot Glance Images directly on the

Hardware Servers

Each Host is assigned to one “Cluster” only:

Complete separation between Tenants.

Use a Hardware Gateway to receive the traffic

directly

Bare metals are directly connected to the

Hardware Gateway

Ironic will configure the Hardware Gateway Ports

Page 11: Mesos/Docker clusters with Ironic: A Match Made in Heaven

11

Solution: Use Ironic!

Ironic provision Bare Metals as a Service

Ironic Boot Glance Images directly on the

Hardware Servers

Each Host is assigned to one “Cluster” only:

Complete separation between Tenants.

Use a Hardware Gateway to receive the traffic

directly

Bare metals are directly connected to the

Hardware Gateway

Ironic will configure the Hardware Gateway Ports

Page 12: Mesos/Docker clusters with Ironic: A Match Made in Heaven

12

Solution: Use Ironic!

Ironic provision Bare Metals as a Service

Ironic Boot Glance Images directly on the

Hardware Servers

Each Host is assigned to one “Cluster” only:

Complete separation between Tenants.

Use a Hardware Gateway to receive the traffic

directly

Bare metals are directly connected to the

Hardware Gateway

Ironic will configure the Hardware Gateway Ports

Page 13: Mesos/Docker clusters with Ironic: A Match Made in Heaven

13

Solution: Per Cluster Networking

Secure and Clustered Networking

Ironic and Neutron Provision on

demand Each port of the Hardware

Gateway in order to provide

complete separation between the

physical Servers of different tenants.

Page 14: Mesos/Docker clusters with Ironic: A Match Made in Heaven

14

Solution: High Performance Networking

Servers send non-encapsulated traffic using

the Physical NIC. No OVS!

Full Line-Speed is attained

No need for Neutron L3 Agent

Page 15: Mesos/Docker clusters with Ironic: A Match Made in Heaven

15

Solution: Seamless Bare Metal/VM Networking

Bare Metals can go Beyond the Gateway to

reach VMs and other Object belonging to

the Tenant.

Seamless integration of the Bare Metal with

other Openstack objects (VMs,

Gateways,…)

Page 16: Mesos/Docker clusters with Ironic: A Match Made in Heaven

16

Solution: Orchestration with Heat

Heat Templates define:

Bare Metal server to use

Network Topology

VMs to plug into those Networks

Complete end to end orchestration

Page 17: Mesos/Docker clusters with Ironic: A Match Made in Heaven

17

Demonstration: Mesos Cluster launch

Let’s Deploy a Single Mesos Cluster.

The Mesos Master is a VM

Run by Nova-Compute

The Mesos Slaves are Bare Metals

Launched and provisioned by Ironic

The Hardware Gateway is a Nuage Gateway

The Network is created using Neutron

With Nuage Plugin

Heat is Orchestrating all the pieces.

Page 18: Mesos/Docker clusters with Ironic: A Match Made in Heaven

18

Demonstration: Cluster 1

Page 19: Mesos/Docker clusters with Ironic: A Match Made in Heaven

19

Demonstration: Bare Metal to VM communication:

Marathon

Let’s start a Second Mesos Cluster for a

Second Tenant.

Page 20: Mesos/Docker clusters with Ironic: A Match Made in Heaven

20

• Nuage VSP, the true Hybrid Cloud

Demonstration: Cluster 2

Page 21: Mesos/Docker clusters with Ironic: A Match Made in Heaven

21

Summary

• Ironic, Heat, Nova and Neutron

• Only L3-capable VXLAN gateway allows flexible DC design

• Consistent networking and policy enforcement across VMs and bare metal

Page 22: Mesos/Docker clusters with Ironic: A Match Made in Heaven

22

What else?

• Networking and policy across bare metal, VMs and containers

• Demonstrated scale to 100k instances with fast and predictable convergence -

• Visit the Nuage booth for details