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

<channel>
	<title>蘇老碎碎唸 &#187; 虛擬化</title>
	<atom:link href="http://www.askasu.idv.tw/index.php/tag/virtualization/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.askasu.idv.tw</link>
	<description>資訊無涯，回頭已不見岸！</description>
	<lastBuildDate>Tue, 07 Sep 2010 03:17:42 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://www.askasu.idv.tw/wp-includes/js/jquery/jquery.js?ver=1.3.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>Hyper-V 虛擬機器無法匯出的錯誤</title>
		<link>http://www.askasu.idv.tw/index.php/2010/06/11/1128/</link>
		<comments>http://www.askasu.idv.tw/index.php/2010/06/11/1128/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 08:31:05 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=1128</guid>
		<description><![CDATA[
今天在維護公司的Hyper-V 主機時，準備把一個VM 利用內建匯出入的方式移轉到另一台主機運作，卻意外產生了錯誤，造成無法用正常程序匯出。 

說實話，這樣的錯誤訊息想要除錯，已經接近通靈的程度...  
用許多關鍵字拜請了股溝大神，卻查到更多Hyper-V 匯出錯誤的狀況，反而沒有太大幫助。最後，小弟查到微軟KB954280 文件：Error message when you try to export a virtual machine on a Windows Server 2008-based computer that uses Hyper-V: "An error occurred while attempting to export the virtual machine"，裡面提到：「The virtual machine is configured to use a virtual hard disk that no longer exists.」。
這才猛然想起在某次快照後，因為那個VM 原始的vhd 硬碟檔空間設定過小，所以小弟又更換了一個較大空間的vhd 硬碟檔，卻同時手賤幫原來的vhd檔改名（如紅圈處）。

在半信半疑下，將vhd檔 修改回原始的檔名後，果然正常完成匯出了。
看來，手動更改原始的vhd 檔名，會造成匯出的過程找不到快照集所對應的原始vhd [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.askasu.idv.tw/album/20100611/HyperV_export_error.jpg" alt="" /></p>
<p>今天在維護公司的Hyper-V 主機時，準備把一個VM 利用內建匯出入的方式移轉到另一台主機運作，卻意外產生了錯誤，造成無法用正常程序匯出。 <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_weird.png' alt='/:S/' class='wp-smiley' /><br />
<img src="http://www.askasu.idv.tw/album/20100611/HyperV_list.jpg" alt="" /></p>
<p>說實話，這樣的錯誤訊息想要除錯，已經接近通靈的程度... <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_eyeroll.gif' alt='/8-)/' class='wp-smiley' /> </p>
<p><span id="more-1128"></span>用許多關鍵字拜請了股溝大神，卻查到更多Hyper-V 匯出錯誤的狀況，反而沒有太大幫助。最後，小弟查到微軟KB954280 文件：<a href="http://support.microsoft.com/kb/954280/en-us">Error message when you try to export a virtual machine on a Windows Server 2008-based computer that uses Hyper-V: "An error occurred while attempting to export the virtual machine"</a>，裡面提到：「<strong><span style="color: #ff0000;">The virtual machine is configured to use a virtual hard disk that no longer exists.</span></strong>」。</p>
<p>這才猛然想起在某次快照後，因為那個VM 原始的vhd 硬碟檔空間設定過小，所以小弟又更換了一個較大空間的vhd 硬碟檔，卻同時手賤幫原來的vhd檔改名（如紅圈處）。<br />
<img src="http://www.askasu.idv.tw/album/20100611/HyperV_vhd_error.jpg" alt="" /></p>
<p>在半信半疑下，將vhd檔 修改回原始的檔名後，果然正常完成匯出了。</p>
<p>看來，手動更改原始的vhd 檔名，會造成匯出的過程找不到快照集所對應的原始vhd 檔，而中斷匯出的動作。所以這件事情告訴我們，IT 人記性真的要夠好，不然就準備要通靈除錯了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2010/06/11/1128/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>微軟免費的P2V工具-Disk2vhd</title>
		<link>http://www.askasu.idv.tw/index.php/2009/10/11/712/</link>
		<comments>http://www.askasu.idv.tw/index.php/2009/10/11/712/#comments</comments>
		<pubDate>Sun, 11 Oct 2009 12:24:15 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[微軟]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=712</guid>
		<description><![CDATA[
Sysinternals 是一家很特別的公司，自從被微軟收購後，仍致力於開發很多實用且免費的小軟體，而最新力作就是P2V 工具（Physical-to-Virtual 實體轉虛擬 ）- Disk2vhd。
Disk2vhd 能將實體硬碟轉成VHD 虛擬硬碟格式，然後掛載於Virtual PC 或Hyper-V 上使用。承如過去這家公司的風格，軟體解開來就只有三個檔案：chm說明檔、主程式、授權聲明，而且還是免安裝綠色版。

執行方式也很簡單，只要打開該軟體，然後勾選欲轉成vhd 的磁碟，按下[Create] 後就收工了。由於是透過VSS 的方式進行，因此可以即時線上轉換；所以目前可支援Windows XP SP2、Windows Server 2003 SP1 及其後期的作業系統，並包含x64版本。
實際拿手邊測試Windows 7 的實體主機試了一下：
CPU: Althon64 300+
MB: Gigabyte K8N51GMF-9
HDD: Seagate ST3320620NS, Drive with C &#38; D
OS: Windows 7 Ultimate zh-tw RTM Edition
沒想到，我轉成VHD 後掛載到Hyper-V 上，卻發生無法啟動作業系統的錯誤。（謎之聲：這就是人蔘啊～～）

還好，解決方式也很簡單。用Win7 安裝光碟開機，選擇 [修復我的電腦]，就會自動修復完成囉。


比較要注意的是：
1. 如果想要每個Drive 都是獨立的vhd 檔，則必須分開勾選及執行；否則，Disk2vhd 是自動包在一個vhd 檔裡。
2. 如果轉換出來的vhd 單檔超過127GB，會無法在Virtual PC 上掛載啟動。（這是Virtual PC 本身的限制）
以微軟在使用的虛擬化技術來說，過去要買SCVMM才能做的P2V動作，現在只要用官方自行推出的免錢免註冊小工具就能轉換，真的稱得上揪甘心啊～  （終於不用拿特殊備份軟體轉換，不然就是在那邊練心臟，先轉vmdk 再轉vhd... [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.askasu.idv.tw/album/20091011/disk2vhd.jpg" alt="" /><br />
<a href="http://technet.microsoft.com/en-us/sysinternals/default.aspx" target="_blank">Sysinternals</a> 是一家很特別的公司，自從被微軟收購後，仍致力於開發很多實用且免費的小軟體，而最新力作就是P2V 工具（Physical-to-Virtual 實體轉虛擬 ）- <a href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" target="_blank">Disk2vhd</a>。</p>
<p><span id="more-712"></span>Disk2vhd 能將實體硬碟轉成VHD 虛擬硬碟格式，然後掛載於Virtual PC 或Hyper-V 上使用。承如過去這家公司的風格，軟體解開來就只有三個檔案：chm說明檔、主程式、授權聲明，而且還是免安裝綠色版。<br />
<img src="http://www.askasu.idv.tw/album/20091011/disk2vhd02.jpg" alt="" /></p>
<p>執行方式也很簡單，只要打開該軟體，然後勾選欲轉成vhd 的磁碟，按下[Create] 後就收工了。由於是透過<a href="http://en.wikipedia.org/wiki/Shadow_Copy">VSS</a> 的方式進行，因此可以即時線上轉換；所以目前可支援Windows XP SP2、Windows Server 2003 SP1 及其後期的作業系統，並包含x64版本。</p>
<p>實際拿手邊測試Windows 7 的實體主機試了一下：<br />
CPU: Althon64 300+<br />
MB: Gigabyte K8N51GMF-9<br />
HDD: Seagate ST3320620NS, Drive with C &amp; D<br />
OS: Windows 7 Ultimate zh-tw RTM Edition</p>
<p>沒想到，我轉成VHD 後掛載到Hyper-V 上，卻發生無法啟動作業系統的錯誤。（謎之聲：這就是人蔘啊～～）<br />
<img src="http://www.askasu.idv.tw/album/20091011/dsik2vhdlab1.jpg" alt="" /></p>
<p>還好，解決方式也很簡單。用Win7 安裝光碟開機，選擇 [修復我的電腦]，就會自動修復完成囉。<br />
<img src="http://www.askasu.idv.tw/album/20091011/dsik2vhdlab2.jpg" alt="" /><br />
<img src="http://www.askasu.idv.tw/album/20091011/dsik2vhdlab3.jpg" alt="" /></p>
<p>比較要注意的是：<br />
1. 如果想要每個Drive 都是獨立的vhd 檔，則必須分開勾選及執行；否則，Disk2vhd 是自動包在一個vhd 檔裡。<br />
2. 如果轉換出來的vhd 單檔超過127GB，會無法在Virtual PC 上掛載啟動。（這是Virtual PC 本身的限制）</p>
<p>以微軟在使用的虛擬化技術來說，過去要買<a href="http://www.microsoft.com/taiwan/systemcenter/virtualmachinemanager/default.aspx" target="_blank">SCVMM</a>才能做的P2V動作，現在只要用官方自行推出的免錢免註冊小工具就能轉換，真的稱得上揪甘心啊～ <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_laugh.png' alt='/:D/' class='wp-smiley' /> （終於不用拿特殊備份軟體轉換，不然就是在那邊練心臟，先轉vmdk 再轉vhd... <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_oo.gif' alt='/=.=/' class='wp-smiley' /> ）</p>
<p><strong>● 詳細說明可參考 </strong><a href="http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx" target="_blank"><strong>Disk2vhd</strong></a><strong> 下載頁面，或直接下載</strong><a href="http://live.sysinternals.com/Disk2vhd.exe" target="_blank"><strong>主程式</strong></a><strong>。</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2009/10/11/712/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>如何手動復原Hyper-V的虛擬機器設定 Part 1</title>
		<link>http://www.askasu.idv.tw/index.php/2009/09/20/681/</link>
		<comments>http://www.askasu.idv.tw/index.php/2009/09/20/681/#comments</comments>
		<pubDate>Sun, 20 Sep 2009 06:40:54 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=681</guid>
		<description><![CDATA[
「天有不測風雲，人有旦夕禍福」，就算伺服器硬體用了Raid 5 還是Raid 6，如果碰上八顆硬碟三天內先後陣亡四顆，也只能宣告不治。是的！我就是碰到這個狀況的苦主，導致練習了兩三個月的Exchange 移轉LAB ，主機在正式實際移轉前毀於一旦。唯一慶幸的是，有部分VM 的設定檔是位於另一顆陣列磁碟上並未損毀，所以在HP 不願意全數更換疑似雞瘟的Seagate 硬碟並重灌Serve 2008 後，我曾想盡辦法要匯入，無奈作業系統只允許正常的匯入匯出方式或VSS 備份進行復原。
但
「生命會自己找出路！」
觀察案發先後範例VM 設定檔及相關檔案位置。機器掛掉前的路徑及設定檔位置：
V:\HyperV\Gateway
V:\HyperV\Gateway\Virtual Machines\E9EA7716-8831-453C-A641-DE84291A0431.xml
重灌後的路徑及設定檔位置：
D:\HyperV\Gateway
D:\HyperV\Gateway\Virtual Machines\E9EA7716-8831-453C-A641-DE84291A0431.xml

請特別注意「E9EA7716-8831-453C-A641-DE84291A0431」這個XML 設定檔的SID 值，因為它將扮演下面復原步驟很重要的角色。（另外要提醒的是，不同VM 的XML 設定檔的SID 值是不一樣的，請替換上自己所找到的SID 值！）
準備工具（Server 2008 內建指令）：
1. mklink
2. icacls
復原原VM 在Hyper-V 管理員的相關設定步驟如下：
1. 請用系統管理員身份執行 [命令提示字元]，並切換到Hyper-V 系統的 [Virtual Machines] 目錄。
「cd\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines」

2. 建立Hyper-V 原VM 的Symbolic link及真實XML 檔案對應。
為清楚閱讀及瞭解，我將指令跟設定參數用斷行顯示，實際使用時請將用空格將各行連接，完整指令可參考灰色部分。
「mklink
E9EA7716-8831-453C-A641-DE84291A0431.xml
"D:\HyperV\Gateway\Virtual Machines\E9EA7716-8831-453C-A641-DE84291A0431.xml"」
（完整指令：mklink E9EA7716-8831-453C-A641-DE84291A0431.xml "D:\HyperV\Gateway\Virtual Machines\E9EA7716-8831-453C-A641-DE84291A0431.xml" ）

 
3. 授予服務SID 的權限至該VM Symbolic link 連結上。而這服務SID 也就是前面所提到的「E9EA7716-8831-453C-A641-DE84291A0431」。
「icacls
E9EA7716-8831-453C-A641-DE84291A0431.xml /grant
"NT VIRTUAL MACHINE\E9EA7716-8831-453C-A641-DE4291A0431":(F) /L」

（完整指令：icacls E9EA7716-8831-453C-A641-DE84291A0431.xml [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.askasu.idv.tw/album/20090920/hypervimporterror.jpg" alt="" /></p>
<p>「天有不測風雲，人有旦夕禍福」，就算伺服器硬體用了<a href="http://en.wikipedia.org/wiki/RAID">Raid 5</a> 還是<a href="http://en.wikipedia.org/wiki/RAID">Raid 6</a>，如果碰上八顆硬碟三天內先後陣亡四顆，也只能宣告不治。是的！我就是碰到這個狀況的苦主，導致練習了兩三個月的Exchange 移轉LAB ，主機在正式實際移轉前毀於一旦。唯一慶幸的是，有部分VM 的設定檔是位於另一顆陣列磁碟上並未損毀，所以在<span style="color: #c0c0c0;"><span style="text-decoration: line-through;">HP 不願意全數更換疑似雞瘟的Seagate 硬碟並</span></span>重灌Serve 2008 後，我曾想盡辦法要匯入，無奈作業系統只允許正常的匯入匯出方式或VSS 備份進行復原。</p>
<p>但</p>
<p><strong>「生命會自己找出路！」</strong></p>
<p><span id="more-681"></span>觀察案發先後範例VM 設定檔及相關檔案位置。機器掛掉前的路徑及設定檔位置：<br />
V:\HyperV\Gateway<br />
V:\HyperV\Gateway\Virtual Machines\E9EA7716-8831-453C-A641-DE84291A0431.xml</p>
<p>重灌後的路徑及設定檔位置：<br />
D:\HyperV\Gateway<br />
D:\HyperV\Gateway\Virtual Machines\<span style="color: #ff0000;">E9EA7716-8831-453C-A641-DE84291A0431</span>.xml<br />
<img src="http://www.askasu.idv.tw/album/20090920/vmfolder.jpg" alt="" /></p>
<p>請特別注意「<strong><span style="color: #ff0000;">E9EA7716-8831-453C-A641-DE84291A0431</span></strong>」這個XML 設定檔的SID 值，因為它將扮演下面復原步驟很重要的角色。（另外要提醒的是，不同VM 的XML 設定檔的SID 值是不一樣的，請替換上自己所找到的SID 值！）</p>
<p>準備工具（Server 2008 內建指令）：<br />
1. <a href="http://en.wikipedia.org/wiki/NTFS_symbolic_link" target="_blank">mklink</a><br />
2. <a href="http://en.wikipedia.org/wiki/Cacls" target="_blank">icacls</a></p>
<p>復原原VM 在Hyper-V 管理員的相關設定步驟如下：<br />
1. 請用系統管理員身份執行 [命令提示字元]，並切換到Hyper-V 系統的 [Virtual Machines] 目錄。<br />
「cd\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines」<br />
<img src="http://www.askasu.idv.tw/album/20090920/cmdchangefolder1.jpg" alt="" /></p>
<p>2. 建立Hyper-V 原VM 的Symbolic link及真實XML 檔案對應。<br />
為清楚閱讀及瞭解，我將指令跟設定參數用斷行顯示，實際使用時請將用空格將各行連接，完整指令可參考灰色部分。<br />
<strong>「mklink<br />
<span style="color: #ff0000;">E9EA7716-8831-453C-A641-DE84291A0431</span>.xml<br />
"D:\HyperV\Gateway\Virtual Machines\<span style="color: #ff0000;">E9EA7716-8831-453C-A641-DE84291A0431</span>.xml"」</p>
<p></strong><span style="color: #999999;">（<span style="color: #0000ff;">完整指令</span>：mklink E9EA7716-8831-453C-A641-DE84291A0431.xml "D:\HyperV\Gateway\Virtual Machines\E9EA7716-8831-453C-A641-DE84291A0431.xml" ）</span><br />
<img src="http://www.askasu.idv.tw/album/20090920/mklinkvmxmlfile1.jpg" alt="" /></p>
<p> </p>
<p>3. 授予服務SID 的權限至該VM Symbolic link 連結上。而這服務SID 也就是前面所提到的「<span style="color: #ff0000;">E9EA7716-8831-453C-A641-DE84291A0431</span>」。<br />
<strong>「icacls<br />
<span style="color: #ff0000;">E9EA7716-8831-453C-A641-DE84291A0431.xml</span> /grant<br />
"NT VIRTUAL MACHINE\<span style="color: #ff0000;">E9EA7716-8831-453C-A641-DE4291A0431</span>":(F) /L」<br />
</strong><br />
<span style="color: #999999;">（<span style="color: #0000ff;">完整指令</span>：icacls E9EA7716-8831-453C-A641-DE84291A0431.xml /grant "NT VIRTUAL MACHINE\E9EA7716-8831-453C-A641-DE4291A0431":(F) /L ）</span><br />
<img src="http://www.askasu.idv.tw/album/20090920/icaclsvmxmlfile1.jpg" alt="" /></p>
<p>做完上面步驟之後，會發現你的虛擬機器已經出現在 [Hyper-V 管理員] 了。但別開心的太早，因為還沒做完，貿然啟動只會送錯誤訊息給你看。原因在於，本來的VM 相關檔案也需要將權限授予服務SID。<br />
<img src="http://www.askasu.idv.tw/album/20090920/hypervmangerview1.jpg" alt="" /></p>
<p>4. 授予服務SID 的權限至該VM 設定檔及相關檔案所處的資料夾裡。<br />
<strong>「icacls D:\HyperV\Gateway\ /T /grant<br />
"NT VIRTUAL MACHINE\<span style="color: #ff0000;">E9EA7716-8831-453C-A641-DE84291A0431</span>":(F) /L」</p>
<p></strong><span style="color: #999999;">（<span style="color: #0000ff;">完整指令</span>：icacls D:\HyperV\Gateway\ /T /grant "NT VIRTUAL MACHINE\E9EA7716-8831-453C-A641-DE84291A0431":(F) /L ）</span><br />
<img src="http://www.askasu.idv.tw/album/20090920/icaclsvmfolderpermission1.jpg" alt="" /></p>
<p> </p>
<p>這樣就恢復原本在Hyper-V 的相關設定啦！</p>
<p>不過事情還沒結束，因為前面提過，最早我是把該VM 的設定檔及相關檔案置於「V:\HyperV\Gateway」，卻在重灌作業系統後，原硬碟代號變成了 [D]，因此位置也變成「D:\HyperV\Gateway」。</p>
<p>沒改的話，錯誤訊息如下圖。<br />
<img src="http://www.askasu.idv.tw/album/20090920/hypervmangerview2.jpg" alt="" /></p>
<p>因此，還需要修改該VM 的「E9EA7716-8831-453C-A641-DE84291A0431.xml」XML 設定檔內容，將相關路徑指回新的正確路徑。<br />
<img src="http://www.askasu.idv.tw/album/20090920/editvmxmlfile1.jpg" alt="" /><br />
<img src="http://www.askasu.idv.tw/album/20090920/editvmxmlfile2.jpg" alt="" /></p>
<p>最後，請記得啟動前修改虛擬機器的網路卡設定，否則一樣不給你啟動啦！因為在先前Hyper-V 系統的網路卡SID，勢必在重灌作業系統或移機使用後不相同，所以必須重新指定。<br />
<img src="http://www.askasu.idv.tw/album/20090920/hypervmangerview3.jpg" alt="" /></p>
<p>這裡介紹的復原方式，適合下面幾種狀況：<br />
1. 作業系統或Hyper-V 不明損毀需重新安裝。<br />
2. <span style="color: #c0c0c0;"><span style="text-decoration: line-through;">手賤</span></span>移除到Hyper-V 系統裡的Symbolic link，導致無法開啟原VM。<br />
3. <span style="color: #c0c0c0;"><span style="text-decoration: line-through;">手賤</span></span>搬動原VM 設定檔的目錄位置，導致無法呼叫原VM。<br />
4. 老闆沒預算給苦命的IT 人買<a href="http://www.microsoft.com/systemcenter/virtualmachinemanager/en/us/default.aspx" target="_blank">SCVMM</a>，想要異機還原又忘記先匯出Hyper-V 設定。<br />
<strong>前提都是，原本的VM 設定檔及相關檔案要保存完好。</strong></p>
<p>不過，範例中的VM 其實是沒有做過快照的，那萬一VM 有Snapshots 快照集能復原嗎？答案是可以的，小弟賣個小關子留到Part 2 解說。</p>
<p>或者，也推薦您參考另一位微軟MVP 保哥的大作：<a href="http://blog.miniasp.com/post/2009/09/How-to-restor-vm-and-snapshots-to-a-different-server-in-Hyper-V.aspx" target="_blank">如何手動還原 Hyper-V 的 VM 與 Snapshots 到另一台主機</a>。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2009/09/20/681/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Server 2008 R2正式開放MSDN/TechNet Plus訂閱者下載</title>
		<link>http://www.askasu.idv.tw/index.php/2009/08/16/635/</link>
		<comments>http://www.askasu.idv.tw/index.php/2009/08/16/635/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 06:56:31 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Server 2008 R2]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[微軟]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=635</guid>
		<description><![CDATA[
比起最近很受大家關注的Windows 7，IT 人可能比較在意的Windows Server 2008 R2 ，也於昨日悄悄地於MSDN Subscriptions/TechNet Plus 開放下載！並且，Hyper-V Server 2008 R2 也同步釋出正式版。
目前有提供下載的原始語系安裝版本，如同之前在Windows Server Division WebLog 所公告的，僅有English, French, German, Japanese, Italian, Spanish 六種。要特別注意的是，Server 2008 R2 只發行x64 版本，相信微軟未來於伺服器端市場也只會朝64位元方向前進。

如需轉換為其他語系，可先額外下載Language Pack 再到控制台做轉換。

假如是有購買SA的大量授權客戶，其實享受的福利比訂閱者更多，因為微軟已經在大量授權服務中心提供各語系的原始安裝版本，當然也包含了正體中文。


由於Windows Server 2008 R2 與Windows 7 基於同樣核心開發，以我僅給虛擬機器 512MB 記憶體進行Server 2008 R2 測試來說，R2 很明顯地在執行反應上比R1 快很多。除了執行速度是一定要比前版更好，還增加了許多前版沒有的功能：IIS 7.5、DirectAccess、Hyper-V R2、、AD網域服務功能更新等，可預期更能與Windows 7 完美搭配演出。
個人推薦Server 2008 R2 相關下載連結：
Windows Server 2008 R2 試用版下載
Windows Server 2008 R2 試用版VHD [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.askasu.idv.tw/album/20090816/2k8r2ent.jpg" alt="Windows Server 2008 R2 正式版" /></p>
<p>比起最近很受大家關注的Windows 7，IT 人可能比較在意的<a href="http://www.microsoft.com/taiwan/windowsserver2008/prodinfo/R2.aspx" target="_blank">Windows Server 2008 R2</a> ，也於昨日悄悄地於<a href="http://msdn.microsoft.com/zh-tw/subscriptions/default.aspx" target="_blank">MSDN Subscriptions</a>/<a href="http://technet.microsoft.com/zh-tw/subscriptions/default.aspx" target="_blank">TechNet Plus</a> 開放下載！並且，Hyper-V Server 2008 R2 也同步釋出正式版。</p>
<p><span id="more-635"></span>目前有提供下載的原始語系安裝版本，如同之前在<a href="http://blogs.technet.com/windowsserver/archive/2009/07/22/when-to-expect-windows-server-2008-r2-rtm.aspx" target="_blank">Windows Server Division WebLog</a> 所公告的，僅有English, French, German, Japanese, Italian, Spanish 六種。要特別注意的是，<span style="color: #ff0000;"><strong>Server 2008 R2 只發行x64 版本</strong></span>，相信微軟未來於伺服器端市場也只會朝64位元方向前進。<br />
<img src="http://www.askasu.idv.tw/album/20090816/technetplusdl.jpg" alt="TechNet Plus 下載列表" /></p>
<p>如需轉換為其他語系，可先額外下載Language Pack 再到控制台做轉換。<br />
<img src="http://www.askasu.idv.tw/album/20090816/2k8r2twlpdvd.jpg" alt="正體中文語系光碟" /></p>
<p>假如是有購買SA的大量授權客戶，其實享受的福利比訂閱者更多，因為微軟已經在<a href="https://www.microsoft.com/licensing/servicecenter/Home.aspx" target="_blank">大量授權服務中心</a>提供各語系的原始安裝版本，當然也包含了正體中文。<br />
<img src="http://www.askasu.idv.tw/album/20090816/2k8r2twiso1.jpg" alt="Server 2008 R2 正體中文安裝畫面" /></p>
<p><img src="http://www.askasu.idv.tw/album/20090816/2k8r2twiso2.jpg" alt="Server 2008 R2 正體中文各版本選擇安裝畫面" /></p>
<p>由於Windows Server 2008 R2 與Windows 7 基於同樣核心開發，以我僅給虛擬機器 512MB 記憶體進行Server 2008 R2 測試來說，R2 很明顯地在執行反應上比R1 快很多。除了執行速度是一定要比前版更好，還增加了許多前版沒有的功能：<a href="http://technet.microsoft.com/zh-tw/library/dd560629(WS.10).aspx" target="_blank">IIS 7.5</a>、<a href="http://technet.microsoft.com/zh-tw/library/dd391869(WS.10).aspx" target="_blank">DirectAccess</a>、<a href="http://technet.microsoft.com/zh-tw/library/dd446676(WS.10).aspx" target="_blank">Hyper-V R2</a>、、<a href="http://technet.microsoft.com/zh-tw/library/dd378796(WS.10).aspx" target="_blank">AD網域服務功能更新</a>等，可預期更能與Windows 7 完美搭配演出。</p>
<p><strong>個人推薦Server 2008 R2 相關下載連結：</strong><br />
<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=96a3a4b4-9453-4d30-97aa-c977560a0da4" target="_blank">Windows Server 2008 R2 試用版下載</a><br />
<a href="http://www.microsoft.com/downloads/details.aspx?FamilyId=9040a4be-c3cf-44a5-9052-a70314452305&amp;displaylang=en" target="_blank">Windows Server 2008 R2 試用版VHD for Hyper-V</a><br />
<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=03831393-eef7-48a5-a69f-0ce72b883df2" target="_blank">Windows Server 2008 R2 Multilingual User Interface Language Packs</a>（目前繁中僅提供HK版本）<br />
<a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&amp;FamilyID=7d2f6ad7-656b-4313-a005-4e344e43997d" target="_blank">遠端伺服器管理工具 for Windows 7</a><br />
<a href="http://support.microsoft.com/kb/968915/en-us" target="_blank">Key Management Service 1.2 Update for Windows Server 2003</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2009/08/16/635/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-V 與 HP 伺服器</title>
		<link>http://www.askasu.idv.tw/index.php/2009/03/27/397/</link>
		<comments>http://www.askasu.idv.tw/index.php/2009/03/27/397/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 10:03:53 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=397</guid>
		<description><![CDATA[
上個月把去年公司買進來的HP ML350G5 半正式上線，為何說是半正式？因為在我的規劃下，這台的用途未來是當作公司的Exchange Server 2007 主機，但由於公司目前運行的是Exchange Server 2003，如果要讓Exchange Server 2007 成為主力，勢必要做移轉的動作。
當然！應該沒有哪個IT人員心臟很大顆，說移轉就移轉，還是要做個LAB比較安心。所以那台主機就被我先拿來用Hyper-V 做模擬測試啦！  
只是沒想到，準備在Windows Server 2008 啟用Hyper-V 角色時，卻發生錯誤。檢查了一下，發現原來是伺服器的BIOS 並沒有把Intel-VT 啟用，這個在Hyper-V 也是屬於必備的條件。而且我檢查了一下公司其他伺服器，發現HP 似乎在這個功能預設都是不啟用的。
所以，要在HP 伺服器上使用Hyper-V，可以參考以下步驟做啟用及檢查的動作：
1) 進入HP 伺服器的BIOS 主選單，選擇「Advanced Options」。

2) 選擇「Processsor Options」。

3) 選擇「No-Execute Memory Protection」。

4) 確認「No-Execute Memory Protection」是「Enable」。這個選項就是所謂的DEP，也是使用Hyper-V 必備的條件之一，這部分在HP 伺服器預設都是啟用的。

5) 重頭戲上場，回到上一層選擇「Intel Virtualization Technolegy」。就是這個光，預設是不啟用的啊！趕快選擇「Enable」吧！

話說這一個多月拿這台ML350 G5 用Hyper-V 做LAB（這可以當作一個多月沒發文的理由嗎？），大概只有一個「爽」字形容；因為我把公司的AD 包括Exchange 都完整地移入虛擬環境運作，加上華麗的硬體規格，怎樣也不可能擺一台大怪物在家裡玩啊！
可惜的是，內建的E200i 陣列卡在大量I/O存取時還是會造成有點頓的狀況。不過沒關係，我已經準備好HP Smart Array P800 陣列卡了，嘿嘿...  

]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.askasu.idv.tw/album/20090327/ml350g5bios.jpg" alt="HP ML350 G5的BIOS畫面" /></p>
<p>上個月把去年公司買進來的<a href="http://h10010.www1.hp.com/wwpc/tw/zh/sm/WF06b/15351-15351-241434-241477-241477-1121586-3638079.html" target="_blank">HP ML350G5</a> 半正式上線，為何說是半正式？因為在我的規劃下，這台的用途未來是當作公司的<a href="http://www.microsoft.com/taiwan/exchange/default.mspx" target="_blank">Exchange Server 2007</a> 主機，但由於公司目前運行的是Exchange Server 2003，如果要讓Exchange Server 2007 成為主力，勢必要做移轉的動作。</p>
<p>當然！應該沒有哪個IT人員心臟很大顆，說移轉就移轉，還是要做個LAB比較安心。所以那台主機就被我先拿來用Hyper-V 做模擬測試啦！ <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_xd.gif' alt='/xd/' class='wp-smiley' /> </p>
<p>只是沒想到，準備在Windows Server 2008 啟用Hyper-V 角色時，卻發生錯誤。檢查了一下，發現原來是伺服器的BIOS 並沒有把Intel-VT 啟用，這個在<a href="http://en.wikipedia.org/wiki/Hyper-V" target="_blank">Hyper-V</a> 也是屬於必備的條件。而且我檢查了一下公司其他伺服器，發現HP 似乎在這個功能預設都是不啟用的。</p>
<p>所以，要在HP 伺服器上使用Hyper-V，可以參考以下步驟做啟用及檢查的動作：</p>
<p><span id="more-397"></span>1) 進入HP 伺服器的BIOS 主選單，選擇「Advanced Options」。<br />
<img src="http://www.askasu.idv.tw/album/20090327/hpbioshyvstep1.jpg" alt="選擇「Advanced Options」" /></p>
<p>2) 選擇「Processsor Options」。<br />
<img src="http://www.askasu.idv.tw/album/20090327/hpbioshyvstep2.jpg" alt="選擇「Processsor Options」 " /></p>
<p>3) 選擇「No-Execute Memory Protection」。<br />
<img src="http://www.askasu.idv.tw/album/20090327/hpbioshyvstep3.jpg" alt="選擇「No-Execute Memory Protection」 " /></p>
<p>4) 確認「No-Execute Memory Protection」是「<span style="color: #ff0000;">Enable</span>」。這個選項就是所謂的<a href="http://en.wikipedia.org/wiki/Data_Execution_Prevention" target="_blank">DEP</a>，也是使用Hyper-V 必備的條件之一，這部分在HP 伺服器預設都是啟用的。<br />
<img src="http://www.askasu.idv.tw/album/20090327/hpbioshyvstep4.jpg" alt="確認為Enable" /></p>
<p>5) 重頭戲上場，回到上一層選擇「<a href="http://en.wikipedia.org/wiki/X86_virtualization" target="_blank">Intel Virtualization Technolegy</a>」。<span style="color: #ff0000;"><strong>就是這個光，預設是不啟用的啊！趕快選擇「Enable」吧！</strong></span><br />
<img src="http://www.askasu.idv.tw/album/20090327/hpbioshyvstep5.jpg" alt="預設是Disable，趕快Enable吧！" /></p>
<p>話說這一個多月拿這台ML350 G5 用Hyper-V 做LAB（這可以當作一個多月沒發文的理由嗎？），大概只有一個「爽」字形容；因為我把公司的AD 包括Exchange 都完整地移入虛擬環境運作，加上華麗的硬體規格，怎樣也不可能擺一台大怪物在家裡玩啊！</p>
<p>可惜的是，內建的E200i 陣列卡在大量I/O存取時還是會造成有點頓的狀況。不過沒關係，我已經準備好<a href="http://h18000.www1.hp.com/products/servers/proliantstorage/arraycontrollers/smartarrayp800/index.html" target="_blank">HP Smart Array P800</a> 陣列卡了，嘿嘿... <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_tongue.png' alt='/:P/' class='wp-smiley' /> </p>
<p><img src="http://www.askasu.idv.tw/album/20090327/HPP800Array.jpg" alt="應該也是妖獸級的HP P800陣列卡" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2009/03/27/397/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hyper-V Server 2008與CoreConfigurator</title>
		<link>http://www.askasu.idv.tw/index.php/2009/02/23/376/</link>
		<comments>http://www.askasu.idv.tw/index.php/2009/02/23/376/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 09:40:16 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[微軟]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=376</guid>
		<description><![CDATA[
上一篇介紹到Server Core 的好用工具-CoreConfigurator，那如果拿到同樣是Server Core 核心的Hyper-V Server 2008 能用嗎？
答案是可以的！
安裝方式跟使用都跟前一篇沒什麼差別，而且在繁中版同樣會有部分水土不服的狀況。
不過有些資訊還蠻特別的，因為Hyper-V Server 2008 是微軟發佛心提供的免費作業系統，也就是免錢免序號歡迎大家使用。但從這個授權訊息來看，其實仍有時間限制，只是沒有到一萬年也有到一百三十五年啊～ 

可以安裝的角色（Roles）及功能（Features）。（此設定畫面在繁中版一樣無法顯示）
唯一的角色-Hyper-V 已經啟用，至於其他可啟用的功能也真的很少，不過以Hyper-V Server 2008 的產品定位來說，應該是足夠了。

那能否移除Hyper-V 角色？答案也是可以，但移完就不知道我留Hyper-V Server 要幹嘛！？最恐怖的是，移完還裝不回去。 

]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.askasu.idv.tw/album/20090223/configuratorinhypervsrv.jpg" alt="CoreConfigurator在Hyper-V Server 2008 能正常使用" /></p>
<p><a href="http://www.askasu.idv.tw/index.php/2009/02/22/313/" target="_blank">上一篇</a>介紹到Server Core 的好用工具-CoreConfigurator，那如果拿到同樣是Server Core 核心的Hyper-V Server 2008 能用嗎？</p>
<p>答案是可以的！</p>
<p>安裝方式跟使用都跟前一篇沒什麼差別，而且在繁中版同樣會有部分水土不服的狀況。</p>
<p><span id="more-376"></span>不過有些資訊還蠻特別的，因為Hyper-V Server 2008 是微軟發佛心提供的免費作業系統，也就是免錢免序號歡迎大家使用。但從這個授權訊息來看，其實仍有時間限制，只是沒有到一萬年也有到一百三十五年啊～ <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_xd.gif' alt='/xd/' class='wp-smiley' /><br />
<img src="http://www.askasu.idv.tw/album/20090223/hypersrvlicense.jpg" alt="授權剩餘時間49516天" /></p>
<p>可以安裝的角色（Roles）及功能（Features）。<span style="color: #ff0000;">（此設定畫面在繁中版一樣無法顯示）</span><br />
唯一的角色-Hyper-V 已經啟用，至於其他可啟用的功能也真的很少，不過以Hyper-V Server 2008 的產品定位來說，應該是足夠了。<br />
<img src="http://www.askasu.idv.tw/album/20090223/hypersrvroles.jpg" alt="可安裝的角色及功能" /></p>
<p>那能否移除Hyper-V 角色？答案也是可以，但移完就不知道我留Hyper-V Server 要幹嘛！？最恐怖的是，移完還裝不回去。 <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_oo.gif' alt='/=.=/' class='wp-smiley' /><br />
<img src="http://www.askasu.idv.tw/album/20090223/uninsthypersrvrole.jpg" alt="真的裝不回去..囧" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2009/02/23/376/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>微軟電子書大放送</title>
		<link>http://www.askasu.idv.tw/index.php/2009/02/13/346/</link>
		<comments>http://www.askasu.idv.tw/index.php/2009/02/13/346/#comments</comments>
		<pubDate>Fri, 13 Feb 2009 14:34:31 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[微軟]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=346</guid>
		<description><![CDATA[
（圖片擷取自Microsoft Learning 網站的活動頁面）
為慶祝MS Press 25 週年，微軟似乎從去年底開始就舉辦「Free Microsoft Press E-Book Offer!」，也就是每個月限時提供一些PDF 版的電子書下載。只要到該活動頁面，用你的Windows Live ID 登入後，並填妥基本資料，就可以下載到囉！  
本月份開放的書籍如下：

Understanding Microsoft Virtualization Solutions

Introducing Microsoft SQL Server 2008
  
Programming Microsoft LINQ
Introducing Microsoft® SilverlightTM 2, Second Edition
Programming Microsoft® ASP.NET 3.5
 請注意！微軟有限定開放時間，錯過就會出現下面這個訊息：

小弟在這裡順便徵求上個月開放下載的「Windows Server® 2008 Server Core Administrator's Pocket Consultant 」，因為前陣子農曆春節快放完的時候，有天晚上太無聊就坐捷運跑到天瓏書局，意外找到這本書，發現裡面是中文書籍鮮少提及的2008 ServerCore 完整資料，不經讓我非常心動想買下，但一看到定價米金29.99，只好作罷。  
]]></description>
			<content:encoded><![CDATA[<p><a href="http://csna01.libredigital.com/?urmvs17u33" target="_blank"><img src="http://www.askasu.idv.tw/album/20090213/mspressfreedl.jpg" alt="Free Microsoft Press E-Book Offer!" /></a><br />
（圖片擷取自<a href="http://www.microsoft.com/Learning/" target="_blank">Microsoft Learning</a> 網站的活動頁面）</p>
<p>為慶祝MS Press 25 週年，微軟似乎從去年底開始就舉辦「Free Microsoft Press E-Book Offer!」，也就是每個月限時提供一些PDF 版的電子書下載。只要到該活動頁面，用你的Windows Live ID 登入後，並填妥基本資料，就可以下載到囉！ <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_laugh.png' alt='/:D/' class='wp-smiley' /> </p>
<p><strong>本月份開放的書籍如下：</strong><br />
<span id="more-346"></span><img src="http://www.askasu.idv.tw/album/20090213/9780735693371.jpg" alt="Understanding Microsoft Virtualization Solutions" /><br />
<a href="http://csna01.libredigital.com/?urmvs17u33" target="_blank">Understanding Microsoft Virtualization Solutions</a></p>
<p><img src="http://www.askasu.idv.tw/album/20090213/ms_sql_srv_cvr.jpg" alt="Introducing Microsoft SQL Server 2008" /><br />
<a href="http://csna01.libredigital.com/?urss1q2we6" target="_blank">Introducing Microsoft SQL Server 2008</a></p>
<p><img src="http://www.askasu.idv.tw/album/20090213/ms_linq_cvr.jpg" alt="Programming Microsoft LINQ" /> <img src="http://www.askasu.idv.tw/album/20090213/ms_silverlight_cvr.jpg" alt="Introducing Microsoft® SilverlightTM 2, Second Edition" /> <img src="http://www.askasu.idv.tw/album/20090213/ms_asp_net_cvr.jpg" alt="Programming Microsoft® ASP.NET 3.5" /><br />
<a href="http://csna01.libredigital.com/?urvs5cn3s8%20" target="_blank">Programming Microsoft LINQ<br />
Introducing Microsoft® SilverlightTM 2, Second Edition<br />
Programming Microsoft® ASP.NET 3.5</a></p>
<p><strong><span style="color: #ff0000;"> 請注意！微軟有限定開放時間，錯過就會出現下面這個訊息：</span></strong><br />
<img src="http://www.askasu.idv.tw/album/20090213/mspressofferexpired.jpg" alt="超過活動的開放時間了" /></p>
<p>小弟在這裡順便徵求上個月開放下載的「<span id="labelExamTitle" class="DetailPagesBlackColorMedSubHeading"><a href="http://www.microsoft.com/learning/en/us/books/12977.aspx" target="_blank">Windows Server® 2008 Server Core Administrator's Pocket Consultant</a></span> 」，因為前陣子農曆春節快放完的時候，有天晚上太無聊就坐捷運跑到<a href="http://tlsj.tenlong.com.tw/WebModule/index.do" target="_blank">天瓏書局</a>，意外找到這本書，發現裡面是中文書籍鮮少提及的2008 ServerCore 完整資料，不經讓我非常心動想買下，但一看到定價米金29.99，只好作罷。 <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_sad.png' alt='/:(/' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2009/02/13/346/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>如何在網域環境下管理Hyper-V伺服器 (三)</title>
		<link>http://www.askasu.idv.tw/index.php/2008/12/25/142/</link>
		<comments>http://www.askasu.idv.tw/index.php/2008/12/25/142/#comments</comments>
		<pubDate>Thu, 25 Dec 2008 09:49:59 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=142</guid>
		<description><![CDATA[
再假設另一種狀況，如果網域底下的用戶端想要連到非網域的Hyper-V伺服器，是否可行呢？
答案是可以的！
在未設定的情形下，直接連接Hyper-V伺服器，
會出現「你沒有完成此工作的必要使用權限。請連絡電腦 '伺服器名稱' 的授權原則系統管理員」的錯誤訊息。

所以，還是要動用前面文章提到的HVRemote 工具，但這次只要在用戶端電腦作設定即可。
1) 登入用戶端電腦，下載Hyper-V Remote Management Configuration Utility ，並存放至適當目錄。
（這次範例以存放在我個人帳號的桌面，並建立一個名為「HVRemote」目錄）
2) 以系統管理員身份執行「命令提示字元」

3) 在「命令提示字元」的視窗裡，輸入「cscript //h:cscript」後按下Enter鍵。因為HVRemote 工具無法在系統預設的WScript 模式下執行。
4) 使用「Cmdkey」指令，將能存取Hyper-V 伺服器的帳號及密碼，存放於用戶端電腦裡。
指令範例可參考下方：
cmdkey /add:欲連結的主機名稱 /user:有權限存取該主機的帳號 /pass:該帳號的密碼
可用「cmdkey /list」，確認是否成功儲存認證。

這個指令執行完後，Hyper-V 管理員的錯誤訊息會變成：
「拒絕存取。無法在 '伺服器名稱' 和 '用戶端電腦名稱' 之間建立通訊」。所以事情還沒結束...

5)  在「命令提示字元模式」輸入指令「HVRemote /AnonDCOM:grant」。
請注意，HVRemote 的指令說明有錯。如果把參數/grant打成大寫/Grant，會產生錯誤訊息。

這樣就完工啦！

不過，如果想要連線到虛擬機器操作時，會再跳出輸入帳號密碼的視窗。
想連線嗎？還是乖乖輸入吧！

經過再測試，這個方法也同樣適用於伺服器端及用戶端都位於工作群組（Workgroup）的情況，或者非網域的用戶端想要管理網域內的Hyper-V 伺服器。
說實話，為了這個問題研究測試快半個月，要不是找到HVRemote 工具，不然大概只會用遠端桌面連進伺服器。只是，我覺得工具應該可以改寫成GUI介面，但也要看John Howard 有沒有時間寫了。
不管怎樣，希望這些問題能在Vista/Server 2008 SP2 發佈後簡單解決。不然，我想多少會影響Hyper-V 的推動吧。  
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.askasu.idv.tw/album/20081225/hvsrvinworkgroup.jpg" alt="連接方式說明" /><br />
再假設另一種狀況，如果網域底下的用戶端想要連到非網域的Hyper-V伺服器，是否可行呢？<br />
答案是可以的！</p>
<p><span id="more-142"></span>在未設定的情形下，直接連接Hyper-V伺服器，<br />
會出現「你沒有完成此工作的必要使用權限。請連絡電腦 '<span style="color: #888888;">伺服器名稱' </span>的授權原則系統管理員」的錯誤訊息。<br />
<img src="http://www.askasu.idv.tw/album/20081225/hypervmgnerror1.jpg" alt="有圖有真相" /></p>
<p>所以，還是要動用前面文章提到的HVRemote 工具，但這次只要在用戶端電腦作設定即可。</p>
<p>1) <strong>登入用戶端電腦</strong>，下載<a href="http://code.msdn.microsoft.com/HVRemote/Release/ProjectReleases.aspx?ReleaseId=1827" target="_blank">Hyper-V Remote Management Configuration Utility</a> ，並存放至適當目錄。<br />
（這次範例以存放在我個人帳號的桌面，並建立一個名為「HVRemote」目錄）</p>
<p>2) 以<strong><span style="color: #ff0000;">系統管理員身份</span></strong>執行「命令提示字元」<br />
<img src="http://www.askasu.idv.tw/album/20081219/cmdrunasadmin.jpg" alt="" /></p>
<p>3) 在「命令提示字元」的視窗裡，輸入「cscript //h:cscript」後按下Enter鍵。<strong>因為HVRemote 工具無法在系統預設的WScript 模式下執行</strong>。</p>
<p>4) 使用「<a href="http://technet.microsoft.com/en-us/library/cc754243.aspx" target="_blank">Cmdkey</a>」指令，將能存取Hyper-V 伺服器的帳號及密碼，存放於用戶端電腦裡。<br />
指令範例可參考下方：<br />
<strong>cmdkey /add:</strong><span style="color: #ff0000;">欲連結的主機名稱</span><strong> /user:</strong><span style="color: #ff0000;">有權限存取該主機的帳號</span> <strong>/pass:</strong><span style="color: #ff0000;">該帳號的密碼<br />
<span style="color: #000000;">可用「cmdkey /list」，確認是否成功儲存認證。</span></span><br />
<img src="http://www.askasu.idv.tw/album/20081225/usecmdkey.jpg" alt="" /></p>
<p>這個指令執行完後，Hyper-V 管理員的錯誤訊息會變成：<br />
「拒絕存取。無法在 '<span style="color: #888888;">伺服器名稱</span>' 和 '<span style="color: #888888;">用戶端電腦名稱</span>' 之間建立通訊」。所以事情還沒結束...<br />
<img src="http://www.askasu.idv.tw/album/20081225/hvmgnconnecterror.jpg" alt="拒絕存取" /></p>
<p>5)  在「命令提示字元模式」輸入指令「<strong>HVRemote /AnonDCOM:grant</strong>」。<br />
請注意，HVRemote 的指令說明有錯。如果把參數/grant打成大寫/<span style="color: #ff0000;"><strong>G</strong></span>rant，會產生錯誤訊息。<br />
<img src="http://www.askasu.idv.tw/album/20081225/hvcmddcomset.jpg" alt="" /></p>
<p>這樣就完工啦！<br />
<img src="http://www.askasu.idv.tw/album/20081225/mgnhvsrvindomain.jpg" alt="" /></p>
<p>不過，如果想要連線到虛擬機器操作時，會再跳出輸入帳號密碼的視窗。<br />
想連線嗎？還是乖乖輸入吧！<br />
<img src="http://www.askasu.idv.tw/album/20081225/hvremotevm.jpg" alt="" /></p>
<p><strong>經過再測試，這個方法也<span style="color: #ff0000;">同樣適用於伺服器端及用戶端都位於工作群組（Workgroup）的情況</span>，或者<span style="color: #ff0000;">非網域的用戶端想要管理網域內的Hyper-V 伺服器</span>。</strong></p>
<p>說實話，為了這個問題研究測試快半個月，要不是找到HVRemote 工具，不然大概只會用遠端桌面連進伺服器。只是，我覺得工具應該可以改寫成GUI介面，但也要看John Howard 有沒有時間寫了。</p>
<p>不管怎樣，希望這些問題能在Vista/Server 2008 SP2 發佈後簡單解決。不然，我想多少會影響Hyper-V 的推動吧。 <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_think.gif' alt='/*-)/' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2008/12/25/142/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>如何在網域環境下管理Hyper-V伺服器 (二)</title>
		<link>http://www.askasu.idv.tw/index.php/2008/12/19/117/</link>
		<comments>http://www.askasu.idv.tw/index.php/2008/12/19/117/#comments</comments>
		<pubDate>Fri, 19 Dec 2008 15:55:03 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[Hyper-V]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Networks]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=117</guid>
		<description><![CDATA[
Hyper-V 的遠端管理設定讓我花了很多時間看文件及討論尋求方法，最後在微軟高階程式經理-John Howard  在2008年3月28日的部落格文章-Hyper-V Remote Management，才找到一系列的詳細解說。
但說實話，這系列的文章看完，我還是丈二金剛摸不著頭緒。不過，John 還真是揪甘心，特地寫了一支小程式-HVRemote，就輕鬆解決大家的問題。而且經過測試，我在網域環境的確很簡單地就連線到Hyper-V 伺服器。
方法如下：
1) 請以具有系統管理員的網域帳號，登入Hyper-V伺服器的主機。
2) 下載Hyper-V Remote Management Configuration Utility ，並存放至適當目錄。
（範例以「E:\Files\HVRemote」為目錄）
3) 以系統管理員身份執行「命令提示字元」

4) 輸入「cscript //h:cscript」後按下Enter鍵。因為HVRemote工具無法在系統預設的WScript模式下執行。

5) 切換到HVRemote工具的存放目錄，輸入「HVRemote /add:網域名稱網域帳號」。網域帳號為登入用戶端電腦所使用的帳號。

再回到用戶端的電腦使用「Hyper-V 管理員」，就會發現已經能遠端管理Hyper-V伺服器囉！
（Hyper-V 管理員的安裝請參考上一篇。）

儘管這支小程式非常方便，但目前仍沒有被微軟正式認可，所以有問題只能向作者-John Howard 反應了。
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.askasu.idv.tw/album/20081219/hvremotehelp.jpg" alt="" /><br />
<a href="http://www.microsoft.com/windowsserver2008/en/us/hyperv.aspx" target="_blank">Hyper-V</a> 的遠端管理設定讓我花了很多時間看文件及討論尋求方法，最後在微軟高階程式經理-<a href="http://blogs.technet.com/jhoward/default.aspx" target="_blank">John Howard</a>  在2008年3月28日的部落格文章-<a href="http://blogs.technet.com/jhoward/archive/2008/03/28/part-1-hyper-v-remote-management-you-do-not-have-the-requested-permission-to-complete-this-task-contact-the-administrator-of-the-authorization-policy-for-the-computer-computername.aspx" target="_blank">Hyper-V Remote Management</a>，才找到一系列的詳細解說。</p>
<p><span id="more-117"></span>但說實話，這系列的文章看完，我還是丈二金剛摸不著頭緒。不過，John 還真是揪甘心，特地寫了一支小程式-<a href="http://blogs.technet.com/jhoward/archive/2008/11/14/configure-hyper-v-remote-management-in-seconds.aspx" target="_blank">HVRemote</a>，就輕鬆解決大家的問題。而且經過測試，我在網域環境的確很簡單地就連線到Hyper-V 伺服器。</p>
<p>方法如下：<br />
1) 請以<strong><span style="color: #ff0000;">具有系統管理員的網域帳號</span></strong>，登入Hyper-V伺服器的主機。<br />
2) 下載<a href="http://code.msdn.microsoft.com/HVRemote/Release/ProjectReleases.aspx?ReleaseId=1827" target="_blank">Hyper-V Remote Management Configuration Utility</a> ，並存放至適當目錄。<br />
（範例以「E:\Files\HVRemote」為目錄）<br />
3) 以<strong><span style="color: #ff0000;">系統管理員身份</span></strong>執行「命令提示字元」<br />
<img src="http://www.askasu.idv.tw/album/20081219/cmdrunasadmin.jpg" alt="" /></p>
<p>4) 輸入「cscript //h:cscript」後按下Enter鍵。<strong>因為HVRemote工具無法在系統預設的WScript模式下執行</strong>。<br />
<img src="http://www.askasu.idv.tw/album/20081219/cscriptchange.jpg" alt="" /></p>
<p>5) 切換到HVRemote工具的存放目錄，輸入「<strong>HVRemote /add:<span style="color: #ff0000;">網域名稱</span><span style="color: #0000ff;">網域帳號</span></strong>」。網域帳號為登入用戶端電腦所使用的帳號。<br />
<img src="http://www.askasu.idv.tw/album/20081219/hvtooladduser.jpg" alt="" /></p>
<p>再回到用戶端的電腦使用「Hyper-V 管理員」，就會發現已經能遠端管理Hyper-V伺服器囉！<br />
（Hyper-V 管理員的安裝請參考<a href="http://www.askasu.idv.tw/index.php/2008/12/17/104/" target="_blank">上一篇</a>。）<br />
<img src="http://www.askasu.idv.tw/album/20081219/managehvonvista.jpg" alt="" /></p>
<p>儘管這支小程式非常方便，但目前仍沒有被微軟正式認可，所以有問題只能向作者-<a href="http://blogs.technet.com/jhoward/" target="_blank">John Howard</a> 反應了。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2008/12/19/117/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>如何在網域環境下管理Hyper-V伺服器 (一)</title>
		<link>http://www.askasu.idv.tw/index.php/2008/12/17/104/</link>
		<comments>http://www.askasu.idv.tw/index.php/2008/12/17/104/#comments</comments>
		<pubDate>Wed, 17 Dec 2008 09:25:07 +0000</pubDate>
		<dc:creator>AskaSu</dc:creator>
				<category><![CDATA[Servers]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[虛擬化]]></category>

		<guid isPermaLink="false">http://www.askasu.idv.tw/?p=104</guid>
		<description><![CDATA[
自從我在微軟的Virtual Server 2005 R2 SP1嚐過虛擬機器的管理方便，就天真地以為Server 2008的Hyper-V也能輕鬆遠端連線，但卻發現不是這麼一回事...
過去只要把VSrv2005的VMRC Client軟體拷貝到任何地方執行，再輸入想要連線的虛擬伺服器位置，就能夠遠端操控任何一部在伺服器上的虛擬機器。甚至，管理介面也只要用Web就能輕鬆存取。


可是想遠端管理Hyper-V伺服器就沒這麼簡單了，管理及遙控都改透過MMC 3.0，再加上Vista跟Server 2008都早於Hyper-V問世，所以必須先安裝相關更新：
Vista KB952627 x86 更新 - 官方下載連結 （服用前需先安裝Vista SP1）
Vista KB952627 x64 更新 - 官方下載連結 （服用前需先安裝Vista SP1）
Server 2008 相關更新可參考先前的文章 - 微軟發佈Hyper-V正式版，或透過WindowsUpdate即可自動完成安裝。額外要注意的是，透過WindowsUpdate不會自動安裝語系檔！
（或許上面這些安裝，在Vista及Server 2008的SP2問世後能一次解決）
以Vista為例， 安裝好更新後想使用Hyper-V 遠端管理工具有好幾種方式：
1. 到「控制台」-&#62;「系統管理工具」，裡面就能找到「Hyper-V 管理員」。
2  到MMC介面新增嵌入「Hyper-V 管理員」。

3. 我個人最推薦的方法。直接在「開始」功能表的空白欄位輸入「hyper-v」，再立刻按下「Enter鍵」，Vista就會很聰明地自動執行「Hyper-V 管理員」。

而Server 2008 在安裝更新後，還需自行到「伺服器管理員」-&#62;「新增功能」，把「Hyper-V 管理工具」做新增動作，才會在系統管理工具看到「Hyper-V 管理員」的出現。

不過，就算完成上面的工作，只要連到想管理的Hyper-V伺服器，一定會發現馬上碰到釘子，直接回傳「無法連線至電腦'伺服器名稱'的 RPC 服務。請確認 RPC 服務正在執行中。」的錯誤訊息。 

為了這個問題，我花了很多的時間去研究，最後終於找到方法，詳情可參考「如何在網域環境下管理Hyper-V伺服器 (二)」。
]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.askasu.idv.tw/album/20081217/mgnhypervonvista.jpg" alt="有圖有真相" /><br />
自從我在微軟的<a href="http://www.microsoft.com/windowsserversystem/virtualserver/" target="_blank">Virtual Server 2005 R2 SP1</a>嚐過虛擬機器的管理方便，就天真地以為Server 2008的Hyper-V也能輕鬆遠端連線，但卻發現不是這麼一回事...</p>
<p><span id="more-104"></span>過去只要把VSrv2005的VMRC Client軟體拷貝到任何地方執行，再輸入想要連線的虛擬伺服器位置，就能夠遠端操控任何一部在伺服器上的虛擬機器。甚至，管理介面也只要用Web就能輕鬆存取。<br />
<img src="http://www.askasu.idv.tw/album/20081217/vmrcclient.jpg" alt="vmrc真的方便許多" /><br />
<img src="http://www.askasu.idv.tw/album/20081217/vsrv2k5console.jpg" alt="Virtual Server 2005 管理介面" /></p>
<p>可是想遠端管理Hyper-V伺服器就沒這麼簡單了，管理及遙控都改透過MMC 3.0，再加上Vista跟Server 2008都早於Hyper-V問世，所以必須先安裝相關更新：<br />
<strong>Vista </strong><a href="http://support.microsoft.com/kb/952627/en-us" target="_blank"><strong>KB952627</strong></a><strong> x86 更新 - </strong><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&amp;FamilyID=a46d0047-e383-4688-9449-83373226126a" target="_blank"><strong>官方下載連結</strong></a><strong> （服用前需先安裝</strong><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&amp;FamilyID=f559842a-9c9b-4579-b64a-09146a0ba746" target="_blank"><strong>Vista SP1</strong></a><strong>）<br />
Vista </strong><a href="http://support.microsoft.com/kb/952627/en-us" target="_blank"><strong>KB952627</strong></a><strong> x64 更新 - </strong><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&amp;FamilyID=f10e848f-289c-4e04-8786-395371f083bf" target="_blank"><strong>官方下載連結</strong></a><strong> （服用前需先安裝</strong><a href="http://www.microsoft.com/downloads/details.aspx?familyid=86D267BD-DFCD-47CF-AA76-DC0626DCDF10&amp;displaylang=zh-tw" target="_blank"><strong>Vista SP1</strong></a><strong>）</strong></p>
<p>Server 2008 相關更新可參考先前的文章 - <a href="http://www.askasu.idv.tw/index.php/2008/07/05/60/" target="_blank">微軟發佈Hyper-V正式版</a>，或透過WindowsUpdate即可自動完成安裝。額外要注意的是，透過WindowsUpdate不會自動安裝語系檔！<br />
（或許上面這些安裝，在Vista及Server 2008的SP2問世後能一次解決）</p>
<p>以Vista為例， 安裝好更新後想使用Hyper-V 遠端管理工具有好幾種方式：<br />
1. 到「控制台」-&gt;「系統管理工具」，裡面就能找到「Hyper-V 管理員」。<br />
2  到MMC介面新增嵌入「Hyper-V 管理員」。<br />
<img src="http://www.askasu.idv.tw/album/20081217/hypervmgnmmc.jpg" alt="MMC新增嵌入Hyper-V管理工具" /><br />
3. <strong><span style="color: #ff0000;">我個人最推薦的方法。</span></strong>直接在「開始」功能表的空白欄位輸入「hyper-v」，再立刻按下「Enter鍵」，Vista就會很聰明地自動執行「Hyper-V 管理員」。<br />
<img src="http://www.askasu.idv.tw/album/20081217/starthypervmmc.jpg" alt="直接呼叫Hyper-V管理員" /></p>
<p>而Server 2008 在安裝更新後，還需自行到「伺服器管理員」-&gt;「新增功能」，把「Hyper-V 管理工具」做新增動作，才會在系統管理工具看到「Hyper-V 管理員」的出現。<br />
<img src="http://www.askasu.idv.tw/album/20081217/2k8addhypervmgn.jpg" alt="新增Hyper-V管理工具" /></p>
<p>不過，就算完成上面的工作，只要連到想管理的Hyper-V伺服器，一定會發現馬上碰到釘子，直接回傳「無法連線至電腦'伺服器名稱'的 RPC 服務。請確認 RPC 服務正在執行中。」的錯誤訊息。 <img src='http://www.askasu.idv.tw/wp-includes/images/smilies/msn_weird.png' alt='/:S/' class='wp-smiley' /><br />
<img src="http://www.askasu.idv.tw/album/20081217/rpcserviceerror.jpg" alt="無法連線RPC服務" /></p>
<p>為了這個問題，我花了很多的時間去研究，最後終於找到方法，詳情可參考「<a href="http://www.askasu.idv.tw/index.php/2008/12/19/117/" target="_self">如何在網域環境下管理Hyper-V伺服器 (二)</a>」。</p>
]]></content:encoded>
			<wfw:commentRss>http://www.askasu.idv.tw/index.php/2008/12/17/104/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
