| <?xml version='1.0' encoding='utf-8' ?> |
| <!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [ |
| <!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent"> |
| %BOOK_ENTITIES; |
| ]> |
| |
| <!-- Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <section id="migrate-vm-rootvolume-volume-new-storage-pool"> |
| <title>Migrating a VM Root Volume to a New Storage Pool</title> |
| <para>(XenServer, VMware) You can live migrate a VM's root disk from one storage pool to another, without stopping the VM first.</para> |
| <para>(KVM) When migrating the root disk volume, the VM must first be stopped, and users can not access the VM. After migration is complete, the VM can be restarted.</para> |
| <orderedlist> |
| <listitem><para>Log in to the &PRODUCT; UI as a user or admin.</para></listitem> |
| <listitem><para>In the left navigation bar, click Instances, and click the VM name.</para></listitem> |
| <listitem><para>(KVM only) Stop the VM.</para></listitem> |
| <listitem><para>Click the Migrate button <inlinemediaobject> |
| <imageobject> |
| <imagedata fileref="./images/migrate-instance.png"/> |
| </imageobject> |
| <textobject> |
| <phrase>Migrateinstance.png: button to migrate a VM or volume</phrase> |
| </textobject> |
| </inlinemediaobject> |
| and choose the destination from the dropdown list.</para> |
| <note><para>If the VM's storage has to be migrated along with the VM, this will be noted in the host |
| list. &PRODUCT; will take care of the storage migration for you.</para></note><para/></listitem> |
| <listitem><para>Watch for the volume status to change to Migrating, then back to Running (or Stopped, in the case of KVM). This |
| can take some time.</para></listitem> |
| <listitem><para>(KVM only) Restart the VM.</para></listitem> |
| </orderedlist> |
| </section> |