beautypg.com

Displaying information about tiers, Defining the primary tier, Creating a tiering policy – HP StoreAll Storage User Manual

Page 234: Listing tiering rules

background image

NOTE:

Be sure to spell the name of the tier correctly when you add segments to an existing tier.

If you spell the name incorrectly, a new tier is created with the incorrect tier name, and no error
is recognized.

Displaying information about tiers

Use the following command to list the tiers in a file system. The -t option displays information for
a specific tier.

ibrix_tier -l -f FSNAME [-t TIERNAME]

For example:

[root@ibrix01a ~]# ibrix_tier -i -f ifs1
Tier: Tier1
===========
FS Name Segment Number Tier
------- -------------- ----
ifs1 1 Tier1
ifs1 2 Tier1

Tier: Tier2
===========
FS Name Segment Number Tier
------- -------------- ----
ifs1 3 Tier2
ifs1 4 Tier2

Defining the primary tier

All new files are written to the primary tier, which is typically the tier built on the fastest storage.
Use the following command to define the primary tier:

ibrix_fs_tune -f FILESYSTEM -h SERVERS -t TIERNAME

The following example specifies Tier1 as the primary tier:

ibrix_fs_tune -f ifs1 -h ibrix1a,ibrix1b -t Tier1

This policy takes precedence over any other file allocation polices defined for the file system.

NOTE:

This example assumes users access the files over CIFS, NFS, FTP, or HTTP. If IBRIX 9000

clients are used, the allocation policy must be applied to the clients. (Use -h to specify the clients.)

Creating a tiering policy

To create a rule for migrating data from a source tier to a destination tier, use the following
command:

ibrix_migrator -A -f FSNAME -r RULE -S SOURCE_TIER -D DESTINATION_TIER

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: mtimeCommand 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

234 Using data tiering