Managing object storage used for data tiering

Contributors netapp-tonacki

After you’ve configured your on-prem ONTAP clusters to tier data to a particular object storage, you can perform additional object storage tasks. You can add new object storage, mirror your tiered data to a secondary object storage, swap the primary and mirror object storage, remove a mirrored object store from an aggregate, and more.

Viewing object stores configured for a cluster

You might want to see all the object stores that have been configured for your cluster and to which aggregates they are attached. Cloud Tiering provides this information for each cluster.

Steps
  1. From the Clusters Dashboard, click the menu icon for a cluster and select Object Store Info.

  2. Review details about the object stores.

    This example shows both an Amazon S3 and Azure Blob object store attached to different aggregates on a cluster.

    A screenshot that shows the object storage information, which details total used capacity, aggregate attached to the object store, name of the object store, and more information.

Adding a new object store

You can add a new object store that will be available for aggregates in your cluster. After you create it, you can attach it to an aggregate.

Steps
  1. From the Clusters Dashboard, click the menu icon for a cluster and select Object Store Info.

  2. From the Object Store Information page, click Create New Object Store.

    A screenshot showing the Create New Object Store button to create a new object store.

    The object store wizard starts. The example below shows how to create an object store in Amazon S3.

  3. Define Object Storage Name: Enter a name for this object storage. It must be unique from any other object storage you may be using with aggregates on this cluster.

  4. Select Provider: Select the provider, for example Amazon Web Services, and click Continue.

  5. Complete the steps on the Create Object Storage pages:

    1. S3 Bucket: Add a new S3 bucket or select an existing S3 bucket that starts with the prefix fabric-pool. Then enter the AWS Account ID that provides access to the bucket, select the bucket region, and click Continue.

      The fabric-pool prefix is required because the IAM policy for the Connector enables the instance to perform S3 actions on buckets named with that exact prefix. For example, you could name the S3 bucket fabric-pool-AFF1, where AFF1 is the name of the cluster.

    2. Storage Class Life Cycle: Cloud Tiering manages the life cycle transitions of your tiered data. Data starts in the Standard class, but you can create a rule to move the data to another class after a certain number of days.

      Select the S3 storage class that you want to transition the tiered data to and the number of days before the data will be moved, and click Continue. For example, the screenshot below shows that tiered data is moved from the Standard class to the Standard-IA class after 45 days in object storage.

      If you choose Keep data in this storage class, then the data remains in the Standard storage class and no rules are applied. See supported storage classes.

      A screenshot showing how to select another storage class where data is moved after a certain number of days.

      Note that the life cycle rule is applied to all objects in the selected bucket.

    3. Credentials: Enter the access key ID and secret key for an IAM user who has the required S3 permissions, and click Continue.

      The IAM user must be in the same AWS account as the bucket that you selected or created on the S3 Bucket page. See the required permissions in the section about activating tiering.

    4. Cluster Network: Select the IPspace that ONTAP should use to connect to object storage, and click Continue.

      Selecting the correct IPspace ensures that Cloud Tiering can set up a connection from ONTAP to your cloud provider’s object storage.

The object store is created.

Now you can attach the object store to an aggregate in your cluster.

Attaching a second object store to an aggregate for mirroring

You can attach a second object store to an aggregate to create a FabricPool mirror to synchronously tier data to two object stores. You must have one object store already attached to the aggregate. Learn more about FabricPool mirrors.

When using a MetroCluster configuration, it’s a best practice to use object stores in the public cloud that are in different availability zones. Learn more about MetroCluster requirements in the ONTAP documentation.

Note that when using StorageGRID as your object store in a MetroCluster configuration, both ONTAP systems can perform FabricPool tiering to a single StorageGRID system. Each ONTAP system must tier data to different buckets.

Steps
  1. From the Clusters Dashboard, click Advanced Setup for the selected cluster.

    A screenshot showing the Advanced Setup button for a cluster.

  2. From the Advanced Setup page, drag the object store you want to use to the location for the mirror object store.

    A screenshot showing how to drag a second object store to an aggregate to create a tiering mirror.

  3. In the Attach Object Store dialog, click Attach and the second object store is attached to the aggregate.

    A screenshot showing a second object store attached to an aggregate.

The Mirror status will appear as "Sync in progress" while the 2 object stores are synchronizing. The status will change to "Synchronized" when synchronization is complete.

Swapping the primary and mirror object store

You can swap the primary and mirror object store for an aggregate. The object store mirror becomes the primary, and the original primary becomes the mirror.

Steps
  1. From the Clusters Dashboard, click Advanced Setup for the selected cluster.

    A screenshot showing the Advanced Setup button for a cluster.

  2. From the Advanced Setup page, click the menu icon for the aggregate and select Swap Destinations.

    A screenshot showing the Swap Destination option for an aggregate.

  3. Approve the action in the dialog box and the primary and mirror objects stores are swapped.

Removing a mirror object store from an aggregate

You can remove a FabricPool mirror if you no longer need to replicate to an additional object store.

Steps
  1. From the Clusters Dashboard, click Advanced Setup for the selected cluster.

    A screenshot showing the Advanced Setup button for a cluster.

  2. From the Advanced Setup page, click the menu icon for the aggregate and select Unmirror Object Store.

    A screenshot showing the Unmirror Object Store option for an aggregate.

The mirror object store is removed from the aggregate and the tiered data is no longer replicated.

Note When removing the mirror object store from a MetroCluster configuration you’ll be prompted whether you want to remove the primary object store as well. You can choose to keep the primary object store attached to the aggregate, or to remove it.

Migrating your tiered data to a different cloud provider

Cloud Tiering enables you to easily migrate your tiered data to a different cloud provider. For example, if you want to move from Amazon S3 to Azure Blob, you can follow the steps listed above in this order:

  1. Add an Azure Blob object store.

  2. Attach this new object store as the mirror to the existing aggregate.

  3. Swap the primary and mirror object stores.

  4. Unmirror the Amazon S3 object store.