Listing tiering rules, Running a migration task – HP StoreAll Storage User Manual

Page 273

Advertising
background image

The following rule migrates all files that have not been modified for 30 minutes from Tier1 to Tier2:

[root@ibrix01a ~]# ibrix_migrator -A -f ifs1 -r 'mtime older than 30 minutes' -S Tier1 -D Tier2
Rule: mtime<now - 0-0-0-0:30:0
Command succeeded!

Listing tiering rules

To list all of the rules in the tiering policy, use the following command:

ibrix_migrator -l [-f FSNAME] -r

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:

[root@ibrix01a ~]# ibrix_migrator -l -f ifs1 -r
HsmRules
========
FS Name Id Rule Source Tier Destination Tier
------- -- --------------------------- ----------- ----------------
ifs1 9 mtime older than 30 minutes Tier1 Tier2
ifs1 10 name = "*.mpeg4" Tier1 Tier2
ifs1 11 size > 4M Tier1 Tier2

Running a migration task

To start a migration task, use the following command:

ibrix_migrator -s -f FSNAME

For example:

[root@ibrix01a ~]# ibrix_migrator -s -f ifs1
Submitted Migrator operation to background. ID of submitted task: Migrator_163
Command succeeded!

NOTE:

The ibrix_migrator command cannot be run at the same time as ibrix_rebalance.

To list the active migration task for a file system, use the ibrix_migrator -i option. For example:

[root@ibrix01a ~]# ibrix_migrator -i -f ifs1
Operation: Migrator_163
=======================
Task Summary
============
Task Id : Migrator_163
Type : Migrator
File System : ifs1
Submitted From : root from Local Host
Run State : STARTING
Active? : Yes
EXIT STATUS :
Started At : Jan 17, 2012 10:32:55
Coordinator Server : ibrix01b
Errors/Warnings :
Dentries scanned : 0
Number of Inodes moved : 0
Number of Inodes skipped : 0
Avg size (kb) : 0
Avg Mb Per Sec : 0
Number of errors : 0

Configuring tiers and migrating data using the CLI 273

Advertising