Skip to main content
A newer release of this product is available.

Example 2: ILM rules and policy for EC object size filtering

Contributors netapp-madkat

You can use the following example rules and policy as starting points to define an ILM policy that filters by object size to meet recommended EC requirements.

Caution The following ILM rules and policy are only examples. There are many ways to configure ILM rules. Before activating a new policy, simulate the proposed policy to confirm it will work as intended to protect content from loss.

ILM rule 1 for example 2: Use EC for objects greater than 1 MB

This example ILM rule erasure codes objects that are greater than 1 MB.

Important Erasure coding is best suited for objects greater than 1 MB. Do not use erasure coding for objects smaller than 200 KB to avoid the overhead of managing very small erasure-coded fragments.
Rule definition Example value

Rule Name

EC only objects > 1 MB

Reference Time

Ingest Time

Advanced Filtering for Object Size

Object Size (MB) greater than 1

Content Placement

Create a 2+1 erasure-coded copy using three sites

ILM rule 1 for example 2: Use EC for all objects greater than 1 MB

ILM rule 2 for example 2: Two replicated copies

This example ILM rule creates two replicated copies and does not filter by object size. This rule is the default rule for the policy. Because the first rule filters out all objects greater than 1 MB, this rule only applies to objects that are 1 MB or smaller.

Rule definition Example value

Rule Name

Two Replicated Copies

Reference Time

Ingest Time

Advanced Filtering for Object Size

None

Content Placement

Create two replicated copies and save them at two data centers, DC1 and DC2

ILM policy for example 2: Use EC for objects greater than 1 MB

This example ILM policy includes two ILM rules:

  • The first rule erasure codes all objects that are greater than 1 MB.

  • The second (default) ILM rule creates two replicated copies. Because objects greater than 1 MB have been filtered out by rule 1, rule 2 only applies to objects that are 1 MB or smaller.

    ILM policy for example 2: Use EC for objects greater than 1 MB