Integrating oVirt, Foreman 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 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 Linux Hypervisors 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 cloud 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 (Confjgure) CloudOpen, August 2015
Host Deployment The process of preparing an operating system environment 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 CloudOpen, 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 17 CloudOpen, 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 18 CloudOpen, August 2015
High Availability • 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 19 CloudOpen, August 2015
PPC Support Live snapshot Cinder Templates Kdump fencing Discovery Hosts Progress Live VIRT V2V & P2V Live Storage Migration Processes Provisioning Overcommit Network Interfaces CPU, Memory, I/O Management Live Migration Thirdparty Integration KSM Iscsi , NFS Kernel Same-Page Management Mering PCI pass through Hotplug Events Hosted Upgrade SPICE Engine Memory Management Ballooning Task Management Expose Packages Async Operations User Rolls Information Node Quota NUMA Import Storage MoM Registration Limit Resources Domain sVirt OS support AAA CloudOpen, August 2015
PPC Support Live snapshot Cinder Templates Kdump fencing Discovery Hosts Progress Live VIRT V2V & P2V Live Storage Migration Processes Provisioning Overcommit Network Interfaces CPU, Memory, I/O Management Live Migration Thirdparty Integration KSM Iscsi , NFS Kernel Same-Page Management Mering PCI pass through Hotplug Events Hosted Upgrade SPICE Engine Memory Management Ballooning Task Management Expose Packages Async Operations User Rolls Information Node Quota NUMA Import Storage MoM Registration Limit Resources Domain 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 Confjgure 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 keyboard C6-E 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-C != 0A:1B:CC:44:55 A5-C CloudOpen, August 2015
Working hard and working smart sometimes can be two difgerent things (Byron Dorgan) CloudOpen, August 2015
Foreman Foreman Foreman Management Provision Confjgurator CloudOpen, August 2015
Foreman Foreman Foreman PXE Boot Management Provision Confjgurator Ubunto RHEL DNS Fedora DHCP CentOS TFTP Smart Proxy CloudOpen, August 2015
Passwords Keys Users Services Foreman Foreman Foreman Management Provision Confjgurator Chef Provision templates Puppet Host groups Reports Puppet classes Parameters Confjguration Management CloudOpen, August 2015
Foreman Foreman Foreman Management Confjgurator Provision 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 Hypervisor Provision Bare-Metal Host CloudOpen, August 2015
#1 : Provision CloudOpen, August 2015
New Host 192.168.1.25 CloudOpen, August 2015
New Host Deploy (Confjgure) 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 (Confjgure) 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 T ype ● 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
Recommend
More recommend