在 VMM 中部署儲存空間直接存取分類式叢集Deploy a Storage Spaces Direct disaggregated cluster in VMM

重要

已不再支援此版本的 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) 中設定執行儲存空間直接存取 (S2D) 的分類式叢集。Read this article to set up a disaggregated cluster running Storage Spaces Direct (S2D) in System Center - Virtual Machine Manager (VMM). 深入了解 S2DLearn more about S2D.

部署分類式 S2D 叢集的方式是佈建執行 Hyper-V 主機的叢集以及執行具有 S2D 之向外延展檔案伺服器 (SOFS) 的個別儲存體叢集。You can deploy a disaggregated S2D cluster by provisioning a cluster running Hyper-V hosts, and a separate storage cluster running scale-out file server (SOFS) with S2D.

注意

您必須先啟用 S2D,才能將儲存體提供者新增到 VMM。You must enable S2D before adding the storage provider to VMM. 若要啟用 S2D,請移至 [一般設定] > [指定叢集名稱和主機群組] ,並選取 [啟用儲存空間直接存取] 選項,如下所示:To enable S2D, go to General Configuration > Specify the cluster name and host group and select the Enable Storage Spaces Direct option, as shown below:

S2D 已啟用

在您啟用具有 S2D 的分類式叢集之後,VMM 會執行下列作業:After you enable a disaggregated cluster with S2D, VMM does the following:

  1. 啟用檔案伺服器角色和容錯移轉叢集功能。The File Server role and the Failover Clustering feature is enabled.
  2. 啟用儲存體複本和重複資料刪除。Storage replica and data deduplication is enabled.
  3. 選擇性地驗證並建立叢集。The cluster is optionally validated and created.
  4. 啟用 S2D,並使用您在精靈中提供的相同名稱建立存放裝置陣列。S2D is enabled, and a storage array is created with the same name you provide in the wizard.

步驟 1:佈建 SOFS 叢集Step 1: Provision an SOFS cluster

您可以從 VMM 光纖的伺服器中佈建 SOFS 叢集,或將現有 SOFS 叢集新增至光纖。You can provision an SOFS cluster from servers in the VMM fabric, or add an existing SOFS cluster to the fabric

佈建 SOFS 叢集Provision an SOFS cluster

  1. 按一下 [光纖資源] > [建立] > [檔案伺服器叢集] 。Click Fabric Resources > Create > File Server Cluster.

  2. 在 [一般設定] 中,指定叢集名稱並選取主機群組,然後選取 [直接連結到每個叢集節點的儲存體 (儲存空間直接存取)] 。In General Configuration, specify a cluster name, select a host group, and select Storage attached directly to each cluster node (Storage Spaces Direct).

    SOFS

  3. 在 [資源類型] 中,指定在您要新增到叢集的伺服器上,具有本機系統管理員權限的執行身分帳戶,並指定是否要新增現有 Windows 伺服器或裸機電腦。In Resource Type, specify the RunAs account with local admin permissions on the servers you want to add to the cluster, and specify whether to add existing Windows servers or bare-metal machines.

  4. 在 [叢集節點] 中,定義要新增至叢集的電腦清單。In Cluster Nodes, define a list of computers to add to the cluster.

  5. 確認 [摘要] 中的設定,然後按一下 [完成] 。In Summary, confirm the settings and then click Finish.

如果您想要將其他節點新增至 SOFS 叢集,VMM 會自動探索與節點相關聯的所有磁碟。If you want to add additional nodes to the SOFS cluster, VMM automatically discovers any disks associated with the node. 當您修改存放集區並選取要新增的新磁碟時,VMM 會將那些磁碟提供給使用集區所支援之共用的主機和 VM 使用。When you modify a storage pool and select the new disks to add, VMM makes those disks available to the hosts and VMs that use the share supported by that pool. 深入了解有關將節點新增至 SOFS 的資訊。Learn more about adding nodes to an SOFS.

新增現有的 SOFS 叢集並啟用 S2DAdd an existing SOFS cluster with S2D enabled

  1. 按一下 [光纖] > [新增資源] > [存放裝置] 。Click Fabric > Add Resources > Storage Devices.
  2. 在 [新增資源精靈] 中,選取 [Windows 檔案伺服器] 。In the Add Resource Wizard, select Windows-based File Server.
  3. 在 [探索領域] 中,指定叢集 IP 位址或 FQDN。In Discovery Scope, specify the cluster IP address or FQDN. 提供具有叢集存取權的執行身分帳戶,並指定叢集是否位在不同的網域中。Provide a Run As account with cluster access, and specify if the cluster is in a different domain.
  4. 在 [存放裝置] 中,選取要新增到 VMM 光纖的 SOFS。In Storage Device, select the SOFS to add to the VMM fabric. 新增提供者之後您只應指派一個分類至集區。You should only assign a classification to the pool after you add the provider.
  5. 在 [摘要] 中,檢查設定並完成精靈。In Summary, check the settings and complete the wizard.

步驟 2:管理集區並建立檔案共用Step 2: Manage the pool and create file shares

透過 VMM 佈建和管理 SOFS 叢集之後,即可修改存放集區,並建立存放裝置。After the SOFS cluster is provisioned and managed by VMM, you can modify the storage pool, and create the storage.

  1. 按一下 [光纖] > [存放裝置] > [陣列] 。Click Fabric > Storage > Arrays.
  2. 以滑鼠右鍵按一下叢集 > [管理集區] ,然後選取依預設建立的存放集區。Right-click the cluster > Manage Pool, and select the storage pool that was created by default. 您可以變更預設名稱,並新增分類。You can change the default name, and add a classification
  3. 集區依需要以新名稱出現之後,請按一下 [建立檔案共用] 。After the pool appears with the new name if needed, click Create File Share.
  4. 在 [建立檔案共用精靈] > [一般] 中,指定共用的名稱,然後選取應該從中取得存放裝置的集區。In the Create File Share Wizard > General, specify a name for the share, and select the pool from which storage should be taken.
  5. 在 [容量] 中,指定共用大小和設定。In Capacity, specify the share size and settings.
  6. 在 [摘要] 中,確認設定。In Summary, verify the settings. 建立共用之後,會在存放集區下新增 CSV。After the share is created, a new CSV is added under the storage pool.

步驟 3:在 Hyper-V 中配置存放裝置Step 3: Allocate the storage in Hyper-V

  1. 在 Hyper-V 主機內容 > [存放裝置] 中,指定檔案共用路徑。In the Hyper-V host properties > Storage, specify the file share path.
  2. 現在,您可以建立使用此檔案共用的 VM。Now, you can create VMs that use this file share.

後續步驟Next steps