integrating - events.static.linuxfound.org · introduction to ovirt, foreman and katello...
TRANSCRIPT
CloudOpen, August 2015
Integrating oVirt, Foreman And Katello
To Empower YourData-Center Utilization
Yaniv BronhaimSenior Software Engineer, Maintainer @ RHEV
Red Hat IL, RaananaAugust 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 server and desktop virtualization
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
Storage
Linux Hypervisors
Guests \ VMs
Network
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 cloud
CloudOpen, August 2015
oVirt Enginehttp://www.ovirt.org/Quick_Start_Guide
CloudOpen, August 2015
192.168.1.25
New Host
CloudOpen, August 2015
Deploy Host Flow
Client (web portals)Engine
CloudOpen, August 2015
Deploy
(Configure)
New Host
CloudOpen, August 2015
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.
CloudOpen, August 2015
Prepare Virtual Environment
17CloudOpen, August 2015
Live Migration• Dynamically move virtual machines
between hosts● No service interruption
● Applications continue to run
• Migrate even I/O intensive workloads such as databases
• Perform hardware maintenance without application downtime
• Dynamically balance workloads between host systems
18CloudOpen, August 2015
System Scheduler • Dynamically balance workloads in the data center.
• 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
19CloudOpen, August 2015
• Build a highly available enterprise infrastructure
• Continually monitor host systems and virtual machines
• Automatically restart virtual machines in case of host failure
● Restart virtual machine on another node in the cluster
• Use live migration to “fail-back” a VM to it's original host when the server is restored
High Availability
CloudOpen, August 2015
Live snapshot
Task ManagementAsync Operations
Live Migration
OvercommitCPU, Memory, I/O
Hotplug
Thirdparty Integration
Hosted Engine
Live Storage Migration
KSMKernel Same-Page
Mering
NUMA
SPICEMemory
Ballooning
OS supportsVirt
PCI pass through
QuotaLimit Resources
Import Storage Domain
VIRT V2V & P2V
MoM
AAA
Progress Live Processes
Iscsi , NFSManagement
Network InterfacesManagement
Cinder Templates
Node Registration
Events
User Rolls
Kdump fencingPPC Support
Discovery Hosts Provisioning
UpgradeManagement
Expose PackagesInformation
CloudOpen, August 2015
Live snapshot
Task ManagementAsync Operations
Live Migration
OvercommitCPU, Memory, I/O
Hotplug
Thirdparty Integration
Hosted Engine
Live Storage Migration
KSMKernel Same-Page
Mering
NUMA
SPICEMemory
Ballooning
OS supportsVirt
PCI pass through
QuotaLimit Resources
Import Storage Domain
VIRT V2V & P2V
MoM
AAA
Progress Live Processes
Iscsi , NFSManagement
Network InterfacesManagement
Cinder Templates
Node Registration
Events
User Rolls
Kdump fencingPPC Support
Discovery Hosts Provisioning
UpgradeManagement
Expose PackagesInformation
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 Initial startup
Configure Monitor
CloudOpen, August 2015
Your Data Center
CloudOpen, August 2015
New Hosts !
CloudOpen, August 2015
1
Connect
CloudOpen, August 2015
Install OS
2
CloudOpen, August 2015
Laptop or screen with keyboard
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
3
C8-E
C7-E
C6-E
C5-E
S1-A
C5-F = A3:EB:F4:92:12:32D5-E = A3:BC:D7:92:12:22
B5-E = A3:BB:D7:92:12:12
CloudOpen, August 2015
Initial Setup
4
CloudOpen, August 2015
Monitor And Update –
Drift Management
5
CloudOpen, August 2015
CloudOpen, August 2015
BUT A5-C != 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
Provision
Foreman
Configurator
Foreman
Management
CloudOpen, August 2015
Fedora
CentOS
RHEL
Ubunto
PXE Boot
Foreman
Provision
Foreman
Configurator
Foreman
Management
Smart Proxy
DNSDHCPTFTP
CloudOpen, August 2015
Puppet
Chef
Reports
PasswordsKeysUsers
Services
Foreman
Provision
Foreman
Configurator
Foreman
Management
Configuration Management
Provision templates
Host groups
Puppet classes
Parameters
CloudOpen, August 2015
Foreman
Provision
Foreman
Configurator
Foreman
Management
Interface
UI, API, Cli
Rest API
Web Interface
CloudOpen, August 2015
Your Data Center
CloudOpen, August 2015
New Hosts !
CloudOpen, August 2015
1
Connect
CloudOpen, August 2015
Bare Metal Provisioning
Tiny OS
2
CloudOpen, August 2015
Tiny OS
Bare Metal Provisioning3
CloudOpen, August 2015
Bare Metal Provisioning
CloudOpen, August 2015
Bare Metal Provisioning
CloudOpen, August 2015
How does Provisioning integrate with oVirt ?Host
Lifecycle Management
Provision Bare-Metal
Host
Deploy Hypervisor
CloudOpen, August 2015
#1 : Provision
CloudOpen, August 2015
192.168.1.25
New Host
CloudOpen, August 2015
Deploy
(Configure)
New Host
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
Engine
00:11:22:33:44:55
0A:1B:C2:CC:44:55
A3:AA:C7:92:12:32
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 yum 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
Host Content Management
Gather Content
Information
ERRATA Info
How does Content Management integrate with oVirt ?
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
ErrataReports
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 MgmtProcess
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
http://ovirt.org
● Overall Projects
http://gerrit.ovirt.org
● Mails lists
● #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
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