SlideShare a Scribd company logo
1 of 25
Live Storage Migration
Raz Tamir
Overview
- Introduction
- Prerequisites (Constraints and Limitations)
- Storage Architecture
- LSM Flow
- Important commands
- Detailed Flow
- Error Handling
- Q&A
Introduction
Definition
● Live Storage Migration is the ability to move one or more
VM disks from one storage to another while the VM is
running
Motivation
● Facilitate storage hardware upgrades
● Move or clone VM disks across different (and eventually
geographically separated) data centers
Introduction
With Shared Storage
● The hypervisor is able to access both the source and
destination storage backends
● The virtual machine remains on the same host
Without Shared Storage
● The hypervisor is not able to access both the source and
destination storage
● The virtual machine is live migrated to a different host that
is able to access the destination storage
Shared Storage
VM
Virtual Disk
Storage A Storage B
VM
Virtual Disk
Storage A Storage B
Host A Host A
Without Shared Storage
VM
Virtual Disk
Storage A
VM
Virtual Disk
Storage B
Host A Host B
Prerequisites (Constraints and Limitations)
● General understanding of the oVirt architecture and few
VDSM basics
● Virtual disks - collection (chain) of volumes, e.g.:
● General understanding of the QCOW format
● All the image manipulations must be done by the Storage Pool
Manager (SPM)
● An image (volume chain) should not be spread over multiple
storage domains
Volume 1 Volume 2 Volume 3
Storage Architecture
Storage Domain
● A standalone storage entity
(implemented with NFS,
FCP, iSCSI.. )
● Stores the images and
associated metadata
Storage Pool
● Aggregates several Storage
Domains
● Supposed to simplify cross
domain operations
Storage Architecture
File Storage Domains
● Use file system features for
segmentation
● Volumes and metadata are
files
● 1:1 Mapping between
domain and mount /
directory
Storage Architecture
Block Storage Domains
● Use LVM for segmentation
● Thin provisioning
● Devices managed by device-
mapper and multipath
● Domain is a VG
● Metadata is stored in a single
LV and in LVM tags
● Volumes are LVs
Storage Architecture
Master Domain
● Used to store:
● Pool metadata
● Backup of OVFs
● Async tasks
Storage Pool Manager (SPM)
● The SPM is a role assigned to one host in a data center giving the host sole
authority to make all storage domain structure changes
● The role of SPM can be migrated to any host in a data center
● Creation, deletion and
manipulation of Virtual
Disks, Snapshots and
Templates
● Allocation of storage for
sparse block devices (on
SAN)
● Single meta data writer
● SPM lease mechanism
LSM Flow – initial state
Volume 1
LSM Flow – Live Snapshot
Volume 1 Volume 2
Volume 1
LSM Flow – Replica and Copy
Volume 1 Volume 2
Volume 1 Volume 2
Volume 1' Volume 2'
Volume 1
LSM Flow – Completion
Volume 1 Volume 2
Volume 1 Volume 2
Volume 1' Volume 2'
Volume 1
Volume 1' Volume 2'
SPM API
taskId = cloneImageStructure(spUUID, sdUUID, imgUUID, dstSdUUID)
Volume 1 Volume 2
Volume 1' Volume 2'
● spUUID storage pool
● sdUUID source storage domain
● imgUUID image to clone
● dstSdUUID destination storage domain
Clone
Structure
SPM API
taskId = syncImageData(spUUID, sdUUID, imgUUID, dstSdUUID, syncType)
Volume 1 Volume 2
Volume 1' Volume 2'
● spUUID storage pool
● sdUUID source storage domain
● imgUUID image to clone
● dstSdUUID destination storage domain
● syncType synchronization type (ALL, INTERNAL, ...)
Synchronize
Data
HSM API
result = diskReplicateStart(vmId, srcDisk, dstDisk)
result = diskReplicateFinish(vmId, srcDisk,
dstDisk)
Volume 1 Volume 2
Volume 1' Volume 2'
● vmId virtual machine id
● srcDisk source disk
● dstDisk destination disk
read
write
write only
Detailed Flow – Live Snapshot
● SPM/HSM – initial live snapshot to minimize the amount of
data replicated by the qemu process
Volume 1 Volume 2
Volume 1
Detailed Flow – Clone Image Structure
● SPM – clone the image structure from the source storage
domain to the destination storage domain
taskId = cloneImageStructure(spUUID, sdUUID, imgUUID, dstSdUUID)
Volume 1 Volume 2
Volume 1' Volume 2'
Clone
Structure
Detailed Flow – Replicate and sync
● HSM – start replicating the virtual machine writes on the
destination storage domain
● SPM – synchronize the internal volumes data
result = diskReplicateStart(vmId, srcDisk, dstDisk)
taskId = syncImageData(spUUID, sdUUID, imgUUID, dstSdUUID, syncType)
Volume 1 Volume 2
Volume 1' Volume 2'
Synchronize
Data
read write
write only
Detailed Flow – Finish
● HSM – complete the switch to the destination storage
domain
result = diskReplicateFinish(vmId, srcDisk, dstDisk)
Volume 1 Volume 2
Volume 1' Volume 2'
Error Handling
● In case of errors it is possible to interrupt the replication and
fallback to the source storage domain
Volume 1 Volume 2
Volume 1' Volume 2'
Synchronize
Data
read
write
write
only
result = diskReplicateFinish(vmId, srcDisk, srcDisk)
Volume 1 Volume 2
Thank you!
Questions?

