<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://goxia.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://goxia.maytide.net/read.php/1915.htm</link>
<title><![CDATA[[RDS] HOWTO: 修改RemoteApp和桌面连接的自动更新周期]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Thu, 08 Nov 2018 06:36:20 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1915.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/rds-overview.png"><img width="400" height="146" title="rds-overview" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="rds-overview" src="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/rds-overview_thumb.png" border="0"></a></p><p><font color="#fd3f0d" size="4"><strong>HOWTO: 修改RemoteApp和桌面连接的自动更新周期</strong></font></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在 RDS 环境中，客户端系统在控制面板的“RemoteApp和桌面连接”中添加了 RDWeb 的订阅，其更新方式默认为自动，且提示了会定期自动更新，但是并没有详细说明更新周期。如果用户此时需要更新 RDWeb 订阅以刷新发布的 RemoteApp 列表，则必须手动点击“立即更新”，那么是否有什么方法能够自定义更新周期呢？！</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/RemoteApp_Upgrade.png"><img width="553" height="393" title="RemoteApp_Upgrade" style="display: inline; background-image: none;" alt="RemoteApp_Upgrade" src="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/RemoteApp_Upgrade_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 检查了 RDS 的相关设置和选项，也查阅了组策略，均没有线索！最后，通过对“RemoteApp和桌面连接”添加过程的轨迹进行了抓包，分析发现当添加一个 WorkResouces 时会向注册表添加连接信息数据（<strong>HKCU\Software\Microsoft\Workspaces\Feeds</strong>），并向任务计划添加一个定时任务，该任务位于任务计划路径"<strong>Microsoft\Windows\RemoteApp and Desktop Connections Update</strong>"下，任务计划名称是“<strong>Update connections</strong>”，如下图所示。</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/TaskSch.png"><img width="634" height="358" title="TaskSch" style="margin: 0px; display: inline; background-image: none;" alt="TaskSch" src="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/TaskSch_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 该任务的默认更新周期是一天更新一次，时间为每天的0:00，但是这个时间周期在实际环境下基本上是无效的，毕竟很少的用户会全天运行系统。所以，可以根据需要将其更改为每次登录时进行刷新。</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/TaskSch-1.png"><img width="634" height="358" title="TaskSch-1" style="margin: 0px; display: inline; background-image: none;" alt="TaskSch-1" src="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/TaskSch-1_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 此外，这个任务计划还为我们提供了非常有价值的命令行，通过下面的命令行可以执行手动刷新 RDWeb 订阅。</p><p><strong>“%SYSTEMROOT%\System32\RUNDLL32” tsworkspace,TaskUpdateWorkspaces2</strong></p><p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </strong>对于系统运维人员，可以利用上面的命令行编写脚本运行，方便调用。</p><p><a href="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/TaskSch-2.png"><img width="634" height="358" title="TaskSch-2" style="display: inline; background-image: none;" alt="TaskSch-2" src="http://goxia.maytide.net/ftpup/2018/HOWTO-RemoteApp_C785/TaskSch-2_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 掌控了“RemoteApp和桌面连接”的自动刷新周期，就可以方便的更新发布的程序列表，以实现便捷的推送和回收需求。</p>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1863.htm</link>
<title><![CDATA[HOWTO: 通过 Remote Desktop (RDP) 远程访问 Hyper-V 下的虚拟机]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Tue, 28 Nov 2017 03:48:31 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1863.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/Hyper-V_Logo.jpg"><img width="292" height="80" title="Hyper-V_Logo" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="Hyper-V_Logo" src="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/Hyper-V_Logo_thumb.jpg" border="0"></a></p><p><strong><font color="#fd3f0d" size="4">HOWTO: 通过 Remote Desktop (RDP) 远程访问 Hyper-V 下的虚拟机</font></strong></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Remote Desktop 是 Windows 的远程桌面工具，通过 RDP 远程访问 Windows 计算机，可在 Windows 桌面下执行管理操作。那么它又是怎么跟 Hyper-V 扯上关系的呢？！本文 <a href="http://goxia.maytide.net" target="_blank">gOxiA</a> 将分享通过 Remote Desktop 直接远程登录到 Hyper-V 下的虚拟机，对虚拟机系统执行操作。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在 Hyper-V 上如果要管理其下的虚拟机通常会在 Hyper-V 管理器下选中虚拟机（VM），并鼠标右键点击，选择“连接”。</p><p><a href="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/Hyper-V_connect.png"><img width="442" height="379" title="Hyper-V_connect" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="Hyper-V_connect" src="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/Hyper-V_connect_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 之后 ，Hyper-V 管理器会为我们启动一个新的程序，名为 VMConnect，即虚拟机连接器。这样我们便可以像本地计算机一样去操控它。</p><p><a href="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/vmconnect.png"><img width="448" height="248" title="vmconnect" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="vmconnect" src="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/vmconnect_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 当然，我们也可以为虚拟机启用远程桌面访问，这样便可以通过 Remote Desktop 登录。但是，前面所讲的都是面向 Windows 系统的，如果 Hyper-V 虚拟机是一个 Linux 呢？？？通常，接下来的解答是在 Linux 上开启 SSH 或其他远程访问服务，按照 Linux 的方案去执行。但是如果正好这个 Linux 虚拟机不能开启 SSH 怎么办？</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK，开始今天的主题！如果 Hyper-V 下的虚拟机是一个没有远程管理方案的 Linux，又或者虚拟机与客户端是隔离网络关系，那么该如何远程操控这些虚拟机系统？！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 其实我们可以借助 Windows Server 2016 的 RDP 即远程桌面协议实现我们的需求。原理是客户端通过 RDP 连接到 Hyper-V Host，之后使用 RDP 作为桥去连接虚拟机的 VMMS 端口 2179，实现两端通信。（PS：默认该端口是由 VMConnect 去连接。）</p><p><a href="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/vmms2179.png"><img width="630" height="151" title="vmms2179" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="vmms2179" src="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/vmms2179_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 要使用远程桌面来连接的具体操作步骤如下：</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 首先，获取要远程连接的虚拟机ID，可以通过 PowerShell 命令：<font style="background-color: rgb(255, 255, 0);"><strong>get-vm &#124; fl name,id</strong></font></p><p><a href="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/get-vm_id.png"><img width="280" height="376" title="get-vm_id" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="get-vm_id" src="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/get-vm_id_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 然后使用记事本新建一个扩展名为“<strong><font style="background-color: rgb(255, 255, 0);">.rdp</font></strong>”的文件，并添加如下内容：</p><p><div class="code">full address:s:servername</div></p><p><div class="code">pcb:s:VMID</div></p><p><div class="code">server port:i:2179</div></p><p><div class="code">negotiate security layer:i:0</div></p><p><a href="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/rdp.png"><img width="417" height="217" title="rdp" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="rdp" src="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/rdp_thumb.png" border="0"></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 保存后便可直接使用，以下截图是连接一台正要安装 Ubuntu 的虚拟机截图。</p><p><a href="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/rdp_vm_2179_ubuntu1.png"><img width="488" height="379" title="rdp_vm_2179_ubuntu1" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="rdp_vm_2179_ubuntu1" src="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/rdp_vm_2179_ubuntu1_thumb.png" border="0"></a></p><p><a href="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/rdp_vm_2179_ubuntu2.png"><img width="488" height="379" title="rdp_vm_2179_ubuntu2" style="border: 0px currentcolor; border-image: none; display: inline; background-image: none;" alt="rdp_vm_2179_ubuntu2" src="http://goxia.maytide.net/ftpup/2017/HOWTO--Remote-Desktop_8AE9/rdp_vm_2179_ubuntu2_thumb.png" border="0"></a></p><p>参考资料：<a title="https://technet.microsoft.com/en-us/library/Cc764268.aspx" href="https://technet.microsoft.com/en-us/library/Cc764268.aspx">https://technet.microsoft.com/en-us/library/Cc764268.aspx</a></p><table style="border: 0.5px solid rgb(187, 187, 187); border-image: none; text-align: left; text-transform: none; text-indent: 0px; letter-spacing: normal; margin-top: 20px; margin-bottom: 20px; word-spacing: 0px; white-space: normal; border-collapse: collapse; orphans: 2; background-color: transparent; -webkit-text-stroke-width: 0px;" summary="table" responsive="true"><tbody style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;" responsive="true"><th align="left" style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; background-color: rgb(237, 237, 237);" scope="col"><font style="font-size: 9.8pt;">Connection type </font></th><font style="font-size: 9.8pt;"></font><th align="left" style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; background-color: rgb(237, 237, 237);" scope="col"><font style="font-size: 9.8pt;">Protocol </font></th><font style="font-size: 9.8pt;"></font><th align="left" style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; background-color: rgb(237, 237, 237);" scope="col"><font style="font-size: 9.8pt;">Default port </font></th><font style="font-size: 9.8pt;"></font><th align="left" style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; background-color: rgb(237, 237, 237);" scope="col"><font style="font-size: 9.8pt;">Where to change the port setting </font></th><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM server to VMM agent on Windows Server–based host (control)</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">WS-Management</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">80</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">During VMM setup, registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM server to VMM agent on Windows Server–based host (file transfers)</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">HTTPS (using BITS)</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">443 (Maximum value: 32768)</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">Registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM server to remote Microsoft SQL Server database</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">TDS</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">1433</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">Registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM server to P2V source agent</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">DCOM</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">135</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">Registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM Administrator Console to VMM server</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">WCF</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">8100</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">During VMM setup, registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM Self-Service Portal Web server to VMM server</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">WCF</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">8100</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">During VMM setup</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM Self-Service Portal to VMM self-service Web server</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">HTTPS</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">443</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">During VMM setup</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM library server to hosts</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">BITS</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">443 (Maximum value: 32768)</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">During VMM setup, registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM host-to-host file transfer</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">BITS</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">443 (Maximum value: 32768)</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">Registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMRC connection to Virtual Server host</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMRC</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">5900</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM Administrator Console, registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt; background-color: rgb(255, 255, 0);">VMConnect (RDP) to Hyper-V hosts</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><font style="background-color: rgb(255, 255, 0);"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="background-color: rgb(255, 255, 0);"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt; background-color: rgb(255, 255, 0);">RDP</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><font style="background-color: rgb(255, 255, 0);"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="background-color: rgb(255, 255, 0);"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt; background-color: rgb(255, 255, 0);">2179</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><font style="background-color: rgb(255, 255, 0);"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="background-color: rgb(255, 255, 0);"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt; background-color: rgb(255, 255, 0);">VMM Administrator Console, registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">Remote Desktop to virtual machines</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">RDP</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">3389</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">Registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMware Web Services communication</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">HTTPS</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">443</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">VMM Administrator Console, registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">SFTP file transfer from VMWare ESX Server 3.0 and VMware ESX Server 3.5 hosts</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">SFTP</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">22</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">Registry</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font></tr><font style="font-size: 9.8pt;"></font><tr style="border: 0px rgb(187, 187, 187); border-image: none; margin-top: 0px; margin-bottom: 0px; border-collapse: collapse;"><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Connection type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">SFTP file transfer from VMM server to VMWare ESX Server 3i hosts</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Protocol&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">HTTPS</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default port&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">443</font></p><font style="font-size: 9.8pt;"></font></td><font style="font-size: 9.8pt;"></font><td style="padding: 10px 8px; border: 1px solid rgb(187, 187, 187); border-image: none; vertical-align: top; min-width: 80px;" data-th="&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Where to change the port setting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "><font style="font-size: 9.8pt;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font><p style="line-height: 18px; padding-bottom: 0px; margin-top: 0px; margin-bottom: 0px;"><font style="font-size: 9.8pt;">Registry</font></p></td></tr></tbody></table>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1843.htm</link>
<title><![CDATA[使用Hyper-V VLAN功能组建受隔离的网络环境]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 21 Jul 2017 04:47:24 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1843.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpup/2017/92039620f2b9_9656/Hyper-V_logo.jpg"><img title="Hyper-V_logo" style="background-image: none; display: inline" border="0" alt="Hyper-V_logo" src="http://goxia.maytide.net/ftpup/2017/92039620f2b9_9656/Hyper-V_logo_thumb.jpg" width="404" height="124"></a></p> <p><font color="#fd3f0d" size="4"><strong>使用Hyper-V VLAN功能组建受隔离的网络环境</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在开始今天的分享前，<a href="http://goxia.maytide.net" target="_blank">gOxiA</a> 带着大家前先了解下面的截图，这样才能更好的理解所要分享的内容。在一个企业网络内（Corp LAN），已经部署了DC、DNS、DHCP、WDS等服务器，是一个完整的生产环境。在 10.1.50.x 的子网内 gOxiA 有三台 Hyper-V 主机（两台基于 Windows 10，一台基于 Windows Server 2016）进行工作相关的测试和评估。</p> <p><a href="http://goxia.maytide.net/ftpup/2017/92039620f2b9_9656/Hyper-V_VLAN.png"><img title="Hyper-V_VLAN" style="background-image: none; display: inline; border-image: none" border="0" alt="Hyper-V_VLAN" src="http://goxia.maytide.net/ftpup/2017/92039620f2b9_9656/Hyper-V_VLAN_thumb.png" width="630" height="436"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 默认情况下三台 Hyper-V 主机与 Corp LAN 是可以相互访问的，这个应该很容易理解吧；现在为这三台Hyper-V 主机分别创建了虚拟交换机 vNet-LAN50，那意味着其上的虚拟机将从 10.1.50.x 获取网络地址，并运行相互访问，到这里也很容易理解吧；由于一些测试需要进行隔离，通常会在Hyper-V 主机上创建 VMs Only LAN，仅供当前Hyper-V 主机上的虚拟机相互访问，或在当前 vNet-LAN50 上启用 VLAN 分配 ID 20 进行隔离，到这里相信也能理解；OK，我们继续，现在由于一个测试任务过于庞大所需的硬件资源很高，无法在一台Hyper-V主机上进行，需要现有的三台 Hyper-V 主机组网使用，且不变动现有的物理网络环境，同时实现与现有逻辑网络隔离。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果为每台虚拟机创建单独的网络，如192.168.192.x，是可以实现相互通讯的，但是并未完全实现逻辑网络的隔离，假如虚机部署了 DHCP 服务，那么极有可能会对现有的 Corp LAN 产生影响。但是启用虚机 VLAN 后，怎么实现跨 Hyper-V 主机访问呢？！按理说 vNet-LAN50 这个虚拟交换机的物理接口是 Hyper-V 主机上与 10.1.50.x 相连的网卡，由于是透明通讯，虚拟机设置 VLAN20 后理应透过 vNet-LAN50 与其他 Hyper-V 主机上 VLAN20 的虚机通讯，但是现实很残酷并非如所想的那样！！！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 经过测试需要通过 Hyper-V 的 Virtual Switch Manager（虚拟交换机管理器）为当前网络即 vNet-LAN50 也启用 VLAN ID 20，才能实现跨 Hyper-V 主机 的 VLAN 段虚机互访。</p> <p><a href="http://goxia.maytide.net/ftpup/2017/92039620f2b9_9656/image.png"><img title="image" style="background-image: none; margin: 0px; display: inline" border="0" alt="image" src="http://goxia.maytide.net/ftpup/2017/92039620f2b9_9656/image_thumb.png" width="555" height="528"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 虽然该法实现了最终的需求，但也确实与现有逻辑网络完全隔离，这意味着原有 10.1.50.x 段中的其他设备将无法访问这三台 Hyper-V 主机，否则也必须修改 VLAN 为 20。（如果 Hyper-V 主机是多宿主，倒是很好解决！）</p>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1824.htm</link>
<title><![CDATA[工作组环境下使用 Hyper-V 管理器远程管理 Hyper-V 主机]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Thu, 02 Mar 2017 08:14:00 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1824.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/Windows_Server_2016_logo_banner.png"><img title="Windows_Server_2016_logo_banner" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Windows_Server_2016_logo_banner" src="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/Windows_Server_2016_logo_banner_thumb.png" width="500" height="169"></a></p> <p><font color="#fd3f0d" size="4"><strong>工作组环境下使用 Hyper-V 管理器远程管理 Hyper-V 主机</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 参考本文将能协助你轻松地在工作组环境下通过Windows 10 的 Hyper-V 管理器去远程管理 Hyper-V 主机。在之前的系统版本上，我们需要依赖一系列的配置操作，或使用现成的脚本才能才能实现，否则就需要确保客户端和服务器都加入到域环境。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在 Windows Server 2016 环境中，之前的配置方法和脚本都不再有效。还好微软分享了一组系统命令和简单的操作步骤，就能够实现我们的需求。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 首先，在 Windows 10 设备上通过“程序和功能”，启用 Hyper-V 管理器（Hyper-V Management Tools），由于 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 的客户端是英文版，所以具体如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/Hyper-V_Management_Tools.png"><img title="Hyper-V_Management_Tools" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="Hyper-V_Management_Tools" src="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/Hyper-V_Management_Tools_thumb.png" width="524" height="568"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 然后，在 Hyper-V 主机上执行配置命令行，以便接收 Windows PowerShell 远程命令发送的 WS-Management 指令，同时还要为 WS-Management 配置允许 CredSSP 身份验证。为此，我们需要执行两条命令：</p> <p>1、 <a href="https://msdn.microsoft.com/powershell/reference/5.1/microsoft.powershell.core/Enable-PSRemoting" target="_blank">Enable-PSRemoting</a></p> <p>2、 <a href="https://msdn.microsoft.com/powershell/reference/5.1/microsoft.wsman.management/Enable-WSManCredSSP" target="_blank">Enable-WSManCredSSP</a> -role server</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 具体的执行效果可参考下图：</p> <p><a href="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/enable-psremoting.png"><img title="enable-psremoting" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="enable-psremoting" src="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/enable-psremoting_thumb.png" width="634" height="328"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 至此，Hyper-V 主机端的配置就算结束了，是不是非常简单便捷！接下来开始配置 Windows 10 客户端，同样需要先使用命令行进行配置。</p> <p>1、<strong>Set-Item WSMan:\localhost\Client\TrusteHosts -Value</strong> "<em><font color="#a5a5a5">Hyper-V Host FQDN</font></em>"</p> <p>2、<strong>Enable-WSManCredSSP -Role client -DelegateComputer</strong> "<em><font color="#a5a5a5">Hyper-V Host FQDN</font></em>"</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 具体操作效果如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_client.png"><img title="con_client" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="con_client" src="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_client_thumb.png" width="577" height="345"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 现在，执行 gpedit.msc 启动组策略管理器，定位至 计算机配置-管理模板-系统-凭据分配，启用“<strong>允许分配新的凭据用于仅NTLM服务器身份验证</strong>”，同时将“<strong>wsman/</strong><em><font color="#a5a5a5">Hyper-V Host FQDN</font></em>” 添加到服务器列表中，如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_client_gpedit1.png"><img title="con_client_gpedit1" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="con_client_gpedit1" src="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_client_gpedit1_thumb.png" width="492" height="345"></a></p> <p><a href="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_client_gpedit2.png"><img title="con_client_gpedit2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="con_client_gpedit2" src="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_client_gpedit2_thumb.png" width="369" height="345"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 至此，配置过程告一段落，无需重新启动客户端和服务器，直接打开 Windows 10 设备上的 Hyper-V 管理器，添加计算机，填写“Hyper-V Host FQDN”，即 Hyper-V 主机的完整计算机名称，根据需要填写用于认证账号和密码，便可以连接到远程 Hyper-V 主机上进行愉快的操控。</p> <p><a href="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_Hyper-v_mgr1.png"><img title="con_Hyper-v_mgr1" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="con_Hyper-v_mgr1" src="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_Hyper-v_mgr1_thumb.png" width="442" height="345"></a></p> <p><a href="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_Hyper-v_mgr2.png"><img title="con_Hyper-v_mgr2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="con_Hyper-v_mgr2" src="http://goxia.maytide.net/ftpup/2017/ed310f9bcddf_B728/con_Hyper-v_mgr2_thumb.png" width="437" height="345"></a></p> <p>参考资料：<a title="https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/manage/remotely-manage-hyper-v-hosts?f=255&amp;MSPPError=-2147217396" href="https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/manage/remotely-manage-hyper-v-hosts?f=255&amp;MSPPError=-2147217396">https://technet.microsoft.com/en-us/windows-server-docs/compute/hyper-v/manage/remotely-manage-hyper-v-hosts?f=255&amp;MSPPError=-2147217396</a></p>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1704.htm</link>
<title><![CDATA[Hyper-V - 增强会话模式]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 13 Nov 2013 05:33:03 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1704.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/WS_C123/ws2012r2-logo.png"><img title="ws2012r2-logo" border="0" alt="ws2012r2-logo" src="http://goxia.maytide.net/ftpupfiles/WS_C123/ws2012r2-logo_thumb.png" width="315" height="55"></a></p> <p><font color="#fd3f0d" size="4"><strong>Hyper-V —— 增强会话模式</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Windows 8.1/Server 2012 R2 中的 Hyper-V 提供了一个新的功能，即：增强会话模式（Enhanced Session Mode），这个功能使得 Hyper-V 虚拟机连接器能够基于 RDP 方式进行管理，或者说是 RDP 到虚拟机的连接基于 VMBus，<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 个人更倾向前一种说法，因为更加容易理解。因为在增强会话模式下，实现了很多 RDP 的功能，例如现在我们可以直接通过 VMConnect 从虚拟机中复制或粘贴文件或数据内容，而且还能够将本地资源重定向到虚拟机中。具体可参考下图：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/image.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/image_thumb.png" width="424" height="310"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/image_3.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/image_thumb_3.png" width="424" height="310"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;要启用增强会话功能，很简单！只需要在“Hyper-V 设置”中启用“允许增强会话模式”功能即可。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/image_4.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/image_thumb_4.png" width="549" height="518"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当我们通过 VMConnect 以增强模式操作虚拟机时，只需要在菜单栏的“查看”中选择“增强会话”即可。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/EnhancedMode.png"><img title="EnhancedMode" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="EnhancedMode" src="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/EnhancedMode_thumb.png" width="628" height="518"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当然，如果希望以后连接器打开虚拟机时都以增强模式访问，那么只需要在“Hyper-V 设置”下的“增强会话模式可用时使用”选项中复选“使用增强会话模式”即可。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/image_5.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/Hyper-V---_B73A/image_thumb_5.png" width="549" height="518"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在使用增强会话模式时需要注意以下几点：</p> <ul> <li>增强会话模式目前仅支持 Windows 8.1/Server 2012 R2 虚拟机。</li> <li>增强会话模式支持第一代和第二代虚拟机。</li> <li>增强会话模式无需为虚拟机配置网络。</li> <li>增强会话模式无需为虚拟机系统启用RDP。</li> <li>只有支持 RDP 的 SKUs 才支持增强会话模式，即 Windows 8.1&nbsp;&nbsp;Home 版不支持增强模式。</li> <li>增强会话模式无需 RemoteFX。</li> <li>增强会话模式不支持 OOBE。</li></ul><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/8.1/" rel="tag">8.1</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/vmconnect/" rel="tag">vmconnect</a> , <a href="https://goxia.maytide.net/go.php/tags/enhanced/" rel="tag">enhanced</a> , <a href="https://goxia.maytide.net/go.php/tags/session/" rel="tag">session</a> , <a href="https://goxia.maytide.net/go.php/tags/mode/" rel="tag">mode</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1698.htm</link>
<title><![CDATA[[WS2012]HOWTO: 在 Hyper-V 虚拟机上安装 Hyper-V 角色]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Tue, 15 Oct 2013 06:44:24 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1698.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/WS_C123/ws2012r2-logo.png"><img title="ws2012r2-logo" border="0" alt="ws2012r2-logo" src="http://goxia.maytide.net/ftpupfiles/WS_C123/ws2012r2-logo_thumb.png" width="315" height="55"></a></p> <p><font color="#fd3f0d" size="4"><strong>HOWTO: 在 Hyper-V 虚拟机上安装 Hyper-V 角色</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;作为 ITPro 是否想在现有环境中操作体验一下微软新的虚拟化平台——Hyper-V？！特别是希望学习 Hyper-V 的操作和各项选项设置，甚至是进行实时迁移或群集等实验，但又苦于没有现成的硬件可供测试？！有些朋友可能尝试直接在一台 Hyper-V 虚拟机上通过服务器管理器来安装 Hyper-V 角色，但是结果是安装向导提示无法进行角色的安装。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_CF11/hyperv_on_vms_in_hyperv_1_thumb.png"><img title="hyperv_on_vms_in_hyperv_1_thumb" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="hyperv_on_vms_in_hyperv_1_thumb" src="http://goxia.maytide.net/ftpupfiles/WS2012_CF11/hyperv_on_vms_in_hyperv_1_thumb_thumb.png" width="634" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;其实用户可以执行一系列的 PowerShell 命令行来强制安装 Hyper-V 角色，具体步骤如下：</p> <ol> <li><strong>Enable-WindowsOptionalFeature –Online –FeatureName Microsoft-Hyper-V –All –NoRestart</strong></li> <li><strong>Install-WindowsFeature RSAT-Hyper-V-Tools –IncludeAllSubFeature</strong></li> <li><strong>Install-WindowsFeature RSAT-Clustering –IncludeAllSubFeature</strong></li> <li><strong>Install-WindowsFeature Multipath-IO</strong></li> <li><strong>Restart-Computer</strong></li></ol> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_CF11/hyperv_on_vms_in_hyperv_2_thumb.png"><img title="hyperv_on_vms_in_hyperv_2_thumb" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="hyperv_on_vms_in_hyperv_2_thumb" src="http://goxia.maytide.net/ftpupfiles/WS2012_CF11/hyperv_on_vms_in_hyperv_2_thumb_thumb.png" width="634" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;通过此法能够在虚拟机上安装 Hyper-V 角色，也能创建虚拟机，但是虚拟机是无法正常启动和运行的。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_CF11/hyperv_on_vms_in_hyperv_3_thumb.png"><img title="hyperv_on_vms_in_hyperv_3_thumb" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="hyperv_on_vms_in_hyperv_3_thumb" src="http://goxia.maytide.net/ftpupfiles/WS2012_CF11/hyperv_on_vms_in_hyperv_3_thumb_thumb.png" width="634" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;虽然不能运行虚拟机，但是 Hyper-V 的诸多特性和功能还是可用的，比如我们可以在此环境中进行无需共享存储的实时迁移实验，也可体验一下 Hyper-V 的复制功能，甚至可将该虚拟机作为 Hyper-V 群集节点，进行 Hyper-V 故障转移群集的实验。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注：该方法不受微软支持！！！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;参考：<a title="http://blogs.technet.com/b/gbanin/archive/2013/06/26/how-to-install-hyper-v-on-a-virtual-machine-in-hyper-v.aspx" href="http://blogs.technet.com/b/gbanin/archive/2013/06/26/how-to-install-hyper-v-on-a-virtual-machine-in-hyper-v.aspx">http://blogs.technet.com/b/gbanin/archive/2013/06/26/how-to-install-hyper-v-on-a-virtual-machine-in-hyper-v.aspx</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1691.htm</link>
<title><![CDATA[[WS2012] Windows Server 2012 Hyper-V 复制]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 11 Sep 2013 07:54:28 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1691.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/WS_C123/ws2012r2-logo.png"><img title="ws2012r2-logo" border="0" alt="ws2012r2-logo" src="http://goxia.maytide.net/ftpupfiles/WS_C123/ws2012r2-logo_thumb.png" width="315" height="55"></a></p> <p><strong><font color="#fd3f0d" size="4">Windows Server 2012 Hyper-V 复制</font></strong></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;早在去年11月份 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 就与大家分享了 Windows Server 2012 Hyper-V 虚拟机可移动性方面的几篇文章：“<a href="http://goxia.maytide.net/read.php/1636.htm">Windows Server 2012 使用 SMB 共享存储的实时迁移</a>”、“<a href="http://goxia.maytide.net/read.php/1635.htm">Windows Server 2012 Hyper-V over SMB</a>”、“<a href="http://goxia.maytide.net/read.php/1632.htm">详解 Windows Server 2012 无需共享存储的实时迁移</a>”。这些功能和特性确实极大的方便了 ITPro，使大家能够轻松、快速、安全的对虚拟机进行迁移。当对这几部分的实时迁移有一定的学习和理解后，Hyper-V 复制就显得更加容易，所以之前也就没有再单独写这部分的文章。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最近遇到几个案例都是探讨虚机备份和低成本的异地灾备的，而且这几天在做 <a href="http://goxia.maytide.net/read.php/1680.htm" target="_blank">Windows Server 2012 R2 Preview</a> 到 RTM 迁移时也涉及到了 Hyper-V 复制，所以打算写篇东西出来跟大家分享分享，也算给自己留个存档。Hyper-V 复制，即：Hyper-V Replica，也称之为 Hyper-V 副本，是一种异步虚拟机复制技术，基于 HTTP 协议进行传输，所以它也非常适合应用在广域网环境中。在设计上，Hyper-V 复制主要用于商业连续性和灾难恢复场景。因为不需要任何共享存储，所以该技术可用于任何服务器、网络或存储供应商的设备。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/Hyper-V_Replication.png"><img title="Hyper-V_Replication" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="Hyper-V_Replication" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/Hyper-V_Replication_thumb.png" width="634" height="353"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;要为 Hyper-V 主机启用复制功能，首先确保当前主机已经加入到 AD，并参考无需共享存储的实时迁移对主机做 Kerberos 委派，添加“hyper-v replica service”，然后还要修改当前主机的 Hyper-V 设置，在“复制配置”下勾选“启用此计算机作为副本服务器”，并选择“使用 Kerberos (HTTP)”端口保持80默认，在“授权和存储”选项下，选择“允许从任何经过身份验证的服务器重进行服务”，并指定副本的默认存储位置。可参考下图设置：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/image.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/image_thumb.png" width="634" height="598"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在完成上述设置后向导会提示防火墙设置的相关警告，我们只需要进入防火墙设置允许 Hyper-V 副本 HTTP 通过。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/image_3.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/image_thumb_3.png" width="634" height="382"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;接下来，便可选择一台虚机进行复制的配置，整个过程可以参考下面的截图。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/1.png"><img title="1" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="1" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/1_thumb.png" width="634" height="358"></a></p> <p>选择虚拟机，启用复制。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/2.png"><img title="2" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="2" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/2_thumb.png" width="632" height="476"></a></p> <p>指定副本服务器，填写服务器名称。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/3.png"><img title="3" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="3" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/3_thumb.png" width="632" height="476"></a></p> <p>因为仅允许使用 Kerberos 身份验证(HTTP)，所以在连接参数向导中仅有一种可选模式，如果网络带宽比较紧张，建议勾选“压缩通过网络传输的数据”。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/4.png"><img title="4" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="4" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/4_thumb.png" width="632" height="476"></a></p> <p>选择复制 VHD，是非常人性化的配置，比如当前虚机本身附加有备份用的磁盘，那么在做 Hyper-V Replica 时可以不对这些备份用VHD做复制，当然有些用户也可能仅是为了复制虚机的数据VHD而不需要系统盘，那么也可以在该步骤中进行选择。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/5.png"><img title="5" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="5" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/5_thumb.png" width="632" height="476"></a></p> <p>根据需要配置复制频率，默认为每5分钟将更改发送到副本服务器。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/6.png"><img title="6" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="6" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/6_thumb.png" width="632" height="476"></a></p> <p>在容灾级别不高而且对数据存储容量毕竟敏感的场景下，可以“仅保留最新恢复点”。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/7.png"><img title="7" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="7" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/7_thumb.png" width="632" height="476"></a></p> <p>“选择初始复制方法”下，可以结合场景并根据实际情况进行选择。如果当前场景是局域网环境，并且此时网络带宽并不拥挤，那么可使用默认的“通过网络发送初始副本”作为初始复制方法，并“立即启动复制”。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/8.png"><img title="8" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="8" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/8_thumb.png" width="632" height="476"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/9.png"><img title="9" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="9" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/9_thumb.png" width="634" height="343"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在完成初始复制后，Hyper-V 复制功能会按照之前设置计划的时间频率将虚拟机的变更发送出去。这些变更时通过日志文件追踪的，并且将在变更发往复制服务器前进行压缩。在主服务器上，变更会被保存在一个.hrl文件中，该文件与被复制的VHD文件位于相同位置下。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hyper-V 复制的故障转移操作有三个主要选项：</p> <ol> <li>计划内故障转移，顾名思义也就是按照预先确定的计划来进行故障转移。该方式需要满足两个前提条件：在初始故障转移前，虚拟机必须关闭；被复制主机必须也启用复制功能，并允许接收来自复制主机的复制。<br/><a href="http://goxia.maytide.net/ftpupfiles/Tips_B7D4/image.png"><img title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/Tips_B7D4/image_thumb.png" width="565" height="337"></a></li> <li>测试故障转移，在复制服务器上进行操作，允许在不中断当前持续的复制配置下，生成并启动一个新的用于测试用途的虚拟机。<br/><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/image_4.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/image_thumb_4.png" width="465" height="202"></a></li> <li>计划外故障转移，很容易理解了，被复制主机意外宕机时，我们便可以在复制主机上执行“故障转移”，将该虚机启动上线。<br/><a href="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/image_5.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/922f9b5e19eb_CA48/image_thumb_5.png" width="465" height="247"></a></li></ol> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;玩转 Windows Server 2012 Hyper-V 的实时迁移和复制功能，并灵活应用在不同场景下，将会使 ITPro 感到无比轻松。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;参考：<a title="Hyper-V 副本概述" href="http://technet.microsoft.com/zh-cn/library/jj134172.aspx" target="_blank">Hyper-V 副本概述</a>、<a title="演示 Hyper-V 副本" href="http://technet.microsoft.com/zh-cn/library/hh831759.aspx">演示 Hyper-V 副本</a>、<a title="Deploy Hyper-V Replica" href="http://technet.microsoft.com/zh-cn/library/jj134207.aspx">Deploy Hyper-V Replica</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/rtm/" rel="tag">rtm</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/replica/" rel="tag">replica</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1690.htm</link>
<title><![CDATA[[Tips]在 Windows Server 2012 R2 RTM 和 Preview 之间迁移虚机将会失败]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 11 Sep 2013 06:10:19 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1690.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/WS_C123/ws2012r2-logo.png"><img title="ws2012r2-logo" border="0" alt="ws2012r2-logo" src="http://goxia.maytide.net/ftpupfiles/WS_C123/ws2012r2-logo_thumb.png" width="315" height="55"></a></p> <p><font color="#fd3f0d" size="4"><strong>在 Windows Server 2012 R2 RTM 和 Preview 之间迁移虚机将会失败</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Windows Server 2012 R2&nbsp;&nbsp;RTM 在9月10日签约 MSDN/TechNet 向订阅用户发布，这次微软还是非常重视用户反馈的，最终选择提前向订阅用户发布 RTM。<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 在第一时间下载了 Windows Server 2012 R2 RTM，并着手升级当前的 <a href="http://goxia.maytide.net/read.php/1680.htm" target="_blank">Windows Server 2012 R2 Preview</a> 环境，两台基于 Windows Server 2012 R2 Preview 的 Hyper-V 主机，分别跑了一些虚机，因为服务器有 iDRAC，所以即使 gOxiA 没在办公室只需 VPN 到单位网络，通过 iDRAC 远程控制服务器，并通过 WDS 部署即可，非常方便！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;因为 Windows Server 2012 RTM 不支持从 Preview 版本进行就地升级，所以必须要全新安装，虽然目前 Hyper-V 可以直接导入磁盘上存储的虚拟机，但是为了保险起见还是利用<a href="http://goxia.maytide.net/read.php/1632.htm" target="_blank">无需共享存储的实时迁移</a>将虚拟机暂时移动到了另一台 Hyper-V 上。之后全新的安装过程非常简单，因为是在千兆网环境下通过 WDS 进行部署的，所以整体的速度非常非常快。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对新装的 Windows Server 2012 RTM 进行基础配置，加域等等的工作之后，便打算将之前跑在上面的虚拟机迁移回来，但是在实际操作时却遇到了问题，会提示无所进行迁移，因为接收到的虚拟机迁移数据无效或已损坏！由于之前忘记截图，所以 Hyper-V 管理器上的提示窗体截图没能保存下来，还好日志中有该问题的记录，提供出来给大家作为参考。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Tips_B7D4/Hyper-V-VMMS_22042.png"><img title="Hyper-V-VMMS_22042" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="Hyper-V-VMMS_22042" src="http://goxia.maytide.net/ftpupfiles/Tips_B7D4/Hyper-V-VMMS_22042_thumb.png" width="644" height="456"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由于错误提示非常简单，并没有更具体的信息，而且 Windows Server 2012 R2 RTM 刚刚发布，参考文章少之又少，所以只能自己一点一点摸索解决！回忆之前 Windows Server 2012 到 2012 R2 Preview 的升级，是基于本地的就地升级，所以也没发现有什么问题，但是隐约记得在升级完第一台服务器后，确实也执行过实时迁移操作，并没有遇到这次的问题，难道是我本身虚机数据出现了损坏？！检查了各虚机数据都是正常的，但迁移就是无法通过，无奈试试 Hyper-V 复制。即，在位于 Preview 版上的虚拟机配置 Hyper-V 副本，将配置和数据传输到 RTM 上。一试，还真成功了！为了不再耽误时间，所以决定将要升级的 Preview 服务器上的所以虚机都通过 Hyper-V 副本功能传输到 RTM 这台服务器上。在完成传输后，关闭这些虚机，并执行“计划的内故障转移”即可。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Tips_B7D4/image.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/Tips_B7D4/image_thumb.png" width="565" height="337"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当所有配置了 Hyper-V 副本的虚拟机都执行了计划内故障转移之后，相信 Preview 上所有的虚机都以完成了到 RTM 的迁移。现在只需再为这些虚机“删除复制”以禁用副本功能，便可开始进行 Windows Server 2012 RTM 的全新安装。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Tips_B7D4/image_3.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/Tips_B7D4/image_thumb_3.png" width="634" height="358"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当第二台 Windows Server 2012 R2 RTM 安装和配置完毕后，发现在两台服务器间的实时迁移恢复正常了，因此判断 Windows Server 2012 R2 RTM 与 Preview 的实时迁移应该存在兼容性问题，如果大家也在实际环境中遇到了这样的问题，不妨换种思路参考 gOxiA 的亲身经历来解决。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/rtm/" rel="tag">rtm</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1636.htm</link>
<title><![CDATA[[WS2012] Windows Server 2012 使用 SMB 共享存储的实时迁移]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Mon, 12 Nov 2012 05:39:41 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1636.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012.png"><img title="logo_winserver2012" border="0" alt="logo_winserver2012" src="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012_thumb.png" width="220" height="44"></a></p> <p><font color="#fd3f0d" size="4"><a href="http://www.microsoft.com/zh-cn/server-cloud/ws2012/default.aspx" target="_blank"><strong><font color="#fd3f0d">Windows Server 2012</font></strong></a><strong> 使用 SMB 共享存储的实时迁移</strong></font></p> <p><a href="http://goxia.maytide.net/ftpupfiles/3492f77cde1c_9020/live_migration_with_smb_shared_storage.png"><img title="live_migration_with_smb_shared_storage" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="live_migration_with_smb_shared_storage" src="http://goxia.maytide.net/ftpupfiles/3492f77cde1c_9020/live_migration_with_smb_shared_storage_thumb.png" width="634" height="313"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;前几天 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 与大家分享了“<a href="http://www.microsoft.com/zh-cn/server-cloud/ws2012/default.aspx" target="_blank">Windows Server 2012 无需共享存储的实时迁移</a>”，当我们了解了无需共享存储的实时迁移之后，对于 Windows Server 2012 使用 SMB 共享存储的实时迁移学习和实践起来就更加容易了！还记得之前的迁移过程中有一个步骤是让我们选择要移动的虚拟机项目吗？！其中“仅移动虚拟机”这个选项就是基于共享存储的实时迁移。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/5.png"><img title="5" border="0" alt="5" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/5_thumb.png" width="630" height="476"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;既然是使用共享存储的实时迁移，那么文件共享是必须具备的前提条件，需要注意的是虽然是文件共享，但是我们必须使用基于 SMB 3.0 协议的文件共享服务器，大家可参考上一篇日志“<a href="http://goxia.maytide.net/read.php/1635.htm" target="_blank">Windows Server 2012 Hyper-V over SMB</a>”进行准备工作。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;测试环境大致说明，两台 Hyper-V 主机已经加入到活动目录（AD），并在名为 Hyper-V 的主机上启用了 SMB 共享，为了确保使用 SMB 共享存储的实时迁移正常工作，我们需要做 Kerberos 委派，与“<a href="http://goxia.maytide.net/read.php/1632.htm" target="_blank">Windows Server 2012 无需共享存储的实时迁移</a>”中提到的委派设置相同，添加 CIFS 委派即可，否则就会 出现如下图一样的错误。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/3492f77cde1c_9020/12.png"><img title="12" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="12" src="http://goxia.maytide.net/ftpupfiles/3492f77cde1c_9020/12_thumb.png" width="472" height="474"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;由于 SMB 共享是建立在一台 Hyper-V 主机上的，所以我们需要特别设置一下共享权限，将目录权限和共享权限都添加 everyone 有完全控制权限，否则在迁移时会出现错误，如下图所示。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/3492f77cde1c_9020/13.png"><img title="13" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="13" src="http://goxia.maytide.net/ftpupfiles/3492f77cde1c_9020/13_thumb.png" width="444" height="368"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;因为本机在访问位于本机共享资源的UNC时，会使用 user 权限进行验证，如果按照“<a href="http://goxia.maytide.net/read.php/1635.htm" target="_blank">Windows Server 2012 Hyper-V over SMB</a>”中推荐的安全规范进行设置，会导致主机访问共享失败。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;一切准备就绪后，就可以开始迁移了，在 Hyper-V 移动向导过程中选择“仅移动虚拟机”，过程就是这么简单！对于此类的实时迁移，因为虚机的磁盘文件（VHD）始终位于基于 SMB 3.0 的文件服务器上，虚机的迁移只是将运行状态从一台主机迁移到另一台主机，当然 SMB 存储的链接也会被迁移过去，但是 VHD是绝不会被移动的。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/5.png"><img title="5" border="0" alt="5" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/5_thumb.png" width="630" height="476"></a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/3.0/" rel="tag">3.0</a> , <a href="https://goxia.maytide.net/go.php/tags/over/" rel="tag">over</a> , <a href="https://goxia.maytide.net/go.php/tags/smb/" rel="tag">smb</a> , <a href="https://goxia.maytide.net/go.php/tags/live/" rel="tag">live</a> , <a href="https://goxia.maytide.net/go.php/tags/migraiton/" rel="tag">migraiton</a> , <a href="https://goxia.maytide.net/go.php/tags/with/" rel="tag">with</a> , <a href="https://goxia.maytide.net/go.php/tags/shared/" rel="tag">shared</a> , <a href="https://goxia.maytide.net/go.php/tags/storage/" rel="tag">storage</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1635.htm</link>
<title><![CDATA[[WS2012]Windows Server 2012 Hyper-V over SMB]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Mon, 12 Nov 2012 04:08:18 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1635.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012.png"><img title="logo_winserver2012" border="0" alt="logo_winserver2012" src="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012_thumb.png" width="220" height="44"></a></p> <p><a href="http://www.microsoft.com/zh-cn/server-cloud/ws2012/default.aspx" target="_blank"><strong><font color="#fd3f0d" size="4">Windows Server 2012</font></strong></a><strong><font color="#fd3f0d" size="4"> Hyper-V over SMB</font></strong></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Windows Server 2012 Hyper-V over SMB，即：基于 SMB 的 Hyper-V，简单理解就是将 Hyper-V 的配置文件、虚拟磁盘（VHD）、快照等文件以共享文件存储的方式来进行存储和使用。要实现这一特性，需要使用 Windows Server 2012 的 SMB 3.0 文件共享作为 Hyper-V 的共享存储器。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hyper-V over SMB 的主要优势：</p> <ul> <li>易于设置和管理，基于文件共享方式相比较专用的存储结构和LUN，更加容易设置和管理。&nbsp;&nbsp;<li>较高的灵活性，Hyper-V over SMB 同样支持 Windows Server 2012 Hyper 的实时迁移技术。&nbsp;&nbsp;<li>减少成本投资，因为无需专用存储，所以我们可以依靠 SMB 在现有的网络上为 Hyper-V 部署存储，不仅减少了在设备上投资，而且无需专门的存储知识。</li></ul> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;要部署 Hyper-V over SMB，我们必须了解其必备的条件！AD（Active Directory 活动目录）作为基础架构是必须的，但是 DC 不需要运行 Windows Server 2012 系统；Hyper-V 主机必须是 Windows Server 2012 系统；对于文件服务器，除了 Windows Server 2012 以外，还可以选择支持 SMB 3.0 协议的非 Microsoft 文件服务器。常见的部署方式有三种：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/hyper-v_over_smb.jpg"><img title="hyper-v_over_smb" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="hyper-v_over_smb" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/hyper-v_over_smb_thumb.jpg" width="624" height="233"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;主要区别就是 SMB 服务器的节点数量，对于测试和实验这类的非生产环境，我们可以使用单节点文件服务器的部署结构，对于要求高的则可以使用多节点或带有群集功能的文件服务器结构。在微软官方的手册中明确说明 Hyper-V over SMB 不支持回环配置，就是说不支持将 Hyper-V 主机节点用于存储服务器，但是在 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 测试“使用 SMB 共享存储的实时迁移”时还是仅使用了两台 Hyper-V 主机实现了 Hyper-V over SMB，不过也仅局限于测试，因为我们需要将共享存储的安全性降到最低，这样一来此种方式的部署则会显得没有任何意义，如果你当前的测试环境设备比较紧张，也可以尝试！只需要将共享目录的共享权限设置为：everyone 有完全控制的权限；同时目录安全性配置也配置为：everyone 有完全控制的权限。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在开始 Hyper-V oever SMB 实践之前请再确认一下测试环境的准备情况，以 gOxiA 为例：一台 DC；两台 Hyper-V 主机，都加到 AD 并安装了文件共享服务。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/image.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/image_thumb.png" width="634" height="451"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;首先，使用 ADUC 创建两个组“HyperVHosts”和“HyperVAdmins”，将两台 Hyper-V 主机添加到“HyperVHosts”组，将用于管理 Hyper-V 的账号添加到“HyperVAdmins”，这样做是出于安全管理规范考虑，当然如果是测试环境，可以暂不考虑安全配置。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 然后，通过服务器管理器打开共享管理，并添加“SMB 共享 - 应用程序”类型的共享。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/1.png"><img title="1" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="1" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/1_thumb.png" width="634" height="358"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在“共享位置”配置中，选择我们要存储虚拟机文件的卷，如：“E:”；“共享名称”设置中，在“共享名称”框中输入共享名，如：“SMB”，默认向导会在 E盘下自动创建一个 Share 目录，同时在其下创建 SMB 子目录，并将其设为共享，如：“hyper-vsmb”；“其他设置”选项中保持默认即可。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/2.png"><img title="2" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="2" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/2_thumb.png" width="634" height="466"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/3.png"><img title="3" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="3" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/3_thumb.png" width="634" height="466"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/4.png"><img title="4" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="4" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/4_thumb.png" width="634" height="466"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;之后进入权限设置，根据实际的情况，我们需要重新自定义权限，以确保 Hyper-V主机以及相关用户有适当的访问权限。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/5.png"><img title="5" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="5" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/5_thumb.png" width="634" height="466"></a></p> <p>在“权限”选项中，首先禁用继承，并添加 Hyper-V 主机对该目录有完全控制权限，如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/6.png"><img title="6" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="6" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/6_thumb.png" width="634" height="422"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;再切换到“共享”选项，添加 Hyper-V 主机和 Hyper-V 管理用户有完全控制的共享访问权限！注意：在两 Hyper-V 主机节点测试环境下，请将目录权限和共享权限都改为 everypne 有完全控制权限，否则在以后的 SMB 共享存储的实时迁移过程中会出现错误。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/7.png"><img title="7" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="7" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/7_thumb.png" width="634" height="422"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;完成 SMB 的设置后，我们便可以为 Hyper-V 主机上的虚机添加基于共享文件存储的虚拟磁盘（VHD），如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/8.png"><img title="8" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="8" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/8_thumb.png" width="628" height="474"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/9.png"><img title="9" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="9" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/9_thumb.png" width="628" height="474"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9342/10.png"><img title="10" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="10" src="http://goxia.maytide.net/ftpupfiles/WS2012_9342/10_thumb.png" width="628" height="474"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;总结， Hyper-V over SMB 的配置操作其实非常简单，并没有特别需要设置的地方！只需牢记，文件服务器必须是支持 SMB 3.0 的文件服务器，如：Windows Server 2012；Hyper-V 主机必须是 Windows Server 2012 并加入到活动目录（AD），出于安全考虑可以单独创建安全组用于之后的权限分配。之所以要单独拿出来讲一讲，是便于学习下一篇“使用 SMB 共享存储的实时迁移”时，可以给 SMB 共享存储部分有一个参考！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hyper-V over SMB 部署的详细文档，可以参考：<a title="http://technet.microsoft.com/zh-cn/library/jj134187" href="http://technet.microsoft.com/zh-cn/library/jj134187">http://technet.microsoft.com/zh-cn/library/jj134187</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/3.0/" rel="tag">3.0</a> , <a href="https://goxia.maytide.net/go.php/tags/smb/" rel="tag">smb</a> , <a href="https://goxia.maytide.net/go.php/tags/vhd/" rel="tag">vhd</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1634.htm</link>
<title><![CDATA[[WS2012]HOWTO: 解决 Windows Server 2012 Hyper-V 实时迁移时遇到的 0x80090303 故障]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 09 Nov 2012 08:32:28 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1634.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012.png"><img title="logo_winserver2012" border="0" alt="logo_winserver2012" src="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012_thumb.png" width="220" height="44"></a></p> <p><strong><font color="#fd3f0d" size="4">HOWTO: 解决 </font></strong><a href="http://www.microsoft.com/zh-cn/server-cloud/ws2012/default.aspx" target="_blank"><strong><font color="#fd3f0d" size="4">Windows Server 2012</font></strong></a><strong><font color="#fd3f0d" size="4"> Hyper-V 实时迁移时遇到的 0x80090303 故障</font></strong></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当我们在测试 Windows Server 2012 Hyper-V 实时迁移（如：<a href="http://goxia.maytide.net/read.php/1632.htm" target="_blank">无需共享存储的实时迁移</a>）过程中可能会遇到 0x80090303 故障，错误如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012HOWTO--Windows-Server-2012--0x8009_DCD3/0x80090303.png"><img title="0x80090303" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="0x80090303" src="http://goxia.maytide.net/ftpupfiles/WS2012HOWTO--Windows-Server-2012--0x8009_DCD3/0x80090303_thumb.png" width="400" height="309"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;具体内容大致为“迁移源上的虚拟机迁移操作失败。无法验证源主机上的连接：指定的目标未知或无法达到（0x80090303）。”由于 0x80090303 故障与之前日志中提到的 0x8009030E 故障极为相似，如果不加注意我们便会按照实时迁移时 kerberos 权限委派的步骤进行排错解决，去为主机委派设置添加“Microsoft Virtual System Migration Service”服务类型。<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 当初就走入了这个误区，当使用 ADUC 为 Hyper-V 主机去做委派时发现在主机委派服务类型中并未找到“Microsoft Virtual System Migration Service”。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;检查 Hyper-V 主机事件日志发现在“应用程序和服务日志”-“Microsoft”-“Windows”-“Hyper-V-VMMS”-“Admin”下记录有错误的事件ID：14050，来源为：Hyper-V-VMMS。具体内容是“无法注册服务主体名称“Microsoft Virtual System Migration Service”。”</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012HOWTO--Windows-Server-2012--0x8009_DCD3/image.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012HOWTO--Windows-Server-2012--0x8009_DCD3/image_thumb.png" width="634" height="358"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;此外，还包含其他几个相关的 SPN（服务主体名称）错误日志：“Hyper-V Replica Service”、“Microsoft Virtual Console Service”。之后使用 setspn –l <em>hostname </em>进行检查，发现当前主机确实缺少这些 SPN，而“Microsoft Virtual System Migration Service”是我们迁移虚机所必须的。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;那么什么是 SPN 呢？！引用一篇微软官方 Blog 的解释：<font color="#a5a5a5"><em>SPN 即“服务主体名称”，是一种名称，唯一标识一个服务实例。用来验证 Kerberos 身份验证的 SPN 的必须正确设置。SPN 是 Active Birectory 属性，但不暴露在 AD 的管理单元。</em></font><font color="#000000">那么 SPN 的作用是什么呢？！gOxiA 推荐这篇微软 Blog <a title="http://blogs.technet.com/b/crmchina/archive/2010/01/29/crm-spn.aspx" href="http://blogs.technet.com/b/crmchina/archive/2010/01/29/crm-spn.aspx">http://blogs.technet.com/b/crmchina/archive/2010/01/29/crm-spn.aspx</a> 供大家参考，虽然与 Hyper-V 没有直接关系，但他们之间的概念是相通的，便于我们更好的理解该故障发生的原因。</font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;要解决该实时迁移过程中遇到的 0x80090303 故障，我们只需要手工在 Hyper-V 主机上对“Microsoft Virtual System Migration Service”进行 SPN 注册即可。为此，我们需要用到 <strong>setspn –s</strong> <em>spnname</em><strong>/</strong><em>hostname（and FQDN）</em> <em>NetBIOSName</em> 命令行，参考命令行如下：</p> <p><div class="code">setspn –s “microsoft virtual system migration service/hv3”hv3</div></p> <p><div class="code">setspn –s “microsoft virtual system migration service/hv3.contoso.com”hv3</div></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;完成“Microsoft Virtual System Migration Service”的 SPN 注册后，我们便可以正常执行实时迁移，0x80090303 故障消失！按理说 SPN 的注册应该是自动的，但是为什么在 gOxiA 的实验环境下出现失败注册，可能跟 DC 是 SBS2011 有关，因为网上能找到类似的故障都是使用的 SBS2011 作为域控。当然也不排除其他可能存在的因素，在微软的 <a href="http://support.microsoft.com/kb/2761899?wa=wsignin1.0" target="_blank">KB2761899</a> 中就提及到了这个事件 ID，如果你也遇到这个问题，并排除 SBS2011 的原因，那么可以参考：<a title="http://support.microsoft.com/kb/2761899?wa=wsignin1.0" href="http://support.microsoft.com/kb/2761899?wa=wsignin1.0">http://support.microsoft.com/kb/2761899?wa=wsignin1.0</a> 解决！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;关于 SPN 自动注册失败的原因及解决办法，gOxiA 会继续关注，一有答案便会跟大家分享！目前的办法只有使用 setspn 命令手工注册来解决！</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/3.0/" rel="tag">3.0</a> , <a href="https://goxia.maytide.net/go.php/tags/shared/" rel="tag">shared</a> , <a href="https://goxia.maytide.net/go.php/tags/nothing/" rel="tag">nothing</a> , <a href="https://goxia.maytide.net/go.php/tags/live/" rel="tag">live</a> , <a href="https://goxia.maytide.net/go.php/tags/migration/" rel="tag">migration</a> , <a href="https://goxia.maytide.net/go.php/tags/0x80090303/" rel="tag">0x80090303</a> , <a href="https://goxia.maytide.net/go.php/tags/spn/" rel="tag">spn</a> , <a href="https://goxia.maytide.net/go.php/tags/vmms/" rel="tag">vmms</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/system/" rel="tag">system</a> , <a href="https://goxia.maytide.net/go.php/tags/service/" rel="tag">service</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1633.htm</link>
<title><![CDATA[[WS2012] 差异磁盘在无需共享存储的实时迁移中的临时解决方案]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 09 Nov 2012 06:18:28 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1633.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012.png"><img title="logo_winserver2012" border="0" alt="logo_winserver2012" src="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012_thumb.png" width="220" height="44"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在前一篇日志《详解 <a href="http://www.microsoft.com/zh-cn/server-cloud/ws2012/default.aspx" target="_blank">Windows Server 2012</a> 无需共享存储的实时迁移》结尾中 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 提到差异磁盘在实施迁移中的问题，而本篇将简要与大家分享一下该问题的情况以及临时的解决方案。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果在实时迁移场景中，要迁移的虚机磁盘使用了差异磁盘类型，那么在迁移过程中便会出现问题，具体的错误提示如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_C333/15.png"><img title="15" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="15" src="http://goxia.maytide.net/ftpupfiles/WS2012_C333/15_thumb.png" width="401" height="309"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;“迁移目标上的虚拟机迁移操作失败。无法访问磁盘。”下面来看看这台虚机的磁盘配置情况，名为 XP 虚机的磁盘使用差异磁盘基于一个操作系统模板而创建，其父级磁盘存储位置位于其他分区目录，如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_C333/image.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012_C333/image_thumb.png" width="534" height="392"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当我们执行无需共享存储的实时迁移时，向导实际上只会迁移虚机“实体”文件，即：快照、分页、配置文件以及 VHD，而使用差异磁盘类型 VHD 的父级 VHD 不会被迁移，这可能是一个 Bug，之所以说是 Bug是因为在选择要移动的项目窗体中，迁移向导并未识别当前虚机的 VHD 是一个差异磁盘，所以也就无法检测到所涉及到的父级 VHD，但是实际上我们又可以通过提前手工复制父级 VHD 的手段来解决一些问题，使之能够完成正常的迁移。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012_C333/image_3.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012_C333/image_thumb_3.png" width="722" height="544"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;不管结论如何，如果当前的实践环境使用了差异磁盘，那么请按照 gOxiA&nbsp;&nbsp;提供的方案来解决！首先确认源主机上要迁移虚机的父级磁盘文件（VHD）存储路径，之后再目标主机同盘符下创建这个存储路径，并将父级磁盘文件（VHD）手工拷贝到目标主机对应位置，之后再去执行迁移即可顺利完成任务。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;就是这么简单！反过来想想，其实在生产环境下，通常我们不会使用差异磁盘来部署虚机。但是大部分网友在进行实践时通常都会使用差异磁盘来减少对物理磁盘的占用，实践起来也确实方便。所以在目前未经微软方面证实并给出解决方案前，暂时可以使用 gOxiA 提供的方法来解决。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/3.0/" rel="tag">3.0</a> , <a href="https://goxia.maytide.net/go.php/tags/shared/" rel="tag">shared</a> , <a href="https://goxia.maytide.net/go.php/tags/nothing/" rel="tag">nothing</a> , <a href="https://goxia.maytide.net/go.php/tags/live/" rel="tag">live</a> , <a href="https://goxia.maytide.net/go.php/tags/migration/" rel="tag">migration</a> , <a href="https://goxia.maytide.net/go.php/tags/smb/" rel="tag">smb</a> , <a href="https://goxia.maytide.net/go.php/tags/vhd/" rel="tag">vhd</a> , <a href="https://goxia.maytide.net/go.php/tags/0x80070003/" rel="tag">0x80070003</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1632.htm</link>
<title><![CDATA[[WS2012] 详解 Windows Server 2012 无需共享存储的实时迁移]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 09 Nov 2012 04:51:25 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1632.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012.png"><img title="logo_winserver2012" border="0" alt="logo_winserver2012" src="http://goxia.maytide.net/ftpupfiles/-Windows-Server-2012_A734/logo_winserver2012_thumb.png" width="220" height="44"></a></p> <p><a href="http://www.microsoft.com/zh-cn/server-cloud/ws2012/default.aspx" target="_blank"><font color="#fd3f0d" size="4"><strong>Windows Server 2012</strong></font></a><font color="#fd3f0d" size="4"><strong> 无需共享存储的实时迁移</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在 Windows Server 2012（WS2012）中微软提供了其最新的虚拟化平台 - Hyper-V 3.0，依靠 WS2012 最新的 SMB（Server Message Block）协议实现了透明迁移，也就是我们常说的实时迁移，这意味着我们能够在不中断虚机运行的情况下对其进行迁移。虽然这个技术之前就能够实现，但是我们需要为之付出高昂的成本，在过去为了实现迁移我们不得不购买专用的共享存储设备，而现在 Windows Server 2012 在虚机的可移动性方面做出了重大的改进。我们不必再依靠共享存储设备来实现实时迁移。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Windows Server 2012 也为我们提供了非常具有弹性和灵活性的选择，依靠 Windows Server 2012 目前能够实现的四个实时迁移方案：</p> <ul> <li>无需共享存储的实时迁移&nbsp;&nbsp;<li>使用SMB 共享存储的实时迁移&nbsp;&nbsp;<li>存储环境下的迁移&nbsp;&nbsp;<li>故障转移群集中的实时迁移</li></ul> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;而今天 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 将引领大家实践无需共享存储的实时迁移，相信大家一定会有不小的收获。顾名思义，无需共享存储的实时迁移使得我们能够在多台域成员的 Hyper-V 主机之间直接移动其虚拟机，且无需中断运行着的虚拟机。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/shared_nothing_live_migration.png"><img title="shared_nothing_live_migration" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="shared_nothing_live_migration" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/shared_nothing_live_migration_thumb.png" width="634" height="272"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这一操作的基本过程，将使用 SMB 实现对虚拟机 VHD 等文件的实时迁移工作，将被迁移的虚拟机 VHD 文件镜像以及快照等文件同步到目标主机（Hyper-V），而迁移过程的连接管理依靠 VMMS（Virtual Machine Management Service）进行。当 VHD 等文件在两端同步完毕后，才会开始实时迁移的后续步骤，首先虚机的状态信息会从源主机迁移到目标主机，之后中断两端文件的同步关系，并删除源主机上的文件存储，最后关闭实施迁移连接完毕迁移工作。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;无需共享存储的实时迁移还具备以下四个特性：</p> <ul> <li>即使在迁移工程中遇到故障或问题，导致迁移失败，那么总能保证有一台可用虚机。&nbsp;&nbsp;<li>可跨群集迁移虚机，例如我们可以从非群集的计算机迁移到群集计算机。&nbsp;&nbsp;<li>支持不同存储类型的迁移虚拟机，无需受存储类型约束，不管环境是 JBOD 还是直通存储，又或者是 iSCSI 存储，都能实现实时迁移。&nbsp;&nbsp;<li>可以使用 Powershell 发起实施迁移的操作，那么就能够实现自动化的操作。</li></ul> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;综上所述，无需共享存储的实时迁移为我们提供了低成本，高效率，灵活便捷的迁移方案，我们利用这一功能特性能够适用到多种应用环境下。例如：</p> <ul> <li>开发或 IT 人员能够将测试好的虚机在不停机的前提下直接迁移到生产环境。&nbsp;&nbsp;<li>在多主机环境下，如果需要进行主机维护，可以在不依赖共享存储的前提下，快速、灵活的在主机之间移动虚机。&nbsp;&nbsp;<li>故障检修和硬件升级，中小企业可能只有一台服务器并通过虚拟化方式运行着业务服务器，当遇到硬件故障或需要更新服务器时，IT顾问可以快速的在笔记本上建立临时的基于 Windows Server 2012 的 Hyper-V 主机，将其加入到现有域中完成业务虚机的迁移，在完成原服务器的更换后，再迁移回去。</li></ul> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;利用无需共享存储的实时迁移技术，能够应对很多场景的应用，而接下来 gOxiA 将引领大家进行实践演练，首先准备好两台基于 Windows Server 2012 的 Hyper-V 主机，并将其加入到现有活动目录（AD域）中，这一步是必须的。然后，在其中一台主机上创建一个虚机用于迁移实践。以 gOxiA 环境为例，使用两台设备：Dell T310（<font style="background-color: #ffff00">Intel Xeon X3470</font>）、Thinkpad T420（<font style="background-color: #ffff00">Intel i7-2620m</font>），安装 WS2012 启用 Hyper-V，并加入到公司活动目录（AD域），在 HV3 上创建一个 XP 虚拟机，局域网是一个千兆网络。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/image.png"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/image_thumb.png" width="630" height="228"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;准备就绪后首先需要对两台虚机进行配置，启用迁移功能，为此打开 Hyper-V 管理器，选中要操作的主机，点击鼠标右键选择”设置“，在”实施迁移“选项中勾选”启用传入和传出的实时迁移“，身份验证协议选择”使用 Kerberos“，”并行实时迁移“设置保持默认，因为是测试，所以”<font style="background-color: #ffff00">传入的实时迁移</font>“可以选择”使用任何可用的网络进行实时迁移“。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/2.png"><img title="2" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="2" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/2_thumb.png" width="634" height="358"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;完成这些设置后我们便可以开始执行迁移工作了，可能有朋友会问：“为什么没有按照网上其他的教程去做权限委派？岂不是会迁移失败？！”，事实是这样吗？！gOxiA 会在文末与大家分享这一知识！首先还是开始我们的迁移步骤，首先<font style="background-color: #ffff00">登录到 XP 虚机所在的 Hyper-V 主机（HV3）</font>，打开 Hyper-V 管理器选中 XP 虚机，在右边“操作”窗体点击“移动…”启动迁移向导，并在向导首页点击“下一步”。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/3.png"><img title="3" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="3" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/3_thumb.png" width="628" height="474"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在“指定目标计算机”向导页的名称框中键入虚机迁移的目标主机名称，本环境下为“Hyper-V”，当然也可以通过“浏览”进行确认选择。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/4.png"><img title="4" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="4" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/4_thumb.png" width="628" height="474"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;“移动选项”下默认选择“将虚拟机的数据移动到一个位置”，并点击“下一步”。如果你希望将配置文件、分页文件或快照存储到目标主机的不同位置，则可以选择“通过选择项目移动位置来移动虚拟机的数据”；而“仅移动虚拟机”则适用于“使用了 SMB 共享存储”的环境。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/5.png"><img title="5" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="5" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/5_thumb.png" width="628" height="474"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;之后会弹出目标主机的资源管理窗体，便于我们选择和确定目标的存储位置。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/6.png"><img title="6" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="6" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/6_thumb.png" width="634" height="358"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;完成上面的步骤离成功就接近一半了，确认各选项设置后点击“完成”开始迁移，如下图所示：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/7.png"><img title="7" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="7" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/7_thumb.png" width="628" height="474"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;接下来的过程会出现错误（PS：不是权限委派方面的错误，大家别急！），“无法将虚拟机移动到目标计算机。目标计算机上的硬件与此虚拟机的硬件要求不兼容”，具体的提示时说：“虚拟机正在使用物理计算机 Hyper-V 上不受支持的特定于处理器的功能。”回顾一下前面的文字，是否注意到了 gOxiA 对实践环境下的计算机处理器进行了醒目的标注！微软虚拟化实时迁移技术目前不支持在不同厂商的处理器之间进行虚机的迁移。但是，支持同厂商不同版本处理器的实时迁移。所以前面提到的硬件兼容性错误可以在虚机的配置上进行设置解决。为此，选中虚机进入其属性设置，在右边窗体中找到“处理器”并展开选项进入“兼容性”设置，复选“迁移到具有不同处理器版本的物理计算机”。完成该操作后即可解决处理器兼容性问题，我们可以重新开始进行迁移操作。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/8.png"><img title="8" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="8" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/8_thumb.png" width="428" height="359"></a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/9.png"><img title="9" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="9" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/9_thumb.png" width="634" height="599"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在迁移过程中我们还会遇到一个问题（PS：别急，还不是权限委派的事儿！哈哈），迁移向导会可能会提示我们在目标主机上无法找到该虚拟机的网络连接，即：“虚拟交换机”。这个问题比较常见，因为我们可能并未在所有的 Hyper-V 主机上对虚拟交换机进行名称的规划，固然在迁移配置文件时，无法验证虚机的网络连接是否存在于目标主机，但是迁移向导为我们提供了解决此问题的步骤，可以重新为虚机指定目标主机上已经存在的虚机交换机，也就是我们常说的虚拟网卡，虽然进行了重新的指定设置，但虚机之前的 MAC 地址会得到保留，这也是保证透明迁移的前提！</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/10.png"><img title="10" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="10" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/10_thumb.png" width="628" height="474"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后确认迁移选项，点击“完成”并开始执行迁移！</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/11.png"><img title="11" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="11" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/11_thumb.png" width="628" height="474"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;整个的迁移过程所消耗的时间取决被迁移的虚机大小以及网络带宽和服务器的磁盘 I/O 性能，在 gOxiA 的千兆网络环境中，基于 SATA 磁盘进行的迁移，耗去了几分钟的时间，完全在合理的接受范围内！整个迁移过程确实没有中断虚机的运行，实践中 gOxiA 分别用 Ping 和网络拷贝进行了测试，均没有出现异常。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/14.png"><img title="14" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="14" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/14_thumb.png" width="634" height="359"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Windows Server 2012 无需共享存储的实时迁移整体来讲非常易用，无需过多的复杂设置即可完成，仔细看看也就是几个简单的步骤，这完全依靠强大的基础架构作为支撑，所以 AD 是必须的！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;现在我们来谈谈权限委派问题！网上有文章提到 Windows Server 2012 无需共享存储的实时迁移不支持双向操作，简单讲就是在 A 主机上通过 Hyper-V 管理器去连接 B 主机并将 B 主机的虚机迁移到 A 主机上，当默认设置时这样操作肯定会失败！因为 Kerberos 验证协议默认情况下，Hyper-V 主机只信任从本机发起的迁移，简单理解就是只将自己主机上的资源主动搬到其他主机上，反之就要对权限进行委派！否则就会出现如下图所示的常见错误！</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/0x8009030E.png"><img title="0x8009030E" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="0x8009030E" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/0x8009030E_thumb.png" width="464" height="413"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;“迁移源上的虚拟机迁移操作失败”，具体信息是“无法与主机 Hyper-V 建立连接：安全包中没有可用的凭证（0x8009030E）。”当出现这个错误提示时，一定是用户在 A 主机上通过 Hyper-V 管理器去迁移 B 主机上的虚机，且没有设置权限委派。所以，为了避免此类情况的发生，并在符合安规的前提下可以为 Hyper-V 主机设置权限委派。为此，打开 ADUC 找到 Hyper-V 主机，进入其属性的”委派“选项卡， 选择”仅信任此计算机来委派指定的服务“，并为子项选择”仅使用 Kerberos“，并添加两个服务类型”CIFS“和”Microsoft Virtual System Migration Service“，前者就是代表 SMB，后者则是所需的 VMMS 服务模块。”用户或计算机“则设置为对端的主机名称。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/image_3.png"><img title="image" style="border-left-width: 0px; border-right-width: 0px; background-image: none; border-bottom-width: 0px; padding-top: 0px; padding-left: 0px; display: inline; padding-right: 0px; border-top-width: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/image_thumb_3.png" width="495" height="603"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;完成上面的权限委派设置后，便可以在当前主机上去操作对端或其他主机执行迁移任务（被动迁移）。当然会有网友会问“既然发起虚机迁移需要本机信任，那么迁移的目标主机如何限制或信任发起迁移的源主机呢？！”简单说就是允许哪些源主机将虚机迁移到本机？！其实这个问题前面的介绍就有提到，即： Hyper-V 主机属性里“实时迁移”设置下的“传入的实时迁移”选项，在这里我们可以指定本机接受哪个网络或 IP 发起的迁移。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/image_4.png"><img title="image" style="border-top: 0px; border-right: 0px; background-image: none; border-bottom: 0px; padding-top: 0px; padding-left: 0px; border-left: 0px; display: inline; padding-right: 0px" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012-Windows-Server-2012-_7DE4/image_thumb_4.png" width="444" height="255"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;为确保无需共享存储的实时迁移得以顺利的进行，gOxiA 做一下总结：</p> <ul> <li>Hyper-V 主机必须是 Windows Server 2012 系统。</li> <li>Hyper-V 主机必须加入到 AD。</li> <li>Hyper-V 主机处理器（CPU）必须为同一厂家，但允许使用不同的版本。</li> <li>如需执行被动迁移，必须为源主机配置权限委派。</li></ul>&nbsp;&nbsp;&nbsp;&nbsp;<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OK！到这里相信大家已经对 Windows Server 2012 无需共享存储的实时迁移有了深刻和正确的认识，并解开了心中的疑问！现在感兴趣的网友便可以正确、顺利的开始进行实践，祝君好运！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后的友情提示（PS：gOxiA 没完没了了，呵呵！）很重要！Windows Server 2012 无需共享存储的实时迁移技术，能够迁移使用差异磁盘的虚机，但目前貌似并未得到完美的支持，可能属于 Bug 问题！gOxiA 会单独撰写一篇文章与大家简要分享一下如何确保使用差异磁盘的虚机完成迁移任务。而剩下的几种实时迁移技术，会在今后与大家进行分享！</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/3.0/" rel="tag">3.0</a> , <a href="https://goxia.maytide.net/go.php/tags/smb/" rel="tag">smb</a> , <a href="https://goxia.maytide.net/go.php/tags/kerberos/" rel="tag">kerberos</a> , <a href="https://goxia.maytide.net/go.php/tags/shared/" rel="tag">shared</a> , <a href="https://goxia.maytide.net/go.php/tags/nothing/" rel="tag">nothing</a> , <a href="https://goxia.maytide.net/go.php/tags/live/" rel="tag">live</a> , <a href="https://goxia.maytide.net/go.php/tags/migration/" rel="tag">migration</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1587.htm</link>
<title><![CDATA[[WS2012]HOWTO:使用 Hyper-V 管理器将 VHD 转换为 VHDX]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Mon, 07 May 2012 04:05:58 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1587.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/WS8_129FA/Windows_Server_8_Beta_logo.png"><img title="Windows_Server_8_Beta_logo" border="0" alt="Windows_Server_8_Beta_logo" src="http://goxia.maytide.net/ftpupfiles/WS8_129FA/Windows_Server_8_Beta_logo_thumb.png" width="533" height="60"></a></p> <p><font color="#fd3f0d" size="4"><strong>HOWTO:使用 Hyper-V 管理器将 VHD 转换为 VHDX</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Virtual Hard Disk（VHD）是微软的虚拟硬盘文件，其扩展名就是 vhd，在下一个版本的 Windows 中，即 Windows Server “8”！VHD 迎来的新的扩展名 - “VHDX”，但同时“VHD”仍将保留可用，VHD 和 VHDX 之间目前看最大的区别可能就是 VHDX 的容量已经达到 64TB（目前面向公众发布的 Windows Server 8 beta 还仅支持 16TB）；并且可从电源故障事件中恢复。其他还有一些底层方面的改进和优化，<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 也没多研究！有关 VHDX 的概要大家可以参考：<a title="http://technet.microsoft.com/en-us/library/hh831446.aspx" href="http://technet.microsoft.com/en-us/library/hh831446.aspx">http://technet.microsoft.com/en-us/library/hh831446.aspx</a>，此外需要注意 VHDX 目前仅支持 Windows 8 和 Windows Server 8 beta，所以如果打算将手里的虚拟机模板都进行转换，还是要深思熟虑一下！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果最终决定将 VHD 转换为 VHDX，那么步骤很简单，只需要通过新版的 Hyper-V 管理器（Hyper-V 3.0，内置于 Windows 8）执行即可！为此我们将执行如下的操作步骤：</p> <ul> <li>首先，打开“Hyper-V 管理器”，在右边的“操作”窗格选择“编辑磁盘”，之后在弹出的“编辑虚拟硬盘向导”界面点击“下一步”；<br/><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="1" border="0" alt="1" src="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/1_thumb.png" width="634" height="358"></a></li> <li>选择要转换的 VHD 文件位置，并点击“下一步”；<br/><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_thumb.png" width="634" height="478"></a></li> <li>在“选择操作”界面中，选择“转换”，并点击“下一步”；<br/><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_thumb_3.png" width="634" height="478"></a></li> <li>在“转换虚拟硬盘”界面中选择“VHDX”，并点击”下一步“；<br/><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_4.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_thumb_4.png" width="634" height="478"></a></li> <li>虚拟磁盘类型中根据需要选择转换为“固定大小”或“动态扩展”类型，通常为了减少对物理磁盘空间的占用，都会选择“动态扩展”的类型，并点击“下一步”；<br/><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_5.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_thumb_5.png" width="634" height="478"></a></li> <li>最后，选择 VHDX 文件的保存位置，如需进行最后的信息确认可点击“下一步”，否则可直接“完成”。<br/><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_6.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_thumb_6.png" width="634" height="478"></a><br/><a href="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_7.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/WS2012_9F7B/image_thumb_7.png" width="634" height="478"></a></li></ul> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;因为这个转换过程是无损的，所以转换后的虚拟硬盘中的数据都得以保存。之后可以重新编辑这个转换后的 VHDX 文件，将其容量扩展，即可超出 VHD 的 2TB 限制。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/8/" rel="tag">8</a> , <a href="https://goxia.maytide.net/go.php/tags/beta/" rel="tag">beta</a> , <a href="https://goxia.maytide.net/go.php/tags/2012/" rel="tag">2012</a> , <a href="https://goxia.maytide.net/go.php/tags/vhd/" rel="tag">vhd</a> , <a href="https://goxia.maytide.net/go.php/tags/vhdx/" rel="tag">vhdx</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/3.0/" rel="tag">3.0</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1578.htm</link>
<title><![CDATA[[Windows 8] 检查 CPU 是否支持二级地址转换 (SLAT)]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 11 Apr 2012 03:57:19 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1578.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/429933e449d7_97C7/1537_Win8Logo_01_008485DD.jpg"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="1537_Win8Logo_01_008485DD" border="0" alt="1537_Win8Logo_01_008485DD" src="http://goxia.maytide.net/ftpupfiles/429933e449d7_97C7/1537_Win8Logo_01_008485DD_thumb.jpg" width="200" height="43"></a>&nbsp;&nbsp; <font color="#fd3f0d" size="4"><strong>检查 CPU 是否支持二级地址转换</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://goxia.maytide.net/read.php/1561.htm" target="_blank">Windows 8 Consumer Preview 于2月正式发布</a>，随后 <a href="http://goxia.maytide.net/read.php/1562.htm" target="_blank">Windows Server 8 Beta</a> 也公布了下载。整体对比，Windows 8 在硬件方面的要求并不高，其最低硬件需求如下：</p> <ul> <li>处理器：1GHz 或更快</li> <li>内存：1GB（32-bit）或 2GB（64-bit）</li> <li>硬盘：16GB（32-bit）或 20GB（64-bit）</li> <li>显卡：支持 DX9 或更高级别</li></ul> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;但是 Windows 8 的一些新功能则需要额外的硬件需求，关注 Windows 8 的朋友们应该知道，在 Windows 8（Client）中也提供了 Hyper-V，它可以被看作是 Windows Server 8 Hyper-V Role 的简化版，这意味着我们将能够在 Windows Client 平台上运行 Hyper-V。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;而要在 Windows 8（Client）上启用 Hyper-V 则 CPU 必须满足 <font style="background-color: #ffff00">SLAT</font>（二级地址转换，Second Level Address Translation）的需求！（<font style="background-color: #ffff00">注意：<font style="">这是 Hyper-V 特定于 Windows 8 Client 的需求</font></font>）</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SLAT 在 Windows Server 8 的 Hyper-V 上则不是必须的，这就解释了很多网友的疑问：“<font style="background-color: #ffff00">为什么我的 CPU 在 Windows 8 Consumer Preview 上无法安装 Hyper-V？！</font>”</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>何为 SLAT 呢？</strong></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在程序访问内存时都要经过从逻辑地址到物理地址的映射，虚拟环境下也不例外反而更加复杂，因为第一次映射出来的“物理地址”还是虚拟机下的虚拟地址，需要通过虚拟机把它再次映射成实际的物理地址，这样就限制了访问的速度。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;而 SLAT 即“二级地址转换”，可以加速页表访问的速度！在 Intel 和 AMD 处理器上都提供了这一新技术，两个品牌针对 SLAT 这一技术有不同的技术名称：</p> <ul> <li>Intel 的 SLAT 称为 EPT（Extended Page Table），Intel 的 Core i7，i5，i3，Pentium G6950 以及大部分的 Xeons 处理器都支持 SLAT，而 Core 2 系列以及更早的处理器则不支持！</li> <li>AMD 的 SLAT 称为 RVI（Rapid Virtualzation Indexing），第三代皓龙处理器（代号：巴塞罗那）都支持这一技术。</li></ul> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>微软出品的 CPU 检测工具！</strong></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果无法确认 CPU 型号，那么可以利用微软 Windows Sysinternals 出品的 <a href="http://technet.microsoft.com/en-us/sysinternals/cc835722" target="_blank">Coreinfo</a> 来进行检测。Coreinfo 工具使用起来非常简单，能够检测到 CPU 所支持的技术和特性，其中当然就包含了 SLAT 的检测。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下载 Coreinfo：<a title="http://technet.microsoft.com/en-us/sysinternals/cc835722" href="http://technet.microsoft.com/en-us/sysinternals/cc835722">http://technet.microsoft.com/en-us/sysinternals/cc835722</a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Coreinfo 的使用：</strong></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;运行 Coreinfo 需要管理员身份，所以在启用 UAC 的系统上需要先以管理员身份启动 CMD，如果只是想检测 SLAT，只需要运行：</p> <p><div class="code">coreinfo.exe –v</div></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;执行效果如下：</p> <p><a href="http://goxia.maytide.net/ftpupfiles/429933e449d7_97C7/image.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://goxia.maytide.net/ftpupfiles/429933e449d7_97C7/image_thumb.png" width="644" height="422"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 使用的是 Intel Core i7 处理器，所以在检测结果中能够看到当前处理器是支持 EPT 的，也就满足了 Windows 8 Client 上安装 Hyper-V 的额外需求。下图是 gOxiA 早期测试 Windows 8（Client）Hyper-V 时的截图，供大家参考！</p> <p><a href="http://goxia.maytide.net/ftpupfiles/429933e449d7_97C7/1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="1" border="0" alt="1" src="http://goxia.maytide.net/ftpupfiles/429933e449d7_97C7/1_thumb.png" width="644" height="364"></a><a href="http://goxia.maytide.net/ftpupfiles/429933e449d7_97C7/3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="3" border="0" alt="3" src="http://goxia.maytide.net/ftpupfiles/429933e449d7_97C7/3_thumb.png" width="644" height="364"></a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/8/" rel="tag">8</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/slat/" rel="tag">slat</a> , <a href="https://goxia.maytide.net/go.php/tags/ept/" rel="tag">ept</a> , <a href="https://goxia.maytide.net/go.php/tags/rvi/" rel="tag">rvi</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1573.htm</link>
<title><![CDATA[[Android] 在 Hyper-V 上运行 Android 2.2]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Thu, 08 Mar 2012 09:05:28 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1573.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/36dcc513f17e_D7D4/google_android_logo.jpg"><img title="google_android_logo" border="0" alt="google_android_logo" src="http://goxia.maytide.net/ftpupfiles/36dcc513f17e_D7D4/google_android_logo_thumb.jpg" width="240" height="91"></a></p> <p><font color="#000000" size="4"><strong>在 Hyper-V 上运行 Android 2.2</strong></font></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Google Code 上的 Android-x86 项目在 2011年1月就上传了 Android&nbsp;&nbsp;2.2 的 x86 版本，今天在虚拟化大牛 <a href="http://blogs.msdn.com/virtual_pc_guy/default.aspx" target="_blank">Ben Armstrong</a> 的 Blog 上看到竟然能跑在 Hyper-V 下，这个太有趣了！赶紧下载测试，ISO 体积不大才 83MB 左右，先在 Hyper-V 下建立了一个虚拟机体验了一下，嘿！还真能跑，而且速度还很不错，要在 Hyper-V 上跑这个 Android-x86 2.2，需要建立一个单处理器、1GB内存、16G硬盘的虚拟机，并且必须使用“旧版网络适配器”否则无法上网。虚拟机创建完毕后便可载入ISO进行安装，下面是安装图鉴，供大家参考！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果你不想安装，可以在启动界面中选择“Live CD – Run Android-x86 without installation（HDPI）”直接在光盘上运行。否则就选择“Installation – Install Android-x86 to harddisk”将其安装到硬盘。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-1" border="0" alt="setup-1" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-1_thumb.png" width="544" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在分区界面上，选择“Create/Modify partitions”来创建分区。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-2" border="0" alt="setup-2" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-2_thumb.png" width="631" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;首先使用左右箭头将选择移动到“New”然后按下回车键。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-3" border="0" alt="setup-3" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-3_thumb.png" width="631" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;选择创建“Primary”分区，回车继续。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-4.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-4" border="0" alt="setup-4" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-4_thumb.png" width="631" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;默认是全部磁盘容量，回车继续。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-5.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-5" border="0" alt="setup-5" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-5_thumb.png" width="631" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;分区创建完毕后，选择“Boottable”标记为可引导分区。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-6.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-6" border="0" alt="setup-6" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-6_thumb.png" width="631" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后移动选择到“Write”，根据提示键入“Yes”并回车。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-7.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-7" border="0" alt="setup-7" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-7_thumb.png" width="324" height="249"></a><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-8.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-8" border="0" alt="setup-8" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-8_thumb.png" width="324" height="249"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;重新回到选择分区界面上，就能看到刚刚建立好的分区了（sda1），OK 继续！</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-9.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-9" border="0" alt="setup-9" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-9_thumb.png" width="631" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;选择文件系统为“ext3”，OK 继续，下一步中选择“Yes”以确定格式化。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-10.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-10" border="0" alt="setup-10" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-10_thumb.png" width="324" height="249"></a><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-11.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-11" border="0" alt="setup-11" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-11_thumb.png" width="324" height="249"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;“Confirm”步骤中选择“Yes”以安装“GRUB”。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-12.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-12" border="0" alt="setup-12" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-12_thumb.png" width="631" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;选择“Yes”以读写模式安装“/system”目录。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-13.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-13" border="0" alt="setup-13" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-13_thumb.png" width="631" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;上述步骤完毕后，Android-x86 2.2 即告安装完毕，选择“Run Android-x86”即可运行。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-14.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-14" border="0" alt="setup-14" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-14_thumb.png" width="631" height="484"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;哈哈，现在就可以在 Hyper-V&nbsp;&nbsp;下跑 Android 系统了！而且还能上网，真是方便！以后有软件可以直接在里面安装测试了！在 Android 设置里选择中文即可显示中文界面，其他的就自己玩吧！</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-15.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="setup-15" border="0" alt="setup-15" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/setup-15_thumb.png" width="324" height="280"></a><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/demo-0.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="demo-0" border="0" alt="demo-0" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/demo-0_thumb.png" width="324" height="280"></a><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/demo-2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="demo-2" border="0" alt="demo-2" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/demo-2_thumb.png" width="324" height="282"></a><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/demo-1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="demo-1" border="0" alt="demo-1" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/demo-1_thumb.png" width="324" height="282"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;需要注意的是，<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 在 Windows Virtual PC 上测试时会导致程序自动关闭，其他虚拟机没有测试！最后祝大家玩的愉快，Hyper-V 还是非常给力的，呵呵！下面是 Android 2.2 的下载地址：</p> <p><a title="http://code.google.com/p/android-x86/downloads/detail?name=android-x86-2.2-generic.iso" href="http://code.google.com/p/android-x86/downloads/detail?name=android-x86-2.2-generic.iso">http://code.google.com/p/android-x86/downloads/detail?name=android-x86-2.2-generic.iso</a></p> <p><a href="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/chart.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="chart" border="0" alt="chart" src="http://goxia.maytide.net/ftpupfiles/Android--Hyper-V--Android-2.2_E5EC/chart_thumb.png" width="150" height="150"></a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/android/" rel="tag">android</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1569.htm</link>
<title><![CDATA[分享：Hyper-V Server 8 Beta 下载]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Sat, 03 Mar 2012 07:37:19 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1569.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/c517cf356542_D954/Hyper-VServer8.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Hyper-V Server 8" border="0" alt="Hyper-V Server 8" src="http://goxia.maytide.net/ftpupfiles/c517cf356542_D954/Hyper-VServer8_thumb.png" width="300" height="24"></a></p> <p>分享 Hyper-V Server 8 Beta 下载</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 目前为止微软已经公开发布了 Windows 8 Consumer Preview 和 Windows Server“8”，同时在 <a href="http://connect.microsoft.com/" target="_blank">Microsoft Connect</a> 还发布了 MDT2012 的 RC1，而今天微软虚拟化大牛 <a href="http://blogs.msdn.com/virtual_pc_guy/default.aspx" target="_blank">Ben Armstrong</a> 为我们提供了 Microsoft Hyper-V Server 8 Beta 的下载。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在微软站点搜索了一些貌似 Hyper-V Server 8 Beta 还并未正式公开，所以找不到相关的介绍和资料。而下载地址也只是一个直接注册下载的入口，点击进入后需要使用 LiveID 登录注册方可下载！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 微软虚拟化的粉丝如果等不及可直接访问：<a title="https://profile.microsoft.com/RegSysProfileCenter/wizard.aspx?wizid=07771c57-9f3e-4f2a-98e0-7ee37af91c2c" href="https://profile.microsoft.com/RegSysProfileCenter/wizard.aspx?wizid=07771c57-9f3e-4f2a-98e0-7ee37af91c2c">https://profile.microsoft.com/RegSysProfileCenter/wizard.aspx?wizid=07771c57-9f3e-4f2a-98e0-7ee37af91c2c</a> 下载。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hyper-V Server 8 Beta 的一些重要改进和特性应该继承了 Windows Server 8 Beta，鉴于其实免费版本应该会有一些功能或硬件上的限制，具体的资料恐怕要等官方发布了！<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 目前也在下载还未见真容，没什么更多的信息与大家分享！只能各自先测试体验了！</p>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1525.htm</link>
<title><![CDATA[[Hyper-V] HOWTO：禁用 Hyper-V Server 2008 R2 的复杂密码要求]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Sat, 20 Aug 2011 06:32:40 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1525.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/ac82499003e5_D746/logo-hyperv-server08-R2.png"><img title="logo-hyperv-server08-R2" border="0" alt="logo-hyperv-server08-R2" src="http://goxia.maytide.net/ftpupfiles/ac82499003e5_D746/logo-hyperv-server08-R2_thumb.png" width="404" height="63"></a></p> <p><strong><font size="4">HOWTO：禁用 Hyper-V Server 2008 R2 的复杂密码要求</font></strong></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hyper-V Server 2008 R2 是微软发布的一款免费虚拟化平台产品。因为基于 Windows Server 2008 R2 的 Server Core，所以在整个操作方面都不会令 ITPro 感到陌生。但是，要管理好 Hyper-V Server 2008 R2 还是需要下点功夫学习一些命令行。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;问题的起因是这样的：</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;gOxiA 近期打算将公司的 SBS2011（即：Windows Small Business Server 2011）迁移到虚拟化里，这样除了能够大大节省资源以外，为今后的日常管理和维护也提供了极大的便利条件！综合比较 VMware 的 ESXi 和 Microsoft 的 Hyper-V，前者因为之前搭建了测试环境，虽然整体掌控方面令人满意，但日后维护并不方便，毕竟 ESXi 基于 Linux 核心！而完整版的 Hyper-V（这里指：Windows Server 2008 R2）虽然提供了强劲的 UI 管理界面和强大的功能特性，但只是为了跑一个 SBS2011 的虚拟化和其他虚拟机实在是有些浪费！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最终选定了 Hyper-V Server 2008 R2，基于 Server Core，没有过多的功能和角色，服务进程便相对减少，不仅有效降低了资源占用，还极大提升了安全性和稳定性！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;使用 Hyper-V Server 2008 R2 来承载虚拟化应用，对虚拟机的操作管理和维护都要依赖于远程管理工具。如果是在域环境下，那么远程管理 Hyper-V Server 将是非常容易的事情，否则我们就需要对服务器和客户端进行专门的设置。幸好，微软 Hyper-V Team 的 Senior Program Manager – <a href="http://blogs.technet.com/b/jhoward/" target="_blank">John Howard</a> 为我们提供了一款 Hyper-V Server 的远程管理配置脚本，使这一切都变得那么容易！</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;现在问题浮出水面了：</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;要为工作组环境中的 Hyper-V Server 配置远程管理，使我们可以使用 Hyper-V Manager 来进行远程管理操作，通常我们会在 Hyper-V Server 上创建一个新的账号，用于管理服务器，由于 Hyper-V Server 2008 R2 默认在安全策略中启用了复杂密码要求，使得账号密码的创建极为不便，特别是在测试需求下！通常的解决办法是使用 gpedit.msc 来进用复杂密码要求，但是 Hyper-V Server 2008 R2 中并未提供 mmc 工具，而在客户端使用 mmc 远程调用服务器的组策略，会发现根本找不到复杂密码要求的配置项。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;问题的解决办法：</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;搜索网络查询了资料，可以使用 Secedit 命令先将安全策略配置导出，然后修改配置，将复杂密码要求禁用，然后再重新导回即可！操作步骤如下：</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1、在 cmd 中执行“<font style="background-color: #ffff00">secedit /export /cfg c:＼sec.cfg</font>”，导出安全策略的配置。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Hyper-V-HOTWO_BBE2/1.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="1" border="0" alt="1" src="http://goxia.maytide.net/ftpupfiles/Hyper-V-HOTWO_BBE2/1_thumb.png" width="604" height="454"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;2、使用记事本编辑刚才导出的安全配置文件，找到“<font style="background-color: #ffff00">PasswordComplexity</font>”项将其设置值改为“<font style="background-color: #ffff00">0</font>”，保存退出。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Hyper-V-HOTWO_BBE2/2.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="2" border="0" alt="2" src="http://goxia.maytide.net/ftpupfiles/Hyper-V-HOTWO_BBE2/2_thumb.png" width="604" height="454"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;3、执行“<font style="background-color: #ffff00">secedit /configure /db c:＼windows＼security＼sec.sdb /cfg c:＼sec.cfg /areas SECURITYPOLICY</font>”将刚才修改的设置导回安全策略中。</p> <p><a href="http://goxia.maytide.net/ftpupfiles/Hyper-V-HOTWO_BBE2/3.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="3" border="0" alt="3" src="http://goxia.maytide.net/ftpupfiles/Hyper-V-HOTWO_BBE2/3_thumb.png" width="604" height="454"></a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后执行 gpupdate /force 强制刷新一下组策略即可！至此问题解决……</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Secedit 的参考资料：<a title="http://technet.microsoft.com/zh-cn/library/bb490997(en-us).aspx" href="http://technet.microsoft.com/zh-cn/library/bb490997(en-us).aspx">http://technet.microsoft.com/zh-cn/library/bb490997(en-us).aspx</a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hyper-V Server 2008 R2：<a title="http://goxia.maytide.net/read.php/1500.htm" href="http://goxia.maytide.net/read.php/1500.htm">http://goxia.maytide.net/read.php/1500.htm</a></p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Windows Server 2008 R2 Hyper-V 核心功能对比：<a title="http://goxia.maytide.net/read.php/1373.htm" href="http://goxia.maytide.net/read.php/1373.htm">http://goxia.maytide.net/read.php/1373.htm</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/passwordcomplexity/" rel="tag">passwordcomplexity</a> , <a href="https://goxia.maytide.net/go.php/tags/secedit/" rel="tag">secedit</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1500.htm</link>
<title><![CDATA[[Hyper-V] Hyper-V Server 2008 R2 SP1 免费发布]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 15 Apr 2011 08:24:45 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1500.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/ac82499003e5_D746/logo-hyperv-server08-R2.png"><img style="border: 0px currentColor; padding-top: 0px; padding-right: 0px; padding-left: 0px; display: inline; background-image: none" src="http://goxia.maytide.net/ftpupfiles/ac82499003e5_D746/logo-hyperv-server08-R2_thumb.png" border="0" alt="logo-hyperv-server08-R2" title="logo-hyperv-server08-R2" width="404" height="63" /></a> Hyper-V Server 2008 R2 SP1 免费发布</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hyper-V Server 2008 R2 SP1 发布了，并且依旧免费！熟悉微软虚拟化的朋友对 Hyper-V Server 2008 一定是了解的，这是微软提供的一个简化、可靠和优化虚拟化的解决方案，它能提高服务器的利用率，并降低成本。</p> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在 Hyper-V Server 2008 R2 SP1 中包含了许多新的特性：</p> <ul> <li>Dynamic Memory（动态内存）</li> <li>RemoteFX</li> <li>Live migration（实时迁移）</li> <li>Failover clustering（故障转移群集）</li> <li>新的硬件配置支持</li> <li>新的服务器配置工具</li></ul> <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;点击下载：<a href="http://www.microsoft.com/downloads/zh-cn/details.aspx?familyId=92E2C4BA-6965-4F8E-ABBE-CBB40556B680&amp;hash=DBQ39oe3CIYM%2bG9IbG223j7aWOQqGWszzx5d56L8e9yE%2fzGBGELDedjfD8ExghU0subBrzuegedOh1Az12uCIA%3d%3d" target="_blank">Hyper-V Server 2008 R2 SP1</a>，下面是微软虚拟化平台产品的支持和功能对比列表，供大家参考！</p> <table border="1" cellspacing="0" cellpadding="0" width="598"> <tbody> <tr> <td width="152" valign="top"> </td> <td width="149" valign="top">Hyper-V Server 2008</td> <td width="148" valign="top">Hyper-V Server 2008 R2</td> <td width="148" valign="top">Windows Server 2008R2</td></tr> <tr> <td width="153" valign="top">x64-based processor<br />architecture only</td> <td width="149" valign="top">Yes</td> <td width="148" valign="top">Yes</td> <td width="148" valign="top">Yes</td></tr> <tr> <td width="153" valign="top">Hypervisor-based</td> <td width="149" valign="top">Yes</td> <td width="148" valign="top">Yes</td> <td width="148" valign="top">Yes</td></tr> <tr> <td width="153" valign="top">Product type</td> <td width="149" valign="top">Stand-alone product</td> <td width="148" valign="top">Stand-alone product</td> <td width="148" valign="top">Operating system</td></tr> <tr> <td width="153" valign="top">Number of sockets<br />(licensing)</td> <td width="149" valign="top">Up to 4</td> <td width="148" valign="top">Up to 8</td> <td width="148" valign="top">Up to 8 (Enterprise)<br /> Up to 64(DataCenter)</td></tr> <tr> <td width="153" valign="top">Number of cores<br />supported by the<br />hypervisor</td> <td width="149" valign="top">24</td> <td width="148" valign="top">64</td> <td width="148" valign="top">64</td></tr> <tr> <td width="153" valign="top">Memory</td> <td width="149" valign="top">Up to 32GB</td> <td width="148" valign="top">Up to 1TB</td> <td width="148" valign="top">Up to 1TB</td></tr> <tr> <td width="153" valign="top">Virtual machine migration</td> <td width="149" valign="top">None</td> <td width="148" valign="top">Quick and Live migration</td> <td width="148" valign="top">Quick and Live<br />migration</td></tr> <tr> <td width="153" valign="top">Max number of<br />cluster nodes</td> <td width="149" valign="top">Not applicable</td> <td width="148" valign="top">16</td> <td width="148" valign="top">16</td></tr> <tr> <td width="153" valign="top">Management</td> <td width="149" valign="top">Existing management tools</td> <td width="148" valign="top">Existing management tools</td> <td width="148" valign="top">Existing management tools</td></tr> <tr> <td width="153" valign="top">Management by<br />System Center<br />Virtual Machine Manager</td> <td width="149" valign="top">Yes<br />(VMM 2008 &amp; VMM 2008 R2)</td> <td width="148" valign="top">Yes<br />(VMM 2008 R2)</td> <td width="148" valign="top">Yes<br />(VMM 2008 R2)</td></tr> <tr> <td width="153" valign="top">Virtualization rig hts for<br />Windows Server guest<br />virtual machines</td> <td width="149" valign="top">0</td> <td width="148" valign="top">0</td> <td width="148" valign="top">4 virtual machines<br />(Enterprise)<br />Unlimited vietual machines<br />(Datacenter)</td></tr> <tr> <td width="153" valign="top">Number of running virtual macine guests</td> <td width="149" valign="top">As many as physical resources allow, up to 192</td> <td width="148" valign="top">As many as physical resources allow, up to 384</td> <td width="148" valign="top">As many as physical resources allow, up to 384</td></tr> <tr> <td width="153" valign="top">Max number of<br />virtual processors</td> <td width="149" valign="top">8 times the number of logical processors</td> <td width="148" valign="top">8 times the number of logical processors</td> <td width="148" valign="top">8 times the number of logical processors</td></tr></tbody></table><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/sp1/" rel="tag">sp1</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1434.htm</link>
<title><![CDATA[[MDT] P2V Migration for Software Assurance Beta 介绍篇]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Sun, 19 Sep 2010 14:52:44 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1434.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/MDT_A10D/MSFT_SolutionAccelerators.png"><img src="http://goxia.maytide.net/ftpupfiles/MDT_A10D/MSFT_SolutionAccelerators_thumb.png" border="0" alt="MSFT_SolutionAccelerators" title="MSFT_SolutionAccelerators" width="300" height="30" /></a></p><p>P2V Migration for Software Beta 介绍篇</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;微软近日发布了一款新的软件保障（SA）产品 &ndash; P2V Migration for Software Assurance Beta，这款软件目前正处于 Beta 阶段，虽然是公开发布测试，但必须登录 <a href="http://connect.microsoft.com/" target="_blank">Microsoft Connect</a> 进行登记申请测试。其下载地址会在文末提供，<a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 建议在开始之前还是应当先关注一下该软件的介绍。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;P2V Migration for Software Assurance Beta，从命名上不难理解！是一款物理机到虚拟机迁移的免费工具，它体现了 <a href="http://www.microsoft.com/china/" target="_blank"></a><a href="http://www.microsoft.com/china/licensing/software-assurance/default.aspx" target="_blank">Microsoft Software Assurance</a> （微软软件保障，SA）的优势，访问 <a href="http://www.microsoft.com/china/" target="_blank"></a><a href="http://www.microsoft.com/china/Licensing/Default.aspx" target="_blank">Microsoft Volume Licensing</a> 可了解批量授权带来的更多好处！虽然如此，可从 P2V Migration for Software Assurance Beta 的 Release Notes 中了解到，除了 SA 以外，完整零售版本的 Windows 7、Windows Vista 和 Windows XP 同样也在适用范围。但是，<a href="http://oem.microsoft.com/" target="_blank">OEM</a> 产品并未在授权条款以内！（PS：这点尤为注意！）</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;那么 P2V Migration for Software Assurance Beta 与 MDT（<a href="http://www.microsoft.com/china/" target="_blank">Microsoft</a> Deployment Toolkit）又有什么关系？！或者说他们组合又能实现怎样的功能呢？！其实它们都属于 Microsoft Solution Accelerators 的组成部分。而 P2V Migration for Software Assurance Beta 构建在 MDT 之上，所以我们利用 P2V Migration for Software Assurance Beta 可以创建一个包含旧操作系统为虚拟机的，自动化的 Windows 7 部署。听起来比较绕嘴！来看看下图所展示的大致流程：</p><p><a href="http://goxia.maytide.net/ftpupfiles/MDTP2VMigrationforSoftware_125B3/image.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/MDTP2VMigrationforSoftware_125B3/image_thumb.png" border="0" alt="image" title="image" width="600" height="197" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;P2V Migration for Software Assurance Beta 包含一组整合 MDT 任务序列的脚本程序，调用 <a href="http://goxia.maytide.net/read.php/1305.htm" target="_blank">Disk2VHD</a>（PS：Disk2VHD 使用可以参考 gOxiA 的一篇日志：<a href="http://goxia.maytide.net/read.php/1307.htm" target="_blank">小测 Disk2VHD v1.0</a>）来自动化创建系统映像的虚拟磁盘文件（VHD），并在 MDT 部署 Windows 7 的过程中创建一个使用该 VHD 的虚拟机，最后将该虚拟机所包含的应用程序发布到当前 Windows 7 的开始菜单中。</p><p><a href="http://goxia.maytide.net/ftpupfiles/MDTP2VMigrationforSoftware_125B3/P2V_Migration_SA_Demo_1.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/MDTP2VMigrationforSoftware_125B3/P2V_Migration_SA_Demo_1_thumb.jpg" border="0" alt="P2V_Migration_SA_Demo_1" title="P2V_Migration_SA_Demo_1" width="300" height="227" /></a> <a href="http://goxia.maytide.net/ftpupfiles/MDTP2VMigrationforSoftware_125B3/P2V_Migration_SA_Demo_2.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/MDTP2VMigrationforSoftware_125B3/P2V_Migration_SA_Demo_2_thumb.jpg" border="0" alt="P2V_Migration_SA_Demo_2" title="P2V_Migration_SA_Demo_2" width="302" height="295" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OK，到现在已经很明了了！重点就是在执行部署新系统时，创建一个旧系统的 VHD，并自动在之后的新系统上为其创建一个虚拟机，并且该虚拟机支持 XP Mode（XPM）的特性（相关参考：<a href="http://goxia.maytide.net/read.php/1424.htm" target="_blank">Windows XP Mode 支持同时运行多个虚拟机下的应用程序</a>）。但是，大转折，呵呵！也被非必需是执行新系统的部署，我们也可以只捕获当前系统的用户状态数据或只创建当前系统映像的 VHD。非常之灵活！</p><p>P2V Migration for Software Assurance Beta 着重在部署新操作系统的同时，将旧系统以 XPM 方式部署到虚拟机中。在一些特定环境中，该解决方案加速器确实发挥了很大的作用。最后需要注意的是，P2V Migration 支持基于 Windows 7、Windows Vista 和 XP SP3 的操作系统创建 VHD，虽然部署 Windows 7 的 x86 或 x64 版本时，可以使用 P2V Migration，但是它只能创建基于 x86 操作系统的 VHD。此外，P2V Migration 虽然不受语言限制，但是在实际测试中，由于客户端是简体中文版本，所以会导致部署出错，具体的解决办法可以参考：<a href="http://goxia.maytide.net/read.php/1432.htm" target="_blank">P2V Migration for Software Assurance Beta 解决 Failure 1603 和 &ndash;2147024893 故障</a>，关于 <a href="http://technet.microsoft.com/zh-cn/library/cc722032(en-us,WS.10).aspx" target="_blank">USMT</a> 故障问题则可以参考：<a href="http://goxia.maytide.net/read.php/1433.htm" target="_blank">解决 Unable to find USMT30_x86.cab file so it is not possible to install USMT 3.0&hellip; 故障</a>。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;P2V Migration for Software Assurance Beta 的下载地址是：<a href="https://connect.microsoft.com/site14/Downloads/DownloadDetails.aspx?DownloadID=30989">https://connect.microsoft.com/site14/Downloads/DownloadDetails.aspx?DownloadID=30989</a>，请使用 LiveID 登录注册！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;其他相关资讯，请关注后续的日志，gOxiA 届时会与大家分享 P2V Migration 的安装及使用，敬请关注！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;结尾语 - gOxiA 目前就遇到适合的案例，一台运行 Windows XP 的旧计算机，其下运行着几款&ldquo;优秀的&rdquo;系列化的&ldquo;国内自主研发的财务管理&rdquo;应用程序，该应用程序超强之处在于其加密和防盗版措施比软件本身做的要优秀百倍！首先，该软件只能运行在 Windows XP 下（即使在 Windows 7 下使用&ldquo;兼容性疑难解答&rdquo;也无济于事！！！）；其次，光盘加密导致无法将安装程序复制到虚拟机（XPM）下单独进行安装；而且，咨询其开发商也无法提供 ISO 及其他解决方案（要 ISO 没有，要独立安装包没有，可以掏钱继续买光盘！）；并且，即使将光盘插入到物理光驱，也无法在虚拟机下调用！！！最后，MSE 还报光盘的安装程序包含恶意程序，My God！纠结了 n 天，就差把这台华丽电脑（装有 Windows 7 的 IMac）的系统改回 Windows XP！！！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;P2V Migration for Software Assurance Beta 就在最近发布了！这可解决了 gOxiA 所遭遇的难题，在保留 Windows 7 系统的情况下还可以使用原来的旧系统，最关键的是解决了那几个国产应用程序兼容性的问题。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/deployment/" rel="tag">deployment</a> , <a href="https://goxia.maytide.net/go.php/tags/toolkit/" rel="tag">toolkit</a> , <a href="https://goxia.maytide.net/go.php/tags/mdt/" rel="tag">mdt</a> , <a href="https://goxia.maytide.net/go.php/tags/2010/" rel="tag">2010</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/7/" rel="tag">7</a> , <a href="https://goxia.maytide.net/go.php/tags/p2v/" rel="tag">p2v</a> , <a href="https://goxia.maytide.net/go.php/tags/migration/" rel="tag">migration</a> , <a href="https://goxia.maytide.net/go.php/tags/software/" rel="tag">software</a> , <a href="https://goxia.maytide.net/go.php/tags/assurance/" rel="tag">assurance</a> , <a href="https://goxia.maytide.net/go.php/tags/disk2vhd/" rel="tag">disk2vhd</a> , <a href="https://goxia.maytide.net/go.php/tags/xp/" rel="tag">xp</a> , <a href="https://goxia.maytide.net/go.php/tags/mode/" rel="tag">mode</a> , <a href="https://goxia.maytide.net/go.php/tags/xpm/" rel="tag">xpm</a> , <a href="https://goxia.maytide.net/go.php/tags/vhd/" rel="tag">vhd</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1424.htm</link>
<title><![CDATA[[Windows 7] Windows XP Mode 支持同时运行多个虚拟机下的应用程序]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 08 Sep 2010 15:02:26 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1424.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC.jpg"><img src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC_thumb.jpg" border="0" alt="Windows_VPC_compare_MVPC" title="Windows_VPC_compare_MVPC" width="121" height="46" /></a> Windows XP Mode 支持同时运行多个虚拟机下的应用程序</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 此篇日志并非属于技术型，只是一篇简短的介绍或者提示，撰写这篇日志的起因是因为今天下午 <a href="http://mvp.support.microsoft.com/gp/aboutmvp" target="_blank">MVP</a> 的一个项目会议，其间 Eddie Liu 曾提及 XPM（Windows XP Mode）是否支持同时打开多个 XPM 下的应用程序，满足不同用户的需求？！这个问题还真不好作答，貌似在场的几位 MVP 都没经历过此种案例，不过从分析来看，因为 XPM 采用的是 RemoteApp 技术，尽管我们没有安装微软提供的 XPM 系统，只要当前的虚拟机安装对应的补丁即可实现运行虚拟应用程序。补丁下载信息如下：</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.microsoft.com/downloads/details.aspx?familyid=E5433D88-685F-4036-B435-570FF53598CD&amp;displaylang=zh-cn" target="_blank">Windows XP SP3 用于启用 RemoteApp 的更新</a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.microsoft.com/downloads/details.aspx?familyid=26A2DE17-8355-4E8D-8F33-9211E48651FB&amp;displaylang=zh-cn" target="_blank">Windows Vsta SP1 或更高版本用于启用 RemoteApp 的更新</a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果，与 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 一样仅仅是为了测试同时运行不同 XPM 下的虚拟应用程序，那么我们完全可以利用差异磁盘来创建另外一个 XPM 虚拟机。其中父磁盘则使用的是 XPM 安装目录下原始的虚拟磁盘文件 - &rdquo;Windows XP Mode base.vhd&ldquo;。</p><p><a href="http://goxia.maytide.net/ftpupfiles/XPMode_13DB9/XPM_1.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/XPMode_13DB9/XPM_1_thumb.png" border="0" alt="XPM_1" title="XPM_1" width="604" height="327" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 为了测试，gOxiA 在 WindowsXPSP3 虚拟机中安装了面向 Windows XP 而开发的 Google Chrome 浏览器，然后将 Google Chrome 快捷方式拷贝到所有用户程序组下面，接下来再在默认的 XPM 中将系统自带的 IE6 快捷方式拷贝到所有用户程序组中，之后关闭虚拟机。我们能够在 Host OS（即：当前的 Windows 7 系统）的开始菜单下找到这些虚拟应用程序。</p><p><a href="http://goxia.maytide.net/ftpupfiles/XPMode_13DB9/XPM_2.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/XPMode_13DB9/XPM_2_thumb.png" border="0" alt="XPM_2" title="XPM_2" width="316" height="507" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 一切准备就绪，现在打开这些用于测试的虚拟应用程序，OK！如下图所示，测试没有问题，Windows Virtual PC 同时启动了两个虚拟机的 XPM 模式，并成功打开了这些虚拟应用程序。</p><p><a href="http://goxia.maytide.net/ftpupfiles/XPMode_13DB9/XPM_3.png"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px" src="http://goxia.maytide.net/ftpupfiles/XPMode_13DB9/XPM_3_thumb.png" border="0" alt="XPM_3" title="XPM_3" width="604" height="379" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 由此证明， XPM 支持同时运行多个虚拟机下的应用程序，并能够满足一些用户的特殊需求。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/7/" rel="tag">7</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a> , <a href="https://goxia.maytide.net/go.php/tags/xp/" rel="tag">xp</a> , <a href="https://goxia.maytide.net/go.php/tags/mode/" rel="tag">mode</a> , <a href="https://goxia.maytide.net/go.php/tags/xpm/" rel="tag">xpm</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1410.htm</link>
<title><![CDATA[Linux Integration Services v2.1 for Windows Server 2008 Hyper-V R2 发布]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 30 Jul 2010 07:03:35 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1410.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb.png"><img src="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb_thumb.png" border="0" alt="WS08-R2_v_rgb" title="WS08-R2_v_rgb" width="240" height="75" /></a> Linux Integration Services v2.1</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 今天微软发布了 Windows Server 2008 Hyper-V R2 面向 Linux 的集成组件 v2.1 版本。在 Linux 虚拟机上安装该组件后将大幅提高其 Guest OS 的整体性能。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Linux Integration Services v2.1 以 VMbus 总线基准进行开发，为 Hyper-V 下的 Linux 虚拟机提供了 synthetic network controller 和 synthetic storage controller 的支持。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 下面是 Integration Services v2.1 的主要功能和改进：</p><ul><li>Fastpath Boot Support: Boot devices now take advantage of the storage VSC to provide enhanced performance.</li><li>Timesync: The clock inside the virtual machine will remain synchronized with the clock on the host.</li><li>Integrated Shutdown: Virtual machines running Linux can be shut down from either Hyper-V Manager or System Center Virtual Machine Manager, using the &ldquo;Shut Down&rdquo; command.</li><li>Symmetric Multi-Processing (SMP) Support: Supported Linux distributions can use up to 4 virtual processors (VP) per virtual machine. </li><li>Heartbeat: Allows the host to detect whether the guest is running and responsive.</li><li>Pluggable Time Source: A pluggable clock source module is included to provide a more accurate time source to the guest.</li></ul><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 受支持的 Linux Guest OS：<br /></p><ul><li>Novell SUSE Linux Enterprise Server 10 SP3</li><li>Novell SUSE Linux Enterprise Server 11</li><li>Red Hat Enterprise Linux 5.2 / 5.3 / 5.4 / 5.5</li></ul><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Integration Services v2.1 的官方下载地址是：<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551" title="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551">http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=eee39325-898b-4522-9b4c-f4b5b9b64551</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/integration/" rel="tag">integration</a> , <a href="https://goxia.maytide.net/go.php/tags/services/" rel="tag">services</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1379.htm</link>
<title><![CDATA[[Windows 7]修复 Windows Virtual PC 丢失了的 创建虚拟机 选项]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Thu, 06 May 2010 06:08:22 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1379.htm</guid> 
<description>
<![CDATA[ 
	<p><img src="http://goxia.maytide.net/ftpupfiles/Windows7Windows7_AF6B/Windows7_h_rgb_thumb.png" border="0" /><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC.jpg"><img src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC_thumb.jpg" border="0" alt="Windows_VPC_compare_MVPC" title="Windows_VPC_compare_MVPC" width="121" height="46" /></a> Fixing a missing &rdquo;Create Virtual Machine&rdquo;option</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 一次意外的操作导致了出现如下图显示的故障，打开 Windows Virtual PC 程序后发现在菜单栏中&ldquo;创建虚拟机&rdquo;的选项丢失。卸载重新安装 Windows Virtual PC 均未能解决问题。对比两台电脑的 Windows Virtual PC 快捷方式及打开目录的 Desktop.ini 文件进行了对比也未发现异常。搜索网上的线索，还真找到了解决办法，看来确实也有其他人遇到了此类的问题。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_C6F7/image.png"><img style="display: inline; border-width: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_C6F7/image_thumb.png" border="0" alt="image" title="image" width="596" height="450" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在 <a href="http://blogs.msdn.com/virtual_pc_guy/" target="_blank">Ben Armstrong</a> 的 Blog 中找到了这篇日志《<a href="http://blogs.msdn.com/virtual_pc_guy/archive/2009/07/06/fixing-a-missing-create-virtual-machine-option-windows-virtual-pc.aspx" target="_blank">Fixing a missing&rdquo;Create Virtual Machine&rdquo;option</a>》，Ben 提供了三个解决办法，其中第一个恢复文件夹默认设置的办法没能解决我的问题。第三个办法是使用&ldquo;＼Windows＼System32＼VPCWizard.exe&rdquo;命令来创建虚拟机，但貌似这并没有彻底解决问题所在。只有第二个办法，导入提供的注册表文件，清理文件夹视图配置以及其他相关的自定义设置才能完全解决该故障。经过实际的应用，导入注册表后最终解决了丢失&ldquo;创建虚拟机&rdquo;选项的故障问题。不敢独享特撰博在此与大家分享。</p><p>注册表文件：<a href="http://goxia.maytide.net/up/DeleteFolderViewState.zip" target="_blank">DeleteFolderViewState.zip</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1378.htm</link>
<title><![CDATA[[Windows 7]HOWTO:重装系统后导入之前的 Windows Virtual PC 虚拟机]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Thu, 06 May 2010 04:33:06 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1378.htm</guid> 
<description>
<![CDATA[ 
	<p><img src="http://goxia.maytide.net/ftpupfiles/Windows7Windows7_AF6B/Windows7_h_rgb_thumb.png" border="0" /><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC.jpg"><img src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC_thumb.jpg" border="0" alt="Windows_VPC_compare_MVPC" title="Windows_VPC_compare_MVPC" width="121" height="46" /></a> 导入已经存在的 Windows Virtual PC 虚拟机</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;系统使用时间长了不免要重新安装操作系统，gOxiA 最近升级了笔记本硬盘到500G，虽然迁移系统到新硬盘但是发现还是存在一些问题，此外Office 2010 RTM也已经发布，最终选择了重新安装系统。因为之前在 Windows Virtual PC 上安装了 Windows XP Mode 以及其他虚拟机，而 Windows Virtual PC 并未提供导出功能，在重新装完系统之后要恢复 Windows XP Mode 和其他虚拟机变得有些麻烦，如果重新安装 Windows XP Mode 和其下的应用软件，简直就是恶梦！经过实践发现其实是 gOxiA 想复杂了，导入已经存在的 Windows Virtual PC 虚拟机非常简单。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;首先，访问微软网站下载 <a href="http://www.microsoft.com/windows/virtual-pc/default.aspx" target="_blank">Windows Virtual PC 以及 Windows XP Mode</a>，并依次进行安装。之后通过开始菜单打开 Windows Virtual PC 程序目录，同时打开你的虚拟机存储所在目录。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7HOWTOWindowsVirtualPC_B053/image.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7HOWTOWindowsVirtualPC_B053/image_thumb.png" border="0" alt="Windows Virtual PC" title="Windows Virtual PC" width="256" height="354" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;OK，完成上述操作后在虚拟机存储目录找到虚拟机配置文件&ldquo;.vmcx&rdquo;选中它后，鼠标左键单击并将其拖动到 Virtual Machines 中即可。如下图所示：</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7HOWTOWindowsVirtualPC_B053/image_3.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7HOWTOWindowsVirtualPC_B053/image_thumb_3.png" border="0" alt="Windows Virtual PC" title="Windows Virtual PC" width="604" height="447" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;需要注意的是配置文件必须是 .vmcx否则无效哦！所以在重新做系统前请务必将 Virtual PC 目录中的 vmcx 文件拷贝到其他备份位置。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a> , <a href="https://goxia.maytide.net/go.php/tags/xp/" rel="tag">xp</a> , <a href="https://goxia.maytide.net/go.php/tags/mode/" rel="tag">mode</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1377.htm</link>
<title><![CDATA[[Hyper-V]从UFD启动和运行Hyper-V Server 2008 R2]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Tue, 04 May 2010 05:48:37 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1377.htm</guid> 
<description>
<![CDATA[ 
	<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 以下内容节选自我刚撰写的一篇文章，当然其中主要的操作步骤参考了TechNet Librarys，所以分享出来并无大碍！这篇日志旨在希望能以更小化的改变当前服务器的环境，来评估或实施Hyper-V。所以我们可以选择免费的Hyper-V Server 2008 R2，并使其从 USB Flash Drive（俗称：U盘）启动运行。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 要实现这一目标，制作好一个承载Hyper-V Server 2008 R2运行的U盘，我们需要事先准备一个支持USB2.0规范的U盘，建议16G容量，和一份Hyper-V Server 2008 R2的安装源文件（install.wim），并在当前工作环境下安装WAIK。注意当前工作环境强烈推荐Windows 7或Windows Server 2008 R2。而目标服务器必须满足CPU支持64位（x64） 、U盘引导（Boot from USB）、硬件虚拟化（Hardware-assisted Virtualization）以及硬件数据执行保护（Hardware-enforced Data Execution Prevention）。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第一步，创建一个VHD。利用diskpart命令创建一个用于存储Hyper-V Server 2008 R2的VHD文件，容量为12G，采用固定磁盘类型，并创建一个主分区，使用NTFS格式，并将其挂载到当前系统中分配盘符为R，卷标为HyperV。为此，在当前系统中的CMD环境下执行如下命令行：</p><p>mkdir c:＼hvvhd</p><p>diskpart</p><p>create vdisk file=c:＼hvvhd＼hyperv.vhd maximum=12000 type=fixed</p><p>sel vdisk file=c:＼hvvhd＼hyperv.vhd</p><p>attach vdisk</p><p>create partition primary</p><p>assign letter=r</p><p>format quick fs=ntfs quick label=HyperV</p><p>exit</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第二步，利用WAIK提供的imagex.ex命令将Hyper-V Server 2008 R2安装源（Install.wim）中的映像释放到分区R中，完成后将hyperv.vhd从当前系统中卸载。为此，执行如下命令：</p><p>imagex /apply &lt;path-to-wim&gt; 1 r:</p><p>diskpart</p><p>sel vdisk file=c:＼hvvhd＼hyperv.vhd</p><p>detach vdisk</p><p>exit</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第三步，准备U盘（UFD），还是通过diskpart命令对U盘进行分区格式化，此外还要将该分区标注为活动分区。命令如下：</p><p>diskpart</p><p>sel disk &lt;UFD-Disk-Number&gt;</p><p>clean</p><p>create partition primary</p><p>active</p><p>format fs=ntfs quick</p><p>assign letter=z</p><p>exit</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第四步，将之前制作好的hyperv.vhd拷贝到U盘上，如果当前工作环境不是Windows 7或Windows Server 2008 R2，则还需要使用WAIK中提供的bootsect命令为U盘标注为可引导。命令行如下：</p><p>copy c:＼hvvhd＼hyperv.vhd z:</p><p>bootsect /nt60 z: /force /mbr</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第五步，使用bcdboot命令在U盘上为hyperv.vhd中的系统创建引导数据。为此，执行下面的命令行：</p><p>diskpart</p><p>sel vdisk file=z:＼hyperv.vhd</p><p>attach vdisk</p><p>exit</p><p>bcdboot r:＼windows /s z:</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第六步，上面的5个步骤执行完毕后，这个U盘上的Hyper-V Server 2008 R2 还无法通过U盘引导启动运行，因为VHD Native Boot虽然能够实现从VHD中启动运行操作系统，但是该系统的磁盘缓存文件仍存储在实际磁盘上，而且因为U盘自身的原因，频繁地在U盘上读写数据势必会影响其整体的性能和稳定性，所以我们还需要通过修改注册表禁用这个系统上的磁盘缓存文件。为此，执行下面的命令行：</p><p>reg load HKLM/hyperVTemp r:＼windows＼system32＼config＼system</p><p>reg add &ldquo;HKLM＼HyperVTemp＼ControlSet001＼Control＼Session Manager＼Memory Management&rdquo; /v PagingFiles /t REG_MULTI_SZ /d &ldquo;&rdquo; /f</p><p>reg delete &ldquo;HKLM＼HyperVTemp＼ControlSet001＼Control＼Session Manager＼Memory Management&rdquo; /v ExistingPageFiles /f</p><p>reg unload HKLM＼HyperVTemp</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 第七步，从当前卸载Z盘上的VHD文件，完成整个操作。</p><p>diskpart</p><p>sel vdisk file=z:＼hyperv.vhd</p><p>detach vdisk</p><p>exit</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 最后，我们便可以将该U盘插到硬件满足Hyper-V 需求的服务器上，从U盘引导运行这个Hyper-V Server 2008 R2。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 通过上面的例子，我们可以深入认识和理解微软在虚拟化方面所作出的努力。利用U盘运行的方式，我们只需要修改注册表中&ldquo;HKEY_LOCAL_MACHINE＼SYSTEM＼CurrentControlSet＼Control＼PnP＼PollBootPartitionTimeout&rdquo;的键值为&ldquo;30000&rdquo;，便能够在更大的移动存储设备，如：移动硬盘上面引导运行Windows Server 2008 R2的完整版。目前据我所知有不少ITPro通过eSATA外接移动硬盘在自己的笔记本上运行Windows Server 2008 R2 Hyper-V 来实现相关产品和技术的学习或评估工作。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/ufd/" rel="tag">ufd</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1373.htm</link>
<title><![CDATA[[Hyper-V] Windows Server 2008 R2 Hyper-V 核心功能列表对比]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Thu, 08 Apr 2010 08:04:24 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1373.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb.png"><img src="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb_thumb.png" border="0" alt="WS08-R2_v_rgb" title="WS08-R2_v_rgb" width="240" height="75" /></a> Core Features of Windows Server 2008 R2 Hyper-V</p><p><a href="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2008R2HyperV_E235/image.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2008R2HyperV_E235/image_thumb.png" border="0" alt="image" title="image" width="577" height="702" /></a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/core/" rel="tag">core</a> , <a href="https://goxia.maytide.net/go.php/tags/features/" rel="tag">features</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1367.htm</link>
<title><![CDATA[[Windows 7] 微软宣布 Windows Virtual PC  XP Mode 不再需要硬件虚拟化技术]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 19 Mar 2010 03:47:20 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1367.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC.jpg"><img src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC_thumb.jpg" border="0" alt="Windows_VPC_compare_MVPC" title="Windows_VPC_compare_MVPC" width="121" height="46" /></a> 微软宣布 Windows Virtual PC &amp; XP Mode 不再需要硬件虚拟化技术</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果长期关注 <a href="http://goxia.maytide.net" target="_blank">gOxiA</a> 的 Blog，相信一定知道 Windows Virtual PC &amp; XP Mode，但是首先我们还是先来回顾一下该技术的功能和特性《<a href="http://goxia.maytide.net/read.php/1218.htm" target="_blank">Windows Virtual PC &amp; XP Mode 面向应用兼容性问题的终极武器</a>》。其中 Windows XP Mode 的实现，就是通过微软的 Virtual PC 虚拟化技术并结合处理器的硬件虚拟化功能（Intel VT/AMD-V）。由于 Windows 7 的硬件需求并不高，所以目前大部分 PC 都能很好的运行它。但是，如果企业或个人部署了 Windows 7 并迫切需要 XP Mode 来解决兼容性问题，而当前硬件却无法满足硬件虚拟化需求，那么势必对 Windows 7 在企业中的普及造成了阻碍。所以 gOxiA 认为也就是出于这个原因，微软最终发布了不再需要硬件虚拟化技术支持的补丁程序 - <a href="http://support.microsoft.com/kb/977206" target="_blank">KB977206</a>。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果你还未安装过 Windows Virtual PC &amp; XP Mode，可以参考 gOxiA 之前的日志：《<a href="http://goxia.maytide.net/read.php/1220.htm" target="_blank">Windows Virtual PC &amp; Windows XP Mode 安装图览</a>》、《<a href="http://goxia.maytide.net/read.php/1223.htm" target="_blank">使用 Windows Virtual PC 创建一个虚拟机</a>》。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPCXPMode_A5E1/1.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPCXPMode_A5E1/1_thumb.png" border="0" alt="1" title="1" width="604" height="260" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果要安装这个补丁必须先安装 Windows Virtual PC，否则会提示该补丁不适用当前的系统。要安装 Windows Virtual PC 可以从微软官方网站进行下载，地址是：<a href="http://www.microsoft.com/china/windows/virtual-pc/download.aspx">http://www.microsoft.com/china/windows/virtual-pc/download.aspx</a>，在该网址中还能同时下载到 XP Mode。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;在安装完 Windows Virtual PC 之后就可以安装 KB977206 这个补丁，该补丁的下载地址是：</p><p>32-bit：<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=837f12aa-1d37-464e-ae59-20c9ecbebaf6">http://www.microsoft.com/downloads/details.aspx?FamilyID=837f12aa-1d37-464e-ae59-20c9ecbebaf6</a></p><p>64-bit：<a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=e70dd043-e262-43c0-a002-446567f1e2b4">http://www.microsoft.com/downloads/details.aspx?FamilyID=e70dd043-e262-43c0-a002-446567f1e2b4</a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注意，下载该补丁需要进行正版验证！安装过程很简单就像普通的补丁安装一样，在安装后请根据提示重新启动计算机。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPCXPMode_A5E1/2.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPCXPMode_A5E1/2_thumb.png" border="0" alt="2" title="2" width="392" height="175" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果出现下图的错误提示，请卸载你当前 PC 上安装的 Microsoft Virtual PC 2007 SP1。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPCXPMode_A5E1/3.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPCXPMode_A5E1/3_thumb.png" border="0" alt="3" title="3" width="604" height="233" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后我们就可以在没有硬件虚拟化技术支持的 PC 上使用 Windows Virtual PC &amp; XP Mode！如果 PC 已经拥有硬件虚拟化技术支持，则无需安装此更新补丁，除了有助于性能的提升，没准微软在未来会继续发布能够运行 64-bit guest OS 的补丁！</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPCXPMode_A5E1/4.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPCXPMode_A5E1/4_thumb.png" border="0" alt="4" title="4" width="604" height="291" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;不论怎样！相信微软的这一举措，将加快企业部署 Windows 7 的进程，更加推动 Windows 7 系统的普及率！这一步微软走的十分到位！</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a> , <a href="https://goxia.maytide.net/go.php/tags/xp/" rel="tag">xp</a> , <a href="https://goxia.maytide.net/go.php/tags/mode/" rel="tag">mode</a> , <a href="https://goxia.maytide.net/go.php/tags/vt/" rel="tag">vt</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1352.htm</link>
<title><![CDATA[在 Windows Virtual PC 上使用 Windows Server 2008 Core]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Sat, 06 Feb 2010 02:48:25 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1352.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC.jpg"><img src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC_thumb.jpg" border="0" alt="Windows_VPC_compare_MVPC" title="Windows_VPC_compare_MVPC" width="121" height="46" /></a> 在 Windows Virtual PC 上使用 Windows Server 2008 Core</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://blogs.msdn.com/Virtual_PC_Guy/" target="_blank">Virtual PC Guy's Blog</a> 发布了一篇日志与大家分享如何在 Windows Virtual PC 上使用 Windows Server 2008 Core，gOxiA 看完感觉还是有一定价值的，特总结一下在本 Blog 与大家分享。在 Windows 7 上我们目前主要使用 Windows Virtual PC 作为虚拟机平台，虽然相比 Microsoft Virtual PC 2007 有了诸多的改进和增强，但是显然也存在一些不足，缺乏虚拟机平台的通用性，可能是跟 Windows 7 集成度太高而给人的一种错觉！不过也不难理解，毕竟叫 Windows Virtual PC 嘛！回到正题，在 Windows Virtual PC 上创建一个虚拟机，然后安装 Windows Server 2008 Core 版本，为了能够轻松地在窗体之间切换和使用增强功能，我们需要为虚拟机安装 Integration Components，但是你会发现安装会失败并提示下图中显示的警告！</p><p><a href="http://goxia.maytide.net/ftpupfiles/WindowsVirtualPCWindowsServer2008Core_97DF/w2K8CoreVPC7_3.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/WindowsVirtualPCWindowsServer2008Core_97DF/w2K8CoreVPC7_3_thumb.png" border="0" alt="w2K8CoreVPC7_3" title="w2K8CoreVPC7_3" width="507" height="386" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 出现该故障的主要原因就是因为 Windows Virtual PC 创建的虚拟机中包含声卡设备，所以根据《<a href="http://blogs.msdn.com/virtual_pc_guy/archive/2010/02/04/using-windows-server-2008-core-on-windows-virtual-pc.aspx" target="_blank">Using Windows Server 2008 Core on Windows Virtual PC</a>》文中的提示，我们只需要修改虚拟机的配置文件 &ndash; VirtualMachineName.vmc，找到 Sound 段落，将其 &ldquo;<em><strong>enable type=&rdquo;boolean&rdquo;</strong></em>&rdquo;的设置由 <strong><em>True</em></strong> 改为 <strong><em>False</em></strong> ，最后重新打开虚拟机安装 Integration Components 即可！</p><p><a href="http://goxia.maytide.net/ftpupfiles/WindowsVirtualPCWindowsServer2008Core_97DF/Modify_vmc.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/WindowsVirtualPCWindowsServer2008Core_97DF/Modify_vmc_thumb.png" border="0" alt="Modify_vmc" title="Modify_vmc" width="600" height="284" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 虽然大家都已经开始在学习 Windows Server 2008 R2，而 Windows Virtual PC 不支持 64bit guest OS，所以该文的价值并没有想象中那么大，可是起码能够引导我们重视这些配置文件，也许在深入发掘之后有其他更大的收获！</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/core/" rel="tag">core</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1349.htm</link>
<title><![CDATA[[Hyper-V] 增加 VMBus 缓冲区大小来提升虚拟机网络吞吐量]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 03 Feb 2010 14:02:45 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1349.htm</guid> 
<description>
<![CDATA[ 
	<p><img src="http://goxia.maytide.net/up/WS08HypeV.gif" border="0" /> 增加 VMBus 缓冲区大小来提升虚拟机网络吞吐量</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;今天在 <a href="http://blogs.technet.com/winserverperformance/default.aspx" target="_blank">Windows Server Performance Team Blog</a> 看到一篇非常有价值的文章《<a href="http://blogs.technet.com/winserverperformance/archive/2010/02/02/increase-vmbus-buffer-sizes-to-increase-network-throughput-to-guest-vms.aspx" target="_blank">Increase VMBus buffer sizes to increase network throughput to guest VMs</a>》，主要介绍了如何通过增加 VMBus 的缓冲区来提升虚拟机网络的吞吐量。由于原文的介绍已经相当详细，小弟我也就不班门弄斧！简单来讲，Hyper-V 提供的 VMBus 架构是非常优越的，由于虚拟网络的数据交换是通过 VMBus 到物理网卡的，所以 Virtual Switch 能够提供充足的缓冲，我们可以利用该特性有效的改善传统网络中出现的因吞吐量导致的数据包丢失问题。在 Windows Server 2008 R2 上默认的缓冲区大小为 1mb，它能提供 655 个数据包缓冲（每个缓冲区 1600 个字节）。根据原文的建议可以将其缓冲增加到 2mb（最大有效值是 4mb），能够满足大多数的情况。除非你有足够大的内存，否则不建议设置到 4mb。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;要增加 VMBus 缓冲区的大小只需要修改虚拟机的网卡（Microsoft 虚拟机总线网络适配器）注册表相关项增加两个 DWORD 值即可。执行此操作前我们需要先确认虚拟机网卡的&ldquo;驱动程序关键字&rdquo;便于在注册表中定位，为此在虚拟机中打开硬件管理找到网卡适配器进入其属性下的详细信息选项卡页面，在属性列表中选取&ldquo;驱动程序关键字&rdquo;，将该值记录下来。</p><p><a href="http://goxia.maytide.net/ftpupfiles/HyperVVMBus_135D8/image.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/HyperVVMBus_135D8/image_thumb.png" border="0" alt="image" title="image" width="604" height="435" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;接下来打开注册表编辑器，根据之前记录下来的值定位到类似下面的注册表位置上，并添加名为：<strong>ReceiveBufferSize</strong> 和 <strong>SendBufferSize </strong>的 DWORD 键，设置其值为：800</p><p><div class="code">HKEY_LOCAL_MACHINE＼SYSTEM＼CurrentControlSet＼Control＼Class＼&#123;GUID&#125;＼&#123;index&#125;</div></p><p><a href="http://goxia.maytide.net/ftpupfiles/HyperVVMBus_135D8/image_3.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/HyperVVMBus_135D8/image_thumb_3.png" border="0" alt="image" title="image" width="604" height="423" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;最后重新启动虚拟机即可。由于本人英语水平有限，无法完全正确地翻译原文介绍，以及表达我个人的理解意思，文中有错误的解释欢迎大家指正。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/vmbus/" rel="tag">vmbus</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1348.htm</link>
<title><![CDATA[硬件虚拟化技术检测工具 - Microsoft Hardware-Assisted Virtualization Detection Tool]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 03 Feb 2010 08:39:19 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1348.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/MicrosoftHardwareAssistedVirtualizationD_EA44/ms_virtualization_logo.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/MicrosoftHardwareAssistedVirtualizationD_EA44/ms_virtualization_logo_thumb.png" border="0" alt="ms_virtualization_logo" title="ms_virtualization_logo" width="240" height="53" /></a> Microsoft Hardware-Assisted Virtualization Detection Tool</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;除了微软最新的虚拟化平台，目前几乎所有的虚拟化平台都要求 CPU 支持 Hardware-Assisted Virtualization ，如：AMD-V、Intel VT 以及 VIA VT。为了检测我们的 CPU 是否支持该项技术，我们经常要在不同硬件厂商的主页里寻找检测工具，而且检测结果的标识结果让用户难以理解！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;现在我们可以使用微软官方发布的工具对我们的 CPU 进行检测，以检查是否满足 Windows Virtual PC 的硬件需求，该工具的用途主要是检测 CPU 是否支持硬件虚拟化技术，所以检测结果并不能用于鉴定当前硬件是否也满足 Hyper-V 的需求。</p><p><a href="http://goxia.maytide.net/ftpupfiles/MicrosoftHardwareAssistedVirtualizationD_EA44/image.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/MicrosoftHardwareAssistedVirtualizationD_EA44/image_thumb.png" border="0" alt="HAV Detection Tool" title="HAV Detection Tool" width="400" height="334" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Microsoft Hardware-Assisted Virtualization Detection Tool 的官方下载地址是：<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=0ee2a17f-8538-4619-8d1c-05d27e11adb2" title="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=0ee2a17f-8538-4619-8d1c-05d27e11adb2">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=0ee2a17f-8538-4619-8d1c-05d27e11adb2</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/virtualization/" rel="tag">virtualization</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a> , <a href="https://goxia.maytide.net/go.php/tags/tools/" rel="tag">tools</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1307.htm</link>
<title><![CDATA[小测 Disk2VHD v1.0]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Mon, 12 Oct 2009 08:23:01 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1307.htm</guid> 
<description>
<![CDATA[ 
	<p><img src="http://goxia.maytide.net/up/1163131140.jpg" border="0" />&nbsp; 小测 Disk2VHD v1.0</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在本文开始前，我谨代表我个人向 Windows Sysinternals 成员表示由衷的感谢，他们开发出了非常多优秀的小工具，切实地帮助了广大的 ITPro！同时发自内心地崇拜这些出色且厉害的 Windows Sysinternals Guy，因为他们开发的工具真的很有效、很小巧！最后对微软将 Sysinternals 纳入旗下表示赞赏，因为这一切非常的明智！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 回到正题，前几天我发布了一篇日志《<a href="http://goxia.maytide.net/read.php/1305.htm" target="_blank">Windows Sysinternals 发布 Disk2vhd v1.0</a>》，向大家简单介绍了 Windows Sysinternals 新开发的用于将逻辑磁盘转换为微软虚拟磁盘格式文件（VHD）的小工具 &mdash; Disk2vhd v1.0。工具特性很吸引人，但是介绍确实很简单，于是 <a href="http://goxia.maytide.net/" target="_blank">gOxiA</a> 抽出时间专门对 disk2vhd 进行了测试体验。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 首先我在一台装有 Windows 7 简体中文专业版的机器上进行了测式，对文件占用容量达到 17GB 左右的系统卷进行了转换，大概用去了17分钟左右，基本上1分钟能转换1G左右的数据。在转换过程中可以进行其他操作，disk2vhd 会利用 volume copy shadow service 生成数据进行实时转换。最后，利用这个生成的 VHD 文件，使用 Microsoft Virtual PC 2007 SP1 创建了一台虚拟机，并成功的进行了引导。首次启动会进行硬件的检测和安装，之后就可以安装 VMAdditions 组件。下图是转换后运行时的情景，为了避免与宿主冲突，我没有为虚拟机配置网卡。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Disk2VHDv1.0_E625/disk2vhd_win7.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Disk2VHDv1.0_E625/disk2vhd_win7_thumb.png" border="0" alt="disk2vhd_win7" title="disk2vhd_win7" width="604" height="484" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 是不是很奇妙、很炫、很酷！而这一切都源于大小仅 1.45MB的 disk2vhd 工具的功劳！当然，系统能成功的启动并正常运行，与 Windows 7 的新特性是密切相关的，因为 Windows 7 对硬件设备以及 HAL 的兼容性更好、更灵活！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 最后，我又在生产环境进行了测试！使用 disk2vhd 对一台正在运营的 Windows Server 2003 服务器的系统分区进行了转换，近 5G 的数据这次竟然用了22分钟，不过这台老爷机已经运营了5年多，硬盘还是SCSI 33.6GB的！可能转换效率与这些有关！将转换后得到的 VHD 文件传到了一台 Hyper-V Role 的 Windows Server 2008 服务器上，使用虚拟机进行测试！虽然系统能够正常引导并进入登录界面，但是键盘无法操作，也无法通过管理器发送&ldquo;Ctrl+Alt+Del&rdquo;（无反应），因为使用 Remote Desktop 登录到的 Hyper-V，所以在未安装 Integration Services 组件时无法在虚拟机中捕获到鼠标，最后使用安全模式重新启动问题依旧。无奈只得放弃，希望其他网友有机会能进行测试。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 整体来说，小巧精悍的 disk2vhd 非常令人满意。在要求不苛刻的环境中可以很轻松地进行 P2V 的迁移或执行其他类型的转移。由于 disk2vhd 能够执行实时转换，并且几乎没有任何环境要求，那么可能会引发相关的安全问题，比如：未经许可的转换操作。好在 disk2vhd v1.0 不支持命令行方式的操作。否则可能会成为&ldquo;黑客&rdquo;们的得力工具！虽然如此，但是不排除未来微软发布支持命令行的版本，但是也不排除那时将不再支持 Windows XP 以及 Windows Server 2003 系统，所以 disk2vhd v1.0 还是很有必要收藏一份！</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/sysinternals/" rel="tag">sysinternals</a> , <a href="https://goxia.maytide.net/go.php/tags/disk2vhd/" rel="tag">disk2vhd</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/7/" rel="tag">7</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2003/" rel="tag">2003</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/integration/" rel="tag">integration</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a> , <a href="https://goxia.maytide.net/go.php/tags/2007/" rel="tag">2007</a> , <a href="https://goxia.maytide.net/go.php/tags/vmadditions/" rel="tag">vmadditions</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1306.htm</link>
<title><![CDATA[Windows Virtual PC  Windows XP Mode RTM 向 MSDN  TechNet 订阅者发布]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 09 Oct 2009 04:20:43 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1306.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC.jpg"><img src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC_thumb.jpg" border="0" alt="Windows_VPC_compare_MVPC" title="Windows_VPC_compare_MVPC" width="121" height="46" /></a>&nbsp;&nbsp;Windows Virtual PC RTM &amp; Windows XP Mode RTM 向 MSDN &amp; TechNet 订阅者发布</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;有关 Windows Virtual PC 的介绍可以参考我之前发布的几篇日志：《<a href="http://goxia.maytide.net/read.php/1218.htm" target="_blank">Windows Virtual PC &amp; XP Mode 面向应用兼容性问题的终极武器</a>》、《<a href="http://goxia.maytide.net/read.php/1220.htm" target="_blank">Windows Virtual PC &amp; Windows XP Mode 安装图览</a>》和《<a href="http://goxia.maytide.net/read.php/1219.htm" target="_blank">Windows Virtual PC 功能概述</a>》，如果你是 MSDN 或 TechNet 的订阅者，那么现在就可以访问订阅网站下载到 Windows Virtual PC 和 Windows XP Mode 的 RTM 版本。</p><p><a href="http://goxia.maytide.net/ftpupfiles/WindowsVirtualPCWindowsXPModeRTMMSDNTech_AD69/image.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/WindowsVirtualPCWindowsXPModeRTMMSDNTech_AD69/image_thumb.png" border="0" alt="image" title="image" width="604" height="177" /></a> </p><p>Windows Virtual PC is the latest Microsoft virtualization technology that allows you to run many productivity applications on a virtual Windows environment, with a single click, directly from a Windows 7-based PC. </p><p><strong>Note:</strong></p><p><strong>- Install Windows XP Mode to create a virtual Windows XP SP3 environment.</strong></p><p>- <strong>Windows Virtual PC requires Windows 7 RTM.</strong></p><p>- <strong>Before installing the RTM version ensure that you have uninstalled the older version of both Windows Virtual PC and Windows XP Mode and restarted the system.</strong> </p><p>- <strong>Windows Virtual PC requires processor capable of hardware virtualization, </strong><a href="http://www.microsoft.com/windows/virtual-pc/configure-bios.aspx"><strong>with AMD-V&trade; or Intel&reg; VT turned on in the BIOS</strong></a><strong>. </strong></p><p>For more information about Windows Virtual PC, please visit the <a href="http://go.microsoft.com/fwlink/?LinkID=149077">Windows Virtual PC website</a>.</p><p><strong>Windows Virtual PC supports the following 32 bit Guest Operating systems :</strong> Windows XP Service Pack 3 (SP3) Professional, Windows Vista Enterprise Service Pack 1 (SP1), Windows Vista Ultimate Service Pack 1 (SP1), Windows 7 Professional, Windows 7 Ultimate, Windows 7 Enterprise.</p><p><strong>System Requirements</strong></p><p>&middot; <strong>Supported Operating Systems: </strong>Windows 7 Home Basic, Windows 7 Home Premium, Windows 7 Professional, Windows 7 Ultimate, and Windows 7 Enterprise. <br /><strong>Note: </strong>Windows Virtual PC requires Windows 7 RTM.</p><p>&middot; <strong>Processor:</strong> Processor capable of hardware virtualization, with AMD-V&trade; or Intel&reg; VT turned on in the BIOS. Pls refer to OEM </p><p>&middot; <strong>Memory: </strong>2GB of memory recommended.</p><p>&middot; <strong>Hard disk requirement:</strong> 20MB hard disk space for installing Windows Virtual PC. Additional 15GB of hard disk space per virtual Windows environment recommended.</p><p><strong>Installation instruction: </strong>Based on the architecture (32-bit or 64-bit) of your computer, download the appropriate update package (Windows Virtual PC). Double click on the update package and follow the instructions. Reboot your system to complete installation.</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/7/" rel="tag">7</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a> , <a href="https://goxia.maytide.net/go.php/tags/xp/" rel="tag">xp</a> , <a href="https://goxia.maytide.net/go.php/tags/mode/" rel="tag">mode</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1305.htm</link>
<title><![CDATA[Windows Sysinternals 发布 Disk2vhd v1.0]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 09 Oct 2009 03:59:43 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1305.htm</guid> 
<description>
<![CDATA[ 
	<p><img src="http://goxia.maytide.net/up/1163131140.jpg" border="0" />&nbsp; Disk2VHD v1.0</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows Sysinternals 又为我们带来了一个新工具 &mdash; disk2vhd，一款用于将逻辑磁盘转换为 vhd 格式虚拟磁盘的实用工具。利用该工具我们可以轻松地将当前系统中的分区生成为一个 vhd 文件，便于挂载到虚拟平台中。</p><p><a href="http://goxia.maytide.net/ftpupfiles/WindowsSysinternalsDisk2vhdv1.0_A875/disk2vhd.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/WindowsSysinternalsDisk2vhdv1.0_A875/disk2vhd_thumb.png" border="0" alt="disk2vhd" title="disk2vhd" width="421" height="340" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; disk2vhd 能够运行在 Windows XP SP2，Windows Server 2003 SP1 或更高版本的系统之上，并且支持 64位系统。但是需要注意的是受虚拟化平台产品对 VHD 的限制，比如 Microsoft Virtual PC 仅支持最大 127G 的虚拟磁盘（VHD），那么你所转换的 VHD 则不能高于这个限制。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 有关 disk2vhd 的详细介绍及下载可以访问：<a href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" title="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx">http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/sysinternals/" rel="tag">sysinternals</a> , <a href="https://goxia.maytide.net/go.php/tags/disk2vhd/" rel="tag">disk2vhd</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1301.htm</link>
<title><![CDATA[[Hyper-V] 在 Windows Server 2008 Hyper-V 下运行 WinSrv2008 R2时会收到错误警告日志]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Tue, 22 Sep 2009 03:43:35 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1301.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb.png"><img src="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb_thumb.png" border="0" alt="WS08-R2_v_rgb" title="WS08-R2_v_rgb" width="240" height="75" /></a>&nbsp; 在 Windows Server 2008 Hyper-V 下运行 WinSrv2008 R2时会收到错误警告日志</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 前段时间在一台已经运行数月的 Windows Server 2008 Hyper-V 上进行 WDS 应用，效果很令人满意。在微软发布了 Windows Server 2008 R2 后决定对其进行综合评估，首先要测试的就是 WDS，同时体验一下 MDT2010。由于 Windows Server 2008 R2 无法从 32bit 的 Windows Server 2008 进行升级，所以我在这台 Windows Server 2008 Hyper-V 上全新安装了一台用于 测试评估 WDS+MDT2010 的 Windows Server 2008 R2 虚拟机（来宾系统），整个安装配置过程都很顺利，但是为该虚拟机安装 Hyper-V Integration Services 时失败了。如下图所示：</p><p><a href="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2008HyperVWinSrv2008R_A4B3/image.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2008HyperVWinSrv2008R_A4B3/image_thumb.png" border="0" alt="image" title="image" width="408" height="150" /></a> </p><p><a href="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2008HyperVWinSrv2008R_A4B3/image_3.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2008HyperVWinSrv2008R_A4B3/image_thumb_3.png" border="0" alt="image" title="image" width="407" height="139" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 安装程序检测到虚拟机上已经安装了 Integration Services 组件，强制安装最后提示失败。不难理解，R2 肯定要较之前版本先进！既然如此也只能先这样使用，看来要想在 Hyper-V 测试微软的新系统或者产品，最好将主机升级到最新的系统版本！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在之后的运行测试中也并为发现异常，但是在一次为其他虚拟机做 Troubleshooting 的时候，偶然发现在主机（父分区）系统日志中记录了多条警告日志，来源和ID分别是：VMSMP ID:26、Storvsp ID:5、vmbus ID:2。</p><p><a href="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2008HyperVWinSrv2008R_A4B3/image_4.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2008HyperVWinSrv2008R_A4B3/image_thumb_4.png" border="0" alt="image" title="image" width="604" height="432" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 为了便于其他网友通过搜索引擎能找到该日志，我以文字方式记录下来错误警告日志的具体内容：</p><p><strong>日志名称：系统&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 来源：VMSMP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 事件 ID：26</strong></p><p>&ldquo;ComputerName&rdquo;上的 NIC 驱动程序无法加载，因为它与服务器虚拟化堆栈不兼容。服务器版本为2 客户端版本为 196610（VMID 00000000-0000-0000-0000-000000000000）。</p><p><strong>日志名称：系统&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 来源：sotrvsp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 事件 ID：5</strong></p><p>无法加载&ldquo;ComputerName&rdquo;中的存储设备，因为它与服务器虚拟化堆栈不兼容。服务器版本为2.0 客户端版本为 4.2 （VMID 00000000-0000-0000-0000-000000000000）。</p><p><strong>日志名称：系统&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 来源：vmbus&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 事件 ID：2</strong></p><p>父分区使用的是另一个 VMBus 版本。您需要在此来宾安装中安装匹配的 VMBus 版本。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 这些错误警告日志可是够&ldquo;耸人听闻&rdquo;的，赶紧停掉了这台 Windows Server 2008 R2 虚拟服务器，快速查阅了微软的KB，最终得知，这些错误警告是可以被忽略的，虚惊一场！为什么微软不在&ldquo;事件日志联机帮助&rdquo;中提供这些错误警告日志的详细说明呢？每每打开的都是找不到任何信息，这一用户体验实在令人沮丧和抓狂！只能希望微软能尽快重视该问题，现在还是来了解一下这篇 KB，编号是：<a href="http://support.microsoft.com/kb/972108" target="_blank">KB972108</a>，地址是：<a href="http://support.microsoft.com/kb/972108" title="http://support.microsoft.com/kb/972108">http://support.microsoft.com/kb/972108</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/vmsmp/" rel="tag">vmsmp</a> , <a href="https://goxia.maytide.net/go.php/tags/sotrvsp/" rel="tag">sotrvsp</a> , <a href="https://goxia.maytide.net/go.php/tags/vmbus/" rel="tag">vmbus</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1286.htm</link>
<title><![CDATA[[Hyper-V] Linux Integration Components for Windows Server 2008 Hyper-V R2]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 28 Aug 2009 02:43:07 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1286.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb.png"><img src="http://goxia.maytide.net/ftpupfiles/WindowsServer2008R2_EA08/WS08R2_v_rgb_thumb.png" border="0" alt="WS08-R2_v_rgb" title="WS08-R2_v_rgb" width="240" height="75" /></a>&nbsp;Linux Integration Components for Windows Server 2008 Hyper-V R2</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果你打算在 Windows Server 2008 Hyper-V R2 上安装使用 Linux 虚拟机，那么 Linux Integration Components 将为该虚拟机提供驱动及特性的支持。</p><p><strong>Overview</strong><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; When installed in a supported Linux virtual machine running on Hyper-V, the Linux Integration Components provide. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Driver support for synthetic devices: The Linux integration components include support for both the synthetic network controller and synthetic storage controller that have been developed specifically for Hyper-V. These components take advantage of the new high-speed bus, VMBus, which was developed for Hyper-V. <br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Fastpath Boot Support: Boot devices now take advantage of the storage VSC to provide enhanced performance.</p><p><br /><strong>System Requirements<br /></strong>Supported Operating Systems: Hyper-V Server 2008; Windows Server 2008; Windows Server 2008 R2<br />Windows Server 2008 with Hyper-V RTM Update (KB950050) applied <br />Microsoft Hyper-V Server 2008 <br />Windows Server 2008 R2 Hyper-V RTM <br />Microsoft Hyper-V Server 2008 R2 RTM<br /></p><p>下载地址：<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=c299d675-bb9f-41cf-b5eb-74d0595ccc5c">http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=c299d675-bb9f-41cf-b5eb-74d0595ccc5c</a><br /></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/linux/" rel="tag">linux</a> , <a href="https://goxia.maytide.net/go.php/tags/intergration/" rel="tag">intergration</a> , <a href="https://goxia.maytide.net/go.php/tags/components/" rel="tag">components</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1267.htm</link>
<title><![CDATA[[Windows 7] Windows Virtual PC RC 发布]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 05 Aug 2009 03:00:24 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1267.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC.jpg"><img src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC_thumb.jpg" border="0" alt="Windows_VPC_compare_MVPC" title="Windows_VPC_compare_MVPC" width="121" height="46" /></a> Windows Virtual PC RC 发布</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在 Windows 7 RTM 即将发布之际，Windows Virtual PC 迎来了 RC。Windows Virtual PC（WPC）更加成熟，从特性列表中，可以了解到 WPC 颗粒化的共享控制机制可以让用户设置那些资源可以用于交互共享访问。并且完全支持 Windows 7 的 Jump List 新特性，使我们能够快速的选择要启动的虚拟应用程序。而且 Windows XP Mode 的安装相比之前的 Beta 更加快速。对差分磁盘我们可以对其压缩以减小体积。此外，在安装完 WPC 首次运行时会运行学习向导，帮助用户了解和掌握 WPC 的操作。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows Virtual PC RC 的改进还是非常明显的，面对貌似&ldquo;苛刻&rdquo;的硬件需求，除了功能以外，相信用户更关心的是：&ldquo;我付出了相对高的硬件代价，那么最终的运行性能是否完全令人满意呢！？&rdquo;（PS：其实现在买一个具有 VT 技术的 CPU，并不昂贵！gOxiA 刚买的 E5300 就支持 VT 和 EMT64 技术，而且目前的市场散装价格不过 430 元。）</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK，还是来看看官方就 Windows Virtual PC RC 特性的总结列表。</p><ul><li><strong>Granular drive sharing <br /></strong>In the settings on the virtual machine, you can select specific host computer drives to share with the virtual machine. </li><li><strong>Manage USB devices with virtual applications <br /></strong>While running virtual applications, you can manage USB devices by using the Virtual Applications icon on the task bar. </li><li><strong>Windows XP Mode tutorial <br /></strong>A Windows XP Mode RC tutorial, which introduces the product features, is displayed during Windows XP Mode Setup. </li><li><strong>Jump list for virtual applications <br /></strong>Right clicking on the virtual application icon for Windows XP Mode, on Windows 7 taskbar, displays a jump list that allows one to easily launch virtual applications from the taskbar. </li><li><strong>Faster Windows XP Mode Setup <br /></strong>Windows XP Mode Setup completes more quickly than in Windows XP Mode Beta. </li><li><strong>Compact differencing disks <br /></strong>You can compact the differencing disks to decrease the file size. </li><li><strong>Ability to install Windows XP optional components <br /></strong>Windows XP optional components can be installed in Windows XP Mode RC without prompting for Windows XP media. </li><li><strong>Ability to choose a location to store virtual machine files for Window XP Mode RC <br /></strong>When you are setting up Windows XP Mode RC, you can choose where to store all virtual machine files for Windows XP Mode RC. The default path is: <em>%LOCALAPPDATA%MicrosoftWindows Virtual PCVirtual Machines. <br /></em></li><li><strong>Option to turn off and discard changes when Undo disk is enabled for a virtual machine <br /></strong>An additional option is available when you are turning off a virtual machine: Turn off and discard changes. This option will delete the current Undo disk, and turn off the virtual machine. </li></ul><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Windows Virtual PC RC 包含中文版，需要的朋友可以前往官方网站下载体验。下载地址是：<a href="http://www.microsoft.com/windows/virtual-pc/download.aspx" title="http://www.microsoft.com/windows/virtual-pc/download.aspx">http://www.microsoft.com/windows/virtual-pc/download.aspx</a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a> , <a href="https://goxia.maytide.net/go.php/tags/rc/" rel="tag">rc</a> , <a href="https://goxia.maytide.net/go.php/tags/wpc/" rel="tag">wpc</a> , <a href="https://goxia.maytide.net/go.php/tags/xp/" rel="tag">xp</a> , <a href="https://goxia.maytide.net/go.php/tags/mode/" rel="tag">mode</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1265.htm</link>
<title><![CDATA[[Hyper-V] Hyper-V Server V1 vs. R2]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Sat, 01 Aug 2009 00:00:00 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1265.htm</guid> 
<description>
<![CDATA[ 
	<p></p><p><img src="http://goxia.maytide.net/upfiles/hyper-v%20server%202008%20logo.png" border="0" width="270" height="100" /> Hyper-V Server V1 vs. Hyper-V Server R2</p><table border="1" cellspacing="0" cellpadding="2" width="700"><tbody><tr><td width="234" valign="top">Note</td><td width="232" valign="top"><p align="center">Microsoft Hyper-V Server 2008 V1</p></td><td width="232" valign="top"><p align="center">Microsoft Hyper-V Server 2008 R2</p></td></tr><tr><td width="234" valign="top"><p align="left">Physical Processor Support</p></td><td width="232" valign="top"><p align="center">Up to 4 processors</p></td><td width="232" valign="top"><p align="center">Up to 8 Processors</p></td></tr><tr><td width="234" valign="top"><p align="left">Logical Processor Support</p></td><td width="232" valign="top"><p align="center">Up to 16 logical processors</p></td><td width="232" valign="top"><p align="center">Up to 64 logical processors</p></td></tr><tr><td width="234" valign="top"><p align="left">Physical Memory Support</p></td><td width="232" valign="top"><p align="center">Up to 32 GB</p></td><td width="232" valign="top"><p align="center">Up to 1 TB</p></td></tr><tr><td width="234" valign="top"><p align="left">Virtual Machine Memory Support</p></td><td width="232" valign="top"><p align="center">Up to 32 GB total</p><p align="center">(e.g. 31 1 GB VMs or 5 6 GB VMs)</p></td><td width="232" valign="top"><p align="center">64 GB of memory per VM</p></td></tr><tr><td width="234" valign="top">Live Migration</td><td width="232" valign="top"><p align="center">No</p></td><td width="232" valign="top"><p align="center">Yes</p></td></tr><tr><td width="234" valign="top">High Availability</td><td width="232" valign="top"><p align="center">No</p></td><td width="232" valign="top"><p align="center">Yes</p></td></tr><tr><td width="234" valign="top">Management Options</td><td width="232" valign="top"><p align="center">Free Hyper-V Manager MMC SCVMM</p></td><td width="233" valign="top"><p align="center">Free Hyper-V Manager MMC SCVMM</p></td></tr></tbody></table><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Microsoft Hyper-V Server R2 相比它上一版本除了对硬件提供更大更多的支持以外，在功能上如：在线迁移、高可用方面都提供了支持，此外 Hyper-V Server R2 依旧是一款免费的产品！</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1262.htm</link>
<title><![CDATA[[Hyper-V] HOWTO : 缩小 Hyper-V 动态扩展或差异磁盘的体积]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Tue, 28 Jul 2009 08:52:19 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1262.htm</guid> 
<description>
<![CDATA[ 
	<p><img src="http://goxia.maytide.net/up/WS08HypeV.gif" border="0" />&nbsp; 如何缩小 Hyper-V 动态扩展或差异磁盘的体积</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 虽然微软官方资料不建议在生产环境下使用动态扩展或差异磁盘，但是在一些特定的环境中我们即使这样做了，也不会有太大的性能差异。这两天我在制作一个定制版的 Windows 7 安装镜像，其中需要使用 WDS 服务器，以方便我的测试。但是在实际中发现在 WDS 多次的文件拷贝删除及编辑操作后，该虚拟机的 VHD 体积不断扩大，即使我重新启动或关闭虚拟机都无法回收那些丢失的容量。最终导致这个 VHD 占据了我大部分的空间！这时想到了 Hyper-V 提供的 VHD 编辑工具，通过这个编辑工具我可以对 VHD 进行压缩、转换或者扩展。在对 WDS 服务器所对应的 VHD 进行了压缩之后，VHD 由之前 30G 的体积缩小到了 16G，惊人的数字！有效的解决办法！不敢独享，特 Blog 一文与大家分享！具体步骤如下：</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 首先打开 Hyper-V 管理器，选中要编辑的虚拟机，然后右键单击选择&ldquo;设置&rdquo;，在右边的窗体中选择要压缩的磁盘驱动器，之后在右边的窗体中单击&ldquo;编辑&rdquo;，就会出现如下图所示的提示，选择&ldquo;压缩&rdquo;根据向导完成。</p><p><a href="http://goxia.maytide.net/ftpupfiles/HyperVHOWTOHyperV_E8EE/image.png" target="_blank"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/HyperVHOWTOHyperV_E8EE/image_thumb.png" border="0" alt="image" title="image" width="644" height="477" /></a></p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 压缩完毕之后就会发现 VHD 释放了相当可观的容量，但是需要注意执行这些操作时虚拟机必须是关机状态！ </p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/microsoft/" rel="tag">microsoft</a> , <a href="https://goxia.maytide.net/go.php/tags/virtualization/" rel="tag">virtualization</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/vhd/" rel="tag">vhd</a> , <a href="https://goxia.maytide.net/go.php/tags/%25E5%258E%258B%25E7%25BC%25A9/" rel="tag">压缩</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1232.htm</link>
<title><![CDATA[[Windows 7] HOWTO : 在 Windows Virtual PC 下调整虚拟机的分辨率]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Thu, 04 Jun 2009 02:49:27 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1232.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC.jpg"><img src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC_thumb.jpg" border="0" alt="Windows_VPC_compare_MVPC" title="Windows_VPC_compare_MVPC" width="121" height="46" /></a>&nbsp; 如何在 Windows Virtual PC 下调整虚拟机的分辨率</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在 Windows Virtual PC 控制台下的虚拟机是无法通过显示属性来调整分辨率的，之前 gOxiA 也是捉摸了半天没有找到解决办法，幸好昨晚参加了 MCSE.org.cn 举办的 Windwos 7 的 Livemeeting，洛洛给于了解答和演示。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 调整虚拟机分辨率的方法很简单，直接使用鼠标拖动控制台 UI 界面的大小，那么虚拟机便会自动调整显示分辨率。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/wvpc/" rel="tag">wvpc</a> , <a href="https://goxia.maytide.net/go.php/tags/virtualpc/" rel="tag">virtualpc</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1223.htm</link>
<title><![CDATA[[Windows 7] 使用 Windows Virtual PC 创建一个虚拟机]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Thu, 14 May 2009 13:48:23 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1223.htm</guid> 
<description>
<![CDATA[ 
	<p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC.jpg"><img src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_8448/Windows_VPC_compare_MVPC_thumb.jpg" border="0" alt="Windows_VPC_compare_MVPC" title="Windows_VPC_compare_MVPC" width="121" height="46" /></a> 使用 Windows Virtual PC 创建一个虚拟机</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 之前我们对 Windows Virtual PC &amp; Windows XP Mode 有所了解！除了可以用于解决企业中所遇到的应用程序兼容性问题以外，其实通过 Windows Virtual PC 也能创建其他虚拟机，如：Windows XP、Windows Vista、Windows 7，甚至是 Windows Server。与 Microsoft Virtual PC 2007 SP1 相比 Windows Virtual PC 功能更强大，但是对硬件有特定的需求，不过如果希望使用 USB设备，或无缝地与当前系统交互，那么目前来说 Windows Virtual PC 恐怕是微软产品中唯一的选择。此外不知道大家是否还记得，微软曾经在 Windows Vista 时曾提到要在企业版和旗舰版中内置 VPC，但是最终未能真正如愿。现在看来，这一切终于实现了！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK，回到正题！使用 Windows Virtual PC 创建一个自己手工安装的虚拟机还是十分方便的，不过与以往的操作方式不同，如果不留意或看资料还真不好找。首先，单击 Windows 开始图标，从&ldquo;所有程序&rdquo;中找到&ldquo;Windows Virtual PC&rdquo;程序组，并单击下面的&ldquo;虚拟机&rdquo;。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/1.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/1_thumb.png" border="0" alt="1" title="1" width="414" height="419" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 随后会打开 Windows Virtual PC 虚拟机所在目录，这里就是 gOxiA 所说的与以往虚拟机操作界面不同的地方了，如下图所示在工具栏上红色框圈选的地方就是创建虚拟机的按钮，这么看来 Windows Virtual PC 确实与 Windows 7 紧密集成了。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/2.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/2_thumb.png" border="0" alt="2" title="2" width="644" height="327" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 单击了&ldquo;创建虚拟机&rdquo;后随之弹出操作向导，根据图示键入虚拟机的名称，这里我以测试安装 Windows server 2008 R2 为例，之后选择虚拟机文件存储的位置，因为默认情况下虚拟机文件被存储在系统卷上，很显然默认保存不是明智的做法。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/3.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/3_thumb.png" border="0" alt="3" title="3" width="644" height="488" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 然后为虚拟机指定所使用的内存容量，并复选是否启用网络连接支持。复选之后，默认会为该虚拟机配置当前设备所有正在连接的网络，幸好我当前有线和无线局域网都处于连接状态才发现有这个有意思的特性。单击&ldquo;下一步&rdquo;继续！</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/4.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/4_thumb.png" border="0" alt="4" title="4" width="644" height="487" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 添加硬盘这里我们可以默认创建一个动态扩充类型的虚拟硬盘或使用当前已经存在的虚拟硬盘。当然也可以使用高级选项来创建固定大小类型或差异类型的虚拟硬盘。这一步的设计还是很人性化的，使用户能够容易的理解和选择。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/5.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/5_thumb.png" border="0" alt="5" title="5" width="644" height="484" /></a> </p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/6.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/6_thumb.png" border="0" alt="6" title="6" width="644" height="484" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 创建了虚拟机之后不会立刻自动运行，我们可以选中这个虚拟机，并通过工具栏上的&ldquo;设置&rdquo;对此虚拟机进行详细的配置。如下图所示，Windows Virtual PC 的设置界面与之前的 Microsoft Virtual PC 没有太大差别，如果之前有使用过 Microsoft Virtual PC 则会很容易上手。此例中，gOxiA 在 DVD驱动器设置中选中了本地磁盘上的 Windows Server 2008 R2 RC 版的光盘映像文件，接下来准备尝试安装 Windows Server 2008 R2 RC，以确认 Windows Virtual PC 是否支持 64bit 的 Guest OS。</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/7.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/7_thumb.png" border="0" alt="7" title="7" width="644" height="513" /></a> </p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/8.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/8_thumb.png" border="0" alt="8" title="8" width="644" height="388" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 测试结果很可惜，Windows Virtual PC 虽然要求 CPU 支持虚拟化功能，但是却未能提供对 64bit Guest OS 的支持。也就是说，目前如果你希望不使用 Hyper-V 来实现 64bit 的 Guest OS 恐怕只能选择第三方产品了。不过另外一个特性也许能稍稍安抚一下咱们失望的心情，在之前我安装了 Windows 7 RC 英文版的虚拟机发现在 Windows Virtual PC 下，竟然能够打开 Aero Class 特效，还算不错！</p><p><a href="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/9.png"><img style="display: inline; border: 0px" src="http://goxia.maytide.net/ftpupfiles/Windows7WindowsVirtualPC_12566/9_thumb.png" border="0" alt="9" title="9" width="640" height="410" /></a> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 至此相信大家已经了解如何在 Windows Virtual PC 下创建虚拟机的过程，与以往的虚拟机平台一样，大家不要忘记安装 Windows Virtual PC 的集成功能组件（Integration Components）哦！安装集成功能组件请从菜单栏里&ldquo;工具&rdquo;下选择安装。有关集成功能组件更近一步的使用我将在后面的日志里与大家分享，敬请期待！</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/7/" rel="tag">7</a> , <a href="https://goxia.maytide.net/go.php/tags/virtual/" rel="tag">virtual</a> , <a href="https://goxia.maytide.net/go.php/tags/pc/" rel="tag">pc</a> , <a href="https://goxia.maytide.net/go.php/tags/vpc/" rel="tag">vpc</a> , <a href="https://goxia.maytide.net/go.php/tags/wvpc/" rel="tag">wvpc</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1204.htm</link>
<title><![CDATA[[Hyper-V] 微软发布 Linux Integration Components]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Sat, 11 Apr 2009 14:28:27 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1204.htm</guid> 
<description>
<![CDATA[ 
	<p><img src="http://goxia.maytide.net/up/WS08HypeV.gif" border="0" /> 微软发布 Linux Integration Components</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 微软终于发布了 Linux Integration Components 正式版，这意味着我们可以在 Hyper-V 上安装 Linux，并且使用 Hyper-V 卓越的 VMBus 技术，以提升 Linux 在 Hyper-V 下的性能。正是发布的包含了简体中文以及其他11个语言版本，共计12个！有在 Hyper-V 部署 Linux 的朋友或准备测试 Linux 的都可以体验一下。下面是有关 Linux Integration Components 的官方概述，供大家参考：<br /><br /><span style="color: #999999">概述<br /><br />When installed in a supported Linux virtual machine running on Hyper-V, the Linux Integration Components provide. <br />Driver support for synthetic devices: The Linux integration components include support for both the synthetic network controller and synthetic storage controller that have been developed specifically for Hyper-V. These components take advantage of the new high-speed bus, VMBus, which was developed for Hyper-V. <br /><br />Hypercall adapter: The Hypercall adapter is a thin layer of software that translates the Xen-specific virtualization function calls from a Xen-enabled Linux kernel to Microsoft Hyper-V hypercalls. This results in improved performance for the Linux virtual machine. <br /><br />Fastpath Boot Support: Boot devices now take advantage of the storage VSC to provide enhanced performance.</span><br /><br />访问下载：<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=ab7f4983-93c5-4a70-8c79-0642f0d59ec2" target="_blank">Linux Integration Components</a><br /></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/linux/" rel="tag">linux</a> , <a href="https://goxia.maytide.net/go.php/tags/integration/" rel="tag">integration</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1173.htm</link>
<title><![CDATA[[Hyper-V] 解决 the hypervisor is not running 故障]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 06 Mar 2009 09:22:20 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1173.htm</guid> 
<description>
<![CDATA[ 
	<p><img style="border: 0px" src="http://goxia.maytide.net/up/WS08HypeV.gif" border="0" /> TroubleShooting The virtual machine could not be started because the hypervisor is not running</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;如果在一台新部署的 Hyper-V 上新建一个 Virtual Machine 时，出现错误信息：&quot;The virtual machine could not be started because the hypervisor is not running&rdquo;，那么请打开 CMD 执行&quot;<span style="background-color: #ffff00"><strong>BCDEdit /set hypervisorlaunchtype auto</strong></span>&rdquo; 命令行，之后重新启动计算机即可解决！</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;这是因为 Hypervisor 没有运行所导致的，Hypervisor 是一个存在于操作系统之下的软件层，直接位于硬件之上。它能够处理许多以前在虚拟机管理软件中完成的功能。这种模型非常小并且高效，并且可以使得它们以在真实机上运行的速度来运行。</p><p>此外，Hypervisor 不需要自己的驱动，利用支持虚拟化的处理器。例如：启动了 AMD-V 或者 Intel VT 的处理器。这使得 Hypervisor 非常小并且高效。</p><p>Hypervisor 通过将系统分区来管理资源。故 Hypervisor 使用两种类型的分区：</p><ul><li>父分区：用于存放操作系统和 Windows Virtualization 组件的地方。系统只有一个父分区。</li><li>子分区：一个子分区是一个虚拟机。当建立一个新的虚拟机的时候，就建立了一个子分区。</li></ul><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;我们可以通过下面的 Hyper-V 架构图来详细的了解和认识。如欲了解更详细的内容可以参考微软中文技术论坛里的讨论：<a href="http://social.microsoft.com/Forums/zh-CN/windowsserversystemzhchs/thread/8b6362b2-6acd-4d60-a795-cd6386ea67b5/" title="http://social.microsoft.com/Forums/zh-CN/windowsserversystemzhchs/thread/8b6362b2-6acd-4d60-a795-cd6386ea67b5/">http://social.microsoft.com/Forums/zh-CN/windowsserversystemzhchs/thread/8b6362b2-6acd-4d60-a795-cd6386ea67b5/</a></p><p><img src="http://goxia.maytide.net/ftpupfiles/HyperVHyperVIDC_A408/WindowsVirtualizationSchema_thumb.jpg" border="0" /> </p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;综上所述，gOxiA 认为导致 &rdquo;the hypervisor is not running&rdquo; 的主要原因应该是系统管理员在安装操作系统前没有在 BIOS 中打开 CPU 的虚拟化功能所导致。</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/hypervisor/" rel="tag">hypervisor</a> , <a href="https://goxia.maytide.net/go.php/tags/bcdedit/" rel="tag">bcdedit</a> , <a href="https://goxia.maytide.net/go.php/tags/hypervisorlaunchtype/" rel="tag">hypervisorlaunchtype</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1156.htm</link>
<title><![CDATA[[Hyper-V] 解决 Hyper-V RTM 安装后管理器为英文界面的问题]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Mon, 16 Feb 2009 04:27:11 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1156.htm</guid> 
<description>
<![CDATA[ 
	<p><img style="border: 0px" src="http://goxia.maytide.net/up/WS08HypeV.gif" border="0" /> 解决 Hyper-V RTM 安装后管理器为英文界面的问题</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 我们知道在 Windows Server 2008 RTM 中 Hyper-V Roles 并不是正式版，需要安装随后发布的 KB950050 补丁才能升级至 Hyper-V RTM。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 最近在执行一个虚拟化的项目，在完成了全新安装的 Windows Server 2008 x64 后，先执行了 Windows Update，才再安装的 Hyper-V Roles，但是让人郁闷的是打开 Hyper-V 管理器发现整个界面居然是英文的。回忆之前的步骤，操作系统是简体中文版，随后通过 Windows Update 完成的自动更新，这一过程应该是没有问题的。</p><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 无奈，要解决该问题应该是安装本地化语言版本的管理器更新程序即可！随后在 <a href="http://www.microsoft.com/downloads" target="_blank">Microsoft Download Center</a> 搜索一番找到了该补丁更新&mdash;&mdash;<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-cn&amp;FamilyID=e456253e-5bd3-48c5-92a5-e0411a057f2a" target="_blank">Windows Server 2008 x64 Edition Hyper-V 语言包更新程序（KB951636）</a>安装后该问题解决！</p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/%25E7%25AE%25A1%25E7%2590%2586%25E5%2599%25A8/" rel="tag">管理器</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1151.htm</link>
<title><![CDATA[[Hyper-V] VMC to Hyper-V Import Tool]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 04 Feb 2009 08:42:53 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1151.htm</guid> 
<description>
<![CDATA[ 
	<p><img style="border-bottom: 0px; border-left: 0px; border-top: 0px; border-right: 0px" border="0" alt="" src="http://goxia.maytide.net/up/WS08HypeV.gif" /> VMC to Hyper-V Import Tool<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 从 <a target="_blank" href="http://blogs.technet.com/matthts/archive/2008/09/12/vmc-to-hyper-v-import-tool-available.aspx">Matthijs&rsquo;s Blog</a> 了解到 VMC to Hyper-V Import Tool 已经发布，该工具可以帮助我们轻松快捷地将 Virtual Server 虚拟机转到为 Hyper-V 虚拟机，在最新的版本中作者还加入了对 Virtual PC 2007 VMC 文件的支持。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 需要注意的是 VMC2HV 与 VMRCplus 一样都只是一个工具而已，他们是无法取代 SCVMM 的，如果要获得更多可用的高级功能，SCVMM 才是明智的选择。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 下面我们来看看 VMC2HV 的主要功能：</p><ul>&nbsp;&nbsp;&nbsp;&nbsp;<li>支持 Virtual Server 2005 和 Virtual PC 2007 的 VMC 文件导入</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>在 Hyper-V 本地环境中创建虚拟机</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>在远程 Hyper-V 中创建虚拟机</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>验证虚拟磁盘文件和ISO文件的位置信息</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>编辑 VHD，VFD，ISO 虚拟格式文件的路径</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>转换第一块 SCSI 磁盘为 IDE 磁盘</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>规范化静态 MAC 地址</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>规范化旧式网卡或增强性网卡</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>规范化虚拟处理和资源控制</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>规范化管理配置</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>规范化串行端口</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>规范化设备引导顺序</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>规范化下一虚拟机路径</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>内置帮助在CHM文件中</li>&nbsp;&nbsp;&nbsp;&nbsp;<li>支持 x86 及 x64 版本</li></ul><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 由于翻译理解水平有限，建议阅读原文。VMC2HV 的下载地址是：<a title="http://cid-7edf4c4ce8729f83.skydrive.live.com/self.aspx/Public/VMC2HV" href="http://cid-7edf4c4ce8729f83.skydrive.live.com/self.aspx/Public/VMC2HV">http://cid-7edf4c4ce8729f83.skydrive.live.com/self.aspx/Public/VMC2HV</a><br /><a href="http://goxia.maytide.net/ftpupfiles/HyperVVMCtoHyperVImportTool_EB28/vmc2hv.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="vmc2hv" border="0" alt="vmc2hv" width="604" height="459" src="http://goxia.maytide.net/ftpupfiles/HyperVVMCtoHyperVImportTool_EB28/vmc2hv_thumb.png" /></a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/vmc2hv/" rel="tag">vmc2hv</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1148.htm</link>
<title><![CDATA[为 Hyper-V 的 Windows Server 2003 虚拟机部署 NLB 应用]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Mon, 02 Feb 2009 06:17:10 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1148.htm</guid> 
<description>
<![CDATA[ 
	<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 年前朋友联系我，讨论有关 NLB（网络负载平衡） 的问题，由于这是一个微软的项目，所以本节不再做详细的场景描述。大致的问题就是为 Hyper-V 上的虚拟机部署 NLB 后，两个节点便无法与网络进行正常的通讯，采用的是单播模式！初步讨论，配置步骤绝对没有错误，考虑到 Hyper-V 的新特性架构&mdash;&mdash;VMBus，我想问题应该出在这里，于是进行了协助调试。果然，当把虚拟机的 VMBus 网卡改为旧版网卡后 NLB 可以正常通讯了。但是使用旧版网卡那么性能肯定不如 VMBus，经过讨论认为这应该是一个已知问题，那么肯定会有相应的解决办法。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 之后，我搜索了相关的资料并为发现有价值的信息，不过在一篇老外的 Blog 里了解到 Hyper-V 上虚拟机的 NLB 需要再手工强制配置 NLB 的 MAC。也就是说，当我们为两台节点配置好 NLB 后，通过 ipconfig 获得当前 NLB 的群集 MAC 地址并记录下来；最后，配置每台虚机的设置，将用于 NLB 的网卡 MAC 改为之前我们纪录的 NLB 群集 MAC。这里，不必担心虚机的 MAC 地址一样而导致冲突报错。<br /><a href="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2003NLB_C903/ws03nlb_via_hyperv.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="ws03nlb_via_hyperv" border="0" alt="ws03nlb_via_hyperv" width="604" height="454" src="http://goxia.maytide.net/ftpupfiles/HyperVWindowsServer2003NLB_C903/ws03nlb_via_hyperv_thumb.png" /></a></p><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/nlb/" rel="tag">nlb</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1132.htm</link>
<title><![CDATA[[Hyper-V] Hyper-V Server 2008 R2 Beta]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Sat, 10 Jan 2009 05:42:04 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1132.htm</guid> 
<description>
<![CDATA[ 
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 微软自从公布了 Windows 7 Beta1 后，又公布了很多新的产品和技术。这不刚刚又看到了微软公布的 Hyper-V Server 2008 R2 Beta，已经能够从微软下载中心下载。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hyper-V Server 2008 R2 Beta 已经开始支持 Cluster 和 Live Migration，此外对内存的支持已经达到了 1TB，还包含了在 Windows Server 2008 R2 Beta 中 Hyper-V 其他的 新功能。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 访问下面的链接，可以获取到 Hyper-V Server 2008 R2 Beta 以及相关资料信息。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.microsoft.com/downloads/details.aspx?familyid=E464E255-CDD5-44B2-84E6-3233EAE3F356&amp;displaylang=en">Microsoft Hyper-V Server 2008 R2 Beta</a><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.microsoft.com/downloads/details.aspx?familyid=F81A38D2-A152-4DDE-96E6-2AA184FDF9B7&amp;displaylang=en">Microsoft Hyper-V Server 2008 R2 (beta) Overview</a><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.microsoft.com/downloads/details.aspx?familyid=5C88B04D-2896-4FA4-9E59-7BC4442FF333&amp;displaylang=en">Microsoft Hyper-V Server 2008 R2 (beta) Configuration Tool Guide</a><br /><br /><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/r2/" rel="tag">r2</a> , <a href="https://goxia.maytide.net/go.php/tags/beta/" rel="tag">beta</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1124.htm</link>
<title><![CDATA[[Hyper-V] TroubleShooting Hyper-V 虚拟机因磁盘配置问题无法启动]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Tue, 06 Jan 2009 10:16:00 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1124.htm</guid> 
<description>
<![CDATA[ 
	<p><img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" border="0" alt="" src="http://goxia.maytide.net/up/WS08HypeV.gif" /> TroubleShooting Hyper-V 虚拟机因磁盘配置问题无法启动<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 正如下图所示，可能你也同 gOxiA 一样遭遇到了这个问题。当我们要启动一台 hyper-V 虚拟机时出现因&ldquo;一般性拒绝访问错误&rdquo;。<br /><a href="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error1.png"><img title="hyperv_hd_error1" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="454" alt="hyperv_hd_error1" width="604" border="0" src="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error1_thumb.png" /></a>&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 首先，对磁盘进行检查发现并无异常现象。<br /><a href="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error2.png"><img title="hyperv_hd_error2" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="454" alt="hyperv_hd_error2" width="604" border="0" src="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error2_thumb.png" /></a>&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 根据之前图中提到的 VHD 文件可能没有所需的安全设置这一提示，gOxiA 对该虚拟机的磁盘文件进行了目录安全检查。发现当前 VHD 文件缺少以唯一标示符命名的用户访问权限。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 回忆之前的操作，我按照虚拟机创建向导添加了一台新虚拟机，因为之前已经创建好了系统母盘，所以我在原基础配置上新建了一个新的差异磁盘，同样的命名在保存时出现了错误告知我已经存在这个磁盘文件，之后我删除了之前向导自动创建的 VHD 文件，完成了新差异磁盘的创建。之后重新打开便出现了这个故障！<br /><a href="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error31.png"><img title="hyperv_hd_error3-1" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="454" alt="hyperv_hd_error3-1" width="604" border="0" src="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error31_thumb.png" /></a>&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OK，既然找到了问题所在，故障当然就可以轻松的进行排除。重新进入虚拟机设置，切换到硬盘驱动器配置，首先移除现有磁盘，之后重新添加硬盘驱动器选择 VHD 文件即可。注意，这里通过&ldquo;浏览&rdquo;重新选择 VHD 文件也是可行的，但是重新选择的 VHD 文件名不能与之前设置的文件名相同否则不会生效。<br /><a href="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error34.png"><img title="hyperv_hd_error3-4" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="454" alt="hyperv_hd_error3-4" width="604" border="0" src="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error34_thumb.png" /></a>&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 重新配置之后再次检查 VHD 文件的目录安全发现，以唯一标识符命名的用户权限已经正确添加上了。<br /><a href="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error32.png"><img title="hyperv_hd_error3-2" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="454" alt="hyperv_hd_error3-2" width="604" border="0" src="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error32_thumb.png" /></a>&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 重新打开虚拟机正常启动进入系统界面。规范化的操作能减少很多意外故障！<br /><a href="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error33.png"><img title="hyperv_hd_error3-3" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="454" alt="hyperv_hd_error3-3" width="604" border="0" src="http://goxia.maytide.net/ftpupfiles/HyperVTroubleShootingHyperV_100D6/hyperv_hd_error33_thumb.png" /></a></p>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1117.htm</link>
<title><![CDATA[[Hyper-V] 深入学习 Hyper-V 的导出和导入]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 24 Dec 2008 08:02:20 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1117.htm</guid> 
<description>
<![CDATA[ 
	<p><img style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" border="0" alt="" src="http://goxia.maytide.net/up/WS08HypeV.gif" />&nbsp; 深入学习 Hyper-V 的导出和导入<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在 Windows Server 2008 with Hyper-V 上，我们可以通过内置的 Hyper-V 管理器方便快捷的上手操作和管理 Hyper-V 虚拟机。较之前的版本，在 Hyper-V 管理器中当我们要打开一个已经存在了的 Hyper-V 虚拟机时你会不知所措而无从下手，难道 Hyper-V 无法实现打开已经存在的虚拟机么？或者是必须要重新建立么？事实并非如此，在 Hyper-V 中微软从新进行了设计，理念上有所修改，原来的打开功能赋予给了&ldquo;导入&rdquo;，gOxiA 认为 Hyper-V 管理器更像一个管理容器，所以使用&ldquo;导入&rdquo;这个词可能更为形象准确。不能否认，微软在 Hyper-V 的开发设计方面更加的严谨了！<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 下面，假设我们创建了一个虚拟机之后，因为某些原因需要从管理器中删除这台虚拟机，于是我们不加思索将其删除后（从 Hyper-V 中删除虚拟机并不会完全删除虚拟机涉及到的文件），当发现还需要将该虚拟机加入到 Hyper-V 中时，该如何挽救呢？我们只能重新建立一个虚拟机并加载已经存在的虚拟机磁盘文件。但是也许在一些规定严格的环境中，这样做可能会导致一些不可预料的错误。毕竟新建立的虚拟机重新产生了ID等唯一性的标示信息。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 今天 gOxiA 将与大家分享 Hyper-V 的导出、导入功能，通过对其学习和了解，我们将正确掌握与之相关的操作及方法。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 在开始之前我们先了解一下在什么场景中会使用到导出和导入功能。首先，正如 gOxiA 之前所提到的场景，我们也许只是暂时的将已经创建的虚拟机脱离 Hyper-V 管理；此外，当我们要将虚拟机迁移到另外一个磁盘、分区、卷或其他存储位置时；当我们需要备份虚拟机的配置时。当然可能还有很多场景 gOxiA 还没有想到，不过就这几点来讲，我们已经能够深刻认识导出和导入功能在 Hyper-V 中所处的重要地位。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 现在我们先通过一系列的操作实践来认识学习 Hyper-V 中的导出和导入功能。这里以 gOxiA 的 Hyper-V 测试环境下的 WDS 虚拟机为案例，这台虚拟机唯一特殊之处在于我使用了差异磁盘，我们可以从下图了解到，本虚拟机的 VHD 保存在 E:Hyper-V MachinesWDSWDS.vhd，通过磁盘检查可以了解到它所使用的父存盘是 D:Hyper-V MachinesVirtual Hard DisksWindowsServer2008ST_x86目录下（可能由于路径过长，Hyper-V 管理器没能完全显示出来路径），VHD 的文件名为 WindowsServer2008ST_x86.vhd，在虚拟硬盘属性窗体中，再单击检查，我们可以获得父磁盘的详细信息。<br /><a href="http://goxia.maytide.net/ftpupfiles/HyperVHyperV_A5D8/4.png"><img title="4" style="border-right: 0px; border-top: 0px; display: inline; border-left: 0px; border-bottom: 0px" height="379" alt="4" width="504" border="0" src="http://goxia.maytide.net/ftpupfiles/HyperVHyperV_A5D8/4_thumb.png" /></a>&nbsp;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 首先选中虚拟机 WDS，然后鼠标右键单击后出现菜单列表，选中&ldquo;导出&rdquo;。<br/>............<br/><br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/windows/" rel="tag">windows</a> , <a href="https://goxia.maytide.net/go.php/tags/server/" rel="tag">server</a> , <a href="https://goxia.maytide.net/go.php/tags/2008/" rel="tag">2008</a> , <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1106.htm</link>
<title><![CDATA[[Hyper-V] HOWTO:在 Hyper-V Server 2008 下安装驱动]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Fri, 28 Nov 2008 05:40:44 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1106.htm</guid> 
<description>
<![CDATA[ 
	<img alt="" src="http://goxia.maytide.net/upfiles/hyper-v%20server%202008%20logo.png" />HOWTO: 在 Hyper-V Server 2008 下安装驱动<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 我们知道在 Hyper-V Server 2008 下只具备基本的图形支持，几乎所有的操作都需要依靠命令行来执行。如果当我们部署了一台 Hyper-V Server 2008 后发现网卡驱动未能被识别，而正好随机携带的网卡驱动并没有安装程序，那么就意味着我们需要通过命令行来进行安装。<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 其实从 Windows Vista 开始微软就为我们提供了一个用于驱动程序安装的命令行工具&mdash;&mdash;pnputil.exe，我们可以轻松的使用该命令进行驱动程序的安装非常方便。<br /><br /><img alt="" width="600" height="457" src="/upfiles/pnputil.png" /><br /><br />Microsoft PnP 工具<br />用法:<br />------<br />pnputil.exe [-f &#124; -i] [ -? &#124; -a &#124; -d &#124; -e ] &lt;INF 名称&gt;<br />示例:<br />pnputil.exe -a a:&#92;usbcam&#92;USBCAM.INF -&gt; 添加 USBCAM.INF 指定的程序包<br />pnputil.exe -a c:&#92;drivers&#92;*.inf -&gt; 添加 c:&#92;drivers&#92; 中的所有程序包<br />pnputil.exe -i -a a:&#92;usbcam&#92;USBCAM.INF -&gt; 添加和安装驱动程序包<br />pnputil.exe -e -&gt; 枚举所有第三方程序包<br />pnputil.exe -d oem0.inf -&gt; 删除程序包 oem0.inf<br />pnputil.exe -f -d oem0.inf -&gt; 强制删除程序包 oem0.inf<br /><br />更详细的资料可访问如下网址获取。<br /><a href="http://technet.microsoft.com/zh-cn/library/cc732408(en-us).aspx">http://technet.microsoft.com/zh-cn/library/cc732408(en-us).aspx</a>
]]>
</description>
</item><item>
<link>https://goxia.maytide.net/read.php/1103.htm</link>
<title><![CDATA[[Hyper-V] 远程管理 Hyper-V 的配置工具]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[Virtualization]]></category>
<pubDate>Wed, 19 Nov 2008 04:03:05 +0000</pubDate> 
<guid>https://goxia.maytide.net/read.php/1103.htm</guid> 
<description>
<![CDATA[ 
	<img alt="" src="http://goxia.maytide.net/up/WS08HypeV.gif" />Hyper-V Remote Management Configuration Utility<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Hyper-V 远程管理相信难道了不少 IT 朋友，gOxiA 也一直在捉摸。目前已经整理出来配置步骤，但是说实话连 gOxiA 都认为步骤太繁琐。所以暂不放出！<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 当然，如果管理工作站与 Hyper-V 服务器都在同一个 AD 内，那么以上我说的都是废话！可是我相信不少 ITPro 所在的环境中 Hyper-V 服务器可能并不在 AD 中。总之，Hyper-V 远程管理的问题还是要解决，在网上找了一圈发现了一个有价值的工具 - Hyper-V Remote Management Configuration Utility，该工具以及详细的配置说明都可以从下面的网址获得：<br /><br /><a href="http://code.msdn.microsoft.com/HVRemote">http://code.msdn.microsoft.com/HVRemote</a><br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 如果有时间强烈建议看看 HVRemote Documentation 0.2.pdf 这个文档，就明白该如何手工配置 Hyper-V 的远程管理了。<br/>Tags - <a href="https://goxia.maytide.net/go.php/tags/hyper-v/" rel="tag">hyper-v</a> , <a href="https://goxia.maytide.net/go.php/tags/remote/" rel="tag">remote</a> , <a href="https://goxia.maytide.net/go.php/tags/management/" rel="tag">management</a>
]]>
</description>
</item>
</channel>
</rss>