Online migration of kvm virtual machines

Source: Internet
Author: User


Refer to: redhat Virtual Machine Management Manual
Environment:
Running VM vm01 on top44.example.com
Desktop38.example.com migration destination

1. Use nfs to share Virtual Machine images on top44.example.com
Vi/etc/exports
/Var/lib/libvirt/images * (rw, no_root_squash, sync)
/Etc/init. d/rpcbind restart
/Etc/init. d/nfs restart
Www.2cto.com
2. Mount the nfs shared directory on top38.example.com to ipvtop44.example.com.
Mount 192.168.0.44:/var/lib/libvirt/images // var/lib/libvirt/images/

3. Modify/etc/hosts in desktop38.example.com and desktop44.example.com.
192.168.0.38 255.top38.example.com
192.168.0.44 reply top44.example.com
Www.2cto.com
4. Use the virt-manager tool for Migration: www.2cto.com
5. On top38.example.com, run the command to migrate the VM vm01 to top44.example.com.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.