29
Enterprise-Grade Scheduling Gary Kotton - VMware Gilad Zlotkin - Radware Enterprise-Grade OpenStack from a Scheduler Perspective 1

Enterprise-Grade Scheduling

  • Upload
    kobe

  • View
    42

  • Download
    0

Embed Size (px)

DESCRIPTION

Enterprise-Grade OpenStack from a Scheduler Perspective. Enterprise-Grade Scheduling. Gary Kotton - VMware Gilad Zlotkin - Radware. 1. Enterprise Ready Openstack. Migrating existing mission critical and performance critical enterprise applications requires: → High service levels - PowerPoint PPT Presentation

Citation preview

Page 1: Enterprise-Grade Scheduling

Enterprise-Grade Scheduling

Gary Kotton - VMwareGilad Zlotkin - Radware

Enterprise-Grade OpenStack from a Scheduler Perspective

1

I am talking about slide 4 here-Gilad Zlotkin
We may want to talk about: "Host Capability" and "Storage proximity" as we do refer to them later in the presentation.-Gilad Zlotkin
Page 2: Enterprise-Grade Scheduling

Enterprise Ready Openstack

Migrating existing mission critical and performance critical enterprise applications requires:

→ High service levels ● Availability ● Performance ● Security

→ Compliance with existing architectures ● Multi-tier● Fault tolerance models

2

Page 3: Enterprise-Grade Scheduling

Service Level for Applications

• Availabilityo Fault Tolerance (FT) o High Availability (HA) o Disaster Recovery (DR)

3

Page 4: Enterprise-Grade Scheduling

Service Level for Applications

• Availabilityo Fault Tolerance (FT) o High Availability (HA) o Disaster Recovery (DR)

• Performanceo Transaction Latency (Sec)o Transaction Load/Bandwidth (TPS)

3

Page 5: Enterprise-Grade Scheduling

Service Level for Applications

• Availabilityo Fault Tolerance (FT) o High Availability (HA) o Disaster Recovery (DR)

• Performanceo Transaction Latency (Sec)o Transaction Load/Bandwidth (TPS)

• Securityo Data Privacyo Data Integrityo Denial of Service

3

Page 6: Enterprise-Grade Scheduling

Service Level for Applications

• Availabilityo Fault Tolerance (FT) o High Availability (HA) o Disaster Recovery (DR)

• Performanceo Transaction Latency (Sec)o Transaction Load/Bandwidth (TPS)

• Securityo Data Privacyo Data Integrityo Denial of Service

3

What all this has to do with the

Nova and other

Schedulers?

Page 7: Enterprise-Grade Scheduling

Placement Strategies

• Availability - anti affinityo Application VMs should be placed in different 'failure domains' (e.g.,

on different hosts) to ensure application fault tolerance

4

Page 8: Enterprise-Grade Scheduling

Placement Strategies

• Availability - anti affinityo Application VMs should be placed in different 'failure domains' (e.g.,

on different hosts) to ensure application fault tolerance

• Performance o Network proximity

Application VMs should be placed as closely as possible to one another on the network (same 'connectivity domain') to ensure low latency and high performance

4

Page 9: Enterprise-Grade Scheduling

Placement Strategies

• Availability - anti affinityo Application VMs should be placed in different 'failure domains' (e.g.,

on different hosts) to ensure application fault tolerance

• Performance o Network proximity

Application VMs should be placed as closely as possible to one another on the network (same 'connectivity domain') to ensure low latency and high performance

o Host Capability IO-Intensive, Network-Intensive, CPU-Intensive,...

o Storage Proximity

4

Page 10: Enterprise-Grade Scheduling

Placement Strategies

• Availability - anti affinityo Application VMs should be placed in different 'failure domains' (e.g.,

on different hosts) to ensure application fault tolerance

• Performance o Network proximity

Application VMs should be placed as closely as possible to one another on the network (same 'connectivity domain') to ensure low latency and high performance

o Host Capability IO-Intensive, Network-Intensive, CPU-Intensive,...

o Storage Proximity

• Security - Resource Isolation/Exclusivityo Host, Network, ...

4

Page 11: Enterprise-Grade Scheduling

Group Scheduling

• Group together VMs to provide a certain service

• Enables scheduling policies per group/sub-group

• Provides a multi-VM application designed for fault tolerance and high performance

5

Page 12: Enterprise-Grade Scheduling

Example

6

