管理 VMM 光纖中的 Hyper-V 叢集Manage Hyper-V clusters in the VMM fabric

重要

已不再支援此版本的 Virtual Machine Manager (VMM),建議升級至 VMM 2019This version of Virtual Machine Manager (VMM) has reached the end of support, we recommend you to upgrade to VMM 2019.

請參閱本文,以管理 System Center - Virtual Machine Manager (VMM) 網狀架構中的 Hyper-V 主機叢集。Use this article to manage Hyper-V host clusters in the System Center - Virtual Machine Manager (VMM) fabric. 您可以設定叢集內容,以及管理叢集節點。You can configure cluster properties, and manage cluster nodes.

設定叢集內容Configure cluster properties

  1. 在 [光纖] 中,以滑鼠右鍵按一下叢集 > [內容] 。In Fabric, right-click the cluster > Properties.
  2. 設定資料表中所彙總的設定。Configure the settings summarized in the table.
索引標籤Tab 設定Settings
一般General 檢視名稱、主機群組和描述。View the name, host group and description. 您也可以設定 [叢集保留 (節點)],並檢視叢集保留狀態。You can also configure the Cluster reserve (nodes) setting, and view the cluster reserve state.

[叢集保留 (節點)] 設定可指定在仍可支援目前部署到主機叢集之所有虛擬機器的情況下,叢集必須可以承受的節點失敗數。The Cluster reserve (nodes) setting specifies the number of node failures a cluster must be able to sustain while still supporting all virtual machines deployed on the host cluster. 如果叢集無法在承受指定的節點失敗數的同時,仍然讓所有虛擬機器繼續執行,叢集就會變成「過度認可」狀態。If the cluster cannot withstand the specified number of node failures and still keep all of the virtual machines running, the cluster is placed in an over-committed state. 當「過度認可」時,叢集主機會在虛擬機器放置時收到零分級。When over-committed, the clustered hosts receive a zero rating during virtual machine placement. 系統管理員可以覆寫此分級,在手動放置期間,將高可用的虛擬機器放置於過度認可的叢集。An administrator can override the rating and place a highly-available virtual machine on an over-committed cluster during a manual placement.
狀態Status 檢視主機叢集的詳細狀態資訊:View detailed status information for the host cluster:

叢集驗證測試執行且成功。Cluster validation test runs and successes. 包括最新驗證報表 (如果有的話) 的連結。Includes a link to the latest validation report (if available). 請注意,存取報表必須具有報表所在叢集節點上的系統管理員權限。Note that accessing the report requires administrative permissions on the cluster node where the report is located. 如果是主機叢集,您可以透過 VMM 執行依需求叢集驗證。For host clusters, you can perform an on-demand cluster validation through VMM. 若要如此做,請在 [網狀架構] 工作區中找到主機叢集後並按一下。To do this, in the Fabric workspace, locate and click the host cluster. 然後,在 [主機叢集] 索引標籤上,按一下 [驗證叢集] 。Then, on the Host Cluster tab, click Validate Cluster. 叢集驗證隨即開始。Cluster validation begins immediately.

叢集中的線上元素︰叢集核心資源、仲裁中的磁碟見證,和每個節點上的叢集服務。Online elements in the cluster: cluster core resources, disk witness in quorum, and the cluster service on each node.
可用的存放裝置Available Storage 顯示可用的存放裝置,亦即指派到主機叢集但不是叢集共用磁碟區 (CSV) 的存放裝置邏輯單元。Shows available storage, that is, storage logical units that are assigned to the host cluster but are not Cluster Shared Volumes (CSV).

您也可以進行下列動作:You can also do the following:

