This article describes the xen bridging network and the tools and methods that can be used when a fault occurs:
The xen bridging network is flexible, but the logic and management aspects are still simple..
Bridging Device
Bridge: xenbr0, xenbr1, etc.
VIF, virtual network interface; generally named vif0.0, vif0.1, etc.
Veth/ETH, a virtual network device. It is generally named eth0, etc.
-install, virt-manager, etc) and the cloud computing framework Platform (such as openstack, opennebula, and eucalyptus) All use libvirt application interfaces at the underlying layer.
Libvirt is an application interface, daemon process, and management tool designed to manage platform virtualization technology more conveniently. It provides the following functions:
Management of virtual clients
Management of virtual networks and storage
Supports a variety of virtualization solutions, inc
module, through which the operations in the virtual machine are directly mapped to the physical hardware, this improves the performance of the operating system running in the virtual machine. For example:
KVM is a typical example of this acceleration mode. In the community, KVM and Xen are often compared, but they are completely different. We can see that the ma
Cracked Xen password, novice Xen at that time feel bad implementation, always think Xen character interface, not like a graphical interface, the Grub menu appears.
Xen Virtualization Platform XM a command parameter-C can solve this problem, can appear the character Interface Grub menu, this article only introduces one
1. View a configuration file for an existing virtual machine
1 The location of the virtual machine configuration file/etc/xen/test01
2 Virtual machine configuration file
# cat/etc/xen/test01
2. Copy Xen virtual machine disk files
# cp/data/test01.img/data/test02.img
3. Copy and modify the new virtual machine configuration file
# cd/etc/
Introduction to Nesting Virtualization
Nested virtualization (nested virtualization, recursive virtualization) is the process of running a hypervisor in a virtualized client, which is then virtualized to run a client. Nested virtualization includes not only the same hypervisor nesting (for example, KVM on KVM, Xen in Xen
KVM Virtual Machine IntroductionIntroduction to a KVM Virtual Machine (kernel-based Virtual Machine) is an open-source system virtualization module. It has been integrated into major Linux releases since Linux 2.6.20. It uses the Linux Scheduler for management, so compared with Xen, its core source code is few. KVM has
-Install and configure xen in Ubuntu
Lab environment:
Operating System: Ubuntu 12.04.4 lts x86_64
Kernel version: 3.2.0-23-generic
Install bridge-utils:
apt-getinstallbridge-utils
Configure the bridge network (use static IP address, where the real IP address is replaced by x. x ):
#Theloopbacknetworkinterfaceautoloifaceloinetloopback#Theprimarynetworkinterfaceautoeth0ifaceeth0inetstaticaddressX.X.X.Xnetmask255.255.255.128gatewayX.X.X.Xautoeth0:0i
Kvm Basic Principle 2The idea of KVM is to add a virtual machine management module on the basis of Linux, and reuse the completed process scheduling, memory management, IO management, and other parts in the Linux kernel, therefore, KVM is not a complete simulator, but a kernel plug-in that provides virtualization functions. The specific simulator work is complete
Note: It is recommended to add a virtual disk file to increase disk space by adding LVM logical volumes to the virtual machine. The creation process is as follows.
1. DD Creates a disk file
# dd If=/dev/zero bs=1024m count=4 >/data/test_01new.img
2. Turn off the test01 virtual machine
3. Modify the new virtual machine configuration file
# vi/etc/xen/test01
# Modification Instructions:
# (1) name
# (2) UUID changes the last few data
# (3)
My machine configuration: AMDAthlon (tm) 64Processor3000 + 1g memory G hard disk installed with Fedora7, but did not choose to install Xen basic package, so do not want to reinstall the operating system, you want to manually install the RPM package corresponding to the Xen to install the Xen. The Xen configuration reco
day's speech: http://v.csdn.hudong.com/linuxkernal2011/ page2.html), so Redhat wanted to make a big game of chess, so it got a libvirt, a library of the API for managing virtual machines, not just for KVM, but also for virtual machines under Xen. Regarding Libvirt, this is something, I will discuss in the following posting.
In summary: QEMU virtualization (Emulator) solution does not rely on
A description of virtualization1 Common virtualization softwareVMware seriesVMware Workstation, VMware vsphere (VMware ESXi), VMware Fusion (MAC)Xen Open Source Semi-virtualizedXenServer Commercial, Vendor Ctirx, Xen-basedKVM Open source based Linux kernel moduleHyper-V Business, vendor MicrosoftOpenvz Open source sharing a kernel based on Linux virtual machines and host hostsVirtualBox Open Source Sun Inc.
Reproduced:http://blog.csdn.net/chdhust/article/details/7557791VM VMs are based on Linux kernel virtualization and have been integrated into major releases of Linux since linux2.6.20. It is managed using Linux's own scheduler, so its core source code is few compared to Xen. KVM Virtualization requires hardware support (such as Intel VT Technology or AMD V technology) and is hardware-based full virtualizatio
KVM-Installation and preliminary use, KVM-Installation and Use
KVM is short for Kernel-based Virtual Machine. It is an open-source virtualization module. Today I will install KVM ON THE CentOS7 operating system. Below are my installation steps.
I. Environment Information
System: CentOS 7.2 IP: 10.0.0.12/24
When install
Openstack, KVM, qemu-KVMAndLibvirtRelationship:
KVM Is the lowest level Hypervisor , It is used to simulate CPU , It lacks Network And perimeter I/O So we cannot use it directly. QEMU-KVM Is a complete simulator, It is based on KVMThe above, It provides the complete network and I/O Supported .Openstack Not directly controlled Qemu-
:
Python gt; = 2.4-virt-manager is written in python!
Pygtk2> = 1.99.12-6-the python gtk2 bindings are used for the UI
Gnome-python2-gconf> = 1.99.11-7-gconf stores application preferences
Libvirt-Python> = 0.4.0-libvirt is for talking to xen, qemu, KVM and other virtualization backensd
Export-Python> = 0.61-optionally expose a service on the bus for control of the UI
Gnome-Python-desk
The user space interface is xapi. py.
The procedure of the member API functions of xapi. py is as follows:
1. Call connect and log on to xend through serverproxy RPC
2. Execute and execute func (* ARGs). Among them, func and ARGs are input parameters, and * ARGs indicates variable length parameters.
Xapi. py supports the following API commands:
Commands = {'Host-info': ('', 'Get xen host info '),'Host-set-name': ('', 'set host name '),'Pif
With the extensive use of virtualization technology, the use of virtualization thinking and start more, such as direct expansion of disk space in this case, I recommend a new disk to add a way to fit the normal physical machine to use the way.
Another way to increase disk space is to extend the space of an existing disk directly, in this way.
1. View the virtual machine configuration file
[Root@node1 data]#
[Root@node1 data]# XM List
Name ID Mem (MiB) Vcpus state time (s)
Domain-0 0 1744 1
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.