共用方式為


使用 Windows Admin Center 管理超交集基礎結構

超融合式基礎結構會將軟體定義的計算、記憶體和網路合併成一個叢集,以提供高效能、符合成本效益且可調整的虛擬化。 這項功能是在 Windows Server 2016 中引進的,其中包含 儲存空間直接存取軟體定義網路功能(SDN)Hyper-V

您可以使用 Windows Admin Center 來管理和監視執行 Windows Server 2016 或 Windows Server 2019 的超融合式基礎結構。 Windows Admin Center 是適用於 Windows Server 的下一代管理工具。 這是伺服器管理員等傳統「內建」工具的繼任者。 免費,無需因特網連線即可安裝及使用。

Windows Admin Center 中超交集叢集儀錶板的螢幕快照。

本文說明的一些功能僅適用於 Windows Admin Center 預覽版。 如需詳細資訊,請參閱 Windows Admin Center 概觀

Tip

想要取得超融合式基礎結構嗎? 我們推薦由合作夥伴提供的這些 Windows Server SDN 解決方案。 它們會根據我們的參考架構進行設計、組合及驗證,以協助確保相容性和可靠性,因此您可以快速啟動並執行。

Key features

適用於超融合式基礎結構的 Windows Admin Center 重點包括:

  • 用於計算、記憶體和網路的整合儀錶板。 在一個專為此目的而構建、一致且互連的環境中,檢視您的虛擬機(VM)、主機伺服器、磁碟區、磁碟驅動器等設備。
  • 建立和管理儲存空間和 Hyper-V 虛擬機。 使用簡單的工作流程來建立、開啟、重設大小及刪除磁碟區。 或使用工作流程來建立、啟動、連線及移動虛擬機。
  • 功能強大的全叢集監視。 儀錶板會即時顯示叢集中每部伺服器的記憶體和 CPU 使用量、記憶體容量、輸入/輸出作業(IOPS)、輸送量和延遲。 當有事情出現問題時,會收到清楚的通知。
  • 軟體定義網路支援。 管理和監視虛擬網路和子網、將虛擬機連線到虛擬網路,以及監視 SDN 基礎結構。

我們正積極開發適用於超融合式基礎結構的 Windows Admin Center。 其會經常收到可改善現有功能並新增功能的更新。

在您開始之前

若要在 Windows Admin Center 中將叢集管理為超交集基礎結構,請確定叢集正在執行 Windows Server 2016 或 Windows Server 2019。 也請確定您已為其啟用 Hyper-V 和 Storage Spaces Direct。 或者,叢集也可以透過 Windows Admin Center 啟用和管理軟體定義網路。

Tip

Windows Admin Center 也提供任何支援任何工作負載之叢集的一般用途管理體驗。 它適用於 Windows Server 2012 和更新版本。 If this option sounds like a better fit, when you add your cluster to Windows Admin Center, select Failover Cluster instead of Hyper-Converged Cluster.

為 Windows Admin Center 準備 Windows Server 2016 叢集

適用於超交集基礎結構的 Windows Admin Center 取決於 Windows Server 2016 發行之後新增的管理 API。 您必須先執行下列兩個步驟,才能使用 Windows Admin Center 管理 Windows Server 2016 叢集:

  1. 確認叢集中的每個伺服器都已安裝 Windows Server 2016 的 2018-05 累積更新 (KB4103723) 或更新版本。 To download and install this update, go to Settings>Update & Security>Windows Update and select Check online for updates from Microsoft Update.

  2. 以系統管理員身分在叢集上執行下列 PowerShell Cmdlet:

     Add-ClusterResourceType -Name "SDDC Management" -dll "$env:SystemRoot\Cluster\sddcres.dll" -DisplayName "SDDC Management"
    

Tip

您只需要在叢集中的任何伺服器上執行 Cmdlet 一次。 您可以在 Windows PowerShell 本機執行它,或使用 CredSSP 從遠端執行。 視您的設定而定,您可能無法在 Windows Admin Center 內執行此 Cmdlet。

準備 Windows Server 2019 叢集以搭配 Windows Admin Center