More Related Content

What's hot

IBM Spectrum Scale Networking Flow
IBM Spectrum Scale Networking FlowIBM Spectrum Scale Networking Flow
IBM Spectrum Scale Networking FlowSandeep Patil
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchTe-Yen Liu
 
oVirt and OpenStack
oVirt and OpenStackoVirt and OpenStack
oVirt and OpenStackDave Neary
 
Ceph - A distributed storage system
Ceph - A distributed storage systemCeph - A distributed storage system
Ceph - A distributed storage systemItalo Santos
 
Linux MMAP & Ioremap introduction
Linux MMAP & Ioremap introductionLinux MMAP & Ioremap introduction
Linux MMAP & Ioremap introductionGene Chang
 
Pushing Packets - How do the ML2 Mechanism Drivers Stack Up
Pushing Packets - How do the ML2 Mechanism Drivers Stack UpPushing Packets - How do the ML2 Mechanism Drivers Stack Up
Pushing Packets - How do the ML2 Mechanism Drivers Stack UpJames Denton
 
Learn how to use Harbor
Learn how to use HarborLearn how to use Harbor
Learn how to use HarborSteve Wong
 
UM2019 Extended BPF: A New Type of Software
UM2019 Extended BPF: A New Type of SoftwareUM2019 Extended BPF: A New Type of Software
UM2019 Extended BPF: A New Type of SoftwareBrendan Gregg
 
RISC-V on Edge: Porting EVE and Alpine Linux to RISC-V
RISC-V on Edge: Porting EVE and Alpine Linux to RISC-VRISC-V on Edge: Porting EVE and Alpine Linux to RISC-V
RISC-V on Edge: Porting EVE and Alpine Linux to RISC-VScyllaDB
 
Kubernetes Story - Day 2: Quay.io Container Registry for Publishing, Building...
Kubernetes Story - Day 2: Quay.io Container Registry for Publishing, Building...Kubernetes Story - Day 2: Quay.io Container Registry for Publishing, Building...
Kubernetes Story - Day 2: Quay.io Container Registry for Publishing, Building...Mihai Criveti
 
RDMA programming design and case studies – for better performance distributed...
RDMA programming design and case studies – for better performance distributed...RDMA programming design and case studies – for better performance distributed...
RDMA programming design and case studies – for better performance distributed...NTT Software Innovation Center
 
Kubernetes DNS Horror Stories
Kubernetes DNS Horror StoriesKubernetes DNS Horror Stories
Kubernetes DNS Horror StoriesLaurent Bernaille
 
Benefits of Multi-rail Cluster Architectures for GPU-based Nodes
Benefits of Multi-rail Cluster Architectures for GPU-based NodesBenefits of Multi-rail Cluster Architectures for GPU-based Nodes
Benefits of Multi-rail Cluster Architectures for GPU-based Nodesinside-BigData.com
 
