mc ilm tier info

The mc ilm tier info command outputs statistics about a tier or all tiers for a deployment.

Syntax

Parameters

The command accepts the following arguments:

TARGET

Required

The alias of a configured AIStor deployment on which the desired tier exists.

TIER_NAME

Optional

The name of an existing remote tier to display.

You must specify the tier in all-caps, e.g. WARM_TIER.

If not specified, AIStor lists statistics for all existing tiers on the deployment.

Global Flags

This command supports any of the global flags.

Example

Display the Statistics for an Existing Tier

The following example displays the statistics of the tier WARM-TIER on the myminio deployment.

mc ilm tier info myminio WARM-TIER

Display the Statistics for all Existing Tiers on a Deployment

The following example displays the statistics of all existing tiers on the myminio deployment.

mc ilm tier info myminio

Behavior

S3 Compatibility

The mc commandline tool is built for compatibility with the AWS S3 API and is tested with AIStor and AWS S3 for expected functionality and behavior.

AIStor provides no guarantees for other S3-compatible services, As their S3 API implementation is unknown and therefore unsupported.

While mc commands may work as documented, any such usage is at your own risk.

Required Permissions

AIStor requires the following permissions scoped to the bucket or buckets for which you are creating lifecycle management rules.

AIStor also requires the following administrative permissions on the cluster in which you are creating remote tiers for object transition lifecycle management rules:

For example, the following policy provides permission for configuring object transition lifecycle management rules on any bucket in the cluster:

{
   "Version": "2012-10-17",
   "Statement": [
      {
            "Action": [
               "admin:SetTier",
               "admin:ListTier"
            ],
            "Effect": "Allow",
            "Sid": "EnableRemoteTierManagement"
      },
      {
            "Action": [
               "s3:PutLifecycleConfiguration",
               "s3:GetLifecycleConfiguration"
            ],
            "Resource": [
                        "arn:aws:s3:::*"
            ],
            "Effect": "Allow",
            "Sid": "EnableLifecycleManagementRules"
      }
   ]
}