如果您的叢集執行 Windows Server 2019,則不需要上述步驟。 只要將叢集新增至 Windows Admin Center, 如本文稍後所述。

設定軟體定義網路 (選擇性)

您可以遵循下列步驟,設定執行 Windows Server 2016 或 2019 的超交集基礎結構,以使用軟體定義網路:

  1. 準備作業系統的虛擬硬碟(VHD),這與您在超融合式基礎結構主機上安裝的相同作業系統。 此 VHD 將用於所有 NC 系列、軟體負載平衡器 (SLB) 和閘道 VM。

  2. Download all the folders and files under SDN Express from GitHub.

  3. 使用部署主控台準備不同的 VM。 此 VM 應該要能夠存取 SDN 主機。 此外,VM 應該已安裝遠端伺服器管理工具 (RSAT) Hyper-V 套件。

  4. Copy everything that you downloaded for SDN Express to the deployment console VM, and share this SDNExpress folder. Make sure every host can access the SDNExpress shared folder, as defined in line 8 of the configuration file:

     \\$env:Computername\SDNExpress
    
  5. Copy the VHD of the operating system to the images folder under the SDNExpress folder on the deployment console VM.

  6. 根據您的環境設定修改 SDN Express 組態。

  7. 以系統管理員權限執行 PowerShell 以部署 SDN:

     .\SDNExpress.ps1 -ConfigurationDataFile .\your_fabricconfig.PSD1 -verbose
    

部署大約需要30到45分鐘。

開始管理超融合式基礎結構

部署 Hyper-Converged 基礎結構之後,您可以使用 Windows Admin Center 來管理它。

安裝 Windows Admin Center

如果您尚未下載並安裝 Windows Admin Center,請下載並安裝。 若要啟動並執行,最快的方式是將其安裝到您的 Windows 10 電腦上,並遠端管理您的伺服器。 此過程需要不到五分鐘。 Download now, or learn more about other installation options.

新增超交集叢集

若要將叢集新增至 Windows Admin Center:

  1. Under All Connections, select + Add.

  2. 選取 [Hyper-Converged 叢集連線 ] 作為連線類型。

  3. 輸入叢集的名稱。 如果系統提示您,請選取要使用的認證。

  4. Select Add to finish.

叢集會新增至您的連線清單。 選取它以開啟儀錶板。

用於新增超交集叢集連線之選取項目的動畫螢幕快照。

新增已啟用 SDN 的超交集叢集 (Windows Admin Center 預覽版)

最新版本的 Windows Admin Center Preview 支援超融合式基礎結構的軟體定義網路管理。 藉由將網路控制站 REST URI 新增至超交集叢集連線,您可以使用超交集叢集管理員來管理 SDN 資源並監視 SDN 基礎結構。

  1. Under All Connections, select + Add.

  2. 選取 [Hyper-Converged 叢集連線 ] 作為連線類型。

  3. 輸入叢集的名稱。 如果系統提示您,請選取要使用的認證。

  4. 選取 [設定網络控制站]。

  5. Enter the network controller URI value, and then select Validate.

    啟用 SDN 的超融合式叢集連線新增選項的螢幕擷圖。

  6. Select Add to finish.

叢集會新增至您的連線清單。 選取它以開啟儀錶板。

Important

目前不支援使用 Kerberos 驗證進行 Northbound 通訊的 SDN 環境。

常見問題集

管理 Windows Server 2016 與管理 Windows Server 2019 之間是否有差異?

Yes. 適用於超交集基礎結構的 Windows Admin Center 會收到頻繁的更新,可改善 Windows Server 2016 和 Windows Server 2019 的體驗。 不過,某些新功能僅適用於 Windows Server 2019。 例如刪除重複資料和壓縮的功能切換。

我是否可以使用 Windows Admin Center 來管理其他使用案例的儲存空間直接存取(非超交集),例如聚合式 Scale-Out 文件伺服器或Microsoft SQL Server?

適用於超融合基礎結構的 Windows Admin Center 不會特別針對儲存空間直接存取的其他使用案例提供管理或監控選項。 例如,它無法建立檔案共用。 不過,儀表板和核心功能,例如建立磁碟區或更換磁碟,適用於任何 Storage Spaces Direct(直接儲存空間)叢集。