YOW2020 Linux Systems Performance
YOW2020 Linux Systems PerformanceYOW2020 Linux Systems Performance
YOW2020 Linux Systems PerformanceBrendan Gregg
 
Ceph Introduction 2017
Ceph Introduction 2017  Ceph Introduction 2017
Ceph Introduction 2017 Karan Singh
 
GTMF 2015: バグを減らそう。テストを楽にしよう。静的解析が開発者を救う。 | 日本シノプシス合同会社
GTMF 2015: バグを減らそう。テストを楽にしよう。静的解析が開発者を救う。 | 日本シノプシス合同会社GTMF 2015: バグを減らそう。テストを楽にしよう。静的解析が開発者を救う。 | 日本シノプシス合同会社
GTMF 2015: バグを減らそう。テストを楽にしよう。静的解析が開発者を救う。 | 日本シノプシス合同会社Game Tools & Middleware Forum
 
Docker networking Tutorial 101
Docker networking Tutorial 101Docker networking Tutorial 101
Docker networking Tutorial 101LorisPack Project
 
Ceph Performance and Sizing Guide
Ceph Performance and Sizing GuideCeph Performance and Sizing Guide
Ceph Performance and Sizing GuideJose De La Rosa
 

What's hot (20)

IBM Spectrum Scale Networking Flow
IBM Spectrum Scale Networking FlowIBM Spectrum Scale Networking Flow
IBM Spectrum Scale Networking Flow
 
The Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitchThe Basic Introduction of Open vSwitch
The Basic Introduction of Open vSwitch
 
oVirt and OpenStack
oVirt and OpenStackoVirt and OpenStack
oVirt and OpenStack
 
Ceph - A distributed storage system
Ceph - A distributed storage systemCeph - A distributed storage system
Ceph - A distributed storage system
 
Linux MMAP & Ioremap introduction
Linux MMAP & Ioremap introductionLinux MMAP & Ioremap introduction
Linux MMAP & Ioremap introduction
 
Pushing Packets - How do the ML2 Mechanism Drivers Stack Up
Pushing Packets - How do the ML2 Mechanism Drivers Stack UpPushing Packets - How do the ML2 Mechanism Drivers Stack Up
Pushing Packets - How do the ML2 Mechanism Drivers Stack Up
 
Podman rootless containers
Podman rootless containersPodman rootless containers
Podman rootless containers
 
Learn how to use Harbor
Learn how to use HarborLearn how to use Harbor
Learn how to use Harbor
 
UM2019 Extended BPF: A New Type of Software
UM2019 Extended BPF: A New Type of SoftwareUM2019 Extended BPF: A New Type of Software
UM2019 Extended BPF: A New Type of Software
 
RISC-V on Edge: Porting EVE and Alpine Linux to RISC-V
RISC-V on Edge: Porting EVE and Alpine Linux to RISC-VRISC-V on Edge: Porting EVE and Alpine Linux to RISC-V
RISC-V on Edge: Porting EVE and Alpine Linux to RISC-V
 
Kubernetes Story - Day 2: Quay.io Container Registry for Publishing, Building...
Kubernetes Story - Day 2: Quay.io Container Registry for Publishing, Building...Kubernetes Story - Day 2: Quay.io Container Registry for Publishing, Building...
Kubernetes Story - Day 2: Quay.io Container Registry for Publishing, Building...
 
RDMA programming design and case studies – for better performance distributed...
RDMA programming design and case studies – for better performance distributed...RDMA programming design and case studies – for better performance distributed...
RDMA programming design and case studies – for better performance distributed...
 
Kubernetes DNS Horror Stories
Kubernetes DNS Horror StoriesKubernetes DNS Horror Stories
Kubernetes DNS Horror Stories
 
Benefits of Multi-rail Cluster Architectures for GPU-based Nodes
Benefits of Multi-rail Cluster Architectures for GPU-based NodesBenefits of Multi-rail Cluster Architectures for GPU-based Nodes
Benefits of Multi-rail Cluster Architectures for GPU-based Nodes
 
YOW2020 Linux Systems Performance
YOW2020 Linux Systems PerformanceYOW2020 Linux Systems Performance
YOW2020 Linux Systems Performance
 
