Modifying a Migration Policy

This operation enables you to modify a migration policy.

Procedure

  1. Choose Resources > Tuning > SmartTier > Migration Policy.
  2. Select a desired account from the Account drop-down list in the upper left corner.
  3. Select a desired file directory from the list on the left. Migration policies created for the file directory are displayed in the function pane on the right. Click More on the right of a desired migration policy and select Modify.

    The Modify Migration Policy page is displayed.

  4. Modify information about the migration policy.

    Table 1 describes related parameters.
    Table 1 Migration policy parameters

    Parameter

    Description

    Compression Mode

    Whether to compress or decompress specified files.

    • None: Files are not compressed or decompressed.
    • Compression: compresses specified files. The files after compression occupy less space but cannot be read or written.
    • Decompression: decompresses the compressed files. The files after decompression are restored to the original size and can be read and written.
    NOTE:
    • If Execution Mode is set to Periodical, Decompression cannot be selected.
    • If you set Execution Mode to Periodical, the periodical policy also takes effect for compression tasks.
    • For a migration policy with Execution Mode set to Periodical, if you switch the compression mode from None to Compression, the new mode takes effect only for files modified after the configuration. If old files need to be compressed, you need to configure a one-off compression policy to perform full scanning and compression.
    • When Service Type is set to General, compression modes can be configured only after an advanced license is imported. When Service Type is set to Intelligent video and image, compression modes cannot be configured.

    Filter Policy

    File filtering policy. The options are By file name, By file size, By file operation time, and By user or user group.

    • By file name

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

      NOTE:
      • In the text box, 1 to 1023 characters can be entered.
      • Wildcard (*) can match any character. The following formats are supported: example, *, *example*, *example, example*, and example*example.
      • Multiple file names are separated using commas (,).
    • By file size

      Specify the size of files to be filtered for.

    • By file operation time

      Specify a specific operation time. The options are 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 file access time.
    • By user or user group

      Select the type of the desired user or user group from the User or User Group Type drop-down list and then select Including or Excluding in User Name Filtering to determine whether files of the specified user or user group are included or excluded in the policy.

      • If you select LDAP domain user, LDAP domain user group, NIS domain user, or NIS domain user group in User or User Group Type, specify the user or user group name in Username or User Group Name.
      • If you select Local UNIX authentication user or Local UNIX authentication user group, click Select next to Username or User Group Name. On the Local UNIX Authentication User or Local UNIX Authentication User Group page that is displayed, select the desired user or user group and click OK.
    NOTE:

    The migration policy takes effect for the files that meet all filtering policies.

    Tier Grade

    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.

  5. Click OK.