Live Migration of Virtual Machines Presented by: Edward Armstrong University of Guelph.

Slides:



Advertisements
Similar presentations
Remus: High Availability via Asynchronous Virtual Machine Replication
Advertisements

Live migration of Virtual Machines Nour Stefan, SCPD.
FederalAppliance.com Self-Service Pricing. Full-Service VAR. Server / Storage Consolidation Plan using VMWare and EqualLogic Virtual Machines Virtual Network.
ARP AND RARP ROUTED AND ROUTING Tyler Bish. ARP There are a variety of ways that devices can determine the MAC addresses they need to add to the encapsulated.
Computer System Organization Computer-system operation – One or more CPUs, device controllers connect through common bus providing access to shared memory.
1 Address Resolution Protocol (ARP) Relates to Lab 2. This module is about the address resolution protocol.
1 Address Resolution Protocol (ARP) Relates to Lab 2. This module is about the address resolution protocol.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
Live Migration of Virtual Machines Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen, Eric Jul, Christian Limpach, Ian Pratt, Andrew Warfield.
Segmentation and Paging Considerations
Live Migration of Virtual Machines Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen, Eric Jul, Christian Limpach, Ian Pratt, Andrew Warfield.
1 Cheriton School of Computer Science 2 Department of Computer Science RemusDB: Transparent High Availability for Database Systems Umar Farooq Minhas 1,
11 HDS TECHNOLOGY DEMONSTRATION Steve Sonnenberg May 12, 2014 © Hitachi Data Systems Corporation All Rights Reserved.
William Stallings Data and Computer Communications 7 th Edition (Selected slides used for lectures at Bina Nusantara University) Internetworking.
1 ITC242 – Introduction to Data Communications Week 12 Topic 18 Chapter 19 Network Management.
OnCall: Defeating Spikes with Dynamic Application Clusters Keith Coleman and James Norris Stanford University June 3, 2003.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 2: Managing Hardware Devices.
CS533 - Concepts of Operating Systems
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 2: Managing Hardware Devices.
Chapter 19 Binding Protocol Addresses (ARP) Chapter 20 IP Datagrams and Datagram Forwarding.
1 Distributed Systems: Distributed Process Management – Process Migration.
Operating Systems.
Microsoft Load Balancing and Clustering. Outline Introduction Load balancing Clustering.
Jaeyoung Yoon Computer Sciences Department University of Wisconsin-Madison Virtual Machines in Condor.
Determining an Internet Address at Startup
Module 12: Designing High Availability in Windows Server ® 2008.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 2: Managing Hardware Devices.
INSTALLING MICROSOFT EXCHANGE SERVER 2003 CLUSTERS AND FRONT-END AND BACK ‑ END SERVERS Chapter 4.
Computer Architecture Lecture 28 Fasih ur Rehman.
Distributed Shared Memory: A Survey of Issues and Algorithms B,. Nitzberg and V. Lo University of Oregon.
Hardware Definitions –Port: Point of connection –Bus: Interface Daisy Chain (A=>B=>…=>X) Shared Direct Device Access –Controller: Device Electronics –Registers:
© 2008 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Introduction to HP Availability Manager.
Zero-copy Migration for Lightweight Software Rejuvenation of Virtualized Systems Kenichi Kourai Hiroki Ooba Kyushu Institute of Technology.
Operating Systems ECE344 Ashvin Goel ECE University of Toronto OS-Related Hardware.
TCP/IP TCP/IP LAYERED PROTOCOL TCP/IP'S APPLICATION LAYER TRANSPORT LAYER NETWORK LAYER NETWORK ACCESS LAYER (DATA LINK LAYER)
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Live Migration of Virtual Machines Christopher Clark, Keir Fraser, Steven Hand, Jacob Gorm Hansen†,Eric Jul†, Christian Limpach, Ian Pratt, Andrew Warfield.
Swapping to Remote Memory over InfiniBand: An Approach using a High Performance Network Block Device Shuang LiangRanjit NoronhaDhabaleswar K. Panda IEEE.
1 CloudVS: Enabling Version Control for Virtual Machines in an Open- Source Cloud under Commodity Settings Chung-Pan Tang, Tsz-Yeung Wong, Patrick P. C.
Layer 2 and Switching. How Computers Communicate  In a two node flat network data can be sent without addressing.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
BAI513 - PROTOCOLS ARP BAIST – Network Management.
1 Agility in Virtualized Utility Computing Hangwei Qian, Elliot Miller, Wei Zhang Michael Rabinovich, Craig E. Wills {EECS Department, Case Western Reserve.
THAWAN KOOBURAT MICHAEL SWIFT UNIVERSITY OF WISCONSIN - MADISON 1 The Best of Both Worlds with On-Demand Virtualization.
Chapter 7: Consistency & Replication IV - REPLICATION MANAGEMENT By Jyothsna Natarajan Instructor: Prof. Yanqing Zhang Course: Advanced Operating Systems.
Intro to Distributed Systems Hank Levy. 23/20/2016 Distributed Systems Nearly all systems today are distributed in some way, e.g.: –they use –they.
Address Resolution Protocol Yasir Jan 20 th March 2008 Future Internet.
E Virtual Machines Lecture 6 Topics in Virtual Machine Management Scott Devine VMware, Inc.
1 Address Resolution Protocol (ARP). 2 Overview 3 Need for Address Translation Note: –The Internet is based on IP addresses –Local area networks use.
Virtual Memory.
Address Resolution Protocol (ARP)
Why VT-d Direct memory access (DMA) is a method that allows an input/output (I/O) device to send or receive data directly to or from the main memory, bypassing.
Memory COMPUTER ARCHITECTURE
File Share Dependencies
Software Defined Storage
Address Resolution Protocol (ARP)
Address Resolution Protocol (ARP)
Oracle Solaris Zones Study Purpose Only
Main Memory Management
Chapter 16: Distributed System Structures
Migration Strategies – Business Desktop Deployment (BDD) Overview
Address Resolution Protocol (ARP)
Windows Server 2016 Software Defined Storage
Address Resolution Protocol (ARP)
Address Resolution Protocol (ARP)
Process Migration Troy Cogburn and Gilbert Podell-Blume
Architectural Support for OS
Lecture 3: Main Memory.
Architectural Support for OS
Operating Systems: Internals and Design Principles, 6/E
Presentation transcript:

Live Migration of Virtual Machines Presented by: Edward Armstrong University of Guelph

Overview Problem Description Solutions Strengths and Weaknesses Results

Migrating an OS - Complexity Same machine. Hibernating a laptop. Trivial Same Hardware, different Machine. Changing cluster nodes. Moderate Different hardware. Complex

Migrating an OS – Timescale Requires only long term storage to be migrated. Loses all process state information. Driver reloading solves hardware problems. Reboot Typically performed on the same machine. Requires long term storage. Loses external connection information, ie. network status. Hibernation Hibernation in short term storage (RAM). Typically used to maintain a low power state. Suspend Processes are not implicitly frozen. Differences in hardware create problems. Solved by using virtual machines. Live

Considerations Both machines must be active at the same time. Migration of active live services. Total migration time. Resource contention.

Migrating memory Push PausePull

Memory - Pure stop and copy. Pros Simplicity. Consistency. Cons Downtime proportional to memory. Unacceptable for live services. Push PausePull Source MachineTarget Machine

Memory - On demand migration. Pros Shorter downtime. Consistency. Cons Longer migration time. Push PausePull Target MachineSource Machine Page fault request Send page

Memory - Pre copy migration. Pros Copy low fault pages quickly. Works well for live processes. Cons Large number of faults for busy memory. Push PausePull Target MachineSource Machine Live page fault Iterative push

Network and disk resources. Unique to an OS instance. Ordering of resources are non- determinsitic. Need to maintain open network connections.

Resolving network connections with an ARP* response. Source Machine No Address Target Machine LAN *ARP: Address Resolution Protocol Packets

Resolving network connections with an ARP* response. Source Machine No Address Target Machine LAN *ARP: Address Resolution Protocol Unsolicited ARP reply Packets

Resolving network connections with an ARP* response. Source Machine Target Machine No Address LAN *ARP: Address Resolution Protocol Packets

Network resources. Pros Handled by external devices. Similar scheme can be used to migrate disk services (not covered in paper). Cons Small amount of packet loss. Requires a LAN with unsolicited ARP responses enabled.

Design Overview Pre- Migration ReservationPre-Copy Stop and Copy CommitActivate Source MachineTarget Machine Select a new target machine

Design Overview Pre- Migration ReservationPre-Copy Stop and Copy CommitActivate Source MachineTarget Machine Confirm available resources on target. Failure means VM continues to run on source.

Design Overview Pre- Migration ReservationPre-Copy Stop and Copy CommitActivate Source MachineTarget Machine Transfer memory. Retransmit memory used during transfer.

Design Overview Pre- Migration ReservationPre-Copy Stop and Copy CommitActivate Source MachineTarget Machine Halt source to redirect network traffic and transfer CPU state.

Design Overview Pre- Migration ReservationPre-Copy Stop and Copy CommitActivate Source MachineTarget Machine Verify transfer complete. Disable source.

Design Overview Pre- Migration ReservationPre-Copy Stop and Copy CommitActivate Source Machine Target Machine Activate target machine

Summary of Design At all times there is at least one consistent image available. Minimized down time. Not a fast process overall. Requires tuning. Requires certain hardware.

Performance – Dirty Pages. 8 second granularity, used to decide which pages make for good pre-migration.

Performance

Performance 1- 4 pre-copy iterations

Performance

Performance