Ceph Introduction 2017
Ceph Introduction 2017  Ceph Introduction 2017
Ceph Introduction 2017
 
SnapDiff
SnapDiffSnapDiff
SnapDiff
 
GTMF 2015: バグを減らそう。テストを楽にしよう。静的解析が開発者を救う。 | 日本シノプシス合同会社
GTMF 2015: バグを減らそう。テストを楽にしよう。静的解析が開発者を救う。 | 日本シノプシス合同会社GTMF 2015: バグを減らそう。テストを楽にしよう。静的解析が開発者を救う。 | 日本シノプシス合同会社
GTMF 2015: バグを減らそう。テストを楽にしよう。静的解析が開発者を救う。 | 日本シノプシス合同会社
 
Docker networking Tutorial 101
Docker networking Tutorial 101Docker networking Tutorial 101
Docker networking Tutorial 101
 
Ceph Performance and Sizing Guide
Ceph Performance and Sizing GuideCeph Performance and Sizing Guide
Ceph Performance and Sizing Guide
 

Viewers also liked

RedHat Linux, IBM Power Event
RedHat Linux, IBM Power EventRedHat Linux, IBM Power Event
RedHat Linux, IBM Power EventIBM Danmark
 
Cinder Live Migration and Replication - OpenStack Summit Austin
Cinder Live Migration and Replication - OpenStack Summit AustinCinder Live Migration and Replication - OpenStack Summit Austin
Cinder Live Migration and Replication - OpenStack Summit AustinEd Balduf
 
Redhat Virualization Technology: A Detailed Manual.
Redhat Virualization Technology: A Detailed Manual.Redhat Virualization Technology: A Detailed Manual.
Redhat Virualization Technology: A Detailed Manual.Ankur Verma
 
Red Hat for IBM Power Systems (System p) Update v6
Red Hat for IBM Power Systems (System p) Update v6Red Hat for IBM Power Systems (System p) Update v6
Red Hat for IBM Power Systems (System p) Update v6Filipe Miranda
 
Power systems virtualization with power kvm
Power systems virtualization with power kvmPower systems virtualization with power kvm
Power systems virtualization with power kvmsolarisyougood
 
Openstack live migration
Openstack live migrationOpenstack live migration
Openstack live migrationymtech
 

Viewers also liked (6)

RedHat Linux, IBM Power Event
RedHat Linux, IBM Power EventRedHat Linux, IBM Power Event
RedHat Linux, IBM Power Event
 
Cinder Live Migration and Replication - OpenStack Summit Austin
Cinder Live Migration and Replication - OpenStack Summit AustinCinder Live Migration and Replication - OpenStack Summit Austin
Cinder Live Migration and Replication - OpenStack Summit Austin
 
Redhat Virualization Technology: A Detailed Manual.
Redhat Virualization Technology: A Detailed Manual.Redhat Virualization Technology: A Detailed Manual.
Redhat Virualization Technology: A Detailed Manual.
 
Red Hat for IBM Power Systems (System p) Update v6
Red Hat for IBM Power Systems (System p) Update v6Red Hat for IBM Power Systems (System p) Update v6
Red Hat for IBM Power Systems (System p) Update v6
 
Power systems virtualization with power kvm
Power systems virtualization with power kvmPower systems virtualization with power kvm
Power systems virtualization with power kvm
 
Openstack live migration
Openstack live migrationOpenstack live migration
Openstack live migration
 

Similar to RHEVM - Live Storage Migration

Storage best practices
Storage best practicesStorage best practices
Storage best practicesMaor Lipchuk
 
Overview of sheepdog
Overview of sheepdogOverview of sheepdog
Overview of sheepdogLiu Yuan
 
Current and Future of Non-Volatile Memory on Linux
Current and Future of Non-Volatile Memory on LinuxCurrent and Future of Non-Volatile Memory on Linux
Current and Future of Non-Volatile Memory on Linuxmountpoint.io
 
Spectrum Scale Memory Usage
Spectrum Scale Memory UsageSpectrum Scale Memory Usage
Spectrum Scale Memory UsageTomer Perry
 
Storage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten RachfahlStorage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten RachfahlITCamp
 