新增與移除 VMM 管理的存放裝置邏輯單元。Add and remove storage logical units that are managed by [VMM.

將可用的存放裝置轉換到共用存放裝置 (CSV)。Convert available storage to shared storage (CSV).
共用磁碟區Shared Volumes 顯示主機叢集所配置的共用磁碟區 (CSV)。Shows the shared volumes (CSVs) that are allocated to the host cluster. 您也可以進行下列動作:You can also do the following:

新增與移除 VMM 管理的 CSV。Add and remove CSVs that are managed by VMM.

將 CSV 轉換成可用的 (非 CSV) 存放裝置。Convert CSVs to available (non-CSV) storage.
自訂內容Custom Properties 您管理的自訂內容。Custom properties that you manage.

將節點新增至叢集Add a node to the cluster

  1. 如果您已經使用容錯移轉叢集管理員來新增節點,然後在 [光纖] > [伺服器] > [所有主機] ,並以滑鼠右鍵按一下具有 [擱置] 狀態的主機,然後按一下 [新增至主機叢集] 。If you already used Failover Cluster Manager to add the node, then in Fabric > Servers > All Hosts, right-click the host with a Pending status, and click Add to Host Cluster.
  2. 如果您未使用容錯移轉叢集管理員來新增節點,則可以新增已經由 VMM 管理的主機。If you didn't add the node with the Failover Cluster Manager, you can add hosts that are already managed by VMM. 在 [光纖] > [伺服器] > [所有主機] 中,以滑鼠右鍵按一下叢集 > [新增叢集節點] 。In Fabric > Servers > All Hosts, right-click the cluster > Add Cluster Node. 在 [新增節點精靈] > [資源類型] 中,選取將用來新增節點的 RunAs 帳戶。In the Add Nodes Wizard > Resource Type, select the RunAs account that will be used to add the nodes. 確定已選取 [執行 Windows Server 作業系統的現有伺服器] 。Make sure Existing servers running a Windows Server operating system is selected. 在 [選取主機] 中,選取您想要新增的 Hyper-V 主機伺服器。In Select Hosts select the Hyper-V host server that you want to add. 完成精靈,並確認設定。Finish the wizard and verify the settings.

從叢集移除節點Remove a node from the cluster

  1. 按一下 [網狀架構] > [伺服器] > [所有主機] 。Click Fabric > Servers > All Hosts.
  2. 找出您想要移除的叢集節點,然後檢視 [主機] 窗格中的狀態。Locate the cluster node you want to remove and view the status in the Hosts pane.
  3. 如果節點未處於維護模式,請按一下 [啟動維護模式]。If the node isn't in maintenance mode click Start Maintenance Mode. 按一下 [將所有虛擬機器移到叢集中的其他主機] ,並確認狀態。Click Move all virtual machines to other hosts in the cluster and verify the status.
  4. 以滑鼠右鍵按一下主機 > [移除叢集節點] > [是] 。Right-click the host > Remove Cluster Node > Yes. 在要移除節點的作業期間,從節點中取消註冊任何共用存放裝置。During the job to remove the node any shared storage is unregistered from the node. 如果您管理 VMM 外部的存放裝置,則應該從節點取消註冊存放裝置。If you manage storage outside VMM then you should unregister the storage from the node.

取消叢集Uncluster a cluster

移除主機叢集,如下所示:Remove a host cluster as follows:

  1. 按一下 [光纖] > [伺服器] > [所有主機] 。Click Fabric > Servers > All Hosts.
  2. 確定叢集不支援任何高可用性 VM 或叢集服務/應用程式。Make sure the cluster isn't supporting any highly-available VMs or clustered services/apps.
  3. 以滑鼠右鍵按一下主機叢集 > [取消叢集] 。Right-click the host cluster > Uncluster. 按一下 [是] 繼續。Click Yes to continue.
  4. 在要移除叢集的作業期間,從叢集節點中取消註冊任何共用存放裝置。During the job to remove the cluster any shared storage is unregistered from the cluster nodes. 如果您管理 VMM 外部的存放裝置,則應該取消註冊存放裝置。If you manage storage outside VMM, then you should unregister the storage.