設定 VMM 存放光纖Set up the VMM storage 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) 管理實體和虛擬化基礎結構。You can use System Center - Virtual Machine Manager (VMM) to manage your physical and virtualized infrastructure. 在管理期間,VMM 可管理您指派給虛擬主機和叢集以及 VM 的存放裝置。As part of that management VMM can manage storage that you assign to virtual hosts and clusters, and VMs.

  • 本機和遠端:VMM 可辨識本機和遠端存放裝置。Local and remote: VMM recognizes both local and remote storage. 本機存放裝置是位於 VMM 伺服器上或直接連接至伺服器的存放裝置,通常是透過內建 RAID 或 SAS JBOD 連線所連線之伺服器上的磁碟機。Local is storage located on the VMM server or directly attached to it, commonly a disk drive on the server that's connected with inbuilt RAID or SAS JBOD connectivity. 這種類型的專用主機存放裝置顯然不會被共用,而且不會提供恢復或高可用性功能。Obviously this type of dedicated host storage isn't shared, and doesn't provide resilience or high availability.
  • 區塊和檔案型:VMM 可管理區塊存放裝置和檔案型存放裝置。Block and file-based: VMM can manage block storage devices and file-based storage.

區塊存放裝置Block storage

功能Feature 詳細資料Details
連線Connection VMM 可管理使用光纖通道、序列連結 SCSI (SAS) 或 iSCSI (Internet SCSI) 連線的區塊存放裝置。VMM can manage block storage devices that connect using Fibre Channel, Serial Attached SCSI (SAS), or iSCSI (Internet SCSI).

VMM 可探索及管理具有靜態、動態或手動目標的 iSCSI 陣列。VMM can discover and manage iSCSI arrays with static, dynamic, or manual targets.

您可以安裝 Microsoft iSCSI 目標伺服器的提供者,以使用此伺服器作為存放裝置。You can use a Microsoft iSCSI target server as a storage device by installing its provider.
通訊協定Protocols VMM 提供使用 SMI-S 和 SMP 通訊協定的存放裝置支援。VMM provides support for storage devices that use the SMI-S and and SMP protocols.

VMM 使用 Window 存放管理 API (SMAPI) 來管理符合 SMI-S 或 SMP 規格的區塊型存放裝置。VMM uses Window Storage Management API (SMAPI) to manage block-based storage devices compliant with SMI-S or SMP specifications.

VMM 結合 SMAPI 與 SMP,以管理直接連接的存放裝置和外部存放裝置陣列。VMM combines SMAPI and SMP to manage directly attached storage and external storage arrays.

VMM 結合 SMAPI 與存放管理服務 (作為 SMI-S 用戶端),以管理 SMI-S 存放裝置。VMM combines SMAPI and the Storage Management service (which functions as an SMI-S client) to manage SMI-S storage devices.

具有 SMI-S 標準的存放裝置廠商會針對其裝置建立 SMI-S 提供者。Vendors of storage devices with the SMI-S standard create SMI-S provides for their devices.
虛擬化主機Virtualization hosts VMM 中設定的存放裝置只能供 Hyper-V 主機和叢集使用。Storage configured in VMM can only be used for Hyper-V hosts and clusters.
支援的存放裝置陣列Supported storage arrays VMM 支援特定存放裝置陣列。Specific storage arrays are supported in VMM. 您可以使用其他陣列,但不保證您將能夠在 VMM 中管理所有儲存工作。You can use other arrays, but there's no guarantee that you'll be able to manage all storage tasks in VMM. 建議您洽詢存放裝置提供者,以判斷 VMM 支援。We recommend that you chat to your storage provider to determine VMM support.
虛擬光纖通道Virtual fibre channel 如果您想要使用虛擬光纖通道讓 VM 直接存取光纖通道存放裝置,您可以在這些設定中管理此存放裝置與 VMM。If you want to use virtual fibre channel to give VMs direct access to fibre channel storage, you can manage this storage with VMM in these configurations.

單一存放裝置陣列連線至單一光纖 (由單一或多個交換器組成),且該光纖僅連線至單一 vSAN。Single storage array connected to a single fabric (comprised of single or multiple switches) connected to a single vSAN.

單一存放裝置陣列連接多個網狀架構 (每個網狀架構由單一或多個交換器組成),且這些網狀架構僅連接單一的 vSAN。Single storage array connected to multiple fabrics (comprised of single or multiple switches per fabric) connected to a single vSAN.

多個存放裝置陣列連接單一網狀架構 (由單一或多個交換器組成),且該網狀架構僅連接單一的 vSAN。Multiple storage arrays connected to a single fabric (comprised of single or multiple switches) connected to a single vSAN.

多個存放裝置陣列連接多個網狀架構 (每個網狀架構由單一或多個交換器組成),且這些網狀架構連接多個 vSAN。Multiple storage arrays connected to multiple fabrics (comprised of single or multiple switches per fabric) connected to multiple vSANs. 此組態提供連接存放裝置陣列的雙重備援路徑。This configuration provides dual-redundant paths to storage arrays.

vSAN 只能包含單一光纖中的 HBA。A vSAN can only include HBAs from a single fabric.

