Virtualization Deployment And Administration Guide Red Hat Enterprise Linux 7 En US
Red_Hat_Enterprise_Linux-7-Virtualization_Deployment_and_Administration_Guide-en-US
User Manual:
Open the PDF directly: View PDF
Page Count: 582 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Table of Contents
- Part I. Deployment
- Chapter 1. System requirements
- Chapter 2. Installing the virtualization packages
- Chapter 3. Installing a virtual machine
- Chapter 4. Virtualizing Red Hat Enterprise Linux on Other Platforms
- Chapter 5. Installing a fully-virtualized Windows guest
- Chapter 6. KVM Para-virtualized (virtio) Drivers
- Chapter 7. Network configuration
- Chapter 8. Overcommitting with KVM
- Chapter 9. KVM guest timing management
- Chapter 10. Network booting with libvirt
- Chapter 11. Enhancing virtualization with the QEMU guest agent and SPICE agent
- Chapter 12. Nested Virtualization
- Part II. Administration
- Chapter 13. Securing the host physical machine and improving performance
- Chapter 14. Storage pools
- Chapter 15. Storage Volumes
- Chapter 16. Using qemu-img
- 16.1. Checking the disk image
- 16.2. Committing changes to an image
- 16.3. Converting an existing image to another format
- 16.4. Creating and formatting new images or devices
- 16.5. Displaying image information
- 16.6. Re-basing a backing file of an image
- 16.7. Re-sizing the disk image
- 16.8. Listing, creating, applying, and deleting a snapshot
- 16.9. Supported qemu-img formats
- Chapter 17. KVM live migration
- Chapter 18. Guest virtual machine device configuration
- 18.1. PCI devices
- 18.1.1. Assigning a PCI device with virsh
- 18.1.2. Assigning a PCI device with virt-manager
- 18.1.3. PCI device assignment with virt-install
- 18.1.4. Detaching an assigned PCI device
- 18.1.5. Creating PCI bridges
- 18.1.6. PCI passthrough
- 18.1.7. Configuring PCI assignment (passthrough) with SR-IOV devices
- 18.1.8. Setting PCI device assignment from a pool of SR-IOV virtual functions
- 18.2. USB devices
- 18.3. Configuring device controllers
- 18.4. Setting addresses for devices
- 18.5. Random number generator device
- 18.6. Assigning GPU devices
- 18.1. PCI devices
- Chapter 19. SR-IOV
- Chapter 20. Virtual Networking
- 20.1. Virtual network switches
- 20.2. Bridge Mode
- 20.3. Network Address Translation
- 20.4. DNS and DHCP
- 20.5. Routed mode
- 20.6. Isolated mode
- 20.7. The default configuration
- 20.8. Examples of common scenarios
- 20.9. Managing a virtual network
- 20.10. Creating a virtual network
- 20.11. Attaching a virtual network to a guest
- 20.12. Directly attaching to physical interface
- 20.13. Dynamically changing a host physical machine or a network bridge that is attached to a virtual NIC
- 20.14. Applying network filtering
- 20.14.1. Introduction
- 20.14.2. Filtering chains
- 20.14.3. Filtering chain priorities
- 20.14.4. Usage of variables in filters
- 20.14.5. Automatic IP address detection and DHCP snooping
- 20.14.6. Reserved Variables
- 20.14.7. Element and attribute overview
- 20.14.8. References to other filters
- 20.14.9. Filter rules
- 20.14.10. Supported protocols
- 20.14.10.1. MAC (Ethernet)
- 20.14.10.2. VLAN (802.1Q)
- 20.14.10.3. STP (Spanning Tree Protocol)
- 20.14.10.4. ARP/RARP
- 20.14.10.5. IPv4
- 20.14.10.6. IPv6
- 20.14.10.7. TCP/UDP/SCTP
- 20.14.10.8. ICMP
- 20.14.10.9. IGMP, ESP, AH, UDPLITE, 'ALL'
- 20.14.10.10. TCP/UDP/SCTP over IPV6
- 20.14.10.11. ICMPv6
- 20.14.10.12. IGMP, ESP, AH, UDPLITE, 'ALL' over IPv6
- 20.14.11. Advanced Filter Configuration Topics
- 20.14.12. Limitations
- 20.15. Creating Tunnels
- 20.16. Setting vLAN tags
- 20.17. Applying QoS to your virtual network
- Chapter 21. Remote management of guests
- Chapter 22. Managing guests with the Virtual Machine Manager (virt-manager)
- 22.1. Starting virt-manager
- 22.2. The Virtual Machine Manager main window
- 22.3. The virtual hardware details window
- 22.4. Virtual Machine graphical console
- 22.5. Adding a remote connection
- 22.6. Displaying guest details
- 22.7. Performance monitoring
- 22.8. Displaying CPU usage for guests
- 22.9. Displaying CPU usage for hosts
- 22.10. Displaying Disk I/O
- 22.11. Displaying Network I/O
- Chapter 23. Managing guest virtual machines with virsh
- 23.1. Guest virtual machine states
- 23.2. Running the virsh program
- 23.3. Interactive mode commands
- 23.4. Displaying the virsh version
- 23.5. Getting help
- 23.6. Sending commands with echo
- 23.7. Connecting to the hypervisor with virsh connect
- 23.8. Displaying information about guest virtual machine
- 23.9. Guest virtual machine basic commands
- 23.9.1. Starting a virtual machine
- 23.9.2. Configuring a virtual machine to be started automatically at boot
- 23.9.3. Suspending a guest virtual machine
- 23.9.4. Suspending a running guest virtual machine
- 23.9.5. Waking up a guest virtual machine from pmsuspend state
- 23.9.6. Undefining a domain
- 23.9.7. Resuming a guest virtual machine
- 23.9.8. Saving a guest virtual machine
- 23.9.9. Updating the domain XML file that will be used for restoring a guest virtual machine
- 23.9.10. Extracting the domain XML file
- 23.9.11. Editing the guest virtual machine configuration files
- 23.9.12. Restoring a guest virtual machine
- 23.10. Shutting down, rebooting, and forcing a shutdown of a guest virtual machine
- 23.10.1. Shutting down a guest virtual machine
- 23.10.2. Shutting down Red Hat Enterprise Linux 6 guests on a Red Hat Enterprise Linux 7 host
- 23.10.3. Manipulating the libvirt-guests configuration settings
- 23.10.4. Rebooting a guest virtual machine
- 23.10.5. Forcing a guest virtual machine to stop
- 23.10.6. Resetting a virtual machine
- 23.10.7. Connecting the serial console for the guest virtual machine
- 23.10.8. Defining a guest virtual machine with an XML file
- 23.10.9. Injecting NMI
- 23.10.10. Displaying device block statistics
- 23.10.11. Retrieving network statistics
- 23.10.12. Modifying the link state of a guest virtual machine's virtual interface
- 23.10.13. Listing the link state of a guest virtual machine's virtual interface
- 23.10.14. Setting network interface bandwidth parameters
- 23.10.15. Retrieving memory statistics for a running guest virtual machine
- 23.10.16. Displaying errors on block devices
- 23.10.17. Displaying the block device size
- 23.10.18. Displaying the block devices associated with a domain
- 23.10.19. Displaying virtual interfaces associated with a guest virtual machine
- 23.10.20. Using blockcommit to shorten a backing chain
- 23.10.21. Using blockpull to shorten a backing chain
- 23.10.22. Using blockresize to change the size of a guest virtual machine path
- 23.10.23. Disk image management with live block copy
- 23.10.24. Displaying a URI for connection to a graphical display
- 23.10.25. Discarding blocks not in use
- 23.10.26. Guest virtual machine retrieval commands
- 23.10.27. Converting QEMU arguments to domain XML
- 23.10.28. Creating a dump file of a guest virtual machine's core
- 23.10.29. Creating a virtual machine XML dump (configuration file)
- 23.10.30. Creating a guest virtual machine from a configuration file
- 23.11. Editing a guest virtual machine's configuration file
- 23.11.1. Adding multifunction PCI devices to KVM guest virtual machines
- 23.11.2. Stopping a running guest virtual machine in order to restart it later
- 23.11.3. Displaying CPU statistics for a specified guest virtual machine
- 23.11.4. Saving a screenshot
- 23.11.5. Sending a keystroke combination to a specified guest virtual machine
- 23.11.6. Sending process signal names to virtual processes
- 23.11.7. Displaying the IP address and port number for the VNC display
- 23.12. NUMA node management
- 23.12.1. Displaying node information
- 23.12.2. Setting NUMA parameters
- 23.12.3. Displaying the amount of free memory in a NUMA cell
- 23.12.4. Displaying a CPU list
- 23.12.5. Displaying CPU statistics
- 23.12.6. Managing devices
- 23.12.7. Suspending the host physical machine
- 23.12.8. Setting and displaying the node memory parameters
- 23.12.9. Creating devices on host nodes
- 23.12.10. Detaching a node device
- 23.12.11. Dump a Device
- 23.12.12. List devices on a node
- 23.12.13. Triggering a reset for a node
- 23.13. Retrieving guest virtual machine information
- 23.14. Storage pool commands
- 23.15. Storage Volume Commands
- 23.16. Displaying per-guest virtual machine information
- 23.16.1. Displaying the guest virtual machines
- 23.16.2. Displaying virtual CPU information
- 23.16.3. Pinning vCPU to a host physical machine's CPU
- 23.16.4. Displaying information about the virtual CPU counts of a given domian
- 23.16.5. Configuring virtual CPU affinity
- 23.16.6. Configuring virtual CPU count
- 23.16.7. Configuring memory allocation
- 23.16.8. Changing the memory allocation for the domain
- 23.16.9. Displaying guest virtual machine block device information
- 23.16.10. Displaying guest virtual machine network device information
- 23.17. Managing virtual networks
- 23.17.1. Autostarting a virtual network
- 23.17.2. Creating a virtual network from an XML file
- 23.17.3. Defining a virtual network from an XML file
- 23.17.4. Stopping a virtual network
- 23.17.5. Creating a dump file
- 23.17.6. Eding a virtual network's XML configuration file
- 23.17.7. Getting information about a virtual network
- 23.17.8. Listing information about a virtual network
- 23.17.9. Converting a network UUID to network name
- 23.17.10. Starting a (previously defined) inactive network
- 23.17.11. Undefining the configuration for an inactive network
- 23.17.12. Converting a network name to network UUID
- 23.17.13. Updating an existing network definition file
- 23.17.14. Migrating guest virtual machines with virsh
- 23.17.15. Setting a static IP address for the guest virtual machine
- 23.18. Interface Commands
- 23.18.1. Defining and starting a host physical machine interface via an XML file
- 23.18.2. Editing the XML configuration file for the host interface
- 23.18.3. Listing active host interfaces
- 23.18.4. Converting a MAC address into an interface name
- 23.18.5. Stopping a specific host physical machine interface
- 23.18.6. Displaying the host configuration file
- 23.18.7. Creating bridge devices
- 23.18.8. Tearing down a bridge device
- 23.18.9. Manipulating interface snapshots
- 23.19. Managing snapshots
- 23.19.1. Creating Snapshots
- 23.19.2. Creating a snapshot for the current guest virtual machine
- 23.19.3. Taking a snapshot of the current guest virtual machine
- 23.19.4. snapshot-edit-domain
- 23.19.5. snapshot-info-domain
- 23.19.6. snapshot-list-domain
- 23.19.7. snapshot-dumpxml domain snapshot
- 23.19.8. snapshot-parent guest virtual machine
- 23.19.9. snapshot-revert guest virtual machine
- 23.19.10. snapshot-delete domain
- 23.20. Guest virtual machine CPU model configuration
- 23.21. Configuring the guest virtual machine CPU model
- 23.22. Managing resources for guest virtual machines
- 23.23. Setting schedule parameters
- 23.24. Disk I/O throttling
- 23.25. Display or set block I/O parameters
- 23.26. Configuring memory Tuning
- Chapter 24. Guest virtual machine disk access with offline tools
- 24.1. Introduction
- 24.2. Terminology
- 24.3. Installation
- 24.4. The guestfish shell
- 24.5. Other commands
- 24.6. virt-rescue: The rescue shell
- 24.7. virt-df: Monitoring disk usage
- 24.8. virt-resize: resizing guest virtual machines offline
- 24.9. virt-inspector: inspecting guest virtual machines
- 24.10. virt-win-reg: Reading and editing the Windows Registry
- 24.11. Using the API from Programming Languages
- 24.12. virt-sysprep: resetting virtual machine settings
- Chapter 25. Graphic User Interface tools for guest virtual machine management
- Chapter 26. Manipulating the domain XML
- 26.1. General information and meta-data
- 26.2. Operating system booting
- 26.3. SMBIOS system information
- 26.4. CPU allocation
- 26.5. CPU tuning
- 26.6. Memory backing
- 26.7. Memory tuning
- 26.8. Memory allocation
- 26.9. NUMA node tuning
- 26.10. Block I/O tuning
- 26.11. Resource partitioning
- 26.12. CPU models and topology
- 26.13. Events configuration
- 26.14. Power Management
- 26.15. Hypervisor features
- 26.16. Time keeping
- 26.17. Timer element attributes
- 26.18. Devices
- 26.18.1. Hard drives, floppy disks, CD-ROMs
- 26.18.2. Files ystems
- 26.18.3. Device addresses
- 26.18.4. Controllers
- 26.18.5. Device leases
- 26.18.6. Host physical machine device assignment
- 26.18.7. Redirected devices
- 26.18.8. Smartcard devices
- 26.18.9. Network interfaces
- 26.18.9.1. Virtual networks
- 26.18.9.2. Bridge to LAN
- 26.18.9.3. Setting a port masquerading range
- 26.18.9.4. User space SLIRP stack
- 26.18.9.5. Generic Ethernet connection
- 26.18.9.6. Direct attachment to physical interfaces
- 26.18.9.7. PCI passthrough
- 26.18.9.8. Multicast tunnel
- 26.18.9.9. TCP tunnel
- 26.18.9.10. Setting NIC driver-specific options
- 26.18.9.11. Overriding the target element
- 26.18.9.12. Specifying boot order
- 26.18.9.13. Interface ROM BIOS configuration
- 26.18.9.14. Quality of service (QoS)
- 26.18.9.15. Setting VLAN tag (on supported network types only)
- 26.18.9.16. Modifying virtual link state
- 26.18.10. Input devices
- 26.18.11. Hub devices
- 26.18.12. Graphical framebuffers
- 26.18.13. Video devices
- 26.18.14. Consoles, serial, and channel devices
- 26.18.15. Guest virtual machine interfaces
- 26.18.16. Channel
- 26.18.17. Host physical machine interface
- 26.18.18. Sound devices
- 26.18.19. Watchdog device
- 26.18.20. Setting a panic device
- 26.18.21. Memory balloon device
- 26.18.22. TPM devices
- 26.19. Storage pools
- 26.20. Storage Volumes
- 26.21. Security label
- 26.22. A Sample configuration file
- Part III. Appendices
- Appendix A. Troubleshooting
- A.1. Debugging and troubleshooting tools
- A.2. Preparing for disaster recovery
- A.3. Creating virsh dump files
- A.4. Capturing trace data on a constant basis using the Systemtap flight recorder
- A.5. kvm_stat
- A.6. Troubleshooting with serial consoles
- A.7. Virtualization log files
- A.8. Loop device errors
- A.9. Live Migration Errors
- A.10. Enabling Intel VT-x and AMD-V virtualization hardware extensions in BIOS
- A.11. Generating a new unique MAC address
- A.12. KVM networking performance
- A.13. Workaround for creating external snapshots with libvirt
- A.14. Missing characters on guest console with Japanese keyboard
- A.15. Guest virtual machine fails to shutdown
- A.16. Disable SMART disk monitoring for guest virtual machines
- A.17. libguestfs troubleshooting
- A.18. Common libvirt errors and troubleshooting
- A.18.1. libvirtd failed to start
- A.18.2. The URI failed to connect to the hypervisor
- A.18.3. The guest virtual machine cannot be started: internal error guest CPU is not compatible with host CPU
- A.18.4. Guest starting fails with error: monitor socket did not show up
- A.18.5. Internal error cannot find character device (null)
- A.18.6. Guest virtual machine booting stalls with error: No boot device
- A.18.7. Virtual network default has not been started
- A.18.8. PXE boot (or DHCP) on guest failed
- A.18.9. Guest can reach outside network, but cannot reach host when using macvtap interface
- A.18.10. Could not add rule to fixup DHCP response checksums on network 'default'
- A.18.11. Unable to add bridge br0 port vnet0: No such device
- A.18.12. Guest is unable to start with error: warning: could not open /dev/net/tun
- A.18.13. Migration fails with Error: unable to resolve address
- A.18.14. Migration fails with Unable to allow access for disk path: No such file or directory
- A.18.15. No guest virtual machines are present when libvirtd is started
- A.18.16. Unable to connect to server at 'host:16509': Connection refused ... error: failed to connect to the hypervisor
- A.18.17. Common XML errors
- Appendix B. Virtualization restrictions
- Appendix C. Additional resources
- Appendix D. Working with IOMMU Groups [1]
- Appendix E. NetKVM Driver Parameters
- Appendix F. Revision History