ovirt Node November 1, 2011 Mike Burns Alan Pevec Perry Myers ovirt Node 1

Similar documents
ovirt Node June 9, 2012 Mike Burns ovirt Node 1

Integrating ovirt, Foreman And Katello To Empower Your Data-Center Utilization

Red Hat Enterprise Linux 5 Hypervisor Deployment Guide

Managing VMware ESXi in the Datacenter. Dwarakanath P Rao Sr Partner consultant 6 th November 2008

BRINGING HOST LIFE CYCLE AND CONTENT MANAGEMENT INTO RED HAT ENTERPRISE VIRTUALIZATION. Yaniv Kaul Director, SW engineering June 2016

Deploying Cisco UCS Central

Intro to ovirt. Itamar Heim Virtualization Management the ovirt way

Manually Mount Usb Flash Drive Linux Command Line Redhat

Virtualization Management the ovirt way

Red Hat Enterprise Linux 5.7 Hypervisor Deployment Guide

Libvirt: a virtualization API and beyond

Part 1 : Getting Familiar with Linux. Hours. Part II : Administering Red Hat Enterprise Linux

1 LINUX KERNEL & DEVICES

Xen Summit Spring 2007

Acronis Backup & Recovery 11.5

Release Notes for Cisco Application Policy Infrastructure Controller Enterprise Module, Release x

Linux Administration

Virtual Services Container

CTEC1863/2018F Bonus Lab Page 1 of 5

Baremetal with Apache CloudStack

LENS Server Maintenance Guide JZ 2017/07/28

Oracle Linux 5 & 6 Advanced Administration

Unit 2: Manage Files Graphically with Nautilus Objective: Manage files graphically and access remote systems with Nautilus

"Charting the Course... Enterprise Linux System Administration Course Summary

VM Life Cycle Management

Redhat OpenStack 5.0 and PLUMgrid OpenStack Networking Suite 2.0 Installation Hands-on lab guide

Be smart. Think open source.

KVM Forum Vancouver, Daniel P. Berrangé

VMware vsphere. Administration VMware Inc. All rights reserved

Manually Mount Usb Flash Drive Ubuntu Server

Oracle Linux 7: Advanced Administration Ed 1

Red Hat Virtualization 4.1 Technical Presentation May Adapted for MSP RHUG Greg Scott

INSTALLATION RUNBOOK FOR Triliodata + TrilioVault

VNS3 Configuration. IaaS Private Cloud Deployments

Upgrade Guide. This document details the upgrade process for customers moving from the full version of OnApp Cloud v2.3.1 to v2.3.2.

Configure Windows VM to CGM-SRV Module on CGR1xxx

Virtualization Management the ovirt way

"Charting the Course... RHCE Rapid Track Course. Course Summary

Surviving in the wilderness integrity protection and system update. Patrick Ohly, Intel Open Source Technology Center Preliminary version

Managed Conversion of Guests to ovirt. Arik Hadas Senior Software Engineer Red Hat 21/8/15

CompTIA Linux+ Guide to Linux Certification Fourth Edition. Chapter 2 Linux Installation and Usage

VMware AirWatch Content Gateway Guide For Linux

Installing Cisco APIC-EM on a Virtual Machine

FastTrack to Red Hat Linux System Administrator Course Overview

VMware ESX Server 3i. December 2007

Red Hat Network Satellite 5.0.0: Virtualization Step by Step

Testing an Open Source installation and server provisioning tool for the INFN CNAF Tier1 Storage system

Linux+ Guide to Linux Certification, Third Edition. Chapter 2 Linux Installation and Usage

CloudFleet Documentation

openqrm Enterprise Administrator Guide Enterprise System Adminstration and IaaS Datacenter Automation with openqrm 5.2

Table of Contents DevOps Administrators

Enterprise Linux System Administration

IBM Endpoint Manager. OS Deployment V3.5 User's Guide

Installing the Server Operating System or Hypervisor

Acronis Backup Advanced Version 11.5 Update 6

Red Hat CloudForms 4.6

How we added software updates to AGL

Prerequisites: Students must be proficient in general computing skills but not necessarily experienced with Linux or Unix. Supported Distributions:

Oracle Linux 7: Advanced Administration Ed 1 LVC

Control Center Planning Guide

Cisco Nexus 1000V Installation and Upgrade Guide, Release 5.2(1)SV3(1.4)

vsphere Installation and Setup Update 2 Modified on 01 DEC 2017 VMware vsphere 6.0 VMware ESXi 6.0 vcenter Server 6.0

Red Hat CloudForms 4.5

openqrm Technical Overview

Clearswift SECURE Gateway Installation & Getting Started Guide. Version 4.3 Document Revision 1.0

Installing or booting DSS V6 from a USB flash drive or other writable media starting with the ZIP file

VMware AirWatch Content Gateway for Linux. VMware Workspace ONE UEM 1811 Unified Access Gateway

Ftp Get Command Line Windows 7 Bootable Usb

Installing the Operating System or Hypervisor

How to Deploy a Barracuda NG Vx using Barracuda NG Install on a VMware Hypervisor

