<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Martin&#039;s Blog &#187; Infrastructure</title>
	<atom:link href="http://martinliu.cn/category/infrastructure/feed" rel="self" type="application/rss+xml" />
	<link>http://martinliu.cn</link>
	<description>如何以服务的视角管理IT？</description>
	<lastBuildDate>Sun, 13 May 2012 16:36:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>EdgeSight for Load Testing3.8.1中文教程</title>
		<link>http://martinliu.cn/2012/05/edgesight-for-load-testing3-8-1user-guide.html</link>
		<comments>http://martinliu.cn/2012/05/edgesight-for-load-testing3-8-1user-guide.html#comments</comments>
		<pubDate>Sun, 13 May 2012 16:31:45 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Edgesight]]></category>
		<category><![CDATA[load testing]]></category>
		<category><![CDATA[XenApp]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[压力测试]]></category>
		<category><![CDATA[手册]]></category>
		<category><![CDATA[教程]]></category>
		<category><![CDATA[虚拟应用]]></category>
		<category><![CDATA[虚拟桌面]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51651</guid>
		<description><![CDATA[点击此处下载本中文教程： ； 本文件在XenApp6.5的安装光盘中有，用一个中文的操作系统找到“EDGESIGHT FOR LOAD TESTING.MSI” 安装完之后，就能在程序打开后按F1查看此文件了。 这个中文帮助文档写的非常详细，相信任何合作伙伴的工程师都能够学会用这个工具做XenApp或者是XenDesk的压力测试。下面来讲几点需要注意的事情。最好找一个物理的服务器去安装本工具，物理服务器能够具有比较强的处理能力，能模拟出足够多的用户并发的压力，从而达到测试的目的，而且有不会因为自身的资源使用影响其它任何其它。千万不要把这个压力生成器放到你的XenApp系统内的某个虚拟机里面。另外注意网络连接情况，最好摸清楚从压力生成服务器到XenApp所在服务器的每一跳所经过的网络设备，千万不要经过10M或者100M的低级交换机，测试前先ping下，看看延迟和丢包如何。最后到XenApp服务器这一端了，不要想任何系统默认安装的配置就能达到理想的性能压力测试效果，做压力测试前一定要做优化，性能优化文档查查KB。在录制脚本的时候，要选择最短，最简单操作路径，避免任何无用或者无意义的操作，脚本天生不是完美的，也需要优化，删除掉那些不必要的指令。在跑压力脚本前，先检查被测试系统当前的资源使用情况，在跑的过程中使用监控工具全面监控，及时识别出被测试系统的各个服务器上在网络、内存、CPU和I/O等这些关键点上，是否出现性能瓶颈。尽可能的和客户沟通这些瓶颈，做出及时的参数或者配置硬件配置调整。 &#160; No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://martinliu.cn/2012/05/edgesight-for-load-testing3-8-1user-guide.html/%e6%9e%b6%e6%9e%84" rel="attachment wp-att-51652"><img class="alignnone size-full wp-image-51652" title="ES系统架构" src="http://martinliu.cn/wp-content/uploads/2012/05/架构.png" alt="" width="453" height="276" /></a></p>
<p>点击此处下载本中文教程：<a class="downloadlink" href="http://martinliu.cn/downloads/EdgeSight-for-Load-Testing3.8.1%E4%B8%AD%E6%96%87-%E6%95%99%E7%A8%8B-%E6%89%8B%E5%86%8CController.chm_.zip" title="Version1.0 downloaded 24 times" >EdgeSight for Load Testing3.8.1中文-教程 (24)</a> ； 本文件在XenApp6.5的安装光盘中有，用一个中文的操作系统找到“EDGESIGHT FOR LOAD TESTING.MSI” 安装完之后，就能在程序打开后按F1查看此文件了。</p>
<p>这个中文帮助文档写的非常详细，相信任何合作伙伴的工程师都能够学会用这个工具做XenApp或者是XenDesk的压力测试。下面来讲几点需要注意的事情。最好找一个物理的服务器去安装本工具，物理服务器能够具有比较强的处理能力，能模拟出足够多的用户并发的压力，从而达到测试的目的，而且有不会因为自身的资源使用影响其它任何其它。千万不要把这个压力生成器放到你的XenApp系统内的某个虚拟机里面。另外注意网络连接情况，最好摸清楚从压力生成服务器到XenApp所在服务器的每一跳所经过的网络设备，千万不要经过10M或者100M的低级交换机，测试前先ping下，看看延迟和丢包如何。最后到XenApp服务器这一端了，不要想任何系统默认安装的配置就能达到理想的性能压力测试效果，做压力测试前一定要做优化，性能优化文档查查KB。在录制脚本的时候，要选择最短，最简单操作路径，避免任何无用或者无意义的操作，脚本天生不是完美的，也需要优化，删除掉那些不必要的指令。在跑压力脚本前，先检查被测试系统当前的资源使用情况，在跑的过程中使用监控工具全面监控，及时识别出被测试系统的各个服务器上在网络、内存、CPU和I/O等这些关键点上，是否出现性能瓶颈。尽可能的和客户沟通这些瓶颈，做出及时的参数或者配置硬件配置调整。</p>
<p>&nbsp;</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2012/05/edgesight-for-load-testing3-8-1user-guide.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XenApp 6.5 Mobility Pack and Mobile App SDK v1</title>
		<link>http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html</link>
		<comments>http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html#comments</comments>
		<pubDate>Mon, 05 Mar 2012 15:06:33 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Mobility]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[XenApp]]></category>
		<category><![CDATA[XenDesktop]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51637</guid>
		<description><![CDATA[XenApp 6.5 Mobility Pack 是可以安装在XenApp服务器上的一个扩展包，它能够使企业应用调用到移动终端设备上的原生功能，包括：GPS，摄像头，原生的界面控件。这个扩展包增加的策略能够和终端设备交互，控制相关传感器和功能。 XenApp 6.5 Mobile Application SDK 是一个开发包，程序猿可以使用一个微软Virtual Studio的开发环境，使用C或者C++语言来开发出运行在移动设备上的企业应用。 百闻不如一见，下面是一个实例程序。  此程序是一个供水设施的巡检系统，中间部分是告警事件，按时间先后顺序显示了出现故障的GPS坐标，告警设备类型等信息。左边显示的是这些告警的地点在gogle map上的位置，下面是设备的图片。屏幕的右侧是事件处理区域，可以让巡查人员编辑和处理每一条告警事件，右下角是使用移动摄像头拍照记录的部分。这个应用是透过Citrix Receiver连接到虚拟应用发布服务器上使用的，虚拟应用发布服务器上发布了此应用的客户端，次客户端在和后台的应用服务器交互，做信息的存储和处理等业务逻辑操作。以上是我对改应用的理解。原帖见：http://blogs.citrix.com/2011/10/25/announcing-the-xenapp-6-5-mobile-application-sdk-mobility-pack/ 下面在举一个例子：对比一下使用了移动应用开发包优化过后的XenDesktop虚拟桌面和为优化的差异，细节下差异一目了然。  For example, with this pack, XenApp can intelligently recognize an Android or iOS tablet as the endpoint and render Tablet Optimized Desktops, making the experience much more natural for the user.  From this:   to this:   No<p><a href="http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html' rel='bookmark' title='如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK'>如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK</a></li>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aeandroid-emulator%e7%94%a8%e4%ba%8e%e8%b0%83%e8%af%95citrix-xenapp-6-5%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8sdk.html' rel='bookmark' title='如何配置Android Emulator用于调试Citrix XenApp 6.5移动应用SDK'>如何配置Android Emulator用于调试Citrix XenApp 6.5移动应用SDK</a></li>
<li><a href='http://martinliu.cn/2012/01/personalization-ringcube.html' rel='bookmark' title='Personalization RingCube'>Personalization RingCube</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div><span style="font-family: Arial; color: #1f1f1f;">XenApp 6.5 Mobility Pack 是可以安装在XenApp服务器上的一个扩展包，它能够使企业应用调用到移动终端设备上的原生功能，包括：GPS，摄像头，原生的界面控件。这个扩展包增加的策略能够和终端设备交互，控制相关传感器和功能。</span></div>
<p><span style="font-family: Arial; color: #1f1f1f;">XenApp 6.5 Mobile Application SDK 是一个开发包，程序猿可以使用一个微软Virtual Studio的开发环境，使用C或者C++语言来开发出运行在移动设备上的企业应用。</span></p>
<p><span style="font-family: Arial; color: #1f1f1f;">百闻不如一见，下面是一个实例程序。</span> 
<a href="http://martinliu.cn/wp-content/gallery/citrix/avanade.png" title="" class="shutterset_singlepic1333" >
	<img class="ngg-singlepic" src="http://martinliu.cn/wp-content/gallery/cache/1333__320x240_avanade.png" alt="avanade" title="avanade" />
</a>
 此程序是一个供水设施的巡检系统，中间部分是告警事件，按时间先后顺序显示了出现故障的GPS坐标，告警设备类型等信息。左边显示的是这些告警的地点在gogle map上的位置，下面是设备的图片。屏幕的右侧是事件处理区域，可以让巡查人员编辑和处理每一条告警事件，右下角是使用移动摄像头拍照记录的部分。这个应用是透过Citrix Receiver连接到虚拟应用发布服务器上使用的，虚拟应用发布服务器上发布了此应用的客户端，次客户端在和后台的应用服务器交互，做信息的存储和处理等业务逻辑操作。以上是我对改应用的理解。原帖见：<a href="http://blogs.citrix.com/2011/10/25/announcing-the-xenapp-6-5-mobile-application-sdk-mobility-pack/">http://blogs.citrix.com/2011/10/25/announcing-the-xenapp-6-5-mobile-application-sdk-mobility-pack/</a></p>
<p>下面在举一个例子：对比一下使用了移动应用开发包优化过后的XenDesktop虚拟桌面和为优化的差异，细节下差异一目了然。</p>
<p> For example, with this pack, XenApp can intelligently recognize an Android or iOS tablet as the endpoint and render Tablet Optimized Desktops, making the experience much more natural for the user.  From this:</p>
<p> <a href="http://martinliu.cn/?attachment_id=174177488" rel="attachment wp-att-174177488"><img src="http://cdn.ws.citrix.com/wp-content/uploads/2011/12/prev-start-menu-300x225.png" alt="" width="300" height="225" /></a></p>
<p>to this:</p>
<p> <a href="http://martinliu.cn/?attachment_id=174177489" rel="attachment wp-att-174177489"><img src="http://cdn.ws.citrix.com/wp-content/uploads/2011/12/pack-start-menu-300x225.png" alt="" width="300" height="225" /></a></p>
<p>No more pinching and zooming to navigate windows intended for a full desktop interface! // from <a href="http://blogs.citrix.com/2011/12/19/mobilize-your-enterprise-with-the-xenapp-6-5-mobility-pack/">http://blogs.citrix.com/2011/12/19/mobilize-your-enterprise-with-the-xenapp-6-5-mobility-pack/</a></p>
<p class="box ">Citrix 移动应用开发包能为我们做什么：The Citrix Mobile Application SDK provides over 50 specific mobile API’s that can be used from any enterprise Windows development environment.  These APIs allow developers to create touch enabled UI’s for new and existing enterprise applications.  With these new APIs the applications can leverage the unique capabilities of smartphones and tablets, allowing full access to device sensors and capabilities such as GPS, camera, and accelerometer.  This sensor information can then be relayed back to and used by an enterprise application hosted on XenApp in the data center. This capability is novel and innovative as up till now it has not been possible for Windows applications in the datacentre to access these new device capabilities.</p>
<p>从那里能够的到Citrix 移动应用开发包：<a href="http://community.citrix.com/display/xa/XenApp+6.5+Mobile+Application+SDK">http://community.citrix.com/display/xa/XenApp+6.5+Mobile+Application+SDK</a> 下载SDK需要注册免费的mycitrix账号，登陆后下载。</p>
<p>本文的参考文章：</p>
<ul>
<li><a href="http://blogs.citrix.com/2011/10/25/announcing-the-xenapp-6-5-mobile-application-sdk-mobility-pack/">http://blogs.citrix.com/2011/10/25/announcing-the-xenapp-6-5-mobile-application-sdk-mobility-pack/</a></li>
<li><a href="http://blogs.citrix.com/2011/12/19/mobility-pack-and-mobile-app-sdk-v1-released/">http://blogs.citrix.com/2011/12/19/mobility-pack-and-mobile-app-sdk-v1-released/</a></li>
<li><a href="http://blogs.citrix.com/2011/12/19/mobilize-your-enterprise-with-the-xenapp-6-5-mobility-pack/">http://blogs.citrix.com/2011/12/19/mobilize-your-enterprise-with-the-xenapp-6-5-mobility-pack/</a></li>
</ul>
<p>&nbsp;</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html' rel='bookmark' title='如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK'>如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK</a></li>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aeandroid-emulator%e7%94%a8%e4%ba%8e%e8%b0%83%e8%af%95citrix-xenapp-6-5%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8sdk.html' rel='bookmark' title='如何配置Android Emulator用于调试Citrix XenApp 6.5移动应用SDK'>如何配置Android Emulator用于调试Citrix XenApp 6.5移动应用SDK</a></li>
<li><a href='http://martinliu.cn/2012/01/personalization-ringcube.html' rel='bookmark' title='Personalization RingCube'>Personalization RingCube</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK</title>
		<link>http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html</link>
		<comments>http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html#comments</comments>
		<pubDate>Mon, 05 Mar 2012 14:38:20 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[6.5]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Mobility]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51632</guid>
		<description><![CDATA[继续转帖自学，可惜我没有空自己搭这个开发环境。不过我最想开发的一个应用是：一个记录我做DDMD的应用，在每个DDMD现场我都拍一张照片，记录一下现场的人，记录一下做Demo的坐标。这样我可以看看，我一个月下来做了多少次DDMD。 From http://www.jasonconger.com/ In this post, we will go over the installation steps of the Citrix XenApp 6.5 Mobile Application SDK, explorer what is added to the XenApp 6.5 server during installation, and compile one of the samples given in the SDK. Now that we have setting up an Android emulatorout of the way, let’s<p><a href="http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html' rel='bookmark' title='XenApp 6.5 Mobility Pack and Mobile App SDK v1'>XenApp 6.5 Mobility Pack and Mobile App SDK v1</a></li>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aeandroid-emulator%e7%94%a8%e4%ba%8e%e8%b0%83%e8%af%95citrix-xenapp-6-5%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8sdk.html' rel='bookmark' title='如何配置Android Emulator用于调试Citrix XenApp 6.5移动应用SDK'>如何配置Android Emulator用于调试Citrix XenApp 6.5移动应用SDK</a></li>
<li><a href='http://martinliu.cn/2012/01/personalization-ringcube.html' rel='bookmark' title='Personalization RingCube'>Personalization RingCube</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>继续转帖自学，可惜我没有空自己搭这个开发环境。不过我最想开发的一个应用是：一个记录我做DDMD的应用，在每个DDMD现场我都拍一张照片，记录一下现场的人，记录一下做Demo的坐标。这样我可以看看，我一个月下来做了多少次DDMD。</p>
<blockquote><p>From <a href="http://www.jasonconger.com/">http://www.jasonconger.com/</a></p></blockquote>
<p>In this post, we will go over the installation steps of the Citrix XenApp 6.5 Mobile Application SDK, explorer what is added to the XenApp 6.5 server during installation, and compile one of the samples given in the SDK.</p>
<div>Now that we have <a title="Setting up an Android Emulator for use with Citrix XenApp 6.5 Mobile Application SDK" href="http://www.jasonconger.com/post/setting-up-an-android-emulator-for-use-with-citrix-xenapp-mobile-application-sdk/">setting up an Android emulator</a>out of the way, let’s take a look at installing the Citrix XenApp 6.5 Mobile Application SDK and what the install does to a XenApp 6.5 server.There are 2 parts that you need in order to develop applications that utilize mobile capabilities on a XenApp 6.5 server:</p>
<ol>
<li>The <a title="Citrix XenApp 6.5 Mobility Pack" href="http://citrix.com/English/ss/downloads/details.asp?downloadId=2317077&amp;productId=186" target="_blank">XenApp 6.5 Mobility Pack</a> – this is the part that goes on the XenApp 6.5 server.</li>
<li>The <a title="Citrix XenApp 6.5 Mobile Application SDK" href="http://citrix.com/English/ss/downloads/details.asp?downloadId=2317078&amp;productId=186" target="_blank">Citrix XenApp 6.5 Mobile Application SDK</a> – this is the part you use to develop mobile applications. </li>
</ol>
<h2>XenApp 6.5 Mobility Pack</h2>
<p>When you install the Mobility Pack, 2 new services are added to your XenApp server:</p>
<ol>
<li>Citrix Location and Sensor Virtual Channel Service – this service enables a server side application to leverage Location and Sensor capabilities.</li>
<li>Citrix Mobile Receiver Virtual Channel Service – this service enables a server side application to use mobile device capabilities.</li>
</ol>
<p>These 2 virtual channels are kept separate for security reasons.  Maybe you want to have mobile device capabilities available, but you cannot enable GPS features due to security compliance.  Location services are disabled on the Citrix Receiver by default. The way to enable the location capabilities is via Citrix policies.  In order to use these policies, you will need to install the Citrix Group Policy Client-Side Extensions.  These extensions are part of the XenApp Mobility Pack .zip file.</p>
<p>This policy is located under ICA\Client Sensors\Location. Notice that by default, location is disabled.</p>
<p> 
<a href="http://martinliu.cn/wp-content/gallery/citrix/citrixmobilepolicy1.png" title="" class="shutterset_singlepic1337" >
	<img class="ngg-singlepic" src="http://martinliu.cn/wp-content/gallery/cache/1337__320x240_citrixmobilepolicy1.png" alt="citrixmobilepolicy1" title="citrixmobilepolicy1" />
</a>
</p>
<h2>Citrix XenApp 6.5 Mobile Application SDK</h2>
<p>So, the <a title="Citrix XenApp 6.5 Mobile Application SDK Requirements" href="http://community.citrix.com/display/xa/XenApp+6.5+Mobile+Application+SDK+-+Requirements" target="_blank">requirements for the Citrix XenApp 6.5 Mobile Application SDK</a> state that you need Windows 7 64 bit (and the MSI is even named XenApp65MobileApplicationSdk64), but it installs to ..\Program Files (x86)\Citrix\MobilitySDK\.  I tried installing the SDK on a Windows 7 32 bit system as well and it worked, so I’m not sure if something absolutely will not work on 32 bit.</p>
<p>I’m using Visual Studio for the examples.  It appears that Visual Studio Express (free) will work as well, but I haven’t tested that myself.</p>
<p>Anyway, the documentation that comes with the SDK is pretty comprehensive so I’m not going to rehash it here.  Since I will be showing you some of the examples using .Net, I do want to point out that you will need to run one of the following commands on your development machine in order for things to work:</p>
<div id="highlighter_913452">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>Regsvr32 cmpcom.dll</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div id="highlighter_555280">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>Regsvr32 cmpcom64.dll</code></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<p>Notice that there is a 32 bit or a 64 bit DLL register. So again, not sure why Windows 7 64bit is a requirement for development. Anyway, make sure you run the appropriate command above as administrator, otherwise you may receive an error stating “The module was loaded but the call to DllRegisterServer failed with error code 0×80070005” (which is a permissions error).</p>
<h2>Compiling Examples</h2>
<p>The final part of this article will focus on compiling and using the examples that come with the SDK.  The one I’m going to point out here is the picker example.  This example uses the native device’s UI to display a list of options.  The example is actually a console application that has no graphics, so it is actually using the local device’s display mechanisms rather than trying to do some trickery on the XenApp server side.  So, here we go…</p>
<ol>
<li>Browse to \Program Files (x86)\Citrix\MobilitySDK\samples\native\showpicker</li>
<li>Double click on showpicker.sln to open the solution in Visual Studio</li>
<li>Build the solution by pressing F6</li>
<li>This will create an executable in \Program Files (x86)\Citrix\MobilitySDK\samples\native\Win32\Debug\showpicker.exe</li>
<li>Copy this showpicker.exe to your XenApp 6.5 server (I copied mine to \Program Files (x86)\Mobility\picker\showpicker.exe)</li>
<li>Publish the application via Citrix AppCenter</li>
<li>Launch the published application using an Android device (or <a title="Setting up an Android Emulator for use with Citrix XenApp 6.5 Mobile Application SDK" href="http://www.jasonconger.com/post/setting-up-an-android-emulator-for-use-with-citrix-xenapp-mobile-application-sdk/">emulator</a>) with the latest Citrix Receiver installed.</li>
</ol>
<p>NOTE: You may receive an error message that states “The program can’t start because MSVCR100D.dll is missing from your computer…”  Here’s why – the solution was built in debug mode.  Thus, debug DLL’s (notice the “D” in the DLL name) need to be on the XenApp 6.5 server.  Here is what you can do:</p>
<p>Copy:</p>
<ul>
<li>From:<strong> \Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\Debug_NonRedist\x86\Microsoft.VC100.DebugCRT\msvcr100d.dll</strong> on your development machine</li>
<li>To:<strong> \Windows\SysWOW64\msvcr100d.dll</strong> on your XenApp 6.5 server</li>
</ul>
<div>You could technically build the solution in Release mode instead of Debug mode and be okay, but to perform remote debugging, you will want to have the debug DLL on your remote machine.  Speaking of debugging, here are 2 great write-ups on how to debug the mobile applications:</div>
<ul>
<li>Jeff Muir - <a title="Debugging XAMA SDK Applications" href="http://citrixblogger.org/2011/12/19/debugging-xama-sdk-applications/" target="_blank">Debugging XAMA SDK Applications</a></li>
<li>Andrew Borzycki - <a title="Debugging applications remotely with Visual Studio" href="http://forums.citrix.com/thread.jspa?threadID=300244&amp;tstart=0" target="_blank">Debugging applications remotely with Visual Studio</a></li>
</ul>
<h2>The Result</h2>
<p>Here is what the end result looks like.</p>

<a href="http://martinliu.cn/wp-content/gallery/citrix/showpicker.png" title="" class="shutterset_singlepic1338" >
	<img class="ngg-singlepic" src="http://martinliu.cn/wp-content/gallery/cache/1338__320x240_showpicker.png" alt="showpicker" title="showpicker" />
</a>

<p>Once you pick one of the colors, the console application will give you feedback on the chosen item.  When the appropriate receiver is available for iOS, then the native iOS selector would be shown with no code changes on the developer’s part.  That is pretty cool!</p>
<p>In the next article on this topic, I will show you how to use mobile device orientation to change what is displayed to an end user.  The example will include data and graphics.  Stay tuned…</p>
</div>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html' rel='bookmark' title='XenApp 6.5 Mobility Pack and Mobile App SDK v1'>XenApp 6.5 Mobility Pack and Mobile App SDK v1</a></li>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aeandroid-emulator%e7%94%a8%e4%ba%8e%e8%b0%83%e8%af%95citrix-xenapp-6-5%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8sdk.html' rel='bookmark' title='如何配置Android Emulator用于调试Citrix XenApp 6.5移动应用SDK'>如何配置Android Emulator用于调试Citrix XenApp 6.5移动应用SDK</a></li>
<li><a href='http://martinliu.cn/2012/01/personalization-ringcube.html' rel='bookmark' title='Personalization RingCube'>Personalization RingCube</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>如何配置Android Emulator用于调试Citrix XenApp 6.5移动应用SDK</title>
		<link>http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aeandroid-emulator%e7%94%a8%e4%ba%8e%e8%b0%83%e8%af%95citrix-xenapp-6-5%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8sdk.html</link>
		<comments>http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aeandroid-emulator%e7%94%a8%e4%ba%8e%e8%b0%83%e8%af%95citrix-xenapp-6-5%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8sdk.html#comments</comments>
		<pubDate>Mon, 05 Mar 2012 14:24:50 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[citrix receiver]]></category>
		<category><![CDATA[IOS]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[SDK]]></category>
		<category><![CDATA[XenApp]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51628</guid>
		<description><![CDATA[From http://www.jasonconger.com/ One of the coolest SDKs I’ve seen come out in quite a while is the Citrix XenApp 6.5 Mobile Application SDK. Citrix defines the XenApp 6.5 Mobile Application SDK as “… a rich tool kit for developers to write touch-friendly, mobilized applications that are hosted on Citrix XenApp and delivered to any device with<p><a href="http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aeandroid-emulator%e7%94%a8%e4%ba%8e%e8%b0%83%e8%af%95citrix-xenapp-6-5%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8sdk.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html' rel='bookmark' title='如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK'>如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK</a></li>
<li><a href='http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html' rel='bookmark' title='XenApp 6.5 Mobility Pack and Mobile App SDK v1'>XenApp 6.5 Mobility Pack and Mobile App SDK v1</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p class="tip ">本文转帖自国外的一个大拿，有余我朝是和谐社会，所以禁止访问该网站，特此转帖。 本文详细描述了如何配置一个XenApp 6.5 移动应用开发包的开发环境，写的非常使用。这个开发包是我每次交流必须讲的话题，往往是最后一个讲，可是每次都引起用户的强烈关注。从业务创新的角度讲，开发一个原生平板电脑界面的应用系统的诱惑力是在太大了，貌似我们无法阻挡程序猿去开发平板电脑业务应用；就像我们不能组织企业的老板们在iPad上使用移动办公系统一样。</p>
<blockquote><p>From <a href="http://www.jasonconger.com/">http://www.jasonconger.com/</a></p></blockquote>
<p>One of the coolest SDKs I’ve seen come out in quite a while is the <a title="Citrix XenApp 6.5 Mobile Appliation SDK" href="http://community.citrix.com/display/xa/XenApp+6.5+Mobile+Application+SDK" target="_blank">Citrix XenApp 6.5 Mobile Application SDK</a>. Citrix defines the XenApp 6.5 Mobile Application SDK as “… a rich tool kit for developers to write touch-friendly, mobilized applications that are hosted on Citrix XenApp and delivered to any device with Citrix Receiver. These mobilized applications are able to leverage a wide set of mobile device functionality including GPS, sensors, cameras, and device buttons in the same way that locally running, native applications do.”</p>
<p>As of this writing, only the Android version of the Citrix Receiver is supported (iOS is on the way).  Since I do not own any Android devices and I was anxious to get started, I had to set up an emulator and install the Citrix Receiver to get going with the SDK.  Here is how I did it.</p>
<h2>Install the Android SDK</h2>
<p>Go to the Android SDK download page (<a title="Android SDK" href="http://developer.android.com/sdk/index.html" target="_blank">http://developer.android.com/sdk/index.html</a>) and pick the correct installer for your platform. I’m using Windows, so I chose the .exe installer file.  After you run this .exe, you still do not have the emulator.  The reason for this is the Android SDK archive initially contains only the basic SDK tools. It does not contain an Android platform or any third-party libraries. You must install the Platform-tools and at least one version of the Android platform using the SDK Manager.</p>

<a href="http://martinliu.cn/wp-content/gallery/citrix/android-tools.png" title="" class="shutterset_singlepic1335" >
	<img class="ngg-singlepic" src="http://martinliu.cn/wp-content/gallery/cache/1335__320x240_android-tools.png" alt="android-tools" title="android-tools" />
</a>

<p>I installed the Android SDK Platform-tools and all options for Android 4.0.3.</p>
<p>After the install completes, be sure to add <strong>%ProgramFiles%\Android\android-sdk\platform-tools</strong> to your PATH environment variable.  This will be handy later for installing the Citrix Receiver.</p>
<h2>Create an Android Virtual Device</h2>
<p>After the installs complete, you can launch Android Virtual Device Manager (AVD Manager). This can be found in the Windows start menu under Android SDK Tools \ AVD Manager. AVD Manager is used to create various virtual devices running the Android OS.</p>
<p><img class="ngg-singlepic ngg-none" src="http://martinliu.cn/wp-content/gallery/citrix/create-new-android-vd.png" alt="create-new-android-vd" /><br />
As you can see, I created an Android 4.0.3 device with 100 MiB of local storage. The more storage you add to your AVD, the longer it will take to boot. Since this AVD is only being used for XenApp 6.5 testing, I only allocated 100 MiB. The first boot of your AVD will take a little longer than subsequent boots.</p>
<h2>Download the Citrix Receiver for Android</h2>
<p>Now that we have a functioning Android emulator, we need to get the Citrix Receiver installed. The first thing we need to do is download the .apk (Android Package) file. Normally, I would just go to <a title="Download Citrix Receiver" href="http://www.citrix.com/receiver" target="_blank">http://www.citrix.com/receiver</a> and choose “Android”. But, as of this writing, when you do that, you are redirected to the Android Marketplace. Unfortunately, Android Marketplace does not work on the Android Emulator. So, here is what you can do instead:<br />
Go to <a href="http://www.citrix.com/downloads" target="_blank">http://www.citrix.com/downloads</a> and choose “Receiver for Android” from the drop down list. From there, you can select the Android client and download the .apk.</p>
<h2>Install the Citrix Receiver for Android</h2>
<p>Ok, so now we have a functioning Android emulator and the Citrix Receiver downloaded. The final step is to install the Citrix Receiver onto the emulator. Here’s how:</p>
<ol>
<li>Copy the .apk file to %ProgramFiles%\Android\android-sdk\tools</li>
<li>Open a command prompt and change the directory to %ProgramFiles%\Android\android-sdk\tools</li>
<li>With the AVD you created running, execute the following command:</li>
</ol>
<div id="highlighter_59016">
<div>
<div>
<table>
<tbody>
<tr>
<td><code>1</code></td>
<td><code>adb install &lt;name of Citrix Receiver&gt;.apk</code></td>
</tr>
</tbody>
</table>

<a href="http://martinliu.cn/wp-content/gallery/citrix/vd.png" title="" class="shutterset_singlepic1339" >
	<img class="ngg-singlepic" src="http://martinliu.cn/wp-content/gallery/cache/1339__320x240_vd.png" alt="vd" title="vd" />
</a>
</div>
</div>
</div>
<p> You now have a fully functional Citrix Receiver running on an Android emulator.  My next post shows you <a title="Installing and Using the Citrix XenApp 6.5 Mobile Application SDK" href="http://www.jasonconger.com/post/installing-and-using-the-citrix-xenapp-6-5-mobile-application-sdk/">how to set up a development environment to utilize the Mobile Application SDK and compile some of the examples</a>.</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html' rel='bookmark' title='如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK'>如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK</a></li>
<li><a href='http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html' rel='bookmark' title='XenApp 6.5 Mobility Pack and Mobile App SDK v1'>XenApp 6.5 Mobility Pack and Mobile App SDK v1</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e9%85%8d%e7%bd%aeandroid-emulator%e7%94%a8%e4%ba%8e%e8%b0%83%e8%af%95citrix-xenapp-6-5%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8sdk.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>通过桌面虚拟化控制安全威胁</title>
		<link>http://martinliu.cn/2012/02/%e9%80%9a%e8%bf%87%e6%a1%8c%e9%9d%a2%e8%99%9a%e6%8b%9f%e5%8c%96%e6%8e%a7%e5%88%b6%e5%ae%89%e5%85%a8%e5%a8%81%e8%83%81.html</link>
		<comments>http://martinliu.cn/2012/02/%e9%80%9a%e8%bf%87%e6%a1%8c%e9%9d%a2%e8%99%9a%e6%8b%9f%e5%8c%96%e6%8e%a7%e5%88%b6%e5%ae%89%e5%85%a8%e5%a8%81%e8%83%81.html#comments</comments>
		<pubDate>Tue, 28 Feb 2012 09:43:16 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[virtualizat]]></category>
		<category><![CDATA[XenDesktop]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51617</guid>
		<description><![CDATA[这是今天讲的在线技术交流的PPT。讲的是如何通过Citrix虚拟化桌面来控制后PC时代的新的安全威胁。 PPT下载 No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>这是今天讲的在线技术交流的PPT。讲的是如何通过Citrix虚拟化桌面来控制后PC时代的新的安全威胁。</p>
<p>PPT下载 <a class="downloadlink" href="http://martinliu.cn/downloads/qsefdjt05tjlp3ye162n" title=" downloaded 91 times" >Citrix XenDesktop 信息安全管理 (91)</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2012/02/%e9%80%9a%e8%bf%87%e6%a1%8c%e9%9d%a2%e8%99%9a%e6%8b%9f%e5%8c%96%e6%8e%a7%e5%88%b6%e5%ae%89%e5%85%a8%e5%a8%81%e8%83%81.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>【ZT】 View和XenDesktop到底谁更简单 Part II</title>
		<link>http://martinliu.cn/2012/02/xendesktop-is-better-then-view-p2.html</link>
		<comments>http://martinliu.cn/2012/02/xendesktop-is-better-then-view-p2.html#comments</comments>
		<pubDate>Wed, 08 Feb 2012 08:05:35 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[View]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[XenDesktop]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51606</guid>
		<description><![CDATA[FROM ： http://vdesk.blog.51cto.com/2969473/774669 望着这个标题发了半小时呆后，我就想抽自己！真的没法写，这两个东西丫的没一个简单的！如果你唯一目标就是奔着“简单”去的。So sorry，您找错对象了。         View和XenDesktop其实都是为大企业客户设计的解决方案，仅从版本命名上就可见一斑。View最低版本叫Enterprise Edition，高阶版叫Premier Edition。XenDesktop相似，叫做Enterprise Edition和Platinum Edition。        知道啥叫Enterprise吗？Enterprise就是大企业客户。大企业客户在生意对话中属于强势的一方，他们会定义自己的标准和架构，然后要求厂商的产品去支持和与之集成。另外大企业内用户众多，应用场景复杂，也要求桌面的方案足够灵活，能够定制不同策略以适应不同的标准和要求。因此为大企业客户设计的解决方案它压根就简单不了！ 在比较企业级的解决方案时，通常关注点不会放在“简单”上面。而是比较谁对大企业的要求适应性更强。国外有一个叫Burton Group的组织（now part of Gartner），花了5个多月时间做了一个桌面虚拟化的评估标准。标准覆盖甚广： -User experience -Service advertising and connection brokerage -Business continuity -Network -Storage -Back-end virtual infrastructure -Management -Security -Guest OS support -Licensing -Product support -Third-party vendor support 这个标准今天被看作是桌面虚拟化领域的权威定义。国内巨头企业在桌面虚拟化选型时，无一例外都会参考这个标准。这个标准将产品功能分成三级： Must to have，Need to have和Nice to have。随后Burton group对XenDesktop 4和View4.5按这个标准做了一个完整评估，评估结论如下： 从上面的图表，你会发现View刚刚走完Must to<p><a href="http://martinliu.cn/2012/02/xendesktop-is-better-then-view-p2.html" class="more-link">Continue reading &#187;</a></p>
Related posts:<ol>
<li><a href='http://martinliu.cn/2011/12/xendesktop-is-better-then-view-p1.html' rel='bookmark' title='[zt] View和XenDesktop,到底谁更简单 &#8212; Part I'>[zt] View和XenDesktop,到底谁更简单 &#8212; Part I</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>FROM ： <a href="http://vdesk.blog.51cto.com/2969473/774669">http://vdesk.blog.51cto.com/2969473/774669</a></p>
<p>望着这个标题发了半小时呆后，我就想抽自己！真的没法写，这两个东西丫的没一个简单的！如果你唯一目标就是奔着“简单”去的。So sorry，您找错对象了。</p>
<p><span style="font-family: Calibri;">        </span><span style="font-family: Calibri;">View</span>和<span style="font-family: Calibri;">XenDesktop</span>其实都是为大企业客户设计的解决方案，仅从版本命名上就可见一斑。<span style="font-family: Calibri;">View最低版本叫</span><span style="font-family: Calibri;">Enterprise Edition</span>，高阶版叫<span style="font-family: Calibri;">Premier Edition</span>。<span style="font-family: Calibri;">XenDesktop</span>相似，叫做<span style="font-family: Calibri;">Enterprise Edition</span>和<span style="font-family: Calibri;">Platinum Edition</span>。</p>
<p><span style="font-family: Calibri;">       </span>知道啥叫Enterprise吗？Enterprise就是大企业客户。大企业客户在生意对话中属于强势的一方，他们会定义自己的标准和架构，然后要求厂商的产品去支持和与之集成。另外大企业内用户众多，应用场景复杂，也要求桌面的方案足够灵活，能够定制不同策略以适应不同的标准和要求。因此为大企业客户设计的解决方案它压根就简单不了！</p>
<p>在比较企业级的解决方案时，通常关注点不会放在“简单”上面。而是比较谁对大企业的要求适应性更强。国外有一个叫Burton Group的组织（now part of Gartner），花了5个多月时间做了一个桌面虚拟化的评估标准。标准覆盖甚广：</p>
<p>-User experience<br />
-Service advertising and connection brokerage<br />
-Business continuity<br />
-Network<br />
-Storage<br />
-Back-end virtual infrastructure<br />
-Management<br />
-Security<br />
-Guest OS support<br />
-Licensing<br />
-Product support<br />
-Third-party vendor support</p>
<p>这个标准今天被看作是桌面虚拟化领域的权威定义。国内巨头企业在桌面虚拟化选型时，无一例外都会参考这个标准。这个标准将产品功能分成三级： Must to have，Need to have和Nice to have。随后Burton group对XenDesktop 4和View4.5按这个标准做了一个完整评估，评估结论如下：</p>
<p><a href="http://martinliu.cn/2012/02/xendesktop-is-better-then-view-p2.html/attachment/124434949" rel="attachment wp-att-51607"><img class="aligncenter size-full wp-image-51607" title="124434949" src="http://martinliu.cn/wp-content/uploads/2012/02/124434949.png" alt="" width="499" height="321" /></a></p>
<p>从上面的图表，你会发现<span style="font-family: Calibri;">View</span>刚刚走完<span style="font-family: Calibri;">Must to have</span>的开发阶段。与<span style="font-family: Calibri;">XenDesktop</span>相比，在<span style="font-family: Calibri;">Need to have </span>和<span style="font-family: Calibri;">Nice to have</span>的二，三级功能元上差距还很大。不要小看这些差距，它们对后期管理和运维至关重要。</p>
<p>我举一个管理的例子，大家就明白了。如果有用户向你抱怨虚拟桌面很慢，你该怎么办？“慢”纯粹属于主观感受，每个人对“慢”的感受和容忍度是不一样的。用<span style="font-family: Calibri;">View</span>，你可能就要去猜了，因为它的控制台不能提供重要度量数据的可视性，你需要借助第三方的工具去收集数据来验证自己的猜测。而使用<span style="font-family: Calibri;">XenDesktop</span>，它的<span style="font-family: Calibri;">EdgeSight</span>组件就可以帮你看见这个慢的原因在哪里。是不是真的慢了？具体慢了多少？是慢在网络上，还是服务器端，还是客户端？如果是客户端登录环节慢了，它又可以将登录过程分解成<span style="font-family: Calibri;">10</span>几个步骤，看看你是慢在验证，还是慢在用户档案加载，还是慢在运行脚本上<span style="font-family: Calibri;">…….</span></p>
<p><span style="font-family: Calibri;"> </span>      简而言之，对于大企业而言，桌面虚拟化可不是简单发布出一个桌面就<span style="font-family: Calibri;">OK</span>了。毕竟后期运维人员<span style="font-family: Calibri;">70%~80%</span>的时间都要与这个虚拟化平台打交道，所以一些更灵活、更高阶的配置、管理、维护功能也同等重要。而能达到这个要求，您的方案就不可能“简单”！</p>
<p><span style="font-family: Calibri;">       </span>中小企业的方案更倾向于“简单”。那么对于中小企业来讲，<span style="font-family: Calibri;">View</span>和<span style="font-family: Calibri;">XenDesktop</span>谁更适用呢？答案是都不适用。因为中小企业对桌面虚拟化的要求截然不同。中小企业没有足够的<span style="font-family: Calibri;">IT</span>人员，没有足够的专业技能，没有足够的后端基础设施，也没有足够的<span style="font-family: Calibri;">IT</span>预算。所以，无论是<span style="font-family: Calibri;">View</span>还是<span style="font-family: Calibri;">XenDesktop</span>对他们而言，都太复杂了，太昂贵了。</p>
<p>中小企业期望的桌面虚拟化解决方案要比<span style="font-family: Calibri;">PC</span>更便宜，比<span style="font-family: Calibri;">PC</span>更易安装和管理，有着与<span style="font-family: Calibri;">PC</span>相接近的用户体验，同时还能少花钱多办事，在重要的功能上没有缺失（如高可用，<span style="font-family: Calibri;"> 随需扩展和动态负载均衡）。天啦！天下有这么便宜的事吗?</span></p>
<div>       VMware目前肯定是没有的。而Citrix针对中小企业市场，特别推出了一款产品，叫做VDI-in-a-Box， 大家可以去下载体验一下。这个产品在1个小时内就可以安装完毕，零培训就可以上手。与传统企业级VDI方案相比，它削减掉超过60%的基础设施， 使得每个虚拟桌面的成本比新购PC还低。即使今后扩容，也仅需要简单的增加服务器，不需要重新设计和重新架构，没有任何隐形的成本。想要了解更多有关VDI-in-a-Box的信息，可以参考链接中的文档：<a href="https://citrix.sharefile.com/d-s7824ca9d0dd47479">https://citrix.sharefile.com/d-s7824ca9d0dd47479</a></div>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2011/12/xendesktop-is-better-then-view-p1.html' rel='bookmark' title='[zt] View和XenDesktop,到底谁更简单 &#8212; Part I'>[zt] View和XenDesktop,到底谁更简单 &#8212; Part I</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2012/02/xendesktop-is-better-then-view-p2.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Personalization RingCube</title>
		<link>http://martinliu.cn/2012/01/personalization-ringcube.html</link>
		<comments>http://martinliu.cn/2012/01/personalization-ringcube.html#comments</comments>
		<pubDate>Tue, 31 Jan 2012 07:43:35 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[RingCube]]></category>
		<category><![CDATA[XenDesktop]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51601</guid>
		<description><![CDATA[转帖自学 Personalization – Where does RingCube fit? http://blogs.citrix.com/2011/08/24/personal-vdisks/ Digging into RingCube http://blogs.citrix.com/2011/08/29/digging-into-ringcube/ Related posts: XenApp 6.5 Mobility Pack and Mobile App SDK v1 当Hypervisor成为服务器的标配 如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK
Related posts:<ol>
<li><a href='http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html' rel='bookmark' title='XenApp 6.5 Mobility Pack and Mobile App SDK v1'>XenApp 6.5 Mobility Pack and Mobile App SDK v1</a></li>
<li><a href='http://martinliu.cn/2011/11/hypervisor-is-not-operationl-for-pc.html' rel='bookmark' title='当Hypervisor成为服务器的标配'>当Hypervisor成为服务器的标配</a></li>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html' rel='bookmark' title='如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK'>如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>转帖自学<br />
Personalization – Where does RingCube fit?<br />
<a href="http://blogs.citrix.com/2011/08/24/personal-vdisks/">http://blogs.citrix.com/2011/08/24/personal-vdisks/</a></p>
<p>Digging into RingCube<br />
<a href="http://blogs.citrix.com/2011/08/29/digging-into-ringcube/">http://blogs.citrix.com/2011/08/29/digging-into-ringcube/</a></p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2012/03/xenapp-6-5-mobility-pack-and-mobile-app-sdk-v1.html' rel='bookmark' title='XenApp 6.5 Mobility Pack and Mobile App SDK v1'>XenApp 6.5 Mobility Pack and Mobile App SDK v1</a></li>
<li><a href='http://martinliu.cn/2011/11/hypervisor-is-not-operationl-for-pc.html' rel='bookmark' title='当Hypervisor成为服务器的标配'>当Hypervisor成为服务器的标配</a></li>
<li><a href='http://martinliu.cn/2012/03/%e5%a6%82%e4%bd%95%e5%ae%89%e8%a3%85%e5%92%8c%e4%bd%bf%e7%94%a8citrix-xenapp-6-5-%e7%a7%bb%e5%8a%a8%e5%ba%94%e7%94%a8%e5%bc%80%e5%8f%91%e5%8c%85sdk.html' rel='bookmark' title='如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK'>如何安装和使用Citrix XenApp 6.5 移动应用开发包SDK</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2012/01/personalization-ringcube.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[zt] 比较两大虚拟桌面厂商的系统镜像管理</title>
		<link>http://martinliu.cn/2011/12/master-image-mangement.html</link>
		<comments>http://martinliu.cn/2011/12/master-image-mangement.html#comments</comments>
		<pubDate>Wed, 28 Dec 2011 14:11:23 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[IntelliCache]]></category>
		<category><![CDATA[IOPS]]></category>
		<category><![CDATA[Link Clone]]></category>
		<category><![CDATA[MCS]]></category>
		<category><![CDATA[PVS]]></category>
		<category><![CDATA[SSD]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[XenDesktop]]></category>
		<category><![CDATA[xenserver]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51561</guid>
		<description><![CDATA[虚拟桌面的出现，极大简化了桌面的管理。针对操作系统部分，VMware和Citrix两大厂商都推出了一对多方式的桌面镜像管理。VMware叫Link Clone技术。而Citrix有两种，一种与Link Clone技术对应，叫做MCS；另一种是其独有的，叫PVS。 简而言之，就是IT管理员只需要维护少数操作系统模板，虚拟桌面都是从某一个母版派生出来的。只要保证母版的系统补丁是最新的，其派生出来的桌面就能同步到最新。于是打补丁的工作再也不需要针对数不清的桌面实例来进行了， 管理员得到极大的解脱。 但是这种一对多方式的桌面镜像管理也带来了一个大的挑战。这个挑战不解决，“简化桌面管理”只能是一个伪命题。 当所有虚拟桌面都跑在一个共享存储之上时，存储最可能成为性能的瓶颈。桌面系统产生的存储访问需求是随机的，不同的用户在以各种不可预测的方式对存储产生读写访问，所以很难做到精确计算。 如果存储子系统配置过低，则很容易过载，所有的用户都会感觉桌面运行很慢。如果配置过高，其成本又会爆炸式增长，彻底淹没桌面虚拟化所带来的好处。另外桌面上的行为往往又有一定的趋同性，如早8点同时开机， 中午空闲时防病毒自动扫描，同时观看某个紧急培训的视频片段，恶意病毒繁殖等等。当大量用户在同一时间开始并发存储读写任务时， 就会产生 “存储IO风暴”，最糟糕的情况下能瘫痪整个磁盘柜。为了解决这一问题，VMware和Citrix分别采取了不同的方法来应对。 VMware提出分级存储的概念，提倡不同性质的数据应区别对待。简单理解就是花钱来买性能。 对于系统镜像模板这类高频访问的数据，他推荐用户放置在SSD，甚至Flash Memory Card之上。由于一个20G的系统模板最大能支持50~60个虚拟桌面开机，所以当虚拟桌面数量上规模时，高速存储的容量也要求越大。这类商用高速存储将是一笔不菲的开销，要知道其陡峭的性能增长曲线与成本曲线是成正比的关系。 而Citrix采用了更廉价更聪明的做法。既然磁盘操作是计算环节中最慢的部分，那我就尽量避免它。Citrix在其两种镜像管理方法中都使用了镜像缓存技术来分担对共享存储的压力。例如PVS， 镜像不再是从共享存储上直接访问，而是由“Provisioning Server”来统一分发。“Provisioning Server”会将母版镜像缓存在内存中，通过网络流送给虚拟桌面。由于整个路径上都是电气信号的转换，所以性能比磁盘的机械操作要快得多。大家可以参考以下视频，更直观地了解PVS的开机性能（Ardence是Citrix收购前的名称） MCS+IntelliCache方法则是将集中于中央共享存储的压力分摊到每一个虚拟桌面宿主服务器上。一般宿主服务器上都配有本地硬盘，这些硬盘空间不用白不用。当宿主服务器加载第一个虚拟桌面时，系统镜像就被缓存在本地存储上，当后续虚拟桌面开机时，宿主服务器如果发现使用的是相同模板（通常就是），就直接从本地存储读取，不再访问共享存储了。如果桌面是可回收类型的，那么用户在桌面上的写操作也全部发生在服务器本地，不会写到共享存储上。因为当用户登出时，虚拟桌面上的临时改变都会被丢弃。 无论是PVS还是MCS都是想方设法将共享存储上的IOPS卸载下来，从而降低虚拟桌面方案对高端共享存储的依赖性。有客户做了一个简单的测试，结论是VMware的Link Clone技术所需的IOPS大致是Citrix的1.5倍以上。VMware也认识到自己方案的不足，在其后期版本中也规划了类似于Citrix Intellicache技术的缓存方法。由于该技术尚未发布，本文暂不做评价。 后记：这篇文章引起了很多的争论。有必要澄清一下。 使用PVS时，既可以创建“个人专用桌面”，也可以创建“浮动分配桌面”。 PVS你可以把他简单理解成一个你“自制的IP-SAN的存储”。只不过这个“自制存储”仅用来分发系统镜像，是只读的。而你原有的共享存储主要用来保存用户数据，是可写的。很多人会质疑PVS的性能，通过网络流送OS image，会在网络中出现瓶颈。其实拿IP-SAN来做参照，大家都要对外提供基础镜像，都是走的IP协议，IP-SAN你就不担忧吗？PVS直接将OS Image 加载到内存中向外分发，它不会比IP-SAN从磁盘读还慢。引入PVS方案，会增加Server的数量，但它的好处就是让你有了突破传统存储瓶颈，具备横向扩展的能力。传统存储出现瓶颈，你只能Scale UP，大家都知道动存储是个很麻烦的事情，但是PVS出现瓶颈，你可以通过加网卡或者增加PVS Server的方式Scale out。以上比喻仅限于桌面虚拟化系统基础镜像场景。大家不要衍生到其他可横向扩展的存储技术领域。 From 一周耀文 : http://vdesk.blog.51cto.com/2969473/739351 No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<div>虚拟桌面的出现，极大简化了桌面的管理。针对操作系统部分，VMware和Citrix两大厂商都推出了一对多方式的桌面镜像管理。VMware叫Link Clone技术。而Citrix有两种，一种与Link Clone技术对应，叫做MCS；另一种是其独有的，叫PVS。</div>
<div>简而言之，就是IT管理员只需要维护少数操作系统模板，虚拟桌面都是从某一个母版派生出来的。只要保证母版的系统补丁是最新的，其派生出来的桌面就能同步到最新。于是打补丁的工作再也不需要针对数不清的桌面实例来进行了， 管理员得到极大的解脱。</div>
<div></div>
<div>但是这种一对多方式的桌面镜像管理也带来了一个大的挑战。这个挑战不解决，“简化桌面管理”只能是一个伪命题。</div>
<div></div>
<div>当所有虚拟桌面都跑在一个共享存储之上时，存储最可能成为性能的瓶颈。桌面系统产生的存储访问需求是随机的，不同的用户在以各种不可预测的方式对存储产生读写访问，所以很难做到精确计算。 如果存储子系统配置过低，则很容易过载，所有的用户都会感觉桌面运行很慢。如果配置过高，其成本又会爆炸式增长，彻底淹没桌面虚拟化所带来的好处。另外桌面上的行为往往又有一定的趋同性，如早8点同时开机， 中午空闲时防病毒自动扫描，同时观看某个紧急培训的视频片段，恶意病毒繁殖等等。当大量用户在同一时间开始并发存储读写任务时， 就会产生 “存储IO风暴”，最糟糕的情况下能瘫痪整个磁盘柜。为了解决这一问题，VMware和Citrix分别采取了不同的方法来应对。</div>
<div></div>
<div>VMware提出分级存储的概念，提倡不同性质的数据应区别对待。简单理解就是花钱来买性能。 对于系统镜像模板这类高频访问的数据，他推荐用户放置在SSD，甚至Flash Memory Card之上。由于一个20G的系统模板最大能支持50~60个虚拟桌面开机，所以当虚拟桌面数量上规模时，高速存储的容量也要求越大。这类商用高速存储将是一笔不菲的开销，要知道其陡峭的性能增长曲线与成本曲线是成正比的关系。</div>
<p><a href="http://img1.51cto.com/attachment/201112/174153343.jpg" target="_blank"><img src="http://img1.51cto.com/attachment/201112/174153343.jpg" alt="" border="0" /></a></p>
<p>而Citrix采用了更廉价更聪明的做法。既然磁盘操作是计算环节中最慢的部分，那我就尽量避免它。Citrix在其两种镜像管理方法中都使用了镜像缓存技术来分担对共享存储的压力。例如PVS， 镜像不再是从共享存储上直接访问，而是由“Provisioning Server”来统一分发。“Provisioning Server”会将母版镜像缓存在内存中，通过网络流送给虚拟桌面。由于整个路径上都是电气信号的转换，所以性能比磁盘的机械操作要快得多。大家可以参考以下视频，更直观地了解PVS的开机性能（Ardence是Citrix收购前的名称）</p>
<p><object width="480" height="370" classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"><param name="url" value="http://player.youku.com/player.php/sid/XMzMxMzc5ODk2/v.swf" /><param name="defaultframe" value="datawindow" /><param name="invokeurls" value="1" /><param name="clicktoplay" value="0" /><param name="enablecontextmenu" value="1" /><param name="allowscan" value="1" /><param name="transparentatstart" value="0" /><param name="animationatstart" value="0" /><param name="autorewind" value="0" /><param name="autostart" value="1" /><param name="showcaptioning" value="0" /><param name="showgotobar" value="0" /><param name="autosize" value="0" /><param name="showstatusbar" value="1" /><param name="showdisplay" value="0" /><param name="showtracker" value="1" /><param name="showaudiocontrols" value="1" /><param name="showpositioncontrols" value="0" /><param name="showcontrols" value="1" /><param name="pluginspage" value="http://www.microsoft.com/isapi/redir.dll?prd=windows&amp;sbp=mediaplayer&amp;ar=media&amp;sba=plugin&amp;" /><param name="border" value="0" /><param name="url" value="http://player.youku.com/player.php/sid/XMzMxMzc5ODk2/v.swf" /><embed width="480" height="370" type="application/x-mplayer2" src="http://player.youku.com/player.php/sid/XMzMxMzc5ODk2/v.swf" url="http://player.youku.com/player.php/sid/XMzMxMzc5ODk2/v.swf" defaultframe="datawindow" invokeurls="1" clicktoplay="0" enablecontextmenu="1" allowscan="1" transparentatstart="0" animationatstart="0" autorewind="0" autostart="1" showcaptioning="0" showgotobar="0" autosize="0" showstatusbar="1" showdisplay="0" showtracker="1" showaudiocontrols="1" showpositioncontrols="0" showcontrols="1" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&amp;sbp=mediaplayer&amp;ar=media&amp;sba=plugin&amp;" border="0" /></object></p>
<div></div>
<div>
<p>MCS+IntelliCache方法则是将集中于中央共享存储的压力分摊到每一个虚拟桌面宿主服务器上。一般宿主服务器上都配有本地硬盘，这些硬盘空间不用白不用。当宿主服务器加载第一个虚拟桌面时，系统镜像就被缓存在本地存储上，当后续虚拟桌面开机时，宿主服务器如果发现使用的是相同模板（通常就是），就直接从本地存储读取，不再访问共享存储了。如果桌面是可回收类型的，那么用户在桌面上的写操作也全部发生在服务器本地，不会写到共享存储上。因为当用户登出时，虚拟桌面上的临时改变都会被丢弃。</p>
<p><a href="http://img1.51cto.com/attachment/201112/175224748.jpg" target="_blank"><img src="http://img1.51cto.com/attachment/201112/175224748.jpg" alt="" border="0" /></a></p>
</div>
<div></div>
<div>
<p>无论是PVS还是MCS都是想方设法将共享存储上的IOPS卸载下来，从而降低虚拟桌面方案对高端共享存储的依赖性。有客户做了一个简单的测试，结论是VMware的Link Clone技术所需的IOPS大致是Citrix的1.5倍以上。VMware也认识到自己方案的不足，在其后期版本中也规划了类似于Citrix Intellicache技术的缓存方法。由于该技术尚未发布，本文暂不做评价。</p>
</div>
<div>
<p>后记：这篇文章引起了很多的争论。有必要澄清一下。</p>
<p>使用PVS时，既可以创建“个人专用桌面”，也可以创建“浮动分配桌面”。 PVS你可以把他简单理解成一个你“自制的IP-SAN的存储”。只不过这个“自制存储”仅用来分发系统镜像，是只读的。而你原有的共享存储主要用来保存用户数据，是可写的。很多人会质疑PVS的性能，通过网络流送OS image，会在网络中出现瓶颈。其实拿IP-SAN来做参照，大家都要对外提供基础镜像，都是走的IP协议，IP-SAN你就不担忧吗？PVS直接将OS Image 加载到内存中向外分发，它不会比IP-SAN从磁盘读还慢。引入PVS方案，会增加Server的数量，但它的好处就是让你有了突破传统存储瓶颈，具备横向扩展的能力。传统存储出现瓶颈，你只能Scale UP，大家都知道动存储是个很麻烦的事情，但是PVS出现瓶颈，你可以通过加网卡或者增加PVS Server的方式Scale out。以上比喻仅限于桌面虚拟化系统基础镜像场景。大家不要衍生到其他可横向扩展的存储技术领域。</p>
<p>From <a href="http://vdesk.blog.51cto.com/">一周耀文</a> :<a title="http://vdesk.blog.51cto.com/2969473/739351" href="http://vdesk.blog.51cto.com/2969473/739351"> http://vdesk.blog.51cto.com/2969473/739351</a></p>
</div>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/12/master-image-mangement.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[zt] View和XenDesktop,到底谁更简单 &#8212; Part I</title>
		<link>http://martinliu.cn/2011/12/xendesktop-is-better-then-view-p1.html</link>
		<comments>http://martinliu.cn/2011/12/xendesktop-is-better-then-view-p1.html#comments</comments>
		<pubDate>Wed, 28 Dec 2011 13:55:05 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Virtualization]]></category>
		<category><![CDATA[Citrix]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[RingCube]]></category>
		<category><![CDATA[xen]]></category>
		<category><![CDATA[XenApp]]></category>
		<category><![CDATA[XenDesktop]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51558</guid>
		<description><![CDATA[桌面虚拟化最大的一个好处就是能简化管理。所以管理的复杂性往往成为企业用户在方案选型时的一个重要考量。但如何考察管理的复杂性呢？这个问题可并不简单！ 先来看看最常犯的一个错误，那就是将“简化管理”与“简单化管理”等同起来。于是数一数不同厂商产品的安装步骤，组件数量以及控制台个数。OK，就开始下结论了。但是这个结论未免太草率。 对于IT管理员来讲，有些事情是只需要做一遍的，而有些事情则是需要天天做的。你其实更应该关注天天做的事情是不是真地变得简单了。 就拿操作系统的补丁来说吧，这是一个经常性的工作。为了简化补丁管理，VMware View和Citrix XenDesktop都采用了系统镜像的管理方式。虚拟桌面如果从镜像模板派生，那么一旦模板的补丁更新了，所有虚拟桌面的补丁就可以同步到最新。不过“承诺常常很像蝴蝶, 美丽地飞盘旋然后不见” 。还是让我们拿出放大镜， 看得更清楚一点。 虚拟桌面可简单分为两类，一类是个人专用桌面，这种桌面是一对一的；另一类是浮动分配桌面，这种桌面是一对N的，当上一个用户登出时，浮动桌面将回收并还原到与模板完全一致的状态。VMware View的补丁更新机制针对浮动分配桌面好使， 但是针对个人专用桌面就不灵了。如果你冒然对个人专用桌面做更新（recompose），桌面的补丁倒是与时俱进了，但桌面里所有用户自己安装的应用程序将会全部丢失！你能想象终端用户暴跳如雷的样子吗？ 事实上随着桌面虚拟化部署规模的扩大，你会发现个人专用桌面的占比越来越高。如果这类最大用户群体的桌面都照顾不好，又何谈简化管理呢？ 其实VMware View的补丁机制和Citrix XenDesktop如出一辙，不适用的根本原因还是它下面的功夫没有做到。View没能真正实现OS与Application的完全分离。有童鞋可能会质疑说，View不是有差分盘吗？所有用户安装的程序都会写到差分盘上。话虽没错，不过别忘了差分盘是block-level的。如果作为参照物的母盘发生改变，block-level的差分数据（data delta）就都失效了。这就好比“刻舟求剑”，“母船”动了，“记号”也就失效了。 Citrix的做法是从File level来捕获data delta。在人可以理解和感知的文件系统和注册表级别来捕获差异。然后将差异保存到一个单独的Personal vDisk上。这样就实现了OS与Application的真正分离。 From 一周耀文 : http://vdesk.blog.51cto.com/2969473/744750 Related posts: 【ZT】 View和XenDesktop到底谁更简单 Part II Xen quick start guide on openSuSE Linux 10.3
Related posts:<ol>
<li><a href='http://martinliu.cn/2012/02/xendesktop-is-better-then-view-p2.html' rel='bookmark' title='【ZT】 View和XenDesktop到底谁更简单 Part II'>【ZT】 View和XenDesktop到底谁更简单 Part II</a></li>
<li><a href='http://martinliu.cn/2008/08/xen-quick-start-guide-on-opensuse-linux-103.html' rel='bookmark' title='Xen quick start guide on openSuSE Linux 10.3'>Xen quick start guide on openSuSE Linux 10.3</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>桌面虚拟化最大的一个好处就是能简化管理。所以管理的复杂性往往成为企业用户在方案选型时的一个重要考量。但如何考察管理的复杂性呢？这个问题可并不简单！</p>
<p>先来看看最常犯的一个错误，那就是将“简化管理”与“简单化管理”等同起来。于是数一数不同厂商产品的安装步骤，组件数量以及控制台个数。OK，就开始下结论了。但是这个结论未免太草率。</p>
<p>对于IT管理员来讲，有些事情是只需要做一遍的，而有些事情则是需要天天做的。你其实更应该关注天天做的事情是不是真地变得简单了。</p>
<p>就拿操作系统的补丁来说吧，这是一个经常性的工作。为了简化补丁管理，VMware View和Citrix XenDesktop都采用了系统镜像的管理方式。虚拟桌面如果从镜像模板派生，那么一旦模板的补丁更新了，所有虚拟桌面的补丁就可以同步到最新。不过“承诺常常很像蝴蝶, 美丽地飞盘旋然后不见” 。还是让我们拿出放大镜， 看得更清楚一点。</p>
<p>虚拟桌面可简单分为两类，一类是个人专用桌面，这种桌面是一对一的；另一类是浮动分配桌面，这种桌面是一对N的，当上一个用户登出时，浮动桌面将回收并还原到与模板完全一致的状态。VMware View的补丁更新机制针对浮动分配桌面好使， 但是针对个人专用桌面就不灵了。如果你冒然对个人专用桌面做更新（recompose），桌面的补丁倒是与时俱进了，但桌面里所有用户自己安装的应用程序将会全部丢失！你能想象终端用户暴跳如雷的样子吗？ 事实上随着桌面虚拟化部署规模的扩大，你会发现个人专用桌面的占比越来越高。如果这类最大用户群体的桌面都照顾不好，又何谈简化管理呢？</p>
<p>其实VMware View的补丁机制和Citrix XenDesktop如出一辙，不适用的根本原因还是它下面的功夫没有做到。View没能真正实现OS与Application的完全分离。有童鞋可能会质疑说，View不是有差分盘吗？所有用户安装的程序都会写到差分盘上。话虽没错，不过别忘了差分盘是block-level的。如果作为参照物的母盘发生改变，block-level的差分数据（data delta）就都失效了。这就好比“刻舟求剑”，“母船”动了，“记号”也就失效了。</p>
<p>Citrix的做法是从File level来捕获data delta。在人可以理解和感知的文件系统和注册表级别来捕获差异。然后将差异保存到一个单独的Personal vDisk上。这样就实现了OS与Application的真正分离。</p>
<p>From <a href="http://vdesk.blog.51cto.com/">一周耀文</a> : <a title="http://vdesk.blog.51cto.com/2969473/744750" href="http://vdesk.blog.51cto.com/2969473/744750" target="_blank">http://vdesk.blog.51cto.com/2969473/744750</a></p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2012/02/xendesktop-is-better-then-view-p2.html' rel='bookmark' title='【ZT】 View和XenDesktop到底谁更简单 Part II'>【ZT】 View和XenDesktop到底谁更简单 Part II</a></li>
<li><a href='http://martinliu.cn/2008/08/xen-quick-start-guide-on-opensuse-linux-103.html' rel='bookmark' title='Xen quick start guide on openSuSE Linux 10.3'>Xen quick start guide on openSuSE Linux 10.3</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/12/xendesktop-is-better-then-view-p1.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>云定义</title>
		<link>http://martinliu.cn/2011/11/what-is-cloud.html</link>
		<comments>http://martinliu.cn/2011/11/what-is-cloud.html#comments</comments>
		<pubDate>Tue, 29 Nov 2011 07:15:33 +0000</pubDate>
		<dc:creator>Martin Liu</dc:creator>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://martinliu.cn/?p=51545</guid>
		<description><![CDATA[什么是云计算？这还用问么？当然&#8230;.. &#160; Related posts: Open Source and Cloud Computing(开源与云计算) Cloud Computing Infrastructure and Architecture Guide-From SUN BMC and Cloud computing
Related posts:<ol>
<li><a href='http://martinliu.cn/2008/10/open-source-and-cloud-computing%e5%bc%80%e6%ba%90%e4%b8%8e%e4%ba%91%e8%ae%a1%e7%ae%97.html' rel='bookmark' title='Open Source and Cloud Computing(开源与云计算)'>Open Source and Cloud Computing(开源与云计算)</a></li>
<li><a href='http://martinliu.cn/2009/07/cloud-computing-infrastructure-and-architecture-guide-from-sun.html' rel='bookmark' title='Cloud Computing Infrastructure and Architecture Guide-From SUN'>Cloud Computing Infrastructure and Architecture Guide-From SUN</a></li>
<li><a href='http://martinliu.cn/2009/07/bmc-and-cloud-computing.html' rel='bookmark' title='BMC and Cloud computing'>BMC and Cloud computing</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://martinliu.cn/2011/11/what-is-cloud.html/cloud" rel="attachment wp-att-51546"><img class="size-full wp-image-51546 alignnone" title="cloud" src="http://martinliu.cn/wp-content/uploads/2011/11/cloud.png" alt="" width="373" height="280" /></a></p>
<blockquote><p>什么是云计算？这还用问么？当然&#8230;..</p></blockquote>
<p class="box ">Cloud computing is an entirely new paradigm shift in how IT services are built, managed and consumed. Cloud computing delivers higher efficiency, limitless scale and faster and easier deployment of new services and systems to the end users. Cloud computing also changes the economics of the datacenter by shifting the delivery of IT resources to an on-demand model. In the process, cloud computing is opening up new business models and opportunities for enterprise and service providers.  From: <a href="http://docs.cloud.com/FAQ%3A_Cloud.com/What_is_Cloud_Computing%3F" target="_blank">cloud.com</a></p>
<p>&nbsp;</p>
<p>Related posts:<ol>
<li><a href='http://martinliu.cn/2008/10/open-source-and-cloud-computing%e5%bc%80%e6%ba%90%e4%b8%8e%e4%ba%91%e8%ae%a1%e7%ae%97.html' rel='bookmark' title='Open Source and Cloud Computing(开源与云计算)'>Open Source and Cloud Computing(开源与云计算)</a></li>
<li><a href='http://martinliu.cn/2009/07/cloud-computing-infrastructure-and-architecture-guide-from-sun.html' rel='bookmark' title='Cloud Computing Infrastructure and Architecture Guide-From SUN'>Cloud Computing Infrastructure and Architecture Guide-From SUN</a></li>
<li><a href='http://martinliu.cn/2009/07/bmc-and-cloud-computing.html' rel='bookmark' title='BMC and Cloud computing'>BMC and Cloud computing</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://martinliu.cn/2011/11/what-is-cloud.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

