Daniel P. Berrangé KVM Forum Vancouver, libvirt: Why it exists ● Stable: isolation from HV API changes ● Standard: portable across HV ● Simple:

Slides:



Advertisements
Similar presentations
With ovirt & virt manager
Advertisements

Virtual Machine Technology Dr. Gregor von Laszewski Dr. Lizhe Wang.
NWCLUG 01/05/2010 Jared Moore Xen Open Source Virtualization.
Bela Erdelyi Mike Qaissaunee
Tripwire Enterprise Server – Getting Started Doreen Meyer and Vincent Fox UC Davis, Information and Education Technology June 6, 2006.
Virtualization A way To Begin with Virtual Reality… - Rahul Khanwani.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Methodologies, strategies and experiences Virtualization.
Tanenbaum 8.3 See references
To provide the world with a next generation storage platform for unstructured data, enabling deployment of mobile applications, virtualization solutions,
Making the Virtualization Decision. Agenda The Virtualization Umbrella Server Virtualization Architectures The Players Getting Started.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
CS 149: Operating Systems April 21 Class Meeting
May l Washington, DC l Omni Shoreham Nick Dobrovolskiy VP Parallels Open Platform May 19 th, 2008 Introducing Parallels Server.
ICT Day Term 4,  Virtualisation is growing in usage.  Current CPU’s are designed to support Virtualisation.  Businesses are looking at virtualisation.
SAIGONTECH COPPERATIVE EDUCATION NETWORKING Spring 2010 Seminar #1 VIRTUALIZATION EVERYWHERE.
Module 7: Hyper-V. Module Overview List the new features of Hyper-V Configure Hyper-V virtual machines.
Appendix B Planning a Virtualization Strategy for Exchange Server 2010.
Virtualization for the LHCb Online system CHEP Taipei Dedicato a Zio Renato Enrico Bonaccorsi, (CERN)
MATSUMOTO Hitoshi SCSI support on Xen MATSUMOTO Hitoshi Fujitsu Ltd.
Virtualization One computer can do the job of multiple computers, by sharing the resources of a single computer across multiple environments. Turning hardware.
To provide the world with a next generation storage platform for unstructured data, enabling deployment of mobile applications, virtualization solutions,
VM vs Container Xen, KVM, VMware, etc. Hardware emulation / paravirtualization Can run different OSs on the same box Dozens of instances OS sprawl problem.
Scalable and elastic Enterprise scale and performance for the largest workloads Shared- nothing live migration Hyper-V Network.
36 th LHCb Software Week Pere Mato/CERN.  Provide a complete, portable and easy to configure user environment for developing and running LHC data analysis.
Virtualization Redefined: Embedded virtualization through CGE7 and Docker. Paul Farmer Technical Solutions Engineering Manager MontaVista Software
KVM tutorial #3 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Introduction to KVM Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Red Hat Enterprise Linux Presenter name Title, Red Hat Date.
KVM tutorial #2 Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Virtuozzo 4.0 Carla Safigan Virtuozzo Marketing Jack Zubarev COO.
Intro To Virtualization Mohammed Morsi
RHEV Best Practices and Advanced Use Robert Proffitt, RHCE Sr. Solutions Architect Red Hat June 23, 2010 Vinny Valdez, RHCA Sr. Enterprise Architect Solutions.
Open Source Virtualization Andrey Meganov RHCA, RHCX Consultant / VDEL
Secure remote management with virtualization Daniel P. Berrangé.
Virtualization - an introduction Gordon Ross Computing Service.
Virtualization in Fedora (KVM based) Kashyap Chamarthy Virtualization in Fedora (KVM based) Kashyap Chamarthy
Welcome to the Virtual Machine Mark Cyzyk The Sheridan Libraries Johns Hopkins University.
Ubuntu Server Jaunty 9.04 Server Features. Kernel Ubuntu 9.04 Server includes the Memory management improvements Scalability improvements Tracepoints.
Matt Domsch, Technology Strategist, Office of the CTO April 10, 2009 Dell Public. | All trademarks and trade names are those of their respective owners.
Daniel P. Berrangé Principal Software Engineer, Red Hat.
Containers vs Others Xen, VMware, etc. ● Emulation/paravirtualization ● Can run different OSs on the same box ● Lower density/scalability ● OS sprawl problem.
XEN – The Art of Virtualisation. So what is Virtualisation? ● Makes use of spare capacity ● Run multiple instances of OSes simultaneously ● Multitasking.
Virtualization which isn't LXC (Linux Containers) Dobrica Pavlinušić DORS/CLUC, Zagreb,
VM vs Container Xen, KVM, VMware, etc. ● Hardware emulation / paravirtualization ● Can run different OSs on the same box ● Dozens of instances ● OS sprawl.
Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010
Distributed Virtualization for Net-Centric Operations Draft
Virtualization Mini Summit, Austin 2008 mmm, tasty penguins...
Virtualization for Cloud Computing
Guide to Operating Systems, 5th Edition
Introduction to Virtualization
Virtualization in Grid Rock
CSC 482/582: Computer Security
Project Overview Amador Pahim (apahim) oVirt Contributor
Application Sandboxes
London OpenStack Meetup, July 2012 libvirt & KVM with OpenStack Nova
Linux Containers Overview & Roadmap
Container-based Operating System Virtualization: A scalable, High-performance Alternative to Hypervisors Stephen Soltesz, Herbert Potzl, Marc E. Fiuczynski,
Virtualization with libvirt Kashyap Chamarthy
oVirt Node Project Douglas Schilling Landgraf
Containers and Virtualisation
Virtualization overview
Virtualization in the gLite Grid Middleware software process
libvirt: Stable API Management of hypervisor(s)
An introduction... Mike Latimer Sr. Engineering Manager SUSE
Xen Summit Spring 2007 Platform Virtualization with XenEnterprise
CIT 480: Securing Computer Systems
Microsoft Ignite NZ October 2016 SKYCITY, Auckland.
Guide to Operating Systems, 5th Edition
Intro about Contanier and Docker Technology
Presentation transcript:

