<IFRAME Height = 570 width = 100% scrolling = "no" src = "http://share.csdn.net/frame/9070" frameborder = 0 allowfullscreen> </iframe>
1. overview 1.1 Basic virtualization types: paravirtualization, non-hardware-assisted full virtualization, hardware-assisted full virtualization Experiment 1: Check whether the system supports hardware-assisted virtualization 1.2 KVM qemu libvirt. Experiment 2: install KVM, qemu, and lib1_2. qemu KVM
The following sections describe qemu-KVM and do not describe libvirt.
2.1 QEMU-KVM: Installing the first online Virtual Machine 2.2 QEMU-KVM: Using qemu monitor to manage Virtual Machine experiment 3: Using qemu monitor to view information 2.3 QEMU-KVM: qemu hardware virtualization computer architecture cpusmp Symmetric Multi Processor System Management BIOS memory system clockusb device bus display sound card CD-ROM hard disk Experiment 4: View qemu can simulate the device 2.4 QEMU-KVM: imagesraw imageqcow2 imageconvert: image formats can be converted compression compress encryption extensions 2.5 QEMU-KVM: snapshotinternal snapshotexternal snapshot2.6 QEMU-KVM: network block device Mode 1: can provide UNIX socket mode 2: Common socket connection mode 3: mount image to a network block devicelvm processing 2.7 QEMU-KVM: Access iscsiiscsi principles server side configuration client side configuration connection to qemu2.8 QEMU-KVM: Network virtualization network mode user networksocket: interaction between virtual machines tap/TUN device2.9 QEMU-KVM: the principle of the semi-virtualization device virtiovirtio memory ballooning (virtio_balloon) Hard Disk virtualization virtio_blk network device virtualization virtio_net performance comparison 2.10 QEMU-KVM: migration in qemu Live migration is through the monitor method 1: using shared storage, NFS, NBD, San Method 2: Joint migrate hard disk migration 2.11 QEMU-KVM: monitoring and debugging access to monitor the qemu monitor protocol (QMP) 2.12 QEMU-KVM: KVM performance and Best Practices 1: using semi-virtualization-driven virtio best practices 2: best practices for VM storage devices 3: Best practices for CPU overprovisioning 4: Best practices for memory overprovisioning 5: Best practices for networks 6: block I/O performance3. libvirt
Next, we will introduce the libvirt tool.
3.1 libvirt: Manage domain to convert command line to XML define domain edit domain start domain restart domain pause domain wake-up domain Delete domain3.2 libvirt: manage snapshotinternal snapshot-VM state snapshotinternal snapshot-disk state snapshotexternal snapshot: Manage qcow2 backing Chain Mode 1: virsh blockcommit/retry Mode 2: virsh blockpull/retry Mode 3: blockcopy, copy the content to another image3.3 libvirt: The URI used by remote access to remotely connect unixsshtcptls. Configure the key and certificateauthenticationsaslkerberos 3.4 libvirt between the client and the server: control group CPU control block I/O control using TC control network3.5 libvirt: CPU view CPU Compatibility View CPU affinity3.6 libvirt: pcipci (Peripheral Component Interconnect) is the Startup Process of the libguestfs appliance of the libguestfs architecture of the device Bus Standard 3.7 libvirt: libguestfslibguestfs command virt command series: guestmount, virt-builder, virt-ls, virt-cat, virt-copy-in, virt-copy-out3.8 libvirt: Virtual networkinglibvirt help manage Virtual Network DNS & DHCP default Nat mode bridged networklibvirt provide your own network filter instance: Disable icmp3.9 libvirt: storagestorage pool Network File System pool netfs logical volume pool logicaliscsi volume pool disk encryptionlibvirt secret management 3.10 libvirt: Migration shared storage. non-shared storage native migration. tunnelled migration direct migration. peer to Peer migration 2.11 libvirt: the basic principle of hookshooks simple hooks script, print parameters and stdin complex hook script prohibit ICMP set CPU share set network bandwidth
Sharing of dry goods: 250-page libvirt qemu kvm ppt, no lab, no truth