7. Cloud Native Computing - Kubernetes - Bratislava - Rook.io
7. Cloud Native Computing - Kubernetes - Bratislava - Rook.io7. Cloud Native Computing - Kubernetes - Bratislava - Rook.io
7. Cloud Native Computing - Kubernetes - Bratislava - Rook.ioDávid Kőszeghy
 
Malware analysis
Malware analysisMalware analysis
Malware analysisxabean
 
More on Virtualization 3.pptx
More on Virtualization 3.pptxMore on Virtualization 3.pptx
More on Virtualization 3.pptxshruti533256
 
Community Update at OpenStack Summit Boston
Community Update at OpenStack Summit BostonCommunity Update at OpenStack Summit Boston
Community Update at OpenStack Summit BostonSage Weil
 
Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Jérôme Petazzoni
 
Ovirt and gluster_hyperconvergence_devconf-2016
Ovirt and gluster_hyperconvergence_devconf-2016Ovirt and gluster_hyperconvergence_devconf-2016
Ovirt and gluster_hyperconvergence_devconf-2016Ramesh Nachimuthu
 
OpenNebulaConf 2014 - ONE BIT to rule them all - Stefan Kooman
OpenNebulaConf 2014 - ONE BIT to rule them all - Stefan KoomanOpenNebulaConf 2014 - ONE BIT to rule them all - Stefan Kooman
OpenNebulaConf 2014 - ONE BIT to rule them all - Stefan KoomanOpenNebula Project
 
OpenNebula Conf 2014 | ONE BIT to rule them all - Stefan Kooman
OpenNebula Conf 2014 | ONE BIT to rule them all - Stefan KoomanOpenNebula Conf 2014 | ONE BIT to rule them all - Stefan Kooman
OpenNebula Conf 2014 | ONE BIT to rule them all - Stefan KoomanNETWAYS
 
5. IO virtualization
5. IO virtualization5. IO virtualization
5. IO virtualizationHwanju Kim
 
Application Caching: The Hidden Microservice
Application Caching: The Hidden MicroserviceApplication Caching: The Hidden Microservice
Application Caching: The Hidden MicroserviceScott Mansfield
 
OpenStack Nova Scheduler
OpenStack Nova Scheduler OpenStack Nova Scheduler
OpenStack Nova Scheduler Peeyush Gupta
 

Similar to RHEVM - Live Storage Migration (20)

Storage best practices
Storage best practicesStorage best practices
Storage best practices
 
OpenStack Cinder
OpenStack CinderOpenStack Cinder
OpenStack Cinder
 
Overview of sheepdog
Overview of sheepdogOverview of sheepdog
Overview of sheepdog
 
Current and Future of Non-Volatile Memory on Linux
Current and Future of Non-Volatile Memory on LinuxCurrent and Future of Non-Volatile Memory on Linux
Current and Future of Non-Volatile Memory on Linux
 
Spectrum Scale Memory Usage
Spectrum Scale Memory UsageSpectrum Scale Memory Usage
Spectrum Scale Memory Usage
 
Storage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten RachfahlStorage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
Storage Spaces Direct - the new Microsoft SDS star - Carsten Rachfahl
 
Cncf meetup-rook
Cncf meetup-rookCncf meetup-rook
Cncf meetup-rook
 
7. Cloud Native Computing - Kubernetes - Bratislava - Rook.io
7. Cloud Native Computing - Kubernetes - Bratislava - Rook.io7. Cloud Native Computing - Kubernetes - Bratislava - Rook.io
7. Cloud Native Computing - Kubernetes - Bratislava - Rook.io
 
Cncf meetup-rook
Cncf meetup-rookCncf meetup-rook
Cncf meetup-rook
 
Malware analysis
Malware analysisMalware analysis
Malware analysis
 
More on Virtualization 3.pptx
More on Virtualization 3.pptxMore on Virtualization 3.pptx
More on Virtualization 3.pptx
 
Community Update at OpenStack Summit Boston
Community Update at OpenStack Summit BostonCommunity Update at OpenStack Summit Boston
Community Update at OpenStack Summit Boston
 
