標籤:scvmm system center 2012 windows server hyper-v 虛擬化
SCVMM 2012 R2營運管理十之:添加周邊網路電腦
前面的博文中和大家聊了如何添加受信任的Hyper-v主機或群集以及如何添加非受信任的主機或群集,相信大家都有了一個比較深刻的理解,那麼在今天的博文中我們將為大家介紹如何添加周邊網路(DMZ)或工作群組中的 Windows Server 電腦(僅限獨立電腦)
我們可以使用以下過程添加周邊網路(也稱為 DMZ、外圍安全區域和遮蔽式子網路)中的 Hyper-V 主機作為 System Center Virtual Machine Manager 中的託管 Hyper-V 主機。 在此僅能添加周邊網路中的外掛式主控件,SCVMM 不支援管理周邊網路中的主機群集。你還可以使用此過程添加工作群組中不是域的一部分的獨立 Hyper-V 主機。
添加前提:
你必須將代理以本地方式安裝在要添加的伺服器上,然後才能將周邊網路上的主機添加到 VMM。
在目標主機上安裝 VMM 代理
1. 在 VMM 產品媒體或網際網路共用上,按右鍵“Setup.exe”,然後單擊“以管理員身份運行”
650) this.width=650;" height="484" title="clip_image002" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image002" src="http://s3.51cto.com/wyfs02/M02/6F/84/wKioL1WfHfSQUOx1AAHEPmFfwl8599.jpg" border="0" />
2. 在“安裝”菜單上的“可選安裝”下,單擊“本地代理”。
650) this.width=650;" height="465" title="clip_image004" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image004" src="http://s3.51cto.com/wyfs02/M00/6F/84/wKioL1WfHfThBLP8AADiWeXeBZQ514.jpg" border="0" />
3. 在“歡迎”頁上,單擊“下一步”。
650) this.width=650;" height="484" title="clip_image005" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image005" src="http://s3.51cto.com/wyfs02/M02/6F/84/wKioL1WfHfTDgSPaAAGreu2fcqg116.jpg" border="0" />
4. 查看並接受軟體授權條款,然後單擊“下一步”。
650) this.width=650;" height="484" title="clip_image006" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image006" src="http://s3.51cto.com/wyfs02/M02/6F/84/wKioL1WfHfSwuG7yAAKkO54lEzI277.jpg" border="0" />
5. 在“目標檔案夾”頁上,接受預設位置或單擊“更改”以指定其他位置,然後單擊“下一步”。
650) this.width=650;" height="484" title="clip_image007" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image007" src="http://s3.51cto.com/wyfs02/M00/6F/84/wKioL1WfHfSjmrINAAFhSLRHJ10623.jpg" border="0" />
6. 在“安全性檔案檔案夾”頁上,執行以下操作:
a. 選中“此主機位於周邊網路中”複選框。
b. 在“安全性檔案加密金鑰”框中,輸入加密金鑰,然後在“確認加密金鑰”框中再次輸入。
security安全 注釋
加密金鑰為你選擇的值。我們建議你輸入包含大小寫字母、數字和符號組合的加密金鑰。
注意:需要記下用於建立安全性檔案的加密金鑰。在 VMM 控制台中添加主機時必須再次輸入這個相同密鑰。
c. 接受加密安全性檔案的預設儲存位置,或單擊“更改”以指定儲存加密安全性檔案的其他位置。
注意:記下安全性檔案的儲存位置。在“確保 Security.txt 檔案可用於 VMM”過程中,你必須將安全性檔案傳輸到安裝了 VMM 控制台的電腦可訪問的位置。
d. 要使用認證對 VMM 管理伺服器和主機之間的通訊進行加密,請選中“使用 CA 簽署憑證以加密與此主機的通訊”複選框。 在“認證的指紋”框中,輸入認證的指紋。(要擷取認證的指紋,請開啟“認證”嵌入式管理單元,然後選擇“電腦帳戶”。在“認證”嵌入式管理單元中,找到然後雙擊要使用的認證。 在“詳細資料”選項卡上,選擇“指紋”欄位。 在下方的窗格中,反白指紋值,然後按 Ctrl+C 將該值複製到剪貼簿。)
650) this.width=650;" height="484" title="clip_image008" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image008" src="http://s3.51cto.com/wyfs02/M01/6F/84/wKioL1WfHfWScaXgAAHR0KieOVg785.jpg" border="0" />
完成後單擊“下一步”。
7. 在“主機網路名稱”頁上,指定 VMM 管理伺服器將與主機聯絡的方式,然後單擊“下一步”。可以選擇以下任一選項:
a、 使用本機電腦名
b、 使用 IP 位址
如果選擇“使用 IP 位址”,請單擊列表中的一個 IP 位址。
注意:需要記下主機的電腦名稱或 IP 位址。 在 VMM 控制台中添加主機時必須再次輸入這個相同資訊。
650) this.width=650;" height="484" title="clip_image009" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image009" src="http://s3.51cto.com/wyfs02/M02/6F/84/wKioL1WfHfXA2DIFAAFc9AelSTo173.jpg" border="0" />
8. 在“配置設定”頁上,接受預設連接埠設定或指定其他連接埠,然後單擊“下一步”。
注意 :我們建議你不要更改用於代理通訊的預設連接埠 5986。 為代理分配的連接埠設定必須與 VMM 管理伺服器使用的連接埠設定完全符合。 預設情況下,VMM 管理伺服器使用連接埠 5986 與周邊網路中的主機進行代理通訊,並使用連接埠 443 進行檔案傳輸。
650) this.width=650;" height="484" title="clip_image010" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image010" src="http://s3.51cto.com/wyfs02/M00/6F/84/wKioL1WfHfXi8F3WAAGjsL1Kg9M437.jpg" border="0" />
9. 在“準備安裝”頁上,單擊“安裝”。
650) this.width=650;" height="484" title="clip_image011" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image011" src="http://s3.51cto.com/wyfs02/M01/6F/84/wKioL1WfHfWhqAWNAAFN6v7zTU0775.jpg" border="0" />
安裝完成:
650) this.width=650;" height="484" title="clip_image012" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image012" src="http://s3.51cto.com/wyfs02/M02/6F/84/wKioL1WfHfbgDKLKAAF1lCakXRI845.jpg" border="0" />
確保 SecurityFile.txt 檔案可用於 VMM
1.在目標主機上,導航到儲存安全性檔案的檔案夾。 預設情況下,位置為 C:\Program Files\Microsoft System Center 2012\Virtual Machine Manager。 安全性檔案的名稱為 SecurityFile.txt。
2.將安全性檔案傳輸到安裝了 VMM 控制台的電腦可訪問的位置。例如,將該檔案傳輸到安裝了 VMM 控制台的電腦、內部檔案分享權限設定或 USB 快閃記憶體磁碟機。
將“SecurityFile.txt”檔案Copy到安裝了VMM控制台的電腦:
在安裝了VMM的電腦(VMMSCVMM)上進行如下操作:
通過網路路徑訪問要添加得到外圍電腦:
650) this.width=650;" height="380" title="clip_image014" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image014" src="http://s3.51cto.com/wyfs02/M00/6F/84/wKioL1WfHfbAW7zsAADm0gg9qs0586.jpg" border="0" />
可以看到已經成功複製過來:
650) this.width=650;" height="479" title="clip_image016" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image016" src="http://s3.51cto.com/wyfs02/M01/6F/84/wKioL1WfHfaxpV_4AAE19iqcRNc212.jpg" border="0" />
添加周邊網路中的 Hyper-V 主機
1. 在 VMM 控制台中,開啟“構造”工作區。
650) this.width=650;" height="483" title="clip_image018" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image018" src="http://s3.51cto.com/wyfs02/M02/6F/84/wKioL1WfHfeRGN1kAAGbeiV_Vf0116.jpg" border="0" />
2. 在“構造”窗格中單擊“伺服器”。
650) this.width=650;" height="480" title="clip_image020" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image020" src="http://s3.51cto.com/wyfs02/M00/6F/84/wKioL1WfHffj7yZ5AAGTIZaMN9k600.jpg" border="0" />
3. 在“首頁”選項卡上的“添加”組中,單擊“添加資源”,然後單擊“Hyper-V 主機和群集”,添加資源嚮導將啟動。
650) this.width=650;" height="484" title="clip_image022" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image022" src="http://s3.51cto.com/wyfs02/M01/6F/84/wKioL1WfHfeRf2VhAAHP3TziaGc431.jpg" border="0" />
4. 在“資源位置”頁上,單擊“周邊網路中的 Windows Server 電腦”,然後單擊“下一步”。
650) this.width=650;" height="484" title="clip_image024" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image024" src="http://s3.51cto.com/wyfs02/M02/6F/84/wKioL1WfHfeDSBpWAAGA35_1qkU710.jpg" border="0" />
5. 在“目標資源”頁上,執行以下操作:
a. 在“電腦名稱”框中,輸入周邊網路中的主機的 NetBIOS 名稱或 IP 位址。
b. 在“加密金鑰”框中,輸入在目標主機上安裝代理時建立的加密金鑰。
c. 在“安全性檔案路徑”框中,輸入 SecurityFile.txt 檔案的路徑,或單擊“瀏覽”找到該檔案。
d. 在“主機群組”列表中,單擊要在其中添加主機的主機群組。
e. 單擊“添加”。
650) this.width=650;" height="484" title="clip_image026" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image026" src="http://s3.51cto.com/wyfs02/M00/6F/84/wKioL1WfHffw1ONwAAFaiPusErQ943.jpg" border="0" />
電腦列在下方窗格中的“電腦名稱”下。
650) this.width=650;" height="484" title="clip_image028" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image028" src="http://s3.51cto.com/wyfs02/M00/6F/87/wKiom1WfHCbxrKudAAFqYTStkFw304.jpg" border="0" />
f. 重複此步驟以添加周邊網路中的其他主機。 完成後單擊“下一步”。
6. 在“主機設定”頁上的“添加以下路徑”框中,輸入你希望在其中儲存主機上所部署的虛擬機器檔案的主機上的路徑,然後單擊“添加”。如果將該框留空,則使用預設路徑 %SystemDrive%\ProgramData\Microsoft\Windows\Hyper-V。 請注意,最好不要添加位於作業系統檔案所在磁碟機上的預設路徑。
650) this.width=650;" height="480" title="clip_image030" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image030" src="http://s3.51cto.com/wyfs02/M01/6F/87/wKiom1WfHCaTVZ-1AAGaU-OXBRc790.jpg" border="0" />
如果要添加多個路徑,請重複此步驟。完成後單擊“下一步”。
注意:在此可以忽略“將此主機與此 Virtual Machine Manager 環境重新關聯”複選框。 此設定不適用於周邊網路中的主機。
7. 在“摘要”頁上確認設定,然後單擊“完成”。
650) this.width=650;" height="481" title="clip_image032" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image032" src="http://s3.51cto.com/wyfs02/M02/6F/87/wKiom1WfHCbxMCqdAAE99o0p6rY840.jpg" border="0" />
“作業”對話方塊將出現以顯示作業狀態。確保作業的狀態為“已完成”,然後關閉對話方塊。
650) this.width=650;" height="438" title="clip_image034" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image034" src="http://s3.51cto.com/wyfs02/M00/6F/87/wKiom1WfHCfiG-oKAAIfIvzqANg813.jpg" border="0" />
8. 要驗證是否已成功添加主機,請在“構造”窗格中展開“伺服器”,展開“所有主機”,展開在其中添加了主機的主機群組,然後單擊主機。在“主機”窗格中,驗證主機狀態是否為“正常”。
650) this.width=650;" height="451" title="clip_image036" style="border:0px;padding-top:0px;padding-right:0px;padding-left:0px;background-image:none;" alt="clip_image036" src="http://s3.51cto.com/wyfs02/M01/6F/84/wKioL1WfHfngW3KUAAG6Oi_OQu0957.jpg" border="0" />
提示:
要查看有關主機狀態的詳情,請在 VMM 控制台中按右鍵主機,然後單擊“屬性”。 在“狀態”選項卡上,你可以查看不同地區的健全狀態狀態,例如總體健全狀態、主機代理程式健全狀況和 Hyper-V 角色健全狀態。 如果存在問題,你可以單擊“全部修複”。VMM 將嘗試自動修複問題。
本文出自 “吳玉章的微軟部落格” 部落格,請務必保留此出處http://wuyvzhang.blog.51cto.com/9992636/1672736
SCVMM 2012 R2營運管理十之:添加周邊網路電腦