Daniel P. Berrangé KVM Forum Vancouver, 2011

libvirt: Why it exists ● Stable: isolation from HV API changes ● Standard: portable across HV ● Simple: rapid application development ● Portable: Linux, Solaris, Windows & OS-X ● Secure: TLS, SASL, SSH, PolicyKit ● Open: LGPLv2+ license

libvirt: Who contributes ● Founder: libvirt: Red Hat, libvirt-cim: IBM ● Corporate: IBM, Fujitsu, Siemens, Novell, Canonical, Sun, Citrix, HP, Dell,...and more... ● Community: Fedora, Debian, Gentoo, Suse,...many unaffliated developers...

libvirt: What virtualization? ● QEMU – KVM, QEMU ● VMWare – ESX, GSX Server, vCenter ● Xen – XenD, XenStored, Xen Hypervisor ● LXC – native Linux containers ● Test – 'mock' hypervisor ● Remote – RPC access to APIs ●...VirtualBox, OpenVZ, Phyp, UML, XenAPI, (soon Hyper-V)

libvirt: What platforms? ● Linux: RPC client+server, all hypervisor drivers ● OS-X: RPC client ● Windows: RPC client, ESX+VirtualBox (Hyper-V) ● Solaris: RPC client, Xen driver

libvirt: What else? ● Storage: LVM, Disk, SCSI, iSCSI, NFS ● Network: bridge, bonding, vlan, VEPA ● Firewall: filtering ebtables, ip(6)tables ● Devices: HAL, udev ● Security: SELinux, AppArmour

libvirt: How it works

libvirt: How to use it ● Core: C library ● Bindings: Perl, Python, OCaml, Java, Ruby, C#, Php ● Mapping to CIM/DMTF: libvirt-cim ● Mapping to AMQP/QMF: libvirt-qmf ● Mapping to SNMP: libvirt-snmp ● Mapping to GObject: libvirt-glib

libvirt: Where it is used ● virt-manager: desktop manager app ● virt-inst: install, clone, deploy appliance ● cobbler: network installation service ● rhn: red hat network management ● RHEV-M/VDSM: data center management ● gnome-shell: desktop integration ● virt-dmesg: guest kernel dmesg

libvirt: KVM general benefits ● CPUID: verified migration compatibility ● Migration: secure tunnelling ● Guest ABI: stable PCI addrs & hardware ● CLI: comply w/ QEMU best practice ● Monitor: comply w/ QEMU best practice ● Save/restore: compression, O_DIRECT

libvirt: KVM resource benefits ● CGroups: CPU, memory, disk I/O limits ● Network: I/O limits, packet filtering ● Locking: disk lease management ● Encryption: qcow2 encryption key mgmt ● PCI: device assignment safety checks

libvirt: KVM security benefits ● DAC: unprivileged UID:GID ● MAC: sVirt with SELinux or AppArmour ● Capabilities: block setuid usage ● CGroups: device ACLs ● Audit: logging of operations ● Certification: common criteria ● Containers: PID, FS, Net namespace (TBD)

libvirt: for KVM developers ● Custom ARGV/ENV: ● ● Monitor passthrough: ● virsh qemu-monitor-command –hmp “info reg...” ● Attach to external process: ● virsh qemu-attach $PID

libvirt: Where next ● RBAC: fine grained access control ● DTrace: low overhead dynamic probing ● Scalability: cope with 1,000's VMs/host ● iSCSI: LUN creation ● libvirt-gconfig, libosinfo, libvirt-install

libguestfs: Why it exists ● Stable: long term API/ABI guarentee ● Standard: access for any disk format ● Simple: rapid application development ● Open: LGPLv2+ license

libguestfs: What features ● Disks: block, raw, qcow2, vmdk, etc ● Filesystems: ext2, 3, 4, iso9660, NTFS ● Actions: read/write/edit/upload/download ● Misc: LVM, dm-crypt, fstab ● OS: Any (if Linux supports the FS)

libguestfs: How to use it ● Core: C API ● Bindings: Perl, Python, OCaml, Ruby, Java ● Shell: guestfish ● OS: FUSE filesystem ● Desktop: guest filesystem browser

libguestfs: How to use it ● virt-rescue: fix broken guest OS ● virt-df: guest filesystem usage ● virt-cat/virt-ls: read file / list directory ● virt-resize: change virtual disk size ● virt-tar: download archive of files ● virt-win-reg: edit Windows registry ● virt-v2v: convert guest to new hypervisor

libvirt/libguestfs: How to get help ● Websites / ● Core API documentation ● libvirt Application Developer Guide ● libvirt-users / libguestfs mailing lists ● #virt on irc.oftc.net (libvirt, virt-manager, etc) ● #libguestfs on irc.freenode.net