OpenVZ Linux Containers
OpenVZ Linux ContainersOpenVZ Linux Containers
OpenVZ Linux Containers
 
Let's Containerize New York with Docker!
Let's Containerize New York with Docker!Let's Containerize New York with Docker!
Let's Containerize New York with Docker!
 
Ovirt and gluster_hyperconvergence_devconf-2016
Ovirt and gluster_hyperconvergence_devconf-2016Ovirt and gluster_hyperconvergence_devconf-2016
Ovirt and gluster_hyperconvergence_devconf-2016
 
OpenNebulaConf 2014 - ONE BIT to rule them all - Stefan Kooman
OpenNebulaConf 2014 - ONE BIT to rule them all - Stefan KoomanOpenNebulaConf 2014 - ONE BIT to rule them all - Stefan Kooman
OpenNebulaConf 2014 - ONE BIT to rule them all - Stefan Kooman
 
OpenNebula Conf 2014 | ONE BIT to rule them all - Stefan Kooman
OpenNebula Conf 2014 | ONE BIT to rule them all - Stefan KoomanOpenNebula Conf 2014 | ONE BIT to rule them all - Stefan Kooman
OpenNebula Conf 2014 | ONE BIT to rule them all - Stefan Kooman
 
5. IO virtualization
5. IO virtualization5. IO virtualization
5. IO virtualization
 
Application Caching: The Hidden Microservice
Application Caching: The Hidden MicroserviceApplication Caching: The Hidden Microservice
Application Caching: The Hidden Microservice
 
OpenStack Nova Scheduler
OpenStack Nova Scheduler OpenStack Nova Scheduler
OpenStack Nova Scheduler
 

Recently uploaded

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...vershagrag
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxNANDHAKUMARA10
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Call Girls Mumbai
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayEpec Engineered Technologies
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...ronahami
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementDr. Deepak Mudgal
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdfKamal Acharya
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesMayuraD1
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxSCMS School of Architecture
 
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...gragchanchal546
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxSCMS School of Architecture
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Servicemeghakumariji156
 

Recently uploaded (20)

Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
💚Trustworthy Call Girls Pune Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top...
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
 
Standard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power PlayStandard vs Custom Battery Packs - Decoding the Power Play
Standard vs Custom Battery Packs - Decoding the Power Play
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
Ground Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth ReinforcementGround Improvement Technique: Earth Reinforcement
Ground Improvement Technique: Earth Reinforcement
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Online food ordering system project report.pdf
Online food ordering system project report.pdfOnline food ordering system project report.pdf
Online food ordering system project report.pdf
 
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakesDeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
Ghuma $ Russian Call Girls Ahmedabad ₹7.5k Pick Up & Drop With Cash Payment 8...
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptxHOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
HOA1&2 - Module 3 - PREHISTORCI ARCHITECTURE OF KERALA.pptx
 
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best ServiceTamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
Tamil Call Girls Bhayandar WhatsApp +91-9930687706, Best Service
 

