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

Page 272

Advertising
background image

1 ibrix01b ilv1 OK 4,096 3,811.11 . . .
2 ibrix01a ilv2 OK 4,096 3,035.67
3 ibrix01b ilv3 OK 4,096 3,811.11
4 ibrix01a ilv4 OK 4,096 3,035.67
.
.

Use the following command to assign segments to a tier. The tier is created if it does not already
exist.

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

For example, the following command creates Tier 1 and assigns segments 1 and 2 to it:

[root@ibrix01a ~]# ibrix_tier -a -f ifs1 -t Tier1 -S 1,2
Assigned segment: 1 (ilv1) to tier Tier1
Assigned segment: 2 (ilv2) to tier Tier1
Command succeeded!

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 StoreAll

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

272 Using data tiering

Advertising