Top Banner
1 Virtualization Management the oVirt way Virtualization Management the oVirt way Barak Azulay Manager @ RHEV Engineering Red Hat June 2012
57

Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

Jun 13, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

1 Virtualization Management the oVirt way

Virtualization Managementthe

oVirt way

Barak AzulayManager @ RHEV EngineeringRed HatJune 2012

Page 2: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

2 Virtualization Management the oVirt way

Agenda

● What is oVirt?● Where did it come from?● What does it do?● Architecture● Roadmap● What's next?

Page 3: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

3 Virtualization Management the oVirt way

Large scale, centralized management for server and desktop virtualization

Based on leading performance, scalability and security infrastructure technologies

Provide an open source alternative to vCenter/vSphere

Focus on KVM for best integration/performance

Focus on ease of use/deployment

What is oVirt?

Page 4: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

4 Virtualization Management the oVirt way

How Does It Look?

Page 5: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

5 Virtualization Management the oVirt way

Competitive Landscape

● InfoWorld “shootout” 2011

– Independent analysis of leading virtualization platforms

– 2nd place in management functionality

http://bit.ly/virtshootout

Page 6: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

6 Virtualization Management the oVirt way

Goals of the oVirt project

● Build a community around all levels of the virtualization stack – hypervisor, manager, GUI, API, etc.

● To deliver both a cohesive complete stack and discretely reusable components for open virtualization management

● Provide a release of the project on a well defined schedule

● Focus on management of the KVM hypervisor, with exceptional guest support beyond Linux

● Provide a venue for user and developer communication and coordination

Page 7: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

7 Virtualization Management the oVirt way

Governance

● Merit based, open governance model● Built using the best concepts taken from Apache and

Eclipse Foundations● Governance split between board and projects

● oVirt Board● Multiple projects under the oVirt brand

Page 8: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

8 Virtualization Management the oVirt way

Governance (oVirt Board)

● Initial board● Red Hat, IBM, NetApp, Cisco, SUSE, Intel● A few domain leaders from sub-projects● Mentors● There is no limit to the number of board seats● Additional seats are voted based on merit

Page 9: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

9 Virtualization Management the oVirt way

How to Start?

● Build from source● Or, just install pre-packaged

● yum install ovirt-engine● ./ovirt-setup

● Add managed hosts● from engine● use ovirt-node registr/approve flow

● All in one installation is available

Page 10: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

10 Virtualization Management the oVirt way

Administration Console

Page 11: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

11 Virtualization Management the oVirt way

Search Auto Complete

Page 12: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

12 Virtualization Management the oVirt way

Search Results

Page 13: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

13 Virtualization Management the oVirt way

Add Host As Simple As

Page 14: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

14 Virtualization Management the oVirt way

Power Management

Page 15: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

15 Virtualization Management the oVirt way

Configure Networks

Page 16: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

16 Virtualization Management the oVirt way

Or Bonds

Page 17: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

17 Virtualization Management the oVirt way

Without Scripts or Config Files

Page 18: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

18 Virtualization Management the oVirt way

Configure Storage Once for Entire Cluster

Page 19: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

19 Virtualization Management the oVirt way

Extend with More LUNs as Needed

Page 20: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

20 Virtualization Management the oVirt way

Add Servers or Desktops

Page 21: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

21 Virtualization Management the oVirt way

Even Windows via Sysprep

Page 22: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

22 Virtualization Management the oVirt way

SPICE or VNC

Page 23: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

23 Virtualization Management the oVirt way

Migratable or Not

Page 24: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

24 Virtualization Management the oVirt way

Highly Available?

Page 25: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

25 Virtualization Management the oVirt way

Control Allocated Resources (Disk, Memory)

Page 26: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

26 Virtualization Management the oVirt way

Boot Devices

Page 27: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

27 Virtualization Management the oVirt way

Advanced Options via Custom Properties

Page 28: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

28 Virtualization Management the oVirt way

Assign Permissions to Objects by Roles

Page 29: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

29 Virtualization Management the oVirt way

Define Your Own Roles

Page 30: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

30 Virtualization Management the oVirt way

User Portal

