Modifying a Migration Policy

This operation enables you to modify a migration policy.

Procedure

  1. Choose Services > HDFS Service > Tiering.
  2. Click the Migration Policy tab.
  3. Select the desired file system, click More on the right of the desired migration policy, and select Modify.

    The Modify Migration Policy page is displayed.

  4. Set basic information about the migration policy.

    Table 1 describes related parameters.
    Table 1 Migration policy parameters

    Parameter

    Description

    File Filtering

    Indicates a file filtering policy. Possible options are File Name and By file operation time.

    • File Name

      Select Including or Excluding in File Name Filtering to determine whether files with the specified name are included or excluded in the migration policy. Then, specify the file names to be filtered.

      NOTE:
      • A file name contains 1 to 1023 characters.
      • Wildcard (*) can match any character. The following formats are supported: *, *example*, *example, example*, and example*example.
      • Multiple file names are separated using commas (,).
    • By file operation time

      Specify a specific operation time. Then, the migration policy takes effect on files whose history operation times meet all of the specified times, including crtime, mtime, ctime, and atime.

      • crtime: indicates the file creation time.
      • mtime: indicates the file modification time.
      • ctime: indicates the file property modification time.
      • atime: indicates the last access time.

    Tier Grade

    Indicates the tier grade of a 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.

  5. Click OK.