<<

Integrating oVirt, And Katello To Empower Your Data-Center Utilization

Yaniv Bronhaim Senior Software Engineer, Maintainer @ RHEV

Red Hat IL, Raanana August 2015, CloudOpen NA CloudOpen, August 2015 Abstract Agenda: ● Introduction to oVirt, Foreman and Katello ● Integration with oVirt ● Using Foreman in for Bare- Metal provisioning ● Using Katello for displaying Errata (update) information ● Upgrade Manager in oVirt ● Future Plans ● Summary

CloudOpen, August 2015 Large scale, centralized management for and desktop Provide an open source alternative to vCenter/vSphere Focus on KVM for best integration/performance Focus on ease of use/deployment

CloudOpen, August 2015 Focus #1 : Performance And Scalability Maintain a large amount of resources

Data Centers

Linux

Network Storage Guests \ VMs

CloudOpen, August 2015 Focus #2 : User Intuitive Different type of users and requirements

CloudOpen, August 2015 Focus #3 : Secure and Recoverable It hurts to lose your VM in the

CloudOpen, August 2015 oVirt Engine http://www.ovirt.org/Quick_Start_Guide

CloudOpen, August 2015 New Host

192.168.1.25

CloudOpen, August 2015 Deploy Host Flow

Engine Client (web portals)

CloudOpen, August 2015 New Host

Deploy (Configure) CloudOpen, August 2015 Host Deployment The process of preparing an environment suitable to host virtual machines and to be managed by the back-end

● VDSM packages are installed. ● Clock is 'soft' synchronized. ● Management bridge created. ● rules applied. ● SSH trust obtained. ● PKI trust obtained. ● VDSM certificate issued. ● Services' boot state set. ● Host tuned for virtualization.

CloudOpen, August 2015 Prepare Virtual Environment

CloudOpen, August 2015 • Dynamically move virtual machines between hosts

● No service interruption

● Applications continue to run • Migrate even I/O intensive workloads such as • Perform hardware maintenance without application downtime • Dynamically balance workloads between host systems

CloudOpen, August 2015 17 • Dynamically balance System Scheduler workloads in the . • Automatically live migrate virtual machines based on resources • Define custom policies for distribution of virtual machines • Define policies to optimize workload on a fewer number of servers during “off-peak” hours

CloudOpen, August 2015 18 • Build a highly available enterprise infrastructure • Continually monitor host systems and virtual machines • Automatically restart virtual machines in case of host failure

● Restart on another node in the cluster • Use live migration to “fail-back” a VM to it's original host when the server is restored

CloudOpen, August 2015 19 PPC Support Live snapshot Kdump fencing Cinder Templates

Discovery Hosts Progress Live VIRT V2V & P2V Live Storage Migration Provisioning Processes Network Interfaces Overcommit Management CPU, Memory, I/O Thirdparty Integration Live Migration KSM Iscsi , NFS Kernel Same-Page Management PCI pass through Hotplug Mering Hosted Events Engine Upgrade SPICE Management Memory Ballooning Task Management Expose Packages User Rolls Async Operations Information Node Quota NUMA Import Storage Registration MoM Domain Limit Resources sVirt OS support AAA CloudOpen, August 2015 PPC Support Live snapshot Kdump fencing Cinder Templates

Discovery Hosts Progress Live VIRT V2V & P2V Live Storage Migration Provisioning Processes Network Interfaces Overcommit Management CPU, Memory, I/O Thirdparty Integration Live Migration KSM Iscsi , NFS Kernel Same-Page Management PCI pass through Hotplug Mering Hosted Events Engine Upgrade SPICE Management Memory Ballooning Task Management Expose Packages User Rolls Async Operations Information Node Quota NUMA Import Storage Registration MoM Domain Limit Resources sVirt OS support AAA CloudOpen, August 2015 Complete lifecycle management tool for physical and virtual servers. Provision, Configure and Monitor server.

CloudOpen, August 2015 Something that appears hopelessly complicated, but in actuality is quite simple

CloudOpen, August 2015 Three Steps For Managing Physical Hardware

Provision Configure Monitor Initial startup

CloudOpen, August 2015 Your Data Center

CloudOpen, August 2015 New Hosts !

CloudOpen, August 2015 1

Connect

CloudOpen, August 2015 2

Install OS

CloudOpen, August 2015 3

C5-E Laptop or screen with C6-E keyboard

C7-E S1-A

C8-E

S1-A = 00:11:22:33:44:23 S2-A = 0A:1B:C2:CC:44:55 C8-E = A3:AA:C7:92:12:32 C4-E = A3:BB:D7:92:42:32 C5-F = A3:EB:F4:92:12:32 D5-E = A3:BC:D7:92:12:22 B5-E = A3:BB:D7:92:12:12

CloudOpen, August 2015 4

Initial Setup

CloudOpen, August 2015 5 Monitor And Update – Drift Management

CloudOpen, August 2015 CloudOpen, August 2015 BUT A5- != 0A:1B:CC:44:55

