Creation and migration flows

Slides:



Advertisements
Similar presentations
Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Advertisements

Remus: High Availability via Asynchronous Virtual Machine Replication
P3- Represent how data flows around a computer system
Moving data using replication Anthony Brown
Multi-criteria infrastructure for location-based applications Shortly known as: Localization Platform Ronen Abraham Ido Cohen Yuval Efrati Tomer Sole'
11 INSTALLING WINDOWS XP Chapter 2. Chapter 2: Installing Windows XP2 INSTALLING WINDOWS XP  Prepare a computer for the installation of Microsoft Windows.
1 - Oracle Server Architecture Overview
16: Distributed Systems1 DISTRIBUTED SYSTEM STRUCTURES NETWORK OPERATING SYSTEMS The users are aware of the physical structure of the network. Each site.
CSE 490dp Check-pointing and Migration Robert Grimm.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 11 Managing and Monitoring a Windows Server 2008 Network.
Elad Hayun Agenda What's New in Hyper-V 2012 Storage Improvements Networking Improvements VM Mobility Improvements.
1 Management Pain points now Existing tools: Do not map to virtual environments Provisioning Backup Health monitoring Performance monitoring / management.
Backup & Recovery 1.
Microsoft ® Official Course Module 12 Monitoring, Managing, and Recovering AD DS.
Process Description and Control. Process concepts n Definitions – replaces task, job – program in execution – entity that can be assigned to and executed.
®® Microsoft Windows 7 for Power Users Tutorial 8 Troubleshooting Windows 7.
Tutorial 11 Installing, Updating, and Configuring Software
Ch 11. Services A service is a specialized program that performs a function to support other programs Many services operate at a very low level – Interacting.
Experience with Processes and Monitors in Mesa
Chapter 8 Implementing Disaster Recovery and High Availability Hands-On Virtual Computing.
1 Chapter Overview Configuring and Troubleshooting the Display Configuring Power Management Configuring Operating System Settings Configuring and Troubleshooting.
Ch 6. Performance Rating Windows 7 adjusts itself to match the ability of the hardware –Aero Theme v. Windows Basic –Gaming features –TV recording –Video.
Chapter 41 Processes Chapter 4. 2 Processes  Multiprogramming operating systems are built around the concept of process (also called task).  A process.
Hosted Virtualization Lab Last Update Copyright Kenneth M. Chipps Ph.D.
INTRODUCTION TO VIRTUALIZATION KRISTEN WILLIAMS MOSES IKE.
Module 15 Managing Windows Server® 2008 Backup and Restore.
NFD Permanent Face Junxiao Shi, Outline what is a permanent face necessity and benefit of having permanent faces guarantees provided by.
Synchronized Co-migration of Virtual Machines for IDS Offloading in Clouds Kenichi Kourai and Hisato Utsunomiya Kyushu Institute of Technology, Japan.
SMS Software Distribution. Overview  Explaining How SMS Distributes Software  Managing Distribution Points  Configuring Software Distribution and the.
Process Architecture Process Architecture - A portion of a program that can run independently of and concurrently with other portions of the program. Some.
I T Essentials I Chapter 5 JEOPARDY Installing & UpgradingComputerBasicsErrorsServicePotpourri
Palm Creek RV and Golf Resort December 07, 2011 Garth Vanstone.
4P13 Week 12 Talking Points Device Drivers 1.Auto-configuration and initialization routines 2.Routines for servicing I/O requests (the top half)
Processes 2 Introduction to Operating Systems: Module 4.
Microsoft ® Official Course Module 6 Managing Software Distribution and Deployment by Using Packages and Programs.
Virtual Machine Movement and Hyper-V Replica
Gary Cochrane VMware Tips for AE’s. VMWare Tips Topics −VMware Shrink −Resetting after a demo or training class −Performance tips.
DICOMwebTM 2015 Conference & Hands-on Workshop University of Pennsylvania, Philadelphia, PA September 10-11, 2015 DICOMweb Workflow API (UPS-RS) Jonathan.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Libvirt management Andrea Chierici Virtualization tutorial Catania 1-3 dicember 2010.
Boot Engineering Extension Record (B.E.E.R.) By Curtis E. Stevens.
Multiprogramming. Readings r Chapter 2.1 of the textbook.
WORKING OF SCHEDULER IN OS
Module 12: I/O Systems I/O hardware Application I/O Interface
Processes and threads.
OVirt Architecture Itamar Heim
Host Power Management Deep Dive
Chapter 9: Virtual Memory
Reusing old features to build new ones
Chapter 4 Threads.
Microsoft Braindumps Questions Answers
Intro to Processes CSSE 332 Operating Systems
MOM + oVirt: Nurturing our Virtual Machines
Senior Software Engineering Student Robertas Sys
Download dumps - Microsoft Real Exam Questions Dumps4download
Introduction to Operating Systems
20409A 7: Installing and Configuring System Center 2012 R2 Virtual Machine Manager Module 7 Installing and Configuring System Center 2012 R2 Virtual.
Virtualization Layer Virtual Hardware Virtual Networking
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
Cloud computing mechanisms
Process Description and Control
Threads Chapter 5 2/17/2019 B.Ramamurthy.
Modern PC operating systems
Threads Chapter 5 2/23/2019 B.Ramamurthy.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
CS510 Operating System Foundations
Use Cases Simple Machine Translation (using Rainbow)
Chapter 6 – Distributed Processing and File Systems
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

