Skip to main content
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

自動配置FlexGroup 一個功能不全的功能

貢獻者

您可以自動配置FlexGroup 一個流通量。透過自動選取集合體、即可建立及設定一個聲音區。ONTAP FlexGroup根據最佳實務做法來選擇集合體、以獲得最佳效能。

您需要的產品

叢集中的每個節點必須至少有一個Aggregate。

註

若要建立FlexGroup 適用於FabricPool 支援支援的支援功能、ONTAP 每個節點必須至少有一個FabricPool 支援功能的Aggregate。

關於這項工作

在每個節點上、利用最多可用空間選取兩個集合體、以建立此現象。ONTAP FlexGroup如果兩個集合體無法使用、ONTAP 則每個節點選擇一個集合體來建立FlexGroup 這個卷。

步驟
  1. 配置FlexGroup 供應功能:

    如果您使用…​

    使用此命令…​

    0 : 2 或更新版本 ONTAP

    volume create -vserver svm_name -volume fg_vol_name –auto-provision-as flexgroup -size fg_size [–encrypt true] [-qos-policy-group qos_policy_group_name] [-support-tiering true]

    從功能性的9.5開始ONTAP 、您就能建立FlexGroup 適用於FabricPool 功能性的若要在 FabricPool 上自動佈建 FlexGroup 磁碟區、您必須設定 -support-tiering 參數至 true。Volume 保證一律必須設定為 none 適用於 FabricPool 。您也可以指定FlexGroup 針對該卷的分層原則和分層最低冷卻期。

    從ONTAP 功能表支援的9.3開始、您可以指定FlexGroup 一個適用於功能區的處理量上限(QoS Max)、這會限制FlexGroup 功能區使用的效能資源。從ONTAP S得9.4開始、您可以指定處理量層(QoS下限)和適用於FlexGroup 整個過程的調適QoS。

    從 ONTAP 9.2 開始、您可以設定 -encrypt 參數至 true 如果您想要在 FlexGroup 磁碟區上啟用加密。若要建立加密磁碟區、您必須安裝Volume加密授權和金鑰管理程式。

    註 您必須在FlexGroup 建立時啟用對靜止磁碟區的加密。您無法在現有FlexGroup 的支援資料區啟用加密功能。

    ONTAP 9.1

    volume flexgroup deploy -vserver svm_name -size fg_size

    size 參數指定 FlexGroup 磁碟區大小、單位為 KB 、 MB 、 GB 、 TB 或 PB 。

    以下範例說明如何在FlexGroup 功能強大的功能中配置尺寸400 TB的等量磁碟區ONTAP :

    cluster-1::> volume create -vserver vs0 -volume fg –auto-provision-as flexgroup -size 400TB
    Warning: The FlexGroup "fg" will be created with the following number of constituents of size 25TB: 16.
    The constituents will be created on the following aggregates: aggr1,aggr2
    Do you want to continue? {y|n}: y
    [Job 34] Job succeeded: Successful

    以下範例說明如何建立QoS原則群組、以利處理量上限、以及如何將其套用FlexGroup 至某個流通量:

    cluster1::> qos policy-group create -policy group pg-vs1 -vserver vs1 -max-throughput 5000iops
    cluster-1::> volume create -vserver vs0 -volume fg –auto-provision-as flexgroup -size 400TB -qos-policy-group pg-vs1
    Warning: The FlexGroup "fg" will be created with the following number of constituents of size 25TB: 16.
    The constituents will be created on the following aggregates: aggr1,aggr2
    Do you want to continue? {y|n}: y
    [Job 34] Job succeeded: Successful

    以下範例說明如何將FlexGroup 尺寸400 TB的S25 Volume配置到FabricPool 位在畫面上的整個畫面ONTAP 上、以供參考。

    cluster-1::> volume create -vserver vs0 -volume fg –auto-provision-as flexgroup -size 400TB -support-tiering true -tiering-policy auto
    Warning: The FlexGroup "fg" will be created with the following number of constituents of size 25TB: 16.
    The constituents will be created on the following aggregates: aggr1,aggr2
    Do you want to continue? {y|n}: y
    [Job 34] Job succeeded: Successful

    建立此解決方案時、叢集中的每個節點都會有八個組成要素。FlexGroup這些成員會平均分散在每個節點上兩個最大的集合體之間。

    根據預設、 FlexGroup Volume 是使用建立的 volume 空間保證設定、 AFF 系統除外。對於 AFF 系統、依預設會使用建立 FlexGroup Volume none 空間保證。

  2. 使用連接路徑掛載 FlexGroup Volume : volume mount -vserver vserver_name -volume vol_name -junction-path junction_path

    cluster1::> volume mount -vserver vs0 -volume fg2 -junction-path /fg2
完成後

您應該從FlexGroup 用戶端掛載此功能。

如果您執行ONTAP 的是32位或更早版本的版本、而且儲存虛擬機器(SVM)同時設定了NFSv3和NFSv4、FlexGroup 則從用戶端安裝此支援卷可能會失敗。在這種情況FlexGroup 下、您必須在從用戶端掛載完這個版本時、明確指定NFS版本。

# mount -t nfs -o vers=3 192.53.19.64:/fg2 /mnt/fg2
# ls /mnt/fg2
file1  file2