<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>10.9. Moving VMs Between Hosts (Manual Live Migration)</title><link rel="stylesheet" type="text/css" href="Common_Content/css/default.css" /><link rel="stylesheet" media="print" href="Common_Content/css/print.css" type="text/css" /><meta name="generator" content="publican 2.8" /><meta name="package" content="Apache_CloudStack-Admin_Guide-4.1.0-en-US-1-" /><script type="text/javascript" src="../../../../../toc.js"></script><script type="text/javascript">
              addID('Apache_CloudStack');
              
	      addID('Apache_CloudStack.4.1.0');
              
              addID('Apache_CloudStack.4.1.0.books');
	      addID('Apache_CloudStack.4.1.0.Admin_Guide');
              </script><link rel="home" href="index.html" title="CloudStack Administrator's Guide" /><link rel="up" href="virtual-machines.html" title="Chapter 10. Working With Virtual Machines" /><link rel="prev" href="changing-service-offering-for-vm.html" title="10.8. Changing the Service Offering for a VM" /><link rel="next" href="deleting-vms.html" title="10.10. Deleting VMs" /></head><body class="toc_embeded "><div id="tocdiv" class="toc"><iframe id="tocframe" class="toc" src="../../../../toc.html">This is an iframe, to view it upgrade your browser or enable iframe display.</iframe></div><p id="title"><a class="left" href="http://cloudstack.apache.org"><img src="Common_Content/images/image_left.png" alt="Product Site" /></a><a class="right" href="http://cloudstack.apache.org/docs"><img src="Common_Content/images/image_right.png" alt="Documentation Site" /></a></p><ul class="docnav"><li class="previous"><a accesskey="p" href="changing-service-offering-for-vm.html"><strong>Prev</strong></a></li><li class="next"><a accesskey="n" href="deleting-vms.html"><strong>Next</strong></a></li></ul><div xml:lang="en-US" class="section" id="manual-live-migration" lang="en-US"><div class="titlepage"><div><div><h2 class="title" id="manual-live-migration">10.9. Moving VMs Between Hosts (Manual Live Migration)</h2></div></div></div><div class="para">
		The CloudStack administrator can move a running VM from one host to another without interrupting service to users or going into maintenance mode. This is called manual live migration, and can be done under the following conditions:
	</div><div class="itemizedlist"><ul><li class="listitem"><div class="para">
				The root administrator is logged in. Domain admins and users can not perform manual live migration of VMs.
			</div></li><li class="listitem"><div class="para">
				The VM is running. Stopped VMs can not be live migrated.
			</div></li><li class="listitem"><div class="para">
				The destination host must be in the same cluster as the original host.
			</div></li><li class="listitem"><div class="para">
				The VM must not be using local disk storage.
			</div></li><li class="listitem"><div class="para">
				The destination host must have enough available capacity. If not, the VM will remain in the "migrating" state until memory becomes available.
			</div></li></ul></div><div class="para">
		To manually live migrate a virtual machine
	</div><div class="orderedlist"><ol><li class="listitem"><div class="para">
				Log in to the CloudStack UI as a user or admin.
			</div></li><li class="listitem"><div class="para">
				In the left navigation, click Instances.
			</div></li><li class="listitem"><div class="para">
				Choose the VM that you want to migrate.
			</div></li><li class="listitem"><div class="para">
				Click the Migrate Instance button.
				<span class="inlinemediaobject"><img src="./images/migrate-instance.png" alt="Migrateinstance.png: button to migrate an instance" /></span>

			</div></li><li class="listitem"><div class="para">
				From the list of hosts, choose the one to which you want to move the VM.
			</div></li><li class="listitem"><div class="para">
				Click OK.
			</div></li></ol></div></div><ul class="docnav"><li class="previous"><a accesskey="p" href="changing-service-offering-for-vm.html"><strong>Prev</strong>10.8. Changing the Service Offering for a VM</a></li><li class="up"><a accesskey="u" href="#"><strong>Up</strong></a></li><li class="home"><a accesskey="h" href="index.html"><strong>Home</strong></a></li><li class="next"><a accesskey="n" href="deleting-vms.html"><strong>Next</strong>10.10. Deleting VMs</a></li></ul></body></html>