Page 31: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

31 Virtualization Management the oVirt way

Self Provisioning Portal

Page 32: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

32 Virtualization Management the oVirt way

User Resource View

Page 33: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

33 Virtualization Management the oVirt way

OVF Import/Export Import and export VMs and templates using OVF files

V2V  Convert VMs from VMware and RHEL/Xen to oVirt

 Feature Description

High Availability  Restart guest VMs from failed hosts automatically on other hosts

Live Migration  Move running VM between hosts with zero downtime

System Scheduler  Continuously load balance VMs based on resource usage/policies

Power Saver  Concentrate virtual machines on fewer servers during off-peak hours

Maintenance Manager No downtime for virtual machines during planned maintenance windows. Hypervisor patching

Image Management Template based provisioning, thin provisioning and snapshots

Monitoring & Reporting  For all objects in system – VM guests, hosts, networking, storage etc.

Management Features

Page 34: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

34 Virtualization Management the oVirt way

OVF Import/Export Import and export VMs and templates using OVF files

V2V  Convert VMs from VMware and RHEL/Xen to oVirt

 Feature Description

High Availability  Restart guest VMs from failed hosts automatically on other hosts

Live Migration  Move running VM between hosts with zero downtime

System Scheduler  Continuously load balance VMs based on resource usage/policies

Power Saver  Concentrate virtual machines on fewer servers during off-peak hours

Maintenance Manager No downtime for virtual machines during planned maintenance windows. Hypervisor patching

Image Management Template based provisioning, thin provisioning and snapshots

Monitoring & Reporting  For all objects in system – VM guests, hosts, networking, storage etc.

Management Features

Page 35: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

35 Virtualization Management the oVirt way

Virtual Desktop Infrastructure (VDI)

Centralized management, security and policy enforcement

Virtual desktops with user experience of a physical PC

Multiple monitors

HD quality video

Bi-directional audio/video for VoIP or video-conferencing

Smartcard support

USB support

Industry leading density of virtual desktops/server

Page 36: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

36 Virtualization Management the oVirt way

libvirtVDSM

Host | Node

libvirtVDSM

Host | Node

Linux/Windowsclient

Linux/Windowsclient

Shared StorageFC/iSCSI/NFS

Shared StorageFC/iSCSI/NFS

Linux VMLinux VM Win VMWin VM

oVirtEngineJava

oVirtEngineJava

SDK/CLI python

SDK/CLI python

REST

REST

ADAD

IPAIPA

Local StorageLocal Storage

Guest agentGuest agent Guest agentGuest agent

Admin Portalgwt

Admin Portalgwt

User Portalgwt

User Portalgwt

PostgresPostgres

oVirt High Level Architecture

SPICE

Page 37: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

37 Virtualization Management the oVirt way

REST API

Page 38: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

38 Virtualization Management the oVirt way

Hosts Collection

Page 39: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

39 Virtualization Management the oVirt way

Host networks collection

Page 40: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

40 Virtualization Management the oVirt way

Python SDK

- Creating the proxy

- Listing all collections

- Listing collection's methods.

- Querying collection with oVirt search engine.- Querying collection by custom constraint.

- Querying collection for specific resource.

- Accessing resource methods and properties.

Page 41: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

41 Virtualization Management the oVirt way

Python SDK (cont.)

- Accessing resource properties and sub-collections.

- Accessing sub-collection methods.

- Retrieving sub-collection resource.

- Accessing sub-collection resource properties and methods.

- Querying sub-collection by custom constraint.

Page 42: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

42 Virtualization Management the oVirt way

oVirt CLI

Page 43: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

43 Virtualization Management the oVirt way

Data Warehouse based on Talend ETL

Page 44: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

44 Virtualization Management the oVirt way

oVirt Reports

Page 45: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

45 Virtualization Management the oVirt way

oVirt Reports

Page 46: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

46 Virtualization Management the oVirt way

Notification Service

● oVirt allows registration to certain audit events● The notification service sends emails per audit

message to relevant users● Also monitors engine itself

Page 47: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

47 Virtualization Management the oVirt way

oVirt Guest Agent