RHEVM - Live Storage Migration

  • 2. Overview - Introduction - Prerequisites (Constraints and Limitations) - Storage Architecture - LSM Flow - Important commands - Detailed Flow - Error Handling - Q&A
  • 3. Introduction Definition ● Live Storage Migration is the ability to move one or more VM disks from one storage to another while the VM is running Motivation ● Facilitate storage hardware upgrades ● Move or clone VM disks across different (and eventually geographically separated) data centers
  • 4. Introduction With Shared Storage ● The hypervisor is able to access both the source and destination storage backends ● The virtual machine remains on the same host Without Shared Storage ● The hypervisor is not able to access both the source and destination storage ● The virtual machine is live migrated to a different host that is able to access the destination storage
  • 5. Shared Storage VM Virtual Disk Storage A Storage B VM Virtual Disk Storage A Storage B Host A Host A
  • 6. Without Shared Storage VM Virtual Disk Storage A VM Virtual Disk Storage B Host A Host B
  • 7. Prerequisites (Constraints and Limitations) ● General understanding of the oVirt architecture and few VDSM basics ● Virtual disks - collection (chain) of volumes, e.g.: ● General understanding of the QCOW format ● All the image manipulations must be done by the Storage Pool Manager (SPM) ● An image (volume chain) should not be spread over multiple storage domains Volume 1 Volume 2 Volume 3
  • 8. Storage Architecture Storage Domain ● A standalone storage entity (implemented with NFS, FCP, iSCSI.. ) ● Stores the images and associated metadata Storage Pool ● Aggregates several Storage Domains ● Supposed to simplify cross domain operations
  • 9. Storage Architecture File Storage Domains ● Use file system features for segmentation ● Volumes and metadata are files ● 1:1 Mapping between domain and mount / directory
  • 10. Storage Architecture Block Storage Domains ● Use LVM for segmentation ● Thin provisioning ● Devices managed by device- mapper and multipath ● Domain is a VG ● Metadata is stored in a single LV and in LVM tags ● Volumes are LVs
  • 11. Storage Architecture Master Domain ● Used to store: ● Pool metadata ● Backup of OVFs ● Async tasks
  • 12. Storage Pool Manager (SPM) ● The SPM is a role assigned to one host in a data center giving the host sole authority to make all storage domain structure changes ● The role of SPM can be migrated to any host in a data center ● Creation, deletion and manipulation of Virtual Disks, Snapshots and Templates ● Allocation of storage for sparse block devices (on SAN) ● Single meta data writer ● SPM lease mechanism
  • 13. LSM Flow – initial state Volume 1
  • 14. LSM Flow – Live Snapshot Volume 1 Volume 2 Volume 1
  • 15. LSM Flow – Replica and Copy Volume 1 Volume 2 Volume 1 Volume 2 Volume 1' Volume 2' Volume 1
  • 16. LSM Flow – Completion Volume 1 Volume 2 Volume 1 Volume 2 Volume 1' Volume 2' Volume 1 Volume 1' Volume 2'
  • 17. SPM API taskId = cloneImageStructure(spUUID, sdUUID, imgUUID, dstSdUUID) Volume 1 Volume 2 Volume 1' Volume 2' ● spUUID storage pool ● sdUUID source storage domain ● imgUUID image to clone ● dstSdUUID destination storage domain Clone Structure
  • 18. SPM API taskId = syncImageData(spUUID, sdUUID, imgUUID, dstSdUUID, syncType) Volume 1 Volume 2 Volume 1' Volume 2' ● spUUID storage pool ● sdUUID source storage domain ● imgUUID image to clone ● dstSdUUID destination storage domain ● syncType synchronization type (ALL, INTERNAL, ...) Synchronize Data
  • 19. HSM API result = diskReplicateStart(vmId, srcDisk, dstDisk) result = diskReplicateFinish(vmId, srcDisk, dstDisk) Volume 1 Volume 2 Volume 1' Volume 2' ● vmId virtual machine id ● srcDisk source disk ● dstDisk destination disk read write write only
  • 20. Detailed Flow – Live Snapshot ● SPM/HSM – initial live snapshot to minimize the amount of data replicated by the qemu process Volume 1 Volume 2 Volume 1
  • 21. Detailed Flow – Clone Image Structure ● SPM – clone the image structure from the source storage domain to the destination storage domain taskId = cloneImageStructure(spUUID, sdUUID, imgUUID, dstSdUUID) Volume 1 Volume 2 Volume 1' Volume 2' Clone Structure
  • 22. Detailed Flow – Replicate and sync ● HSM – start replicating the virtual machine writes on the destination storage domain ● SPM – synchronize the internal volumes data result = diskReplicateStart(vmId, srcDisk, dstDisk) taskId = syncImageData(spUUID, sdUUID, imgUUID, dstSdUUID, syncType) Volume 1 Volume 2 Volume 1' Volume 2' Synchronize Data read write write only
  • 23. Detailed Flow – Finish ● HSM – complete the switch to the destination storage domain result = diskReplicateFinish(vmId, srcDisk, dstDisk) Volume 1 Volume 2 Volume 1' Volume 2'
  • 24. Error Handling ● In case of errors it is possible to interrupt the replication and fallback to the source storage domain Volume 1 Volume 2 Volume 1' Volume 2' Synchronize Data read write write only result = diskReplicateFinish(vmId, srcDisk, srcDisk) Volume 1 Volume 2