博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

随笔分类 -  xen

摘要:FeaturesXen Cloud PlatformXenServer FreeXenServer AdvancedXenServer EnterpriseXenServer PlatinumCost/LicensingFree/Open Source (Multiple Licenses1)Free/Citrix EULAPaid/Citrix EULAXenServer hypervisorXXXXXIntelliCacheXXXXXResilient distributed management architectureXXXXXVM disk snapshot and revertXX 阅读全文

posted @ 2012-04-21 15:58 algorithmer 阅读(437) 评论(0) 推荐(0)

摘要:apt-get install xen-tools xen-utils-common xenwatch libxen-dev xen-docs-4.1 xen-hypervisor-4.1-amd64 xen-utils-4.1 xenstore-utils bridge-utilsgrub:修改set default="2",即启动下面的内核:submenu "Xen 4.1-amd64" {menuentry 'Ubuntu GNU/Linux, with Xen 4.1-amd64 and Linux 3.0.0-12-generic 阅读全文

posted @ 2012-04-21 15:55 algorithmer 阅读(316) 评论(0) 推荐(0)

摘要:介绍:NAMExentrace - capture Xen trace buffer dataSYNOPSISxentrace[OPTIONS] [FILE]DESCRIPTIONxentraceis used to capture trace buffer data from Xen. The data is output in the following binary format (host endian): CPU(uint)TSC(u64)EVENT(u32)D1D2D3D4D5(allu32)Where CPU is the processor number, TSC is the 阅读全文

posted @ 2012-01-17 18:21 algorithmer 阅读(444) 评论(0) 推荐(0)

摘要:简介libxenctrl是一个C库,它提供了一些简单易用的API,使用户程序可以方便的和Hypervisor进行通信。它的工作原理很简单,封装了dom0中的/proc/xen/privcmd,/dev/xen/evtchn以及/dev/xen/gntdev提供的IOCTL接口。Ø编程步骤:²/proc/xen/privcmd1.xc_interface_open()打开/proc/xen/privcmd,获得文件描述符。2.xc_sysctl()填充xen_sysctl结构体,发送ioctl请求。3.xc_interface_close()关闭1中打开的文件描述符。 阅读全文

posted @ 2012-01-17 18:03 algorithmer 阅读(401) 评论(0) 推荐(0)

摘要:创建虚机xm create命令的选项--config (-F) 配置文件的路径-n (--dryrun) config_file 显示python配置文件对应的SXP格式(该文件还会在/var/lib/xend/domains/UUID/config.sxp保存一份,而且/var/lib/xend/domains/UUID/config.sxp保存的配置更为全面。-s (--skipdtd) 忽略XML DTD检测,启动后可减少虚机的创建时间-p (--paused) 创建后不自动启动--vncviewer 自动连接vnc display-c (--console_autoconnect)自动 阅读全文

posted @ 2012-01-12 20:30 algorithmer 阅读(2818) 评论(0) 推荐(1)

摘要:资源准备windows pv-driver源码:http://xenbits.xensource.com/ext/win-pvdrivers.hgWDK:http://msdn.microsoft.com/en-us/windows/hardware/gg487463.aspxMercurial:(用于下载windows pv-driver源码)http://mercurial.selenic.com/downloads/7-zip:http://sparanoid.com/lab/7z/或者http://www.skycn.com/down.php?uri=http://118.72.254 阅读全文

posted @ 2011-12-29 16:58 algorithmer 阅读(596) 评论(0) 推荐(0)

摘要:所有managed domain在创建的时候(xm new)会将其配置信息写入:/var/lib/xend/domains/UUID/config.sxp这样,在dom0重启的时候,xend会将/var/lib/xend/domains下的所有虚机自动创建出来。该文件的示例如下:(domain (domid 49) (vcpus_params ((cap 0) (weight 256))) (PV_args 3) (PV_bootloader /usr/bin/pygrub) (cpus (() () () () () () () ())) (VCPUs_live 1) (act... 阅读全文

posted @ 2011-11-27 16:54 algorithmer 阅读(226) 评论(0) 推荐(0)

摘要:How to auto start XEN VMs after reboot of DOM 0This document(3466408)is provided subject to thedisclaimerat the end of this document.EnvironmentNovell SUSE Linux Enterprise Server 10 Service Pack 1Novell SUSE Linux Enterprise Server 10 Service Pack 2Novell SUSE Linux Enterprise Server 10 Service Pac 阅读全文

posted @ 2011-11-27 16:42 algorithmer 阅读(211) 评论(0) 推荐(0)

摘要:Problem 1: UDP, VLANs and Lack of Flow ControlProblem VLAN devices do not support scatter-gather This means the that each skb needs to be linearised and thus cloned if they are trasmitted on a VLAN device Cloning results in the original fragments being released This breaks Xen's netfront/netback 阅读全文

posted @ 2011-11-27 15:23 algorithmer 阅读(143) 评论(0) 推荐(0)