Fossasia 16 Integrating oVirt, Foreman and Katello to empower your data-center

Post on 12-Feb-2017

118 views 2 download

transcript

FOSSASIA, March 2016

Integrating oVirt, Foreman And Katello

To Empower YourData-Center Utilization

Yaniv BronhaimSenior Software Engineer, Maintainer @ RHEV

Red Hat IL, RaananaMarch 2016, FOSSASIA, Singapore

FOSSASIA, March 2016

Agenda

● oVirt, Foreman and Katello preview

● New Third-party integration In oVirt 3.6● Using Foreman in for Bare-Metal Provisioning

(Started in 3.5)● Using Katello for displaying Errata (update)

content information

● oVirt 3.6 Upgrade Manager by otopi

● oVirt 4.0 plans

FOSSASIA, March 2016

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/Xen

Focus on ease of use/deployment

What is oVirt?

FOSSASIA, March 2016

Performance, Scalability, Security, Privacy, Intuitive for variant users

Maintain a large amount of resources

Data Centers

Storage

Linux Hypervisors

Guests \ VMs

Network

FOSSASIA, March 2016

FOSSASIA, March 2016

FOSSASIA, March 2016

Prepare Virtual Environment

Live snapshot

Task ManagementAsync Operations

Live Migration

OvercommitCPU, Memory, I/O

Hotplug

External Providers

Hosted Engine + HA engine

Live Storage Migration

SSO

NUMA

SPICEMemory

Ballooning

PCI pass through

QuotaImport Storage Domain

VIRT V2VProgress Live Processes

Iscsi , NFSManagement

Network InterfacesManagement

Cinder

User Roles

Fence Kdump support PPC Support

Foreman Hosts Provisioning

Host UpgradeManager

Expose ErrataInformation

SRIOV Support

FOSSASIA, March 2016

Complete lifecycle management tool for physical and virtual servers.

Provision, Configure and Monitor server.

FOSSASIA, March 2016

Three Steps For Managing Physical Hardware

Provision Initial startup

Configure Monitor

FOSSASIA, March 2016

Provision

Connect

Your Data Center

FOSSASIA, March 2016

Install OS

Provision

FOSSASIA, March 2016

Initial Setup

4Configure

FOSSASIA, March 2016

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

C8-E

C7-E

C6-E

C5-E

C5-F = A3:EB:F4:92:12:32D5-E = A3:BC:D7:92:12:22

B5-E = A3:BB:D7:92:12:12

Configure

FOSSASIA, March 2016

Monitor And Update –

Drift Management

5Monitor

FOSSASIA, March 2016

Foreman

Provision

Foreman

Configurator

Foreman

Management

How it's being done by Foreman

FOSSASIA, March 2016

Fedora

CentOS

RHEL

Ubunto

PXE Boot

Foreman

Provision

Foreman

Configurator

Foreman

Management

Smart Proxy

DNSDHCPTFTP

FOSSASIA, March 2016

Puppet

Chef

Reports

PasswordsKeysUsers

Services

Foreman

Provision

Foreman

Configurator

Foreman

Management

Configuration Management

Provision templates

Host groups

Puppet classes

Parameters

FOSSASIA, March 2016

Foreman

Provision

Foreman

Configurator

Foreman

Management

Interface

UI, API, Cli

Rest API

Web Interface

FOSSASIA, March 2016

FOSSASIA, March 2016

FOSSASIA, March 2016

Bare Metal Provisioning

Client (web portals)Foreman

FOSSASIA, March 2016

Client (web portals)Foreman

FOSSASIA, March 2016

Client (web portals)Foreman

FOSSASIA, March 2016

Client (web portals)Foreman

FOSSASIA, March 2016

Bare Metal Provisioning

FOSSASIA, March 2016

Bare Metal Provisioning

FOSSASIA, March 2016

How does Provisioning integrate with oVirt ?Host

Lifecycle Management

Provision Bare-Metal

Host

Deploy Hypervisor

FOSSASIA, March 2016

#1 : Provision

FOSSASIA, March 2016

Host DeployThe Basic Of Utilizing The Hypervisor

Client (Web Portal)Engine

FOSSASIA, March 2016

Deploy Host Flow

Client (web portals)Engine

FOSSASIA, March 2016

Deploy

(Configure)

New Host

FOSSASIA, March 2016

Host DeploymentThe process of preparing an operating systemenvironment suitable to host virtual machines and to be managed by the ovirt back-end

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

FOSSASIA, March 2016

Adding New Host – Discovered Hosts

FOSSASIA, March 2016

Adding External Provider

Client (web portals)

FOSSASIA, March 2016

FOSSASIA, March 2016

Engine

FOSSASIA, March 2016

Engine

00:11:22:33:44:55

0A:1B:C2:CC:44:55

A3:AA:C7:92:12:32

FOSSASIA, March 2016

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

FOSSASIA, March 2016

Engine

FOSSASIA, March 2016

Engine

FOSSASIA, March 2016

FOSSASIA, March 2016

Engine

FOSSASIA, March 2016

FOSSASIA, March 2016

Provision

Provision Hostnewbob.redhat.com

FOSSASIA, March 2016

Provision

Provision Host 192.168.1.53

FOSSASIA, March 2016

Deploy

(Configure)API Request to deploy host

oVirt Provision Plugin

FOSSASIA, March 2016

#1 : Provision is Done!

FOSSASIA, March 2016

● Create, organize, and manage local yum and puppet repositories

● Sync remote repositories

● Create custom Content

Views

● Install package and errata

updates

FOSSASIA, March 2016

FOSSASIA, March 2016

● Product Info

● Updates Type

FOSSASIA, March 2016

Host Content Management

Gather Content

Information

ERRATA Info

How does Content Management integrate with oVirt ?

FOSSASIA, March 2016

#2 : Host Content Information

FOSSASIA, March 2016

API Request To Gather Information About Host Or Virtiual Machine

FOSSASIA, March 2016

Collecting Content Flow:

FOSSASIA, March 2016

Reads And Reports Content StatusBy Using Katello Agent

FOSSASIA, March 2016

#2 : Host Content Information

ErrataReports

FOSSASIA, March 2016

Host\VM Content Information

FOSSASIA, March 2016

FOSSASIA, March 2016

Engine Content

FOSSASIA, March 2016

#3 : Upgrade Manager

FOSSASIA, March 2016

Notify For Upgrade Availability

FOSSASIA, March 2016

FOSSASIA, March 2016

oVirt Host MgmtProcess

FOSSASIA, March 2016

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.

FOSSASIA, March 2016

# Provision New Host

# Gather Errata Information

# Direct Yum Upgrade With oVirt-Host-Mgmt Plugin

FOSSASIA, March 2016

● Homepage

http://ovirt.org

● Overall Projects

http://gerrit.ovirt.org

● Mails lists

users@ovirt.org

devel@ovirt.org

● #ovirt on OFTC

● Homepage

http://theforeman.org

● Overall Projects

Github.com/theforeman

● #theforeman on freenode

● Homepage

http://katello.org

● Overall Projects

Github.com/Katello

● #katello on freenode

FOSSASIA, March 2016

Summary● Katello, Foreman, oVirt

● Discover new hosts and utilizing them

● Manage 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

FOSSASIA, March 2016

Questions?

Yaniv Bronhaim.

bronhaim@gmail.comybronhei@redhat.com

FOSSASIA, March 2016

THANK YOU !

Yaniv Bronhaim.

http://www.ovirt.orgybronhei@redhat.com