當在多台Windows Server上部署了hyper-v的時候,需要采用合適的方法管理這些hyper-v節點。
遠程桌面
最簡單的方法就是逐台遠程桌面登陸Windows Server,再使用每台本地的hyper-v管理器進行管理。不過這種方法只適用於管理幾台hyper-v主機,當hyper-v主機數量較多的時候,如果每次管理都遠程桌面登陸,不但操作非常繁瑣、管理不便,而且很難把控每台hyper-v的使用情況。
hyper-v管理器
在主流服務器虛擬化技術簡單使用——Hyper-V(一)中,我在部署hyper-v的時候安裝了hyper-v管理器,之后通過hyper-v管理器進行管理。
其實hyper-v管理器是可以管理其它hyper-v節點的,而且hyper-v管理器還可以部署在我們平常使用的windows當中。
Tips:windows也可以安裝完整的hyper-v,參考:https://jingyan.baidu.com/article/a3f121e4aa196bfc9052bb82.html,可以根據需要安裝完整的hyper-v平台或只安裝hyper-v管理器。
某些版本的windows(比如win10家庭版)沒有這個功能,所以在“啟用或關閉Windows功能”中找不到hyper-v。雖然網上有一些方法可以解決這個問題,但是情況允許最好換個支持的windows版本。
到了這一步,直接填寫信息是無法認證成功的,需要windows、Windows Server配置工作組或AD域環境,添加信任關系等。
windows 2016的工作組環境可以參考:http://goxia.maytide.net/read.php/1824.htm,暫未驗證該方法是否支持Windows Server 2019。
Windows Admin Center
Windows Admin Center是一個提供網頁應用的軟件,有桌面模式和網關模式:
桌面模式是將Windows Admin Center安裝在你的Windows上,然后通過網頁訪問本機地址:https://localhost:6516,管理Windows Server集群,也就是上圖中“本地客戶端”的模式。
網關模式是將Windows Admin Center安裝在Windows Server上,然后通過網頁訪問windows server地址:https://servername.contoso.com,管理Windows Server集群,具體有“網關服務器”、“托管的服務器”、“故障轉移集群”三種部署方式。
Windows Admin Center文檔:https://docs.microsoft.com/zh-cn/windows-server/manage/windows-admin-center/plan/installation-options
Windows Admin Center關於管理Hyper-v部分:https://docs.microsoft.com/zh-cn/windows-server/manage/windows-admin-center/use/manage-virtual-machines
Tips:Windows Admin Center提供的是一個集中管理Windows Server和Windows 10的網頁應用,管理hyper-v只是其中的一部分功能。
System Center Virtual Machine Manager
當Windows Server數量更多的時候,則需要SCVMM(System Center Virtual Machine Manager),到了這一步可以算是建立私有雲平台了。
Tips:System Center是微軟集中管理Windows Server的一個系列產品,SCVMM只是System Center系列產品中的一個子產品,SCVMM相當於微軟的OpenStack。