5.6 HP StorageWorks X9000 File Serving Software User Guide (TA768-96035, June 2011)

For example:
<installdirectory>/bin/ibrix_migrator -v -r -f ifs2
The output lists the file system name, the rule ID (IDs are assigned in the order in which rules are
added to the configuration database), the rule definition, and the source and destination tiers. For
example, if you specify the following rule:
ibrix_migrator -A -f ifs2 -r 'mtime older than 1 month and
( name = "*.jpg" or name = "*.gif" )' -S T1 -D T2
The output lists the following:
ifs2 2 mtime older than 1 month and ( name = "*.jpg" or name = "*.gif" ) T1 T2
The second column in the output lists the ID number assigned to the rule. In the example above,
the ID number is 2.
Deleting a tiering policy rule
Before deleting a rule, view the policy information, as described in “Listing tiering policy information
(page 111), and obtain the rule’s ID number. The ID number is required in the delete command.
To delete a rule, use the following command:
<installdirectory>/bin/ibrix_migrator -d -f FSNAME -r RULE_ID
RULE_ID is the rule’s ID number (2 in the example).
<installdirectory>/bin/ibrix_migrator -d -f ifs2 -r 2
Starting and stopping a tiering operation
Once a tiering policy is defined, tiering operations can be started and stopped using the
ibrix_migrator command. Only one tiering operation can run on a file system at any time.
Tiering operations are treated as run-to-completion tasks that are not restarted on failure, and
cannot be paused and later resumed. However, tiering can be started if a server is in the InFailover
state.
NOTE: The ibrix_migrator command cannot be run at the same time as ibrix_rebalance.
To start a tiering operation, use the following command:
<installdirectory>/bin/ibrix_migrator -s -f FSNAME
To stop a tiering operation, use the following command:
<installdirectory>/bin/ibrix_migrator -k -t TASKID [-F]
Reviewing tiering job status
To view tiering tasks, including the task state, use the following command:
<installdirectory>/bin/ibrix_migrator -i [-f FSNAME]
Writing tiering rules
A tiering policy consists of one or more rules, each identifying a desired movement of files between
tiers. You can write rules using the management console GUI, or you can write them directly to
the configuration database using the ibrix_migrator -A command.
This section provides definitions of rule components and examples of rules.
Operators and date/time qualifiers
Valid rules operators are <, <=, =, !=, >, >=, and boolean and and or.
112 Using data tiering