Virsh: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 1: Line 1:
=External=
=External=


* https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/chap-Managing_guest_virtual_machines_with_virsh.html
* [https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/chap-Managing_guest_virtual_machines_with_virsh.html RHEL7 Virtualization Administration - Managing guest virtual machine with virsh]


=Internal=
=Internal=

Revision as of 01:39, 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

Operation Category
Storage Pool pool-list pool-info pool-define-as pool-build pool-start pool-autostart pool-destroy pool-delete pool-undefine
Storage Volume vol-list vol-info vol-name vol-path vol-key vol-create-as vol-delete
define
edit dumpxml
start shutdown
list
undefine