Control Center Planning Guide

Remote power and console management in large datacenters

Relax-and-Recover (ReaR) Automated Testing

CMB-207-1I Citrix Desktop Virtualization Fast Track

1Z Oracle Linux 6 Implementation Essentials Exam Summary Syllabus Questions

SA2 v6 Linux System Administration II Net Configuration, Software, Troubleshooting

Securing VMware NSX-T J U N E 2018

CORD How to build a POD and automate deployments. #OpenCORD

Red Hat Virtualization 4.1 Product Guide

Linux+ Guide to Linux Certification, Third Edition. Chapter 6 Advanced Installation

Orchestration Workflow Tasks for PXE Boot

Customize Installation using Golden ISO

HiveManager Virtual Appliance QuickStart

Bacula BackUp Server Einrichten eines Bacula BackUp Servers. Version: 1.2

COURSE OUTLINE IT TRAINING

VMware AirWatch Content Gateway Guide for Linux For Linux

How to Deploy a VHD Virtual Test Agent Image in Azure

VMware Fusion Tech Preview 2017: API/CLI Getting Started Guide

VMware vsphere 4. Architecture VMware Inc. All rights reserved

How do I patch custom OEM images? Are ESXi patches cumulative? VMworld 2017 Do stateless hosts keep SSH & SSL identities after reboot? With Auto Deplo

BIG-IP Virtual Edition and Linux KVM: Setup. Version 12.1

Open Your Virtual Datacenter. DI (FH) René Koch Freelancer Grazer Linuxtage,

Lenovo ThinkSystem NE Release Notes. For Lenovo Cloud Network Operating System 10.7

Upgrading from TrafficShield 3.2.X to Application Security Module 9.2.3

AGENDA. 13:30-14:25 Gestion des patches, du provisionning et de la configuration de RHEL avec Satellite 6.1, par Michael Lessard, Red Hat

HySecure Quick Start Guide. HySecure 5.0

Critical Analysis and last hour guide for RHCSA/RHCE Enterprise 7

How to Deploy vcenter on the HX Data Platform

Venafi Server Agent Agent Overview

Transparent Service Migration to the Cloud Clone existing VMs to CloudStack/OpenStack templates without user downtime. CloudOpen Seattle 2015

Transcription:

ovirt Node November 1, 2011 Mike Burns Alan Pevec Perry Myers ovirt Node 1

Agenda Introduction Architecture Overview Deployment Modes Installation and Configuration Upgrading Configuration Persistence Future Features Discussion ovirt Node 2

Introduction to ovirt Node Dedicated Hypervisor Minimum OS needed to run and manage VMs Well defined management interfaces and APIs Small Footprint Less than 150MB image size ~850MB disk space required for installation 512MB runtime RAM footprint Built from Fedora components Supports same hardware as Fedora Utilizes KVM Includes VDSM for VM Management ovirt Node 3

Architecture RPMs ovirt-node A TUI interface for installation and configuration Automatic installation and configuration Modifications to sysinit scripts ovirt-node-tools A set of kickstart files Minimal package list Blacklisting for image minimization Used to create an image ovirt Node 4

Architecture - Image Built using kickstarts from ovirt-node-tools package Provided in ISO format Installs to local hard drive, flash drive, SD card Minimal state information persisted to a config partition Multiple upgrade paths Booting a new image In place upgrade ovirt Node 5

livecd-tools Utility for create an ISO image containing a LiveOS http://fedoraproject.org/wiki/fedoralivecd Uses the following as input Kickstart file to automate OS installation package list (RPMs) custom %post script for configuration scripts for minimizing image size using file blacklisting and forced package removal Yum Repositories for OS packages Output is an ISO image ovirt Node 6

Key Packages qemu-kvm provides KVM virtualization platform qemu-kvm-tools kvmtrace and kvm_stat for debugging utilities vdsm daemon for managing the node from ovirt Engine vdsm-cli command line interface to VDSM daemon libvirt virtualization API and VM control daemon spice-server Provides guest remote connections ovirt Node 7

Manifest Files The produced image file contains manifest files in the top-level isolinux folder Manifests document the content of the final image after minimization (blacklisting) manifest-dir.txt.bz2 directories in the image manifest-file.txt.bz2 files in the image manifest-license.txt licenses for all installed RPMs manifest-owns.txt.bz2 file ownership by RPM manifest-rpm.txt installed RPMs manifest-srpm.txt source RPMs for installed RPMs ovirt Node 8

Deployment Modes CD-ROM Burn ISO image to writable CD with standard tools Boot server from CD and install to local hard disk Flash Memory (USB stick or SD card) Use livecd-iso-to-disk to copy image to USB or SD card Boot from USB/SD and install to local hard disk Network (PXE) Boot Use livecd-iso-to-pxeboot on the iso Deploy generated vmliuz0/initrd0 files to PXE/tftp server Boot server from PXE ovirt Node 9

Installation The ovirt Node image currently needs to be installed to a hard disk or flash drive to run After installation, boot method should be changed to hard disk There are two modes of installation Booting to installation TUI Autoinstallation via kernel command line arguments Booting from CD or Flash memory will bring you to a Boot Menu ovirt Node 10

