Virsh: Difference between revisions
Jump to navigation
Jump to search
Line 39: | Line 39: | ||
|- | |- | ||
| [[virsh vol-create-as|vol-create-as]] | | [[virsh vol-create-as|vol-create-as]] | ||
|- | |||
| [[virsh define|define]] | |||
|- | |- | ||
| [[virsh edit|edit]] || [[virsh dumpxml|dumpxml]] | | [[virsh edit|edit]] || [[virsh dumpxml|dumpxml]] | ||
|} | |} |
Revision as of 20:33, 26 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
pool-list | pool-info | |||
pool-define-as | pool-build | pool-start | pool-autostart | |
pool-destroy | pool-delete | pool-undefine | ||
vol-list | vol-info | vol-name | vol-path | vol-key |
vol-create-as | ||||
define | ||||
edit | dumpxml |