Install the KVM Virtual Machine in CentOS 6
I. KVM Introduction
KVM is an open-source software. It is short for kernel-based virtual machine (kernel-based virtual machine). It is an open-source system virtualization module that is fully virtualized based on hardware, however, hardware support is required (such as Intel VT or amd v ). Linux 2.6.20 and later are in
Use KVM + Qemu to build a virtual machine in Ubuntu
Use KVM + Qemu to build a virtual machine in Ubuntu
1. Check whether the cpu is supported and output vmx. In the virtual machine, remember to check the IntelVT technology to the options
Grep vmx/proc/cpuinfo
2. Install kvm and qemu
Apt-get install kvm qemu libvirt-bin
Label: KVM centos
Centos6.3 install KVM
1. Install KVM1. You can choose to install KVM when installing centos6.3.2. If KVM is not installed, install it as follows:[Create a local Yum source]Mounting ISO filesMount-o loop-T iso9660 CentOS-6.3-x86_64-bin-DVD1.iso/mntSet local Yum SourceCreate the "any file name. Repo"
majors to study the operating system kernel. Developers can take full advantage of the Linux kernel has been implemented by the mature features, on the basis of the design, implementation of their own kernel modules, in order to expand the functionality of the kernel to meet their own requirements. KVM, for example, exists as a kernel module, adding virtualization functionality to the Linux kernel.
Basic model of X86 platform virtualization
First, how to install KVM
Here I am using VMware workstaion to install a Linux virtual machine on a Windows system for KVM installation operations.First, we need to know if the CPU on our installed Linux system supports KVM virtualization technology, so we need the following command:
Egrep ' VMX|SVM '/proc/cpuinfo
If the input command does not have a flags hin
KVM nested virtualization Configuration
(1) check that the virtual machine A does not support virtualization. Run the lscpu command.
Virtualization is not supported because there is no VT-X identifier
(2) Enable the nested support on the Physical Machine
# Check whether the current physical machine supports nested
Cat/sys/module/kvm_intel/parameters/nested
N # Not Supported
# Enable the physical machine to support nested
Echo "options
When I decided to install the kvm Virtual Machine on CentOS 6.3, I first went to the official website to find the installation steps, without much effort, I found the article "Getting KVM to run on your machine" and followed the steps above to start the installation. According to this article, you only need to perform the following three steps to install and run the kvm
Introduction to Migration:As one of the pioneers and market leaders in system virtualization, VMware has a strong and easy-to-use virtualization product and is known and used by many people. However, the drawback is that their enterprise-class virtualization Products Esx/esxi Series license licensing fees are more expensive. Whether you're considering migrating from VMware to a KVM virtualization solution, from the point of view of
directories.
Any user on the all_squash client accesses the shared directory and maps it to an anonymous user.
Anonuid maps the user on the client to the user of the specified local user ID.
Anongid maps users on the client to the specified local user group ID.
Sync data is synchronously written to memory and hard disk.
The async data is saved in the memory instead of directly written to the hard disk.
Insecure allows unauthorized access from this machine.
Because NFS is used for storage, we mu
KVM, short for Kernel-basedVirtualMachine, is a Kernel-based virtual machine. It was an Israeli company named Qumranet acquired by RedHat in September. It started with a virtualization technology. KVM has not been in the virtualization field for a long time. How will it develop in the future. In this issue, we interviewed two members of the OVA open virtualization alliance, Red Hat and IBM, to hear their op
CentOS under KVM Trial
Recently tidied up the company's several servers, because the machine less application, always feel the server resource is tight, so the pain determined to use the virtual machine. Examined the decision to use KVM, because the machine configuration is not very high, the use of KVM performance will be better.
The basic system chooses CentO
650) this.width=650; "style=" Border:0px;vertical-align:middle;color: #3f3f3f; font-family: ' Microsoft Yahei '; Font-size:15px;line-height:21.75px;text-align:justify;white-space:normal;background-color: #f6f6f6; "title=" "src = "Http://7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160304-1457044908090007656.png"/>KVM is the most widely used Hypervisor in OpenStack, and this section describes how to build a
Reference: Http://wenku.baidu.com/link?url=xAObzE8XuDfGJsCDk6vAnVnp91glt_bgvK6saMC4WS2BX7_ Du54ovido0uth0ipekovsfsuqsas62ruunvfvokgl5p6k3omznnmomgapossSummarize:1.KVM kernel Modules2.QEMU virtualization software: In user space, the CPU of virtual power can be on x863.QEMU-KVM: The user space tool that can control the kernel module, the user cannot go directly to the KVM
First, the environmentSystem: CentOS 6.4x64 Minimized installationip:192.168.3.45Second, the configuration of the virtualized environmentSee if KVM virtualization is supported[[emailprotected]~]#egrep "VMX|SVM" -- color=always/proc/cpuinfo #命令执行有结果返回, the ruler supports KVM virtualization Flags:fpuvme depsetscmsrpaemcecx8apicsepmtrrpgemca cmovpatpse36clflushdtsmmxfxsrssesse2ss syscallnxrdtscplmconstant_tscu
Install
Apt-get install build-essential
This qem-kvm version is qemu-kvm-1.2.0
Http://sourceforge.net/projects/kvm/files/qemu-kvm/
Extract
Tar-xzf qemu-kvm-1.2.0.tar.gz
Root @ compute :~ # Cd qemu-kvm-1.2.0/
You can run the./conf
Steps for using the client separately
1) http://iamspk.blogspot.com/2011/05/kvm-autotest.html
Apt-get install qemu-kvm libvirt-bin
KVM Autotest is a framework for fully automatic testing. it is designed primarily to + test the Linux kernel, though it is useful for your other functions such as + qualifying new hardware. it's an open-source project under the GPL an
Live Migration is also called Online Migration ). It is the process of moving a virtual machine system from one physical host to another while ensuring the normal operation of services on the virtual machine. Unlike static migration, to ensure the availability of Virtual Machine services during migration, the migration process has only a very short downtime.Currently, the mainstream dynamic migration tools www.2cto.com rely on centralized shared external storage devices such as SAN (storage area
This paper mainly introduces the static and dynamic migration of the KVM virtual machine, which is as follows:
One, KVM virtual machine static migration
1. The static migration is the virtual machine in the Shutdown state, copy virtual machine virtual disk files and configuration files to the target virtual host, the implementation of the migration.
(1) Virtual hosts use local storage to store virtual ma
Summary: The main introduction of KVM and Virt-manager on the server side and client installation deployment, easy to multiple virtualized physical host management.
1.KVM deployment on the server side (for RHEL6 systems, local update sources can be built)KVM virtualization for servers first need to verify that the physical hardware of the server is supported#cat/
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.