SlideShare a Scribd company logo
Instance Migration
Migration
Can be used for?
 useful when a compute host requires maintenance.
 useful to redistribute the load when many VM instances are
running on a specific physical machine.
Can NOT be used for?
 Modifying instance properties such as CPU/RAM
Migration Types (From Documentation)
Each option has requirements and restrictions
For example:
 You can't live-migrate without shared storage.
 You can't live-migrate if you have a config-drive enabled.
 You can't select the target host if you use the nova migrate
(non-live) command.
Migration Commands
Openstack has two commands specific to virtual machine migration:
nova migrate $UUID
nova live-migration $UUID $COMPUTE-HOST
nova migrate $UUID
The nova migrate command shuts down an instance to move it to
another hypervisor.
 The instance is down for a period of time and sees this as a regular
shutdown.
 It is not possible to specify the compute host you want to migrate the
instance to. (there are workarounds to do it the dirty way, however).
 This command does not require shared storage, the migrations can take a
long time.
nova migrate $UUID (Cont.)
The nova migrate command shuts down an instance to move it to
another hypervisor.
 The Openstack cluster chooses the target hypervisor machine based on the
free resources and availability.
 The migrate command works with any type of instance.
 The VM clock has no issues.
nova live-migration $UUID $COMPUTE-HOST
The nova live-migration command has almost no instance downtime.
 The instance is suspended and does not see this as a shutdown.
 The live-migration lets you specify the compute host you want to
migrate to, however with some limitations. This requires shared
storage, instances without a config-drive when block storage is used,
or volume-backed instances.
nova live-migration $UUID $COMPUTE-HOST (Cont.)
The nova live-migration command has almost no instance downtime.
 The migration fails if there are not enough resources on the target
hypervisor
 The VM clock might be off to prevent issues.
when to use which option
 If it is important to choose the compute host or to have very little
downtime you need to use the nova live-migration command.
 If you don't want to choose the compute host, or you have a
configdrive enabled, you need to use the nova migrate command.
 If you need to specify the compute host and you have a config-drive
enabled, you need to manually migrate the machine, or use a dirty
trick to fool nova migrate.

More Related Content

PDF
Optimization_of_Virtual_Machines_for_High_Performance
PPTX
Cinder Live Migration and Replication - OpenStack Summit Austin
PDF
OpenNebula TechDay Waterloo 2015 - OpenNebula is Evolving Fast
ODP
Gluster volume snapshot
PDF
Storage based snapshots for KVM VMs in CloudStack
PDF
Kvm optimizations
PDF
OpenNebulaConf2015 2.03 Docker-Machine and OpenNebula - Jaime Melis
PDF
OpenNebulaConf2017EU: Rudder by Florian, Heigl
Optimization_of_Virtual_Machines_for_High_Performance
Cinder Live Migration and Replication - OpenStack Summit Austin
OpenNebula TechDay Waterloo 2015 - OpenNebula is Evolving Fast
Gluster volume snapshot
Storage based snapshots for KVM VMs in CloudStack
Kvm optimizations
OpenNebulaConf2015 2.03 Docker-Machine and OpenNebula - Jaime Melis
OpenNebulaConf2017EU: Rudder by Florian, Heigl

What's hot (20)

PDF
OpenNebula 4.14 Hands-on Tutorial
PDF
TechDay - April - Customizing VM Images
PDF
NetBSD on Google Compute Engine (en)
PDF
Customizing Virtual Machine Images - Javier FontĂĄn
PDF
OpenNebula Conf 2014 | OpenNebula and MooseFS for disaster recovery: real clo...
PDF
Open nebula is evolving paris techday 2015
PDF
OpenNebulaConf2015 2.14 Cloud Service Experience in TeideHPC Infrastructure -...
PDF
Running Docker with OpenStack | Docker workshop #1
PDF
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
PDF
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier FontĂĄn, OpenNebula
PDF
TechDay - Cambridge 2016 - OpenNebula at Harvard Univerity
PDF
TechDay - Toronto 2016 - Hyperconvergence and OpenNebula
PDF
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
PDF
D’une infrastructure de virtualisation scripté à un cloud privé OpenNebula
PDF
Google Developer Group Central VA - Google Cloud Platform
PDF
Libvirt API Certification
PDF
OpenNebulaconf2017US: Multi-Site Hyperconverged OpenNebula with DRBD9
PDF
OpenNebula Conf 2014 | Lightning talk: OpenNebula at Etnetera by Jan Horacek
PDF
TechDay - April - OpenNebula and Docker
PDF
OpenNebula - OpenNebula and tips for CentOS 7
OpenNebula 4.14 Hands-on Tutorial
TechDay - April - Customizing VM Images
NetBSD on Google Compute Engine (en)
Customizing Virtual Machine Images - Javier FontĂĄn
OpenNebula Conf 2014 | OpenNebula and MooseFS for disaster recovery: real clo...
Open nebula is evolving paris techday 2015
OpenNebulaConf2015 2.14 Cloud Service Experience in TeideHPC Infrastructure -...
Running Docker with OpenStack | Docker workshop #1
OpenNebula TechDay Waterloo 2015 - Open nebula hands on workshop
OpenNebulaConf 2016 - Storage Hands-on Workshop by Javier FontĂĄn, OpenNebula
TechDay - Cambridge 2016 - OpenNebula at Harvard Univerity
TechDay - Toronto 2016 - Hyperconvergence and OpenNebula
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
D’une infrastructure de virtualisation scripté à un cloud privé OpenNebula
Google Developer Group Central VA - Google Cloud Platform
Libvirt API Certification
OpenNebulaconf2017US: Multi-Site Hyperconverged OpenNebula with DRBD9
OpenNebula Conf 2014 | Lightning talk: OpenNebula at Etnetera by Jan Horacek
TechDay - April - OpenNebula and Docker
OpenNebula - OpenNebula and tips for CentOS 7
Ad

