virtual machine instance consumes a port number, or you can specify the port used by the virtual machine instance)
Systemctl Disable Firewalld.service; Systemctl Stop Firewalld.service
Create a Mirror Authoring directory
Mkdir/opt/image; Cd/opt/image
Download Virtio driver Floppy disk
Wget-o virtio-win-drivers.vfd https://launchpad.net/kvm-guest-drivers-windows/20120712/20120712/+download/
machine;Allocating memory for the virtual machine;Registers for reading and writing Vcpus;Injecting an outage into the vcpus;Run Vcpus;◇QEMU Process: A component that works in user space and is used to emulate the I/O class hardware Device of PC;QEMU full name Quick Emulator. is a standalone virtual software that can run virtual machines independently (KVM is not required at all). Kqemu is the software's acceleration software. KVM does not require QEMU to perform virtual processing, but it requ
VULTR Support free trial, a registration on the gift of 5 knives, but to create a VPS, the need to bind credit cards, binding when the claim is not consumption, but will be crossed 2.5 knives.
Installing Windows 2008 on vultr is pretty straightforward, follow the tutorial step-by-step, the operation is still very easy, the overall time consuming is mainly in the upload image, upload a 2G to the third party on the web, and then downloaded from the vultr background, this is a relatively
Installing Windows 2008 on vultr is pretty straightforward, follow the tutorial step-by-step, the operation is still very easy, the overall time consuming is mainly in the upload image, upload a 2G to the third party on the web, and then downloaded from the vultr background, this is a relatively long, And sometimes, maybe the same mirror, download to the vultr will appear in size 0, you have to download again.
Preparation Tool:
Mirror image of win2008: http://msdn.itellyou.c
OpenStack Create a Windows mirror
Create a Windows Mirror
Create an IMG file
Kvm-img create-f qcow2 Win7.qcow2 30G
Download Virtio Driver
wget Http://alt.fedoraproject.org/pub/alt/virtio-win/archives/virtio-win-0.1-59/virtio-win-0.1-59.isowget http://www.linuxwind.org/download/
Windows installation Qemu-gaadd virtio serial port in virtual machine configuration#virsh Edit Instance-nameAdd the following configuration in the devices,1'Unix'>2'Bind'Path='/var/lib/libvirt/qemu/org.qemu.guest_agent.0.instance-name.sock'/>3'Virtio'Name='org.qemu.guest_agent.0'/>4'virtio-serial'Controller='0'bus='0'port='1'/>5Installing the QEMU Guest Agent service#wget Https://fedorapeople.org/groups/vir
when creating an instance using Windows 2003 mirroring in OpenStack , the same SID will occur, the same SID can cause network and security issues, in order to prevent this situation, the creation of the Mirror requires Windows 2003 encapsulation, this article is a detailed description of the processCreate an IMG fileFirst create an IMG fileMake ImageInstallation Systemthe next operation requires VIRTIO-WIN-1.1.16.VFD and
Create a 10G-size image file with kvm-img:kvm-img create-f qcow2 win2008.img 10Gbecause Windows does not have a default Virtio driver, it is downloaded firstwget Http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/virtio-win-0.1-15.isowget http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/
memory and hard drive
No_subtree_check: If the root directory is shared, subdirectories are not checked
No_root_squash: If the client is root, then he has root permissions on the directory
3. Reboot Server for NFS
Sudo Service Nfs-kernel-server Restart
4. Carry on the test of Mount
Sudo mount-t NFS Localhost:/source/rootfs/mnt
Ls-l/mnt
5. Uninstall
Sudo umount/mnt
The third way to access host-side shared folders via 9p-virtio
9p-
Example Using spice and qxl for improved graphics experience in the guest
This example is based on qemu-KVM (0.15.0) as installed in fedora 15. Will first show how to do this manually, and second how to do it using the virt-manager tool.
For extensive details on spice, visit http://spice-space.org [Edit]
Manually, using qemu-KVM command line directly
The simplest part is adding the qxl graphics device to the guest. By adding
#/Usr/bin/qemu-KVM-M 1024-name F15-drive file =/images/f15.img
entered above.If the server restarts, perform the following command to recover:CD devstack;./rejoin-stack.sh------------------------------------------------------------------------------------------8. After a few steps, the environment is set up, and then you have to create a mirror and build the cloud host, you can toss on other computers9. Install the relevant software sudo apt-get install python-novaclient python-glanceclient Swift QEMU-KVM10. Set Environment variables:Export Service_token=a
Abstract: virtual machines can generate several virtual network device types, such as e1000, rtl8139, and virtio, which are purely virtualized. What is the efficiency of Virtual Machine Communication when different network devices are loaded? This document records the test process and results.
Introduction
KVM virtual machines can generate several virtual network device types, such as e1000, rtl8139, virtio
vdagent communications on the guest side run over a single pipe whichGets presented to the guest OS as a virtio serial port.
To sum up its functions:
Copy Paste between guest and client
Automatic guest resolution adjustment while entering fullscreen Mode
Guest side mouse which allows you to move mouse continuously within guest and client without pressing sihft + F12
Start with a normal KVM command and add the following option
The performance issues of device I/O virtualization on KVM have long existed, and the Virtio developed by Rusty Russell has attracted the attention of developers and has gradually been accepted by virtualization platforms such as KVM as the main general framework for the virtualization of I/O.
Virtio uses Virtqueue to implement its I/O mechanism, and each virtqueue is a queue that hosts a large amount of da
hugepage. social self-method: sysctl-W sys. kernel. mm. transparent_huge ....
3. space optimization space-KSM: Kernel same-page merging
The kernel process ksmd periodically scans the memory and merges pages with the same content to reduce the usage of physical memory.
I/O optimization:
1. Storage 2. Data Exchange excuse between networks to simplify the process
There is no need to modify the guest OS for full virtualization alization technology, so there is no special cooperation between the vi
Installing the WINDOWS2012R2 KVM virtual machine on the CentOS61: Upload Cn_windows_server_2012_r2_vl_with_update_x64_dvd_6052729.isoDownload driver diskhttps://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.141-1/ Virtio-win-0.1.141.iso2: Create a virtual machinesudo virt-instal
/instances/5d6cb926-5237-4b73-a7b4-e9af851023e7/disk.
At first, the new image is empty, and the content read is read from the old image.
When a data cluster is written and changes occur, a new data cluster is created in the new image, which is the meaning of copy on write. Snapshot
Snapshot is actually an application of copy on write, but the two are subtly different.
Broadly speaking, there are two kinds of snapshot, one time internal snapshot, one is external snapshot
Internal snapshot is the
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.