Creating a default ILM rule

Every ILM policy must have a default rule that does not filter objects. Before creating an ILM policy, you must create at least one ILM rule that can be used as the default rule for the policy.

Before you begin

About this task

The default rule is the last rule to be evaluated in an ILM policy, so it cannot use any filters. The placement instructions for the default rule are applied to any objects that are not matched by another rule in the policy.

In this example policy, the first rule applies only to objects belonging to Tenant A. The default rule, which is last, applies to objects belonging to all other tenant accounts.


ILM Policies Page Default Rule

When you create the default rule, keep these requirements in mind:

Procedure

  1. Select ILM > Rules.
    The ILM Rules page appears.
  2. Select Create.
    Step 1 (Define Basics) of the Create ILM Rule wizard appears.
  3. Enter a unique name for the rule in the Name field.
  4. Optionally, enter a short description for the rule in the Description field.
  5. Leave the Tenant Accounts field blank.
    The default rule must apply to all tenant accounts.
  6. Leave the Bucket Name field blank.
    The default rule must apply to all S3 buckets and Swift containers.
  7. Do not select Advanced filtering
    The default rule cannot specify any filters.
  8. Select Next.
    Step 2 (Define Placements) appears.
  9. Specify the placement instructions for the default rule.
    • The default rule should retain objects forever. A warning appears when you activate a new policy if the default rule does not retain objects forever. You must confirm this is the behavior you expect.
    • The default rule should create replicated copies.
      Attention: Do not use a rule that creates erasure-coded copies as the default rule for a policy. Erasure-coding rules should include the Object Size (MB) greater than 0.2 advanced filter to prevent smaller objects from being erasure coded.
    • If you are using (or you plan to enable) the global S3 Object Lock setting, the default rule must be compliant:
      • It must create at least two replicated object copies or one erasure-coded copy.
      • These copies must exist on Storage Nodes for the entire duration of each line in the placement instructions.
      • Object copies cannot be saved in a Cloud Storage Pool.
      • Object copies cannot be saved on Archive Nodes.
      • At least one line of the placement instructions must start at day 0, using Ingest Time as the reference time.
      • At least one line of the placement instructions must be forever.
  10. Click Refresh to update the Retention Diagram and to confirm your placement instructions.
  11. Click Next.
    Step 3 (Define Ingest Behavior) appears.
  12. Select the data protection option to use when objects are ingested, and select Save.