Seven phases of KVM learning and application

Source: Internet
Author: User


650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M01/4B/CC/wKiom1Q0kS-yq4rSAAag8Rq5s24175.jpg "Title =" 008.png" alt = "wKiom1Q0kS-yq4rSAAag8Rq5s24175.jpg"/>


It is said that collection of 7 Dragon beads can fulfill a desire.

KVM virtualization learning can also be divided into seven stages. After seven stages of learning, the virtualization task is completed in the production environment.



First-stage Virtual Machine Management Learning

1. Understand the history and concepts of virtualization, and understand the features of xen VMware hyperv KVM;

2. Create a virtual machine through virt-manager and virt-install respectively;

3. Understand libvirt XML files, especially the VNC parameters of CPU memory network disks;

1) Know how to modify the number of CPUs and limit CPU resources;

2) Know how to modify the memory size and limit the memory resources;

3) know how to add hard disks and how to attach disks online;

4) know how to add NICs and how to attach NICs online;

5) Know how to modify the VNC connection parameters and how to change the VNC password online;

4. You can use virsh virt-manager to manage the lifecycle of VM creation, maintenance, and destruction;

5. Learn the qemu-IMG command;

6 learn about virtual machine image management commands such as virt-resize virt-Inspector virt-inspector2;

7. Learn how to mount a VM Image Using guestfish guestmount;


Second-stage vm cpu memory optimization and multi-host Management

  1. CPU optimization: NUMA features and Virtual Machine binding Specific CPU configurations;

  2. Memory Optimization: Memory compression, large page Memory concept and configuration;

  3. Exercise and test the connection between hosts through TCP;

  4. Connection exercises and tests (important) between hosts through TLS );

  5. Use the virsh command remotely to create a Linux virtual machine;

  6. Use virt-manager to create a Windows virtual machine remotely;


Stage 3 Virtual Network Management

1. Create and learn Linux bridges, subinterfaces, and VLANs;

2. Multi-nic binding Learning;

3 libvirt virsh network management commands learn how to define, delete, and modify network configurations

4. Theoretical differences between fully-virtualized NICs and semi-virtualized NICs;

5. Learn and contact netperf, a network performance testing tool;

6. Learn the principles of NIC sriov PCI passthrough, contact the actual environment, and submit the performance test report;


Stage 4 virtualization Storage Management

  1. Learn about the differences between qcow2 raw format and the creation method;

  2. Learn LVM management: Create pv vg lv, expand LV, and mount LV to virtual machines;

  3. Learn FIO Iozone disk pressure testing tools and submit the qcow2 raw LV Mode Performance Comparison Test Report;

  4. Learn the concepts of IDE full virtualization mode and virtio semi-virtualization mode, and submit the performance comparison test report of the two methods;

  5. Understand the concept of libvirt storage pool, and manage the libvirt storage pool through the virsh XML file;

  6. Establish system-based NFS storage, attach it to multiple hosts, and migrate online virtual machines;

  7. Establish system-based iSCSI storage, attach it to multiple hosts, and migrate online virtual machines;

  8. Build a drbd system, mount it to multiple hosts in iSCSI mode, and migrate online virtual machines;

  9. Build a glusterfs system, mount it to multiple hosts, and migrate online virtual machines;

  10. Build a CEpH system, mount it to multiple hosts, and migrate online virtual machines;

  11. Build a sheedog system, mount it to multiple hosts, and migrate online virtual machines (optional );

  12. SSD performance testing, flashcache configuration, LV for virtual machines, and submit performance testing report;

  13. Centos7 LVM cache configuration for virtual machines, and submit performance test reports;


Stage 5 virtualization platform management

1 virt-Manager manages multi-host exercises;

2. Establish the opennebula management platform;

3. Set up the cloudstack management platform;

4. Build an openstack management platform;

5. Understand the concept of Conure VMware vcenter xen server Microsoft scvmm management platform;

6. Submit the comparison documents of various management platforms, including the following:

1) image management;

2) network management;

3) Storage Management;

4) node (host machine) management;

5) Virtual Machine Management;

6) API;


Stage 6 virtualization monitoring, alarm and Emergency Response

1. Learn about common Linux Performance Tools and practice writing a small script to enable sending an alarm when the NIC traffic exceeds 10 MB;

2. Learn how to view Windows system performance;

3. Learn the hpacucli magacli command to view the server RAID card status and disk health status;

4 cacti builds and monitors the host machine. If the threshold value is exceeded, an alarm is triggered. If the host machine does not respond, an alarm is triggered;

5. Set up zabbix to monitor the host machine. If it is set to exceed the threshold, an alarm is triggered. If the host machine does not respond, an alarm is triggered;

6. Divide fault levels and formulate emergency plans:

1) How to quickly discover and handle a VM fault;

2) How to quickly discover and handle host machine hard disk faults;

3) How to quickly discover and handle host fan and power supply faults;

4) How to quickly discover and handle host faults and data cannot be recovered;

5) How to quickly discover and handle network faults;


Phase 7 integration with business

1. Understand your business and draw out relevant business flowcharts;

2. Understand the pressure of your business and extract the Pressure Model Based on the pressure;

3. Test the environment and obtain relevant data for stability and performance verification;

4. Small-scale deployment to observe stability and performance data;

5. Expand the deployment scope, clarify responsibilities and processes with each interface, and conduct regular warning drills;

6. Summarize and submit the report in stages;


This article is from "xiaoli110 blog", please be sure to keep this source http://xiaoli110.blog.51cto.com/1724/1561107

Seven phases of KVM learning and application

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.