virtualizing the world - suse linux · vmdp >= 2.5.x –supported on all suse linux enterprise...

39
Virtualizing the World Michal Svec Product Manager [email protected] Antoine Ginies Project Manager [email protected]

Upload: others

Post on 21-May-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

Virtualizing the World

Michal Svec

Product Manager

[email protected]

Antoine Ginies

Project Manager

[email protected]

Page 2: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

2

Agenda

Virtualization @SUSE

Enhancements in XEN/KVM

Virtualization with VMware

Virtualization with Microsoft

What do we test and how

Page 3: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

3

Virtualization @SUSE

Page 4: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

4

SUSE virtualization ecosystem

High Availability

SUSE OpenStack

Cloud

SUSE Enterprise

Storage

SUSE Linux Enterprise

Server

Build Service

Containers SUSE CaaS Platform

SUSE Live Patching

SUSE Manager

Cloud Application Platform

Page 5: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

5

SUSE virtualization pillars

Perfect guestContainers

Quality

DocumentationHost platform

Page 6: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

6

Full Support for leading open source hypervisors KVM and Xen.

Strong partner support: Intel, AMD, HPE, IBM, Lenovo, Dell, Microsoft, ...

Virtualization host

Page 7: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

7

Perfect guest strategy, operating system tuned to run great as a guest on all major hypervisors and clouds (public/private/hybrid)

Perfect guest

Page 8: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

8

SUSE CSP Partners

Page 9: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

9

OS-level or application virtualization with Linux Containers (LXC) and container engine. Support for Windows Subsystem for Linux (WSL).

Containers

Page 10: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

10

Xen, KVM, …, VMware, Citrix, Hyper-V

Page 11: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

11

Virtualization, containers (docker)

Page 12: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

12

Virtualization vs. containers

It’s not either-or! VMs will stay and so will containers (while some will move)● Each has its pros + cons● Customers need guidance (documentation!)

Mixture of: VMs, containers, OSes, apps, orchestration, management, ...

→ “hyperconverged infrastructure”

Various convergence projects: libvirt-lxc, hyper, Kata containers, runv, vIC, ...

→ Both ways!

Unikernels?

WSL?

Page 13: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

13

Documentation

Page 14: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

14

Quality

Page 15: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

15

SUSE virtualization ecosystem

Partners

Products

Platform Customers

Page 16: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

17

Enhancements in Virtualization stack

Page 17: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

18

SLES 12 SP4 / SLES 15 Virtualization Core

SLES 12 SP4 is an update / SLE15 new familly • Continued support for both Xen and KVM hypervisors

– The hypervisor layer is still important!

– Cloud (and all) workloads should “just work”

• Hardware enablement• New features• Bug fixes

Page 18: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

19

SLES 15 GA

• TP– virtio-gpu

– Support for AMD Secure Encrypted Virtualization

• Xen: QEMU Guest Agent Is Now Supported on Xen• Guestfs tools

– virt-bootstrap: Creating libvirt LXC root file systems

– Virt-builder-repository (create/update virt-builder repo)

– Virt-customize set machine-id

– Various fix (virt-sysrep, virt-resize gpt, etc…)

– V2v: Vmware: VMX, snapshot; encrypted guest, etc...

• JeOS supported on VT host (including Third party)

Page 19: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

20

XEN: SLES 12 SP4 / SLES 15

Xen 4.10.x• Highlights include:

– PVHv2 DomU• Light HVM guest

• PV drivers for I/O and native interfaces

• Relies on HV exgtensions (no more PV kernel call or PV MMU)

• Smaller TCB (Trusted Computing Base) and attack surface

– L2 CAT for Intel CPUs• L2 Cache Allocation Technology

– AMD: SEV

– Credit 2 scheduler improvements (soft-affinity)

– Null scheduler improvements (no overhead)

– TP: dm_restrict

– PV calls drivers in Linux

– VMI improvments

Page 20: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

21

XEN: SLES 15 SP1

Xen 4.11.x / 4.12.x• Highlights include:

– Increase security• XPTI: PV guests

• Branch Predictor Hardening: appropriate mitigation used

– PVH: combine PV and HVM

– TP: PVH dom0 (dom0=pvh) → increase security

– PCI config space emulation in XEN

– Scheduler optimizations

– More CPU instructions support

Page 21: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

22

KVMQemu >= 2.10 (SLE12SP4 / SLE15)

Qemu 2.10 / 2.11• TLB Purge Enhancements are supported under KVM• numa CPU quickly lets you assign CPUs to nodes by socket/core/thread id• Qcow2: support Luks encryption format• Migration: return-path• Image locking enable by default!• Qemu-img resize: pre-allocation• Various fix in Arm / Power• > 64 vCPU Windows Guest• Block devices more information on disk• Qcow2 shrinking

Page 22: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

23

Qemu 3.0

Qemu 3.0• Guest-agent: power modes via systemctl • Migration

– Postcopy bandwidth (max-postcopy-bandwitdh)

– Recovery postcopy migration (migrate-recover QMP)

– Pause a migration (migrate_pause QMP)

Page 23: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

24

Libvirt >= 3.4 (SLE12SP4 SLES15)