設定區塊存放裝置Set up block storage

在 VMM 光纖中設定區塊型存放裝置的一般程序如下所示:The general process for setting up block-based storage in the VMM fabric is as follows:

  1. 建立存放裝置分類:您可以建立存放裝置分類,以根據共用特性 (通常是效能和可用性) 來分組存放裝置。Create storage classifications: You create storage classifications to group storage based on shared characteristics, often performance and availability. 您可以將指派特定分類的存放裝置指派給 VMM 主機群組,而不是指派特定存放裝置,以便主機群組可以使用已指派分類的任何可用存放裝置。Then instead of assigning specific storage devices to them, you assign storage to VMM host groups you assign a specific classification so that host groups can use any available storage device with the assigned classification. 您不需要在新增存放裝置之前建立分類。You don't have to create classifications before you add storage devices. 您可以在存放裝置探索期間加以建立。You can create them during storage device discovery.
  2. 新增存放裝置:您可以新增存放裝置作為 VMM 網狀架構中的資源。Add the storage: You add the storage as a resource in the VMM fabric. 當您新增裝置時,VMM 會自動探索裝置上任何現有的存放集區和邏輯單元。When you add the device VMM automatically discovers any existing storage pools and logical units on the device. 您可以在新增存放裝置時將它分類。You can classify storage as you add it.
  3. 設定存放裝置並配置容量:當存放裝置陣列納入 VMM 管理之後,您就可以進行設定。Configure storage and allocate capacity: After a storage array is managed by VMM you can configure settings. 您可以指定要在裝置上使用快速佈建的方式 (快照集或複製)。You can specify how you want to use rapid provisioning on the device (snapshots or cloning). 您可以新增並修改存放集區和集區中的存放裝置邏輯單元 (LUN)。You can add and modify storage pools and storage logical units (LUNs) in the pools. 您可以將容量 (整個存放集區或特定 LUN) 配置給一或多個主機群組。You can allocate capacity (either entire storage pools) or specific LUNs to one or more host groups.
  4. 使用存放裝置:將存放裝置配置給主機群組之後,您可以使用特定主機或叢集的存放裝置。Use the storage: After storage is allocated to a host group you can use the storage for a specific host or cluster. 當您將主機或叢集新增至主機群組時,主機和叢集可以使用與群組相關聯的存放裝置。When you add a host or cluster to a host group the host and cluster can use storage associated with the group.

檔案存放裝置File storage

VMM 可以管理支援 SMB 3.0 通訊協定的檔案存放裝置。VMM can manage file storage that supports the SMB 3.0 protocol. SMB 受到執行 Windows Server 2012 或更高版本電腦上之檔案共用的支援,也受到網路連接儲存裝置 (NAS) 之協力廠商的支援。SMB is supported by file shares on computers running Windows Server 2012 or higher, and by third-party vendors of network-attached storage (NAS) devices.

  • Windows 檔案伺服器:您可以新增遠端檔案伺服器作為存放裝置,也可以調整檔案型存放裝置之向外延展檔案伺服器 (SOFS) 的大小。Windows file server: You can add a remote file server as a storage device or you can scale file-based storage Scale-Out File Server (SOFS).
  • 向外延展檔案伺服器 (SOFS) :SOFS 提供檔案伺服器叢集,其中的存放裝置可在叢集節點之間共用。Scaled-out file server (SOFS): SOFS provides a file server cluster in which storage is shared between the cluster nodes. SOFS 的存放裝置可能是 SAN (SAS、iSCSI、光纖通道),也可能與儲存空間直接存取整合。Storage for SOFS could be a SAN (SAS, iSCSI, Fibre Channel) or could integrate with Storage Spaces Direct.
  • 儲存空間直接存取 (S2D) :S2D 是新一代 Microsoft 儲存空間,藉由將磁碟分組成存放集區,並從集區容量建立虛擬磁碟 (儲存空間),將儲存空間虛擬化。Storage Spaces Direct (S2D): S2D is the next evolution of Microsoft Storage Spaces, which virtualizes storage by grouping disks into storage pools and creating virtual disks (storage spaces) from the pool capacity. 在 S2D 中,您可以使用本機存放裝置來建立高可用性存放裝置。In S2D you can build highly available storage using local storage. 如此就不需要使用遠端 SAN 存放裝置,並可使用先前無法使用的存放裝置,例如 SATA SSD 或 NVMe 快閃記憶體。This removes the need for remote SAN storage devices and enables use the storage devices that weren't previously available, such as SATA SSD or NVMe flash. 深入了解Learn more.
  • 存放裝置複寫:VMM 支援 Windows 儲存體複本,可保護主要儲存磁碟區中的資料,並將其複寫至次要磁碟區。Storage replication: VMM supports Windows Storage Replica for protecting data in a primary storage volume that replicating it to a secondary volume. 深入了解Learn more.
  • 存放裝置資源:您可以設定存放裝置服務品質 (QoS) 原則,來控制 SOFS 或 VM 上的共用存放裝置存取。Storage resources: You can control access to shared storage on an SOFS or VM by setting storage quality-of-service (QoS) policies. 這些原則會設定存放裝置資源的頻寬上限和下限。These policies set maximum and minimum bandwidth for storage resources.

