简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
更换ONTAP MetroCluster配置中的FabricPool镜像
贡献者
建议更改
如果 FabricPool 镜像中的某个对象存储在 MetroCluster 配置上被销毁或永久不可用,则可以使该对象存储镜像(如果该对象尚未存储镜像),并从 FabricPool 镜像中删除损坏的对象存储。 然后向 FabricPool 添加新的对象存储镜像。
步骤
-
如果损坏的对象存储尚不是镜像、请使用使该对象存储镜像
storage aggregate object-store modify
命令:storage aggregate object-store modify -aggregate -aggregate fp_aggr1_A01 -name mcc1_ostore1 -mirror-type mirror
-
使用从FabricPool中删除对象存储镜像
storage aggregate object-store unmirror
命令:storage aggregate object-store unmirror -aggregate <aggregate name> -name mcc1_ostore1
-
在使用删除镜像数据存储之后、您可以强制在主数据存储上恢复分层
storage aggregate object-store modify
使用-force-tiering-on-metrocluster true
选项缺少镜像会影响 MetroCluster 配置的复制要求。
storage aggregate object-store modify -aggregate <aggregate name> -name mcc1_ostore1 -force-tiering-on-metrocluster true
-
使用创建替代对象存储
storage aggregate object-store config create
命令:storage aggregate object-store config create -object-store-name mcc1_ostore3 -cluster clusterA -provider-type SGWS -server <SGWS-server-1> -container-name <SGWS-bucket-1> -access-key <key> -secret-password <password> -encrypt <true|false> -provider <provider-type> -is-ssl-enabled <true|false> ipspace <IPSpace>
-
使用将对象存储镜像添加到FabricPool镜像
storage aggregate object-store mirror
命令:storage aggregate object-store mirror -aggregate aggr1 -name mcc1_ostore3-mc
-
使用显示对象存储信息
storage aggregate object-store show
命令:storage aggregate object-store show -fields mirror-type,is-mirror-degraded
aggregate object-store-name mirror-type is-mirror-degraded -------------- ----------------- ------------- ------------------ aggr1 mcc1_ostore1-mc primary - mcc1_ostore3-mc mirror true
-
使用监控镜像重新同步状态
storage aggregate object-store show-resync-status
命令:storage aggregate object-store show-resync-status -aggregate aggr1
Complete Aggregate Primary Mirror Percentage --------- ----------- ---------- ---------- aggr1 mcc1_ostore1-mc mcc1_ostore3-mc 40%