Page 13: Enterprise-Grade Scheduling

Example

Bad placement: if a host goes down entire service is down!

6

Page 14: Enterprise-Grade Scheduling

Example

Bad placement: if a host goes down entire service is down!

Placement strategy - anti affinity: achieving fault tolerance

6

Page 15: Enterprise-Grade Scheduling

Group Scheduling in Nova

• Expand on “Server Group” support• Topology of resources and relationships

between themo Debi Dutta and Yathi Udupi (Cisco)o Mike Spreitzer (IBM)o Gary Kotton (VMware)

7

Page 16: Enterprise-Grade Scheduling

Anti Affinity in Icehouse

• Server groupso Create a server group with a policyo Scheduler hint will ensure that the policy is enforced

Affinity and anti-affinity filters are now default filterso Backward compatible with Havana supporto nova boot --hint group=name|uuid

--image ws.img --flavor 2 --num 3 Wsio Completed with the help of:

Russell Bryant (Red Hat) Xinyuan Huang (Cisco)

8

Page 17: Enterprise-Grade Scheduling

Beyond Nova Scheduler

Providing enterprise grade services:o Availabilityo Performanceo Security

Requires:→ Hierarchical Scheduling→ Cross Scheduling→ Rescheduling

9

Page 18: Enterprise-Grade Scheduling

VMware Storage Policy Based Management (SPBM)

→ Datastore selection based on  flavor meta data→ Compute scheduling on hosts that are connected to the selected datastore

10

Storage/Compute Cross Scheduling

Page 19: Enterprise-Grade Scheduling

Storage/Compute Cross SchedulingVMware Virtual SAN SPBM

11

Storage Policy Wizard

SPBM

object

object manager

virtual disk

VSAN objects may be (1) mirrored across hosts & (2) striped across disks/hosts to meet VM storage profile policies

Datastore Profile

Page 20: Enterprise-Grade Scheduling

Storage/Compute Affinity: Cinder Volume will be on the same host as VM (to optimize performance)

12

Storage/Compute Cross Scheduling

Page 21: Enterprise-Grade Scheduling

Rescheduling

VMware vCenter HA(high availability)• Automatically orchestrate rescheduling of VMs from failed host on

surviving hosts

13

Page 22: Enterprise-Grade Scheduling

Rescheduling

VMware vCenter HA(high availability)• Automatically orchestrate rescheduling of VMs from failed host on

surviving hosts

DRS(Distributed resource scheduling)• Evacuate (vMotion) VMs from overloaded

host

DPM(Distributed Power Management)• Evacuate (vMotion) VMs from host to be shutdown

13

Page 23: Enterprise-Grade Scheduling

Rescheduling

Radware’s Neutron LBaaS rescheduling:• Fault-recovery: rescheduling of failed LB instance• Scaling: rolling scale-up (or down) by controlled fail-over

13

X

Page 24: Enterprise-Grade Scheduling

Hierarchical Scheduling

Host exclusivity for secure tenant isolation→ Select hosts that were allocated to workload of that specific tenant

→ Compute scheduling on that selected host group

14

Page 25: Enterprise-Grade Scheduling

Supported by Icehouse

Server-Groups:→ Anti-affinity→ Affinity→ Backward Compatible with Havana

15

Page 26: Enterprise-Grade Scheduling

Future Roadmap

Server-Groups:•New filterso Network Proximityo Rack affinity/anti-affinityo Host capabilities

•Simultaneous scheduling (Mike Spreitzer - IBM) •Host exclusivity (Phil Day – HP)

16

Page 27: Enterprise-Grade Scheduling

Future Roadmap Cont.

Scheduler-as-a-service project• Gantt (https://wiki.openstack.org/wiki/Gantt)• Initial steps (Sylvain Bauza - Red Hat):o Forklift the Nova schedulero Discussions of API’s etc.

No DB scheduler (Boris Pavlovic – Mirantis)• Ideas on improving scheduler performance

17

Page 28: Enterprise-Grade Scheduling

Summary

High service levels → Scheduling Policies● Availability

→ Anti-Affinity → Rescheduling

● Performance → Proximity→ Host Capability→ Cross Scheduling & Rescheduling

● Security→ Resource Exclusivity→ Hierachical Scheduling

18

Page 29: Enterprise-Grade Scheduling

Q&A

Thank You

Gary Kotton: [email protected] Zlotkin: [email protected]