Kvm-virsh Management Tools

Source: Internet
Author: User

Virsh can enter the command line interactive interface

Virsh list shows all virtual machine instances

#virt-manager & Start graphical interface to create

Virsh start C1--console starting and connecting the console

Virsh Console C1 Connection Console

Each created virtual opportunity creates a file at the end of the. XML under/etc/libvirt/qemu/

You can copy this file and then modify it to create a new instance.

#virsh Define/root/test.xml Create

Virsh Save C2/tmp/c2.img to File

Virsh restore/tmp/c2.img Recovery

Hot-swappable Add a piece of disk:

Qemu-img create-f Qcow2-o Preallocation=metadata,size=10g/vms/cirros/newdisk.qcow2 emulated disk files

Virsh attch-disk c2/vms/cirros/newdisk.qcow2 vdb Add disk

Virsh domblklist C2 List devices

Virsh Detach-disk C2 VDB Demolition

Card

Virsh domiflist NIC Interface display

Virsh domiflist C2 View virtual machine existing bridge

Virsh attach-interface C2 Bridge br0 Add a network port

Virsh detach-interface C2 Bridge--mac 52:54:-------Demolition

The graphical management tools are:

Kimchi: Web interface based on H5 research and development

Openstack:

Ovirt

Kvm-virsh Management Tools

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.