Virsh: Difference between revisions
Jump to navigation
Jump to search
Line 30: | Line 30: | ||
{| | {| | ||
| [[Virsh pool-list|pool-list]] || [[Virsh pool-info|pool-info]] || [[virsh pool-define-as|pool-define-as]] || [[Virsh pool-build|pool-build]] || [[Virsh pool-start|pool-start]] || [[Virsh pool-autostart|pool-autostart]] || [[virsh pool-destroy|pool-destroy]] || [[virsh pool-delete|pool-delete]] || [[virsh pool-undefine|pool-undefine]] | | '''Storage Pool Operations''' || [[Virsh pool-list|pool-list]] || [[Virsh pool-info|pool-info]] || [[virsh pool-define-as|pool-define-as]] || [[Virsh pool-build|pool-build]] || [[Virsh pool-start|pool-start]] || [[Virsh pool-autostart|pool-autostart]] || [[virsh pool-destroy|pool-destroy]] || [[virsh pool-delete|pool-delete]] || [[virsh pool-undefine|pool-undefine]] | ||
|- | |- | ||
| [[virsh vol-list|vol-list]] || [[virsh vol-info|vol-info]] || [[virsh vol-name|vol-name]] || [[virsh vol-path|vol-path]] || [[virsh vol-key|vol-key]] || [[virsh vol-create-as|vol-create-as]] || [[virsh vol-delete|vol-delete]] | | '''Storage Volume Operations''' || [[virsh vol-list|vol-list]] || [[virsh vol-info|vol-info]] || [[virsh vol-name|vol-name]] || [[virsh vol-path|vol-path]] || [[virsh vol-key|vol-key]] || [[virsh vol-create-as|vol-create-as]] || [[virsh vol-delete|vol-delete]] | ||
|- | |- | ||
| [[virsh define|define]] | | || [[virsh define|define]] | ||
|- | |- | ||
| [[virsh edit|edit]] || [[virsh dumpxml|dumpxml]] | | || [[virsh edit|edit]] || [[virsh dumpxml|dumpxml]] | ||
|- | |- | ||
| [[virsh start|start]] || [[virsh shutdown|shutdown]] | | || [[virsh start|start]] || [[virsh shutdown|shutdown]] | ||
|- | |- | ||
| [[virsh list|list]] | | || [[virsh list|list]] | ||
|} | |} |
Revision as of 01:23, 27 June 2017
External
Internal
Overview
virsh is a command-line tool for managing the KVM hypervisor and guest virtual machines. It is the primary tool to manage RHEL 7 virtualization.
It can be used to:
- create virtual machines
- configure virtual machines
- pause virtual machines
- list virtual machines
- shut down virtual machines
- manage virtual networks
- manage storage
- load virtual machine disk images
Installation
yum install libvirt-client
Commands
Storage Pool Operations | pool-list | pool-info | pool-define-as | pool-build | pool-start | pool-autostart | pool-destroy | pool-delete | pool-undefine |
Storage Volume Operations | vol-list | vol-info | vol-name | vol-path | vol-key | vol-create-as | vol-delete | ||
define | |||||||||
edit | dumpxml | ||||||||
start | shutdown | ||||||||
list |