Skip to main content

Replace a FabricPool mirror on a MetroCluster configuration

Contributors netapp-aherbin

If one of the object stores in a FabricPool mirror is destroyed or becomes permanently unavailable on a MetroCluster configuration, you can make the object store the mirror if it is not the mirror already, remove the damaged object store from FabricPool mirror, and then add a new object store mirror to the FabricPool.

Steps
  1. If the damaged object store is not already the mirror, make the object store the mirror with the storage aggregate object-store modify command.

    storage aggregate object-store modify -aggregate -aggregate fp_aggr1_A01 -name mcc1_ostore1 -mirror-type mirror
  2. Remove the object store mirror from the FabricPool by using the storage aggregate object-store unmirror command.

    storage aggregate object-store unmirror -aggregate <aggregate name> -name mcc1_ostore1
  3. You can force tiering to resume on the primary data store after you remove the mirror data store by using the storage aggregate object-store modify with the -force-tiering-on-metrocluster true option.

    The absence of a mirror interferes with the replication requirements of a MetroCluster configuration.

    storage aggregate object-store modify -aggregate <aggregate name> -name mcc1_ostore1 -force-tiering-on-metrocluster true
  4. Create a replacement object store by using the storage aggregate object-store config create command.

    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>
  5. Add the object store mirror to the FabricPool mirror using the storage aggregate object-store mirror command.

    storage aggregate object-store mirror -aggregate aggr1 -name mcc1_ostore3-mc
  6. Display the object store information using the storage aggregate object-store show command.

    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
  7. Monitor the mirror resync status using the storage aggregate object-store show-resync-status command.

    storage aggregate object-store show-resync-status -aggregate aggr1
                                                      Complete
          Aggregate    Primary        Mirror          Percentage
          ---------    -----------    ----------      ----------
          aggr1        mcc1_ostore1-mc mcc1_ostore3-mc   40%