Skip to main content
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。

将现有对象存储替换为ONTAP FabricPool镜像

贡献者

您可以使用 FabricPool 镜像技术将一个对象存储替换为另一个对象存储。新对象存储不必使用与原始对象存储相同的云提供程序。

关于此任务

您可以将原始对象存储替换为使用其他云提供商的对象存储。例如,原始对象存储可能使用 AWS 作为云提供程序,但您可以将其替换为使用 Azure 作为云提供程序的对象存储,反之亦然。但是,新对象存储必须保留与原始对象相同的对象大小。

步骤
  1. 通过使用向现有FabricPool添加新对象存储来创建FabricPool镜像 storage aggregate object-store mirror 命令:

    cluster1::> storage aggregate object-store mirror -aggregate aggr1 -object-store-name my-AZURE-store
  2. 使用监控镜像重新同步状态 storage aggregate object-store show-resync-status 命令:

    cluster1::> storage aggregate object-store show-resync-status -aggregate aggr1
                                                      Complete
          Aggregate    Primary          Mirror        Percentage
          ---------    -----------      ----------    ----------
          aggr1        my-AWS-store     my-AZURE-store     40%
  3. 使用验证镜像是否同步 storage aggregate object-store> show -fields mirror-type,is-mirror-degraded 命令:

    cluster1::> storage aggregate object-store show -fields mirror-type,is-mirror-degraded
    aggregate      object-store-name mirror-type     is-mirror-degraded
    -------------- ----------------- ------------- ------------------
    aggr1          my-AWS-store        primary           -
                   my-AZURE-store      mirror          false
  4. 使用将主对象存储与镜像对象存储交换 storage aggregate object-store modify 命令:

    cluster1::> storage aggregate object-store modify -aggregate aggr1 -object-store-name my-AZURE-store -mirror-type primary
  5. 使用显示有关FabricPool镜像的详细信息 storage aggregate object-store show -fields mirror-type,is-mirror-degraded 命令:

    此示例显示有关 FabricPool 镜像的信息,包括镜像是否已降级(不同步)。

    cluster1::> storage aggregate object-store show -fields mirror-type, is-mirror-degraded
    aggregate      object-store-name mirror-type     is-mirror-degraded
    -------------- ----------------- ------------- ------------------
    aggr1          my-AZURE-store      primary           -
                   my-AWS-store        mirror          false
  6. 使用删除FabricPool镜像 storage aggregate object-store unmirror 命令:

    cluster1::> storage aggregate object-store unmirror -aggregate aggr1
  7. 使用验证FabricPool是否恢复为单个对象存储配置 storage aggregate object-store show -fields mirror-type,is-mirror-degraded 命令:

    cluster1::> storage aggregate object-store show -fields mirror-type,is-mirror-degraded
    aggregate      object-store-name mirror-type     is-mirror-degraded
    -------------- ----------------- ------------- ------------------
    aggr1          my-AZURE-store      primary           -