beautypg.com

Changing the tiering configuration with the cli, Writing tiering rules, Rule attributes – HP StoreAll Storage User Manual

Page 236: Stopping a migration task, Moving a segment to another tier, Removing a segment from a tier, Deleting a tier, Deleting a tiering rule

background image

Avg Mb Per Sec : 16
Number of errors : 0

Stopping a migration task

To stop a migration task, use the following command:

ibrix_migrator -k -t TASKID [-F]

Changing the tiering configuration with the CLI

The following restrictions apply when changing the configuration:

You cannot modify the tiering configuration for a file system while an active migration task is
running.

You cannot move segments between tiers, assign them to new tiers, or unassign them from
tiers while an active migration task is running or while any rules exist that apply to the segments.

Moving a segment to another tier

Use the following command to assign a segment to another tier:

ibrix_tier -a -f FSNAME -t TIERNAME -S SEGLIST

Removing a segment from a tier

The following command removes segments from a tier. If you do not specify a segment list, all
segments in the file system are unassigned.

ibrix_tier -u -f FSNAME [-S SEGLIST]

The following example removes segments 3 and 4 from their current tier assignment:

[root@ibrix01a ~]# ibrix_tier -u -f ifs1 -S 3,4

Deleting a tier

Before deleting a tier, take these steps:

Delete all policy rules defined for the tier.

Allow any active tiering jobs to complete.

To unassign all segments and delete the tier, use the following command:

ibrix_tier -d -f FSNAME -t TIERNAME

Deleting a tiering rule

Before deleting a rule, run the ibrix_migrator -l [-f FSNAME] -r command and note
the ID assigned to the rule. Then use the following command to delete the rule:

ibrix_migrator -d -f FSNAME -r RULE_ID

The -r option specifies the rule ID. For example:

[root@ibrix01a ~]# ibrix_migrator -d -f ifs2 -r 2

Writing tiering rules

A tiering policy consists of one or more rules that specify how data is migrated from one tier to
another. You can write rules using the GUI, or you can write them directly to the configuration
database using the ibrix_migrator -A command.

Rule attributes

Each rule identifies file attributes to be matched. It also specifies the source tier to scan and the
destination tier where files that meet the rule’s criteria will be moved and stored.

236 Using data tiering