設定檔案存放裝置Set up file storage

在 VMM 光纖中設定檔案存放裝置的一般程序如下所示:The general process for setting up file storage in the VMM fabric is as follows:

  1. 新增並探索存放裝置:您可以新增檔案伺服器作為 VMM 網狀架構中的資源。Add and discover storage: You add the file server as a resource in the VMM fabric. 當您新增裝置時,VMM 會自動探索裝置上的任何檔案共用。When you add the device VMM automatically discovers any file shares on the device. 您可以在新增存放裝置時將它分類。You can classify storage as you add it.
  2. 建立存放裝置分類:您可以建立存放裝置分類,以根據共用特性 (通常是效能和可用性) 來分組檔案共用。Create storage classifications: You create storage classifications to group file shares based on shared characteristics, often performance and availability. 您可以將特定分類指派給 VMM 主機群組,而不是指派特定存放裝置,以便主機群組可以使用已指派分類的任何可用存放裝置。Then instead of assigning specific storage devices to VMM host groups you assign a specific classification so that host groups can use any available storage with the assigned classification. 您不需要在新增存放裝置之前建立分類。You don't have to create classifications before you add storage devices. 您可以在存放裝置探索期間加以建立。You can create them during storage device discovery.
  3. 佈建存放裝置:當檔案伺服器納入 VMM 管理之後,您就可以進行設定。Provision storage: After a file server is managed by VMM you can configure settings. 例如,您可以修改 SOFS 上的存放集區,或建立檔案共用。For example you can modify storage pools on an SOFS or create a file share.
  4. 配置容量:設定存放裝置之後,您可以從陣列配置容量。Allocate capacity: After you have the storage set up you can allocate capacity from the array. 您可以將檔案共用指派給一或多個主機群組,以配置容量。You allocate capacity by assigning file shares to one or more host groups.
  5. 使用存放裝置:將存放裝置配置給主機群組之後,您可以使用特定主機或叢集的存放裝置。Use the storage: After storage is allocated to a host group you can use the storage for a specific host or cluster. 當您將主機或叢集新增至主機群組時,主機和叢集可以使用與群組相關聯的存放裝置。When you add a host or cluster to a host group the host and cluster can use storage associated with the group.
  6. 解除委任存放裝置:VMM 可以將它所管理的存放裝置解除委任。Decommission storage: VMM can decommission the storage it manages.

深入了解有關在 VMM 中設定檔案存放裝置的資訊。Learn more about setting up file storage in VMM.

存放裝置分類Storage classifications

存放裝置分類在特定存放裝置之上提供一個抽象層。Storage classifications provide a layer of abstraction over specific storage devices. 您可以根據存放裝置的特性,將存放裝置群組在一起。You group storage devices together based on their characteristics. 例如,您可以建立:For example you could create:

  • Bldg1Gold:一組將提供給建築物 1 中使用者使用的固態硬碟 (SSD)。Bldg1Gold: A set of solid-state drives (SSDs) that you will make available to users in building 1.
  • Bldg1Silver:一組將提供給建築物 1 中使用者使用的 SSD 和硬碟 (HDD)。Bldg1Silver: A set of SSDs and hard disk drives (HDDs) that you will make available to users in building 1.
  • Bldg2Gold:一組將提供給建築物 2 中使用者使用的 SSD。Bldg2Gold: A set of SSDs that you will make available to users in building 2.
  • Bldg2Silver:一組將提供給建築物 2 中使用者使用的 SSD 和 HDD。Bldg2Silver: A set of SSDs and HDDs that you will make available to users in building 2.

建立分類之後,您可以將其指派給包含區塊或檔案型存放裝置的存放集區。After you've created classifications you assign them to storage pools that include block or file-based storage. 您可以視需要調整集區內檔案共用的分類設定。You can tweak classification settings for file shares within pools as required.

監視儲存體的健康情況Monitor storage health

此功能可協助您監視 VMM 網狀架構中存放集區、LUN 及實體磁碟的健康情況和操作狀態。This functionality helps you to monitor the health and operational status of a storage pool, LUNs and physical disks in the VMM fabric.

您可以從 VMM 主控台的 [網狀架構] 頁面中,監視儲存體的健康情況。You can monitor storage health from VMM console, Fabric page.

請執行下列步驟:Follow these steps:

  1. 移至 VMM 主控台、[網狀架構] > [儲存體] > [分類和集區] 。Go to VMM console, Fabric > Storage > Classification and Pools .

    健全狀態資料行會顯示存放集區、LUN 和實體磁碟的狀態。The Health Status column displays the status of the storage pool, LUN and Physical disks.

  2. 若要檢查操作狀態,請選取儲存體項目。To check the operational status, select a storage item.

    選取的儲存體項目資訊窗格會顯示操作狀態,如下列範例所示:The information pane for the selected storage item displays the operational status as shown in the sample below:

    儲存體健康情況監視

後續步驟Next steps

在 VMM 光纖中設定存放裝置分類Set up storage classifications in the VMM fabric