Similar to OpenStack Instance Migration (20)

PDF
Dude, This Isn't Where I Parked My Instance?
PDF
Azure Site Recovery and System Center
PDF
Live VM Migration
PPTX
4. install and configure hyper v
PDF
TechDay - April - Tutorial
PDF
Virtualization and cloud Computing
PDF
Simplifying the Move to OpenStack
PDF
T2.pdfT2.pdfT2.pdfT2.pdfT2.pdfT2.pdfT2.pdfT2.pdf
ODP
Puppet Provisioning Vagrant Virtual Machine
PDF
The Lies We Tell Our Code (#seascale 2015 04-22)
PDF
Libvirt/KVM Driver Update (Kilo)
PDF
oVirt 3.5 Storage Features Overview
PPTX
Windows Server 2012 Virtualization: Notes from the Field
PPTX
Virtual Machine Migration & Hypervisors
PDF
Virtual Machine Maanager
PDF
Highly Available Load Balanced Galera MySql Cluster
PDF
CUDA by Example : Streams : Notes
PPTX
Lecture5(VM).pptx
PDF
Gdg izmir kubernetes
PPTX
WindowsAzureIAAS
Dude, This Isn't Where I Parked My Instance?
Azure Site Recovery and System Center
Live VM Migration
4. install and configure hyper v
TechDay - April - Tutorial
Virtualization and cloud Computing
Simplifying the Move to OpenStack
T2.pdfT2.pdfT2.pdfT2.pdfT2.pdfT2.pdfT2.pdfT2.pdf
Puppet Provisioning Vagrant Virtual Machine
The Lies We Tell Our Code (#seascale 2015 04-22)
Libvirt/KVM Driver Update (Kilo)
oVirt 3.5 Storage Features Overview
Windows Server 2012 Virtualization: Notes from the Field
Virtual Machine Migration & Hypervisors
Virtual Machine Maanager
Highly Available Load Balanced Galera MySql Cluster
CUDA by Example : Streams : Notes
Lecture5(VM).pptx
Gdg izmir kubernetes
WindowsAzureIAAS
Ad

Recently uploaded (20)

PPTX
Computer Software - Technology and Livelihood Education
PPTX
Introduction to Windows Operating System
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Website Design Services for Small Businesses.pdf
PDF
Cost to Outsource Software Development in 2025
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
DOCX
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
PDF
MCP Security Tutorial - Beginner to Advanced
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PPTX
GSA Content Generator Crack (2025 Latest)
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PPTX
Cybersecurity: Protecting the Digital World
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Types of Token_ From Utility to Security.pdf
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
 
Computer Software - Technology and Livelihood Education
Introduction to Windows Operating System
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
How Tridens DevSecOps Ensures Compliance, Security, and Agility
Designing Intelligence for the Shop Floor.pdf
Autodesk AutoCAD Crack Free Download 2025
Website Design Services for Small Businesses.pdf
Cost to Outsource Software Development in 2025
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
Modern SharePoint Intranet Templates That Boost Employee Engagement in 2025.docx
MCP Security Tutorial - Beginner to Advanced
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
GSA Content Generator Crack (2025 Latest)
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Why Generative AI is the Future of Content, Code & Creativity?
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Cybersecurity: Protecting the Digital World
Oracle Fusion HCM Cloud Demo for Beginners
Types of Token_ From Utility to Security.pdf
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
 

OpenStack Instance Migration

  • 2. Migration Can be used for?  useful when a compute host requires maintenance.  useful to redistribute the load when many VM instances are running on a specific physical machine. Can NOT be used for?  Modifying instance properties such as CPU/RAM
  • 3. Migration Types (From Documentation)
  • 4. Each option has requirements and restrictions For example:  You can't live-migrate without shared storage.  You can't live-migrate if you have a config-drive enabled.  You can't select the target host if you use the nova migrate (non-live) command.
  • 5. Migration Commands Openstack has two commands specific to virtual machine migration: nova migrate $UUID nova live-migration $UUID $COMPUTE-HOST
  • 6. nova migrate $UUID The nova migrate command shuts down an instance to move it to another hypervisor.  The instance is down for a period of time and sees this as a regular shutdown.  It is not possible to specify the compute host you want to migrate the instance to. (there are workarounds to do it the dirty way, however).  This command does not require shared storage, the migrations can take a long time.
  • 7. nova migrate $UUID (Cont.) The nova migrate command shuts down an instance to move it to another hypervisor.  The Openstack cluster chooses the target hypervisor machine based on the free resources and availability.  The migrate command works with any type of instance.  The VM clock has no issues.
  • 8. nova live-migration $UUID $COMPUTE-HOST The nova live-migration command has almost no instance downtime.  The instance is suspended and does not see this as a shutdown.  The live-migration lets you specify the compute host you want to migrate to, however with some limitations. This requires shared storage, instances without a config-drive when block storage is used, or volume-backed instances.
  • 9. nova live-migration $UUID $COMPUTE-HOST (Cont.) The nova live-migration command has almost no instance downtime.  The migration fails if there are not enough resources on the target hypervisor  The VM clock might be off to prevent issues.
  • 10. when to use which option  If it is important to choose the compute host or to have very little downtime you need to use the nova live-migration command.  If you don't want to choose the compute host, or you have a configdrive enabled, you need to use the nova migrate command.  If you need to specify the compute host and you have a config-drive enabled, you need to manually migrate the machine, or use a dirty trick to fool nova migrate.