Libvirt• Highlights include:

● New CPU models● Improved support for ppc64 and

aarch64 architectures

● Migration: cache=directsync● Hyper-v: virDomainSetMemory

and virDomainSendKey APIs● Loadparm for bootdevices (Z) ● Add migrate-getmaxdowntime

● Update-device (running domain) ● multiqueue for virtio-blk● vIOMMU for virtio devices ● Xen: vNUMA topology (+cells) ● Apparmor improvement ● Bash completion (>= 4.0)

Page 24: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

25

SLES 12 SP4 Virtualization Architectures

Support for new architectures• Virtualization capabilities in x86_64 continue to be improved

– For example, AVX512

• KVM on s390x is now officially supported!

• KVM on Aarch64 is provided,with additional platforms supported

• KVM on Power9 (ppc64le) Tech Preview

Page 25: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

26

SLES 15 Supported Guests (1/2)

SUSE Linux Enterprise Server

– 15, 15 SP1 (upon release)

– 12 SP4, SP3, 12 SP2, 12 SP1

– 11 SP4, 10 SP4

SUSE Linux Enterprise Desktop

– 15

Open Enterprise Server

– 2018 (upon release), 2015 SP1

RedHat Enterprise Linux

– 7.6+, 6.10+, 5.11+

Page 26: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

27

SLES 15 Supported Guests (2/2)

Microsoft Windows Server

– 2019

– 2016

– 2012 R2, 2012

– 2008 R2 SP1, 2008 SP2

Microsoft Windows (Desktop)

– 10, 8.1, 8, 7 SP1

– Best effort support

Page 27: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

28

SUSE Linux EnterpriseVirtual Machine Driver Pack

VMDP >= 2.5.x

– Supported on all SUSE Linux Enterprise Server hosts

– Support for latest Microsoft offerings:• Windows Server 2019, 2016, 2012 R2 and Windows 10

– Recent changes in >= 2.5.x:• New driver: virtio_rng• copy/paste interaction between Virtual Machine and host• New SPICE agent, and updated qemu guest agent• Native support of 10gbis NIC• Bugfixes

Page 28: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

29

Perfect Guest strategy, operating system tuned to run great as a guest on all major hypervisors

Perfect Guest

Page 29: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

30

SLES 15 Supported Hosts

● SUSE Linux Enterprise Server– 15, 15 SP1 (upon release)– 12 SP4, SP3, 12 SP2, 12 SP1– 11 SP4

● VMware vSphere (ESXi)– 6.7, 6.5

● Microsoft Windows Server– 2019, 2016, 2012/2012R2, 2008 SP2+

● Citrix Xenserver 7.6/7.1● Oracle VM 3.4/3.3

Page 30: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

31

VMware tools / drivers integrated in SLES 12 / 15

• open-vm-tools 10.3.5

– Wayland support

– Improve snapshots

– Improvement for cloud-init

– Bug fixes

Fully supported by VMware via L3 support agreement

vSphere

SLES 12Tools

Drivers

APP

SLES 12Tools

Drivers

APP

Virtualization with VMware

Page 31: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

32

Virtualization with Microsoft

Hyper-V• Latest drivers and features supported in SLES

– Linux Integration Services (LIS) package is NOT required• SUSE works directly with Microsoft to enhanceand improve in-kernel drivers

Azure• SLES images regularly updated

WSL (Windows Subsystem for Linux)• SLES and openSUSE images are available

Page 32: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

33

KVM limits closely match bare metal limits• Max physical CPUs/memory 8192/64TB• Max virtual CPUs/mem per VM 288/4TB

(requires Q35, x2apic CPU feature, …)

XEN limits• Max physical CPUs/memory 256/5TB• Max Dom0 CPUs/memory 256/500GB• Max virtual CPUs/mem per VM 64/511GB

SLES 12 SP4 / SLES 15 Virtualization Limits

Page 33: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

34

SLES 15 SP1

– Continuing support for both Xen and KVM

– Continuing hardware enablement

– Performance improvements in the pvops kernel

– Xen: PVH dom0

– Updating some toolstack (qemu, libvirt etc...)

– Web Management: SUSE Manager 4.0

Outlook

Page 34: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

35

Virtualization testing

Page 35: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

36

QA Virtualization

Main features

– Live Migration

– Libvirt functionality

– Upgrading host and former VM

– Deploying Guests

– Update Guest to another SP

– Similar perf

Page 36: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

37

QA Virtualization projects

Multiple projects

– Guest installation

– Host upgrade

– Guest Migration

– Guest Upgrade

– PVUSB

– V2V

– Performance

– Third Party Hypervisors

Page 37: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

38

QA Virtualization: technologies used

Multiple tech

– Jenkins

– openQA

– Libvirt-tck

– Mode:• Semi-automatic• manual

Page 38: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,
Page 39: Virtualizing the World - SUSE Linux · VMDP >= 2.5.x –Supported on all SUSE Linux Enterprise Server hosts –Support for latest Microsoft offerings: •Windows Server 2019, 2016,

54

Unpublished Work of SUSE LLC. All Rights Reserved.This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE LLC. Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability.

General DisclaimerThis document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for SUSE products remains at the sole discretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.