Boot Menu Note: linux rescue can be passed to the boot: parameter to boot in rescue mode ovirt Node 11

TUI Installation This screen will warn if Hardware Virtualization is not enabled on the host (see bottom on screen shot above) ovirt Node 12

TUI Installation Disk Selection Select a device to boot from (left screen) Select 1 or more disks for storing configuration data and swap (right screen) ovirt Node 13

TUI Installation Admin Password Set a password for the admin user Proceeding from this screen starts the installation ovirt Node 14

TUI Installation -- Finishing ovirt Node 15

Configuration - Status Get overall status of the system See number of Vms runing ovirt Node 16

Configuration Networking Choose device to setup for management bridge Supports vlans ovirt Node 17

Configuration - Security Enable password based ssh authentication Reset admin password ovirt Node 18

Configuration - Logging Configure Remote logging server ovirt Node 19

Configuration - kdump Configure kdump server ovirt Node 20

Configuration Remote Storage Setup an iscsi Initiator Name One is randomly generated during installation ovirt Node 21

Configuration ovirt Engine Register to the ovirt Engine management server ovirt Node 22

Configuration Monitoring Connect with a remote collectd server ovirt Node 23

Automatic Installation and Configuration All configuration in the TUI can be automated with kernel command line parameters Ideal for PXE boot environments Requires storage_init and BOOTIF parameters adminpw parameter recommended for management after installation ovirt Node 24

Upgrading ovirt Node image is a dedicated appliance no yum/rpm upgrading in the live image Rootfs is non-persistent so upgrades are lost Warning: Runtime rootfs (/) is in-memory overlay. Writing excessive amounts of data to it can cause out of space issues It is mounted read-only by default to avoid this issue Three upgrade paths supported Update the PXE server and set host to network boot Boot from new media (CD, USB, SD) In-place upgrade ISO/USB/PXE upgrades must specify upgrade on the kernel command line to trigger upgrade logic ovirt Node 25

Configuration Persistence Root FS is mounted read-only even if remounted RW, changes are not persisted Current persistence uses rc.sysinit stateless support Important files are persisted automatically by ovirt and VDSM as needed To manually persist a file, use the persist command: # persist /etc/hosts The /config partition is only a few MB by default, so use sparingly. ovirt Node 26

Roadmap Stateless Feature Be able to boot from media/pxe and fetch configuration from remote storage server No need for local storage Except for swap if running with overcommit Post-Boot, find the configuration server (DNS SRV or similar) and download configuration bundle Apply configuration bundle and report to ovirt Engine ovirt Node 27

Roadmap - Plugins Ability to add software (drivers, configuration, monitoring agents, etc) to the ovirt Node image 2 use cases Change but still use with ovirt Engine Use outside of ovirt Engine Need to provide rules for 'what can be changed' in order to prevent plugins from disrupting normal ovirt compatibility Some Challenges Firewall rules Service enablement Initramfs regeneration ovirt Node 28

Roadmap Monitoring Agents Enable agents like CIM providers, Matahari Agents, SNMP MIBs, etc Ideal candidates for plugin architecture This enables core image to be kept small, but users can add what they need for their specific mgmt infrastructure Matahari is likely more integral to ovirt, as guest agents and VDSM may eventually utilize QMF ovirt Node 29

Roadmap - Distribution Neutrality Currently heavily based on Fedora Is there desire for multiple ovirt Nodes based on various distributions? Challenges: Need to move to generic configuration scripts Node is livecd based which is not applicable to all distros, but there are functional equivalents Need to abstract core ovirt Node functionality from distro specific, but still maintain a single ovirt-node code repo to prevent divergence ovirt Node 30

More information Mailing List: node-devel@ovirt.org IRC: #ovirt on OFTC Web Site: http://www.ovirt.org Git Repository: git://git.fedorahosted.org/git/ovirt/node.git Moving soon to ovirt.org infrastructure Additional Info: http://fedorahosted.org/ovirt Wiki contents in the process of being moved to http://ovirt.org/wiki ovirt Node 31

THANK YOU! http://www.ovirt.org ovirt Node 32

Stateless - Configuration Bootstrapping Embedding minimal configuration and certificates initrd chaining libguestfs to crack open appliance images edit-livecd or similar tool Configuration Bundles Contain files for overlay on rootfs or augeas/puppet scripts for processing Optional: can be encrypted Retrieval: keyed by some unique identified (MAC address) Standard web/nfs server could be used ovirt Node 33

Stateless Security Multiple solutions depending on concerns and/or regulations One solution: Communication can be done over https using the server certificate to verify authenticity Server can validate client by bundling a client certificate in the client image Client certs can be datacenter specific or host specific This choice directly correlates to the number of PXE images you need ovirt Node 34

Stateless Bundle creation Offline tool to create configuration bundles for retrieval by clients, or... Capture configuration created by manual input or kernel command line to upload to config server Provide area for anonymous uploads from clients that are validated by administrator, encrypted and moved to config server download area ovirt Node 35