● The guest agent provides additional information to oVirt Engine, such as guest memory usage, guest ip address, installed applications and sso.

● Python code, available for both linux and windows guests

● Communication is done over virtio-serial● SSO for windows is based on a gina module for XP

and a credential provider for windows 7● SSO for RHEL 6 is based on a PAM module with

support for both KDE and Gnome

Page 48: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

48 Virtualization Management the oVirt way

Guest

SSOSSO

Virtio-net

Virtio-net

Virtio-block

Virtio-block

Spice driver

Spice driver

USBUSB guestAgent

guestAgent

balloonballoon

Page 49: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

49 Virtualization Management the oVirt way

virto-serial

Guest AgentGuest Agent

QEMU/KVMQEMU/KVM

HostConfig & Monitor

HostConfig & Monitor

Storage Config & Monitor

Storage Config & Monitor

Network Config & Monitor

Network Config & Monitor

VMConfig & Monitor

VMConfig & Monitor

AutoRegisterAuto

Register

KSMKSM

oVirt Host Agent - VDSM

libvirtlibvirt

hookshooks

Page 50: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

50 Virtualization Management the oVirt way

Hooks

● “Hook” mechanism for customization● Allows administrator to define scripts to modify VM operation

● eg. Add extra options such as CPU pinning, watchdog device, direct LUN access, etc

● Allows oVirt to be extended for new KVM features before full integration is done

● An easy way to test a new kvm/libvirt/linux feature

Page 51: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

51 Virtualization Management the oVirt way

Hooks

Page 52: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

52 Virtualization Management the oVirt way

Hooks

● Hook scripts are called at specific VM lifecycle events● VDSM (management agent) Start● Before VM start● After VM start● Before VM migration in/out● After VM migration in/out● Before and After VM Pause● Before and After VM Continue ● Before and After VM Hibernate● Before and After VM resume from hibernate● On VM stop● On VDSM Stop

● Hooks can modify a virtual machines XML definition before VM start● Hooks can run system commands – eg. Apply firewall rule to VM

Page 53: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

53 Virtualization Management the oVirt way

Sample Hooks

● CPU pinning

● SR/IOV

● Smart card

● Direct LUN

● Hugepages

● Promiscuous mode network interface

● Cisco VN-Link

● Fileinject

● Floppy

● Hostusb

● Isolatedprivatevlan

● Numa

● Qos

● Scratchpad

● smbios

Page 54: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

54 Virtualization Management the oVirt way

In the works ([email protected])

● Live snapshots● Live storage migration● Quotas● Hot plug● Multiple storage domains● Shared disks● iScsi disk● Shared file system

support● Storage array integration

● Gluster support● Qbg/Qbh● virt-resize, pv-resize● libguestfs integration● Stable device addresses● Network types● Backup API● SLA● SDM● Many many more...

Page 55: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

55 Virtualization Management the oVirt way

How To Contribute or Download

● Website and Repository:● http://www.ovirt.org● http://www.ovirt.org/wiki● http://www.ovirt.org/project/subprojects/

● Mailing lists:● http://lists.ovirt.org/mailman/listinfo

● IRC:● #ovirt on OFTC

Page 56: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

56 Virtualization Management the oVirt way

What's Next

● Next Version● Scheduled to be released till the end of June

● Next Workshop● oVirt Workshop at LinuxCon JapanYokohama, Japan : 9 June 2012● oVirt Workshop at LinuxCon North America San Diego, CA : 28 August 2012● oVirt Workshop at LinuxCon Europe (co-located with KVM Forum) Barcelona,

Spain : 7-9 November 2012● oVirt Workshop at NetApp Headquarters (to be confirmed) Sunnyvale, California :

22-24 January 2013● oVirt W orkshop at Intel Campus Shanghai, China : 20-21 March 2013, Hosted by

IBM in their Campus

● http://www.ovirt.org/news-and-events/workshop/

Page 57: Virtualization Management the...6 Virtualization Management the oVirt way Goals of the oVirt project Build a community around all levels of the virtualization stack – hypervisor,

57 Virtualization Management the oVirt way

THANK YOU !

http://[email protected]