This page provides details on managing auto-tiering.
After enabling auto-tiering on a volume, you can view the tiering statistics or pause tiering.
Look up tiering statistics
The Google Cloud console and Google Cloud CLI provide access to the hot and cold tier sizes of a volume. While Cloud Monitoring provides per volume and per storage pool metrics on capacity stored in hot and cold tier and also traffic statistics between the hot and cold tier.
Use the following instructions to look up tiering statistics using the Google Cloud console or Google Cloud CLI.
Console
Go to the NetApp Volumes page in the Google Cloud console.
Click the name of the volume.
If tiering is enabled on the volume, an Auto-tiering tab is displayed. Select the tab.
Review the Current hot tier data and Current cold tier data fields.
gcloud
Look up tiering statistics:
gcloud netapp volumes describe VOLUME_NAME \ --project=PROJECT_ID \ --location=LOCATION \ --format="table(capacityGib,coldTierSizeGib)"
Replace the following information:
VOLUME_NAME
: the name of the volume.PROJECT_ID
: the name of the project the volume is in.LOCATION
: the location of the volume.
The size of data in the cold tier is the result of coldTierSizeGib
. The
size of the hot tier is capacityGib
minus coldTierSizeGib
.
For more information on additional optional flags, see Google Cloud SDK documentation on volumes.
Edit auto-tiering parameters
Use the following instructions to edit the tiering parameters of a volume using the Google Cloud console or Google Cloud CLI.
Console
Go to the NetApp Volumes page in the Google Cloud console.
Click the name of the volume.
If tiering is enabled on the volume, an Auto-tiering tab is shown. Select the tab.
If tiering is enabled, click Pause auto-tiering to pause it.
If tiering is paused, click Resume auto-tiering to resume it.
To change the cooling period, click Edit cooling threshold and enter a new value. Click Save.
gcloud
Edit the auto-tiering parameters using the following command:
gcloud netapp volumes update VOLUME_NAME \ --project=PROJECT_ID \ --location=LOCATION \ --tiering-policy=tier-action=TIER_ACTION,cooling-threshold-days=COOLING_THRESHOLD_DAYS
Replace the following information:
VOLUME_NAME
: the name of the volume.PROJECT_ID
: the name of the project the volume is in.LOCATION
: the location of the volume.
For more information on additional optional flags, see Google Cloud SDK documentation on volumes.
What's next
Manage customer-managed encryption key policies.