A5-C

CloudOpen, August 2015 Working hard and working smart sometimes can be two different things (Byron Dorgan)

CloudOpen, August 2015 Foreman Foreman Foreman Provision Configurator Management

CloudOpen, August 2015 Foreman PXE Foreman Foreman Boot Provision Configurator Management

Ubunto RHEL Fedora DNS DHCP CentOS TFTP

Smart Proxy

CloudOpen, August 2015 Passwords Keys Users Services

Foreman Foreman Foreman Provision Configurator Management

Chef Provision templates Host groups Reports Puppet classes Parameters

CloudOpen, August 2015 Foreman Foreman Foreman Provision Configurator Management

Rest API

Web Interface Interface UI, API, Cli

CloudOpen, August 2015 Your Data Center

CloudOpen, August 2015 New Hosts !

CloudOpen, August 2015 1

Connect

CloudOpen, August 2015 Bare Metal Provisioning 2

Tiny OS

CloudOpen, August 2015 Bare Metal Provisioning 3

Tiny OS

CloudOpen, August 2015 Bare Metal Provisioning

CloudOpen, August 2015 Bare Metal Provisioning

CloudOpen, August 2015 How does Provisioning integrate with oVirt ? Host Lifecycle Management

Deploy Provision Bare-Metal Host

CloudOpen, August 2015 #1 : Provision

CloudOpen, August 2015 New Host

192.168.1.25

CloudOpen, August 2015 New Host

Deploy (Configure) CloudOpen, August 2015 Hypervisor

CloudOpen, August 2015 CloudOpen, August 2015 Adding External Provider

Client (web portals)

CloudOpen, August 2015 CloudOpen, August 2015 Engine

CloudOpen, August 2015 00:11:22:33:44:55 0A:1B:C2:CC:44:55 A3:AA:C7:92:12:32

Engine

CloudOpen, August 2015 00:11:22:33:44:55=192.168.1.2 0A:1B:C2:CC:44:55=192.168.1.56 A3:AA:C7:92:12:32=192.168.1.66

CloudOpen, August 2015 Engine

CloudOpen, August 2015 Engine

CloudOpen, August 2015 Provision

Provision Host 192.168.1.53

CloudOpen, August 2015 Provision

Provision Host 192.168.1.53

CloudOpen, August 2015 Deploy (Configure) API Request to deploy host

CloudOpen, August 2015 #1 : Provision is Done!

CloudOpen, August 2015 ● Create, organize, and manage local and puppet repositories

● Sync remote repositories

● Create custom Content Views

● Install package and errata updates

CloudOpen, August 2015 CloudOpen, August 2015 ● Product Info

● Updates Type

CloudOpen, August 2015 How does Content Management integrate with oVirt ?

Gather Content Information

Host Content ERRATA Info Management

CloudOpen, August 2015 #2 : Host Content Information

CloudOpen, August 2015 API Request to gather information about Host #1

CloudOpen, August 2015 Reads And Reports Content Status

CloudOpen, August 2015 #2 : Host Content Information

Errata Reports

CloudOpen, August 2015 Host Content

CloudOpen, August 2015 CloudOpen, August 2015 #3 : Upgrade Manager

CloudOpen, August 2015 Notify For Upgrade Availability

CloudOpen, August 2015 CloudOpen, August 2015 oVirt Host Mgmt Process

CloudOpen, August 2015 Host Management The process of upgrading content environment for suitable cluster (usually VDSM version upgrade)

● Direct SSH trust obtained. ● Allows to retrieve current installed packages information. ● Perform YUM\DNF operations for specific virst packages.

CloudOpen, August 2015 # Provision New Host # Gather Errata Information # Direct Yum Upgrade With oVirt-Host-Mgmt Plugin

CloudOpen, August 2015 Future Plans:

● VM Provisioning ● Full Host Configuration Management Through oVirt ● Multiply Selection For Hosts Provisioning ● Upgrade by Katello API ● Cluster Upgrades

CloudOpen, August 2015 ● Homepage ● Homepage ● Homepage http://ovirt.org http://theforeman.org http://katello.org

● Overall Projects ● Overall Projects ● Overall Projects http://gerrit.ovirt.org Github.com/theforeman Github.com/Katello

● Mails lists ● #theforeman on freenode ● #katello on freenode [email protected] [email protected]

● #ovirt on OFTC

CloudOpen, August 2015 Summary ● Katello ● Foreman ● oVirt ● No physical intervention ● Discover new hosts and make them hypervisors ● Manage their content and updates

The feature pages: ● http://www.ovirt.org/Features/ForemanIntegration ● http://www.ovirt.org/Home/Features/KatelloIntegration ● http://www.ovirt.org/Home/Features/UpgradeManager

CloudOpen, August 2015 Questions?

Yaniv Bronhaim.

[email protected] [email protected]

CloudOpen, August 2015 THANK YOU !

Yaniv Bronhaim. http://www.ovirt.org [email protected]

CloudOpen, August 2015