fossasia 16 integrating ovirt, foreman and katello to empower your data-center

70
FOSSASIA, March 2016 Integrating oVirt, Foreman And Katello To Empower Your Data-Center Utilization Yaniv Bronhaim Senior Software Engineer, Maintainer @ RHEV Red Hat IL, Raanana March 2016, FOSSASIA, Singapore

Upload: yaniv-bronhaim

Post on 12-Feb-2017

118 views

Category:

Engineering


2 download

TRANSCRIPT

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

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

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

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

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

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?

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

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

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

Prepare Virtual Environment

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

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

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

FOSSASIA, March 2016

Complete lifecycle management tool for physical and virtual servers.

Provision, Configure and Monitor server.

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

FOSSASIA, March 2016

Three Steps For Managing Physical Hardware

Provision Initial startup

Configure Monitor

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

FOSSASIA, March 2016

Provision

Connect

Your Data Center

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

FOSSASIA, March 2016

Install OS

Provision

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

FOSSASIA, March 2016

Initial Setup

4Configure

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

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

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

FOSSASIA, March 2016

Monitor And Update –

Drift Management

5Monitor

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

FOSSASIA, March 2016

Foreman

Provision

Foreman

Configurator

Foreman

Management

How it's being done by Foreman

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

FOSSASIA, March 2016

Fedora

CentOS

RHEL

Ubunto

PXE Boot

Foreman

Provision

Foreman

Configurator

Foreman

Management

Smart Proxy

DNSDHCPTFTP

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

FOSSASIA, March 2016

Puppet

Chef

Reports

PasswordsKeysUsers

Services

Foreman

Provision

Foreman

Configurator

Foreman

Management

Configuration Management

Provision templates

Host groups

Puppet classes

Parameters

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

FOSSASIA, March 2016

Foreman

Provision

Foreman

Configurator

Foreman

Management

Interface

UI, API, Cli

Rest API

Web Interface

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

Bare Metal Provisioning

Client (web portals)Foreman

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

FOSSASIA, March 2016

Client (web portals)Foreman

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

FOSSASIA, March 2016

Client (web portals)Foreman

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

FOSSASIA, March 2016

Client (web portals)Foreman

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

FOSSASIA, March 2016

Bare Metal Provisioning

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

FOSSASIA, March 2016

Bare Metal Provisioning

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

FOSSASIA, March 2016

How does Provisioning integrate with oVirt ?Host

Lifecycle Management

Provision Bare-Metal

Host

Deploy Hypervisor

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

FOSSASIA, March 2016

#1 : Provision

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

FOSSASIA, March 2016

Host DeployThe Basic Of Utilizing The Hypervisor

Client (Web Portal)Engine

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

FOSSASIA, March 2016

Deploy Host Flow

Client (web portals)Engine

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

FOSSASIA, March 2016

Deploy

(Configure)

New Host

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

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.

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

FOSSASIA, March 2016

Adding New Host – Discovered Hosts

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

FOSSASIA, March 2016

Adding External Provider

Client (web portals)

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

Engine

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

FOSSASIA, March 2016

Engine

00:11:22:33:44:55

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

A3:AA:C7:92:12:32

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

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

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

FOSSASIA, March 2016

Engine

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

FOSSASIA, March 2016

Engine

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

Engine

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

Provision

Provision Hostnewbob.redhat.com

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

FOSSASIA, March 2016

Provision

Provision Host 192.168.1.53

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

FOSSASIA, March 2016

Deploy

(Configure)API Request to deploy host

oVirt Provision Plugin

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

FOSSASIA, March 2016

#1 : Provision is Done!

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

FOSSASIA, March 2016

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

● Sync remote repositories

● Create custom Content

Views

● Install package and errata

updates

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

● Product Info

● Updates Type

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

FOSSASIA, March 2016

Host Content Management

Gather Content

Information

ERRATA Info

How does Content Management integrate with oVirt ?

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

FOSSASIA, March 2016

#2 : Host Content Information

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

FOSSASIA, March 2016

API Request To Gather Information About Host Or Virtiual Machine

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

FOSSASIA, March 2016

Collecting Content Flow:

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

FOSSASIA, March 2016

Reads And Reports Content StatusBy Using Katello Agent

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

FOSSASIA, March 2016

#2 : Host Content Information

ErrataReports

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

FOSSASIA, March 2016

Host\VM Content Information

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

Engine Content

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

FOSSASIA, March 2016

#3 : Upgrade Manager

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

FOSSASIA, March 2016

Notify For Upgrade Availability

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

FOSSASIA, March 2016

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

FOSSASIA, March 2016

oVirt Host MgmtProcess

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

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.

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

FOSSASIA, March 2016

# Provision New Host

# Gather Errata Information

# Direct Yum Upgrade With oVirt-Host-Mgmt Plugin

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

FOSSASIA, March 2016

● Homepage

http://ovirt.org

● Overall Projects

http://gerrit.ovirt.org

● Mails lists

[email protected]

[email protected]

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

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

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

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

FOSSASIA, March 2016

THANK YOU !

Yaniv Bronhaim.

http://[email protected]