This operation enables you to create a tiering policy. Tiering policies include placement policies and migration policies. A placement policy determines the disk pool to which file system data is written. A migration policy determines the disk pool to which specific files are migrated.
You have created a file system.
For a dtree, if it is created with a tiering policy, such policy is applied preferentially. If the dtree is not created with a tiering policy, it inherits the policy created for its parent file system.
After the tiering function is enabled, you can log in the CLI and run the change tier_global_parameter tier_switch=off service_type=nas command to disable it.
The Create Policy page is displayed.
Parameter |
Description |
|---|---|
Name |
Indicates the name of the placement policy. NOTE:
|
File System |
Indicates the file system for which the placement policy takes effect. Click Select. On the File System page that is displayed, select a desired file system and click OK. |
Dtree |
Indicates the dtree for which the placement policy takes effect. Click Select. On the Dtree page that is displayed, select a desired dtree and click OK. |
Filter Policy |
Indicates the file filtering policy. Possible values are By file name and By user or user group.
|
Tier Grade |
Indicates the tier grade of the placement policy. That is, the tier grade of the disk pool to which data is written. A disk pool's tier grade is specified during disk pool creation. |
Select Migration policy in Policy Type.
Table 2 describes related parameters.
Parameter |
Description |
|---|---|
Name |
Indicates the name of the migration policy. NOTE:
|
Execution Mode |
Indicates the execution mode of the migration policy. Possible options are Periodical or One-off. NOTE:
If the value is set to Periodical, the migration policy is executed based on the configured period. The default execution period is 00:00 every day. You can modify the execution period in Setting a Migration Period. If the value is set to One-off, the migration policy is executed immediately. |
File System |
Indicates the file system for which the migration policy takes effect. Click Select. On the File System page that is displayed, select a desired file system and click OK. |
Dtree |
Indicates the dtree for which the migration policy takes effect. Click Select. On the Dtree page that is displayed, select a desired dtree and click OK. |
File Directory |
Indicates the file directory for which the migration policy takes effect. If you do not select a dtree or file directory, the migration policy takes effect for the entire file system. If you select a dtree but do not select a file directory, the migration policy takes effect for the entire dtree. NOTE:
This parameter is available only when Execution Mode is set to One-off. |
Filter Policy |
Indicates the file filtering policy. Possible values are By file name, By file size, By file operation time, and By user or user group.
|
Tier Grade |
Indicates the tier grade of the migration policy. That is, the grade of the disk pool to which files are migrated. A disk pool's tier grade is specified during disk pool creation. |