Creation and migration flows VDSM Creation and migration flows March 12, 2014 Francesco Romani

Agenda VM startup flows Creation Recovery Dehibernate/restore Migration Code walkthrough: http://www.ovirt.org/VDSM_VM_startup

VM Creation API verb: “create” translate the device representation (buildConfDevices) normalization of devices and enforcing the device limits setup of the drive paths/images build libvirt XML create the libvirt Domain

VM Creation /2 perform post-creation domain checks start the statistics gathering thread, one per VM connect to Guest Agent handle paused VM (disk space exausted) set up niceness and guest scheduler parameters if the VM was paused, recover the pause code; extend the VM drives if needed (...again.) [all of this is shared with the other flows]

VM Recovering carried automatically by VDSM (no API verb) VM running in an host should not be affected by VDSM restarts, and they should continue to run. when VDSM returns up, it resyncs with the running VMs to regain the control. uses the data saved by the saveState call to restore most of its internal state, and merges those informations with the data provided by libvirt. libvirt is authoritative about existing Vms. skips many startup errors to avoid to get stuck on the recovery of a single unresponsive VM. Recover as much as is possible.

VM Dehibernation/snapshot restoring API verb: “hibernate” (check the parameters) implemented as special case of migration recycling of the snapshotting infrastructure updates configuration from reference (“source”) XML (e.g. the backing store paths) reattaches to the domain by UUID resume the suspended the domain

VM Migration API verb: “migrate” background: libvirt/qemu peer to peer flow delegation chain: VDSM -> libvirt -> QEMU the source is in control the ownership of the VM is passed from source to destination host after a successful migration if migration fails, the source keeps running and the destination is trasparently (= without explicit user intervention) destroyed.

VM Migration /2 a migration is managed by a service thread, MigrationSourceThread, with the help of more threds MigrationMonitorThread polls libvirt periodically and report the migration progress MigrationDowntimeThread controls the maximum allowed downtime and updates libvirt during the migration.

VM Migration /3 MigrationSourceThread flow: Connects to destination host prepares the destination machine parameters from the migration source creates the destination VM, empty. Here on the destination hosts starts the 'Migration Destination' startup flow run the Downtime control and the Migration Monitor threads. starts the actual migration using libvirt saves the Source VM state and puts it Down

VM Migration /4 API verb: “migrationCreate” (internal) preparation steps compute the migration timeout and wait for VM to come up, either by libvirt notification (successfull migration or error) or by timeout expiration. Now the destination VM is created and running, and it is ready to receive (or already been receiving) such data. receives the actual data (memory)

Refactoring vm.py the virt package sampling.py vm.py vm*.py split out devices in a subpackage [?] clean the libvirt integration (pubsub) [?] per-flow (= verb) split split out threads migration