故障轉移叢集與超交集叢集之間的差異為何?

In general, the term hyper-converged refers to running Hyper-V and Storage Spaces Direct on the same clustered servers to virtualize compute and storage resources. In the context of Windows Admin Center, when you select + Add in the list of connections, you can choose between these connection types:

  • 故障轉移叢集連線:故障轉移叢集管理員桌面應用程式的後續版本。 它提供一種熟悉的通用管理體驗,適用於支援各種工作負載的任何叢集,包括 Microsoft SQL Server。 它適用於 Windows Server 2012 和更新版本。

  • 超融合叢集連線:專為 Storage Spaces Direct 和 Hyper-V 量身打造的體驗。 它具備儀錶板功能,重點突出用於監控的圖表和警示。 它適用於 Windows Server 2016 和 Windows Server 2019。

為什麼我需要 Windows Server 2016 的最新累積更新?

適用於超交集基礎結構的 Windows Admin Center 相依於自 Windows Server 2016 發行以來所開發的管理 API。 自 2018 年 5 月 8 日起,Windows Server 2016 的 2018-05 累積更新(KB4103723)中會新增這些 API。

使用 Windows Admin Center 需要多少費用?

您可以使用 Windows Admin Center(以個別下載的形式提供)搭配 Windows Server 或 Windows 10 的有效授權,不需額外費用。 根據 Microsoft 軟體授權條款附加的 Windows 補充授權。

Windows Admin Center 是否需要 System Center?

No.

Windows Admin Center 是否需要因特網連線?

No.

雖然 Windows Admin Center 提供強大且方便的與 Microsoft Azure 雲端平臺的整合,但超融合式基礎結構的核心管理和監視體驗完全位於內部部署。 您可以在沒有因特網連線的情況下安裝並使用它。

要嘗試的事

既然您已瞭解使用 Windows Admin Center 來管理和監視超融合式基礎結構的基本概念,您可以在環境中嘗試執行更多工作。

管理直接存取儲存空間的磁碟區

如果您剛開始使用,以下是一些快速影片,可協助您瞭解適用於超融合式基礎結構的 Windows Admin Center 如何組織及運作。 請做出良好的判斷,並在生產環境中小心行事。 這些影片是使用 Windows Admin Center 1804 版和 Windows Server 2019 Insider Preview 組建所錄製。

建立三重鏡像磁碟區

建立鏡像加速同位磁碟區

開啟磁碟區並新增檔案

開啟數據去重和壓縮

擴展磁碟區

刪除磁碟區

建立虛擬機

  1. On the left pane, select Virtual Machines.

  2. At the top of the Virtual Machines pane, select the Inventory tab, and then select New.

  3. 輸入虛擬機名稱,然後選擇第 1 代和第 2 代。

  4. 選擇虛擬機的主機,或使用建議的主機。

  5. 選擇虛擬機器檔案的路徑。 Select a volume from the dropdown list, or select Browse to choose a folder. 虛擬機器組態檔和虛擬硬碟檔將會儲存在單一資料夾 (位於所選磁碟區或路徑的 \Hyper-V\[virtual machine name] 路徑底下)。

  6. 選擇虛擬處理器的數目,以及是否要啟用巢狀虛擬化。 設定記憶體設定、網路適配器和虛擬硬碟。 選擇您要從.iso映像檔或網路安裝作系統。

  7. Select Create.

  8. 建立虛擬機並出現在虛擬機清單中之後,請加以啟動。

  9. 透過 VMConnect 連線到虛擬機的主控台,以安裝作系統。 Select the virtual machine from the list, and then select More>Connect to download the .rdp file. 在遠端桌面連線應用程式中開啟 .rdp 檔案。 因為您要連線到虛擬機的控制台,因此您必須輸入 Hyper-V 主機的系統管理員認證。

深入瞭解使用 Windows Admin Center 進行虛擬機管理

暫停並安全地重新啟動伺服器

  1. On the left pane of the dashboard, select Servers. 或者,在儀錶板右下角的圖格上,選取 [檢視伺服器 > ] 連結。

  2. Switch from the Summary tab to the Inventory tab.

  3. 選取伺服器以開啟其詳細數據。

  4. 選取 [暫停伺服器以進行維護]。 如果可以放心地繼續,此動作會將虛擬機移至叢集中的其他伺服器。 The server has a status of Draining during this process.

    If you want, you can watch the virtual machines move on the Virtual machines>Inventory pane, where the grid clearly shows their host server. After all the virtual machines move, the server status is Paused.

  5. Select Manage server to access all the per-server management tools in Windows Admin Center.

  6. Select Restart, and then select Yes.

  7. 回到儀錶板上,伺服器會在關閉時以紅色標示。 After it's back up, go to the Server page and select Resume server from maintenance to set the server status to Up. 將來,虛擬機將會返回。 使用者不必採取任何動作。

更換故障的磁碟機

  1. When a drive fails, an alert appears in the Alerts area of the dashboard.

    或者,若要瀏覽磁碟驅動器並自行查看其狀態,您可以:

    • Select Drives on the left pane.
    • 選取右下角磚上的 [檢視磁碟驅動器 > ] 連結。

    On the Inventory tab, the grid supports sorting, grouping, and keyword search.

  2. 在儀錶板上,選取警示以查看詳細數據,例如磁碟驅動器的實體位置。

    若要深入了解,請選取 [移至磁碟] 快捷方式以前往 [磁碟詳細資訊] 頁面。

  3. 如果您的硬體支援它,您可以選取 [ 開啟/關閉燈 ] 來控制磁碟驅動器的指示器燈。

  4. Storage Spaces Direct 會自動淘汰失敗的磁碟機並將資料移出。 When this process happens, the drive status is Retired, and its storage capacity bar is empty.

  5. 移除故障的磁碟機,並插入其替代品。

  6. In Drives>Inventory, the new drive appears. In time, the alert will clear, volumes will repair back to OK status, and storage will rebalance onto the new drive. 使用者不必採取任何動作。

管理虛擬網路(透過 Windows Admin Center 預覽版啟用 SDN 的 HCI 叢集)

  1. On the left pane, select Virtual Networks.

    [虛擬網络] 窗格的螢幕快照。

  2. On the Inventory tab, select New to create a new virtual network and subnets. Or choose an existing virtual network and then select Settings to modify its configuration.

  3. 選取現有的虛擬網路,以檢視虛擬網路子網的 VM 連線,以及套用至虛擬網路子網的訪問控制清單。

將虛擬機器連線到虛擬網路(透過 Windows Admin Center 預覽版啟用 SDN 的 HCI 叢集)

  1. On the left pane, select Virtual Networks.

  2. Choose an existing virtual machine, select Settings, and then open the Networks tab.

  3. Configure the Virtual Network and Virtual Subnet fields to connect the virtual machine to a virtual network.

將虛擬機聯機至虛擬網路的選項螢幕快照。

您也可以在建立虛擬機時設定虛擬網路。

監視軟體定義網路基礎結構(透過 Windows Admin Center 預覽版啟用 SDN 的 HCI 叢集)

  1. On the left pane, select SDN Monitoring.

  2. 檢視網路控制站、軟體負載平衡器和虛擬閘道健康情況的詳細資訊。 您也可以監視虛擬閘道集區、公用和私人IP集區使用量,以及SDN主機狀態。

監視 SDN 基礎結構之窗格的螢幕快照。

Manage GPUs

  1. On the left pane, select GPUs.

  2. 從叢集 VM 檢視可用的 GPU,並透過離散裝置指派,為叢集 VM 中執行的工作負載提供 GPU 加速。 深入瞭解如何搭配叢集 VM 使用 GPU

管理 GPU 的窗格螢幕快照。

使用安全工具

  1. On the left pane, select Security.

  2. Select the Secured-core tab, and then enable or disable the available security features.

檢查資源安全性的視窗和標籤頁的螢幕截圖。

請與我們分享您的意見反應

經常更新最重要的優點是了解您覺得什麼功能有用、什麼功能需要改善。 以下是能夠讓我們知道您的想法的一些方式: