Modifying Account Information

This section describes how to modify the information about an account, such as the account name.

Precautions

The name of built-in account system cannot be changed.

Procedure

  1. Choose Resources > Access > Account.
  2. Click More on the right of the desired account and select Modify.

    The Modify Account page is displayed.

  3. Set account parameters.

    Table 1 describes related parameters.

    Table 1 Account parameters

    Parameter

    Description

    Account Name

    Name of the account.

    [Value range]

    • The name must be unique.
    • The name can contain only letters, digits, and special characters ! @ # $ % ^ * . _ + , - =.
    • The name contains 1 to 128 characters.

    Data Encryption

    Whether to enable the data encryption function. After this function is enabled, the system generates an account key to protect the data keys of namespaces. The data encryption function of accounts and namespaces can be used to encrypt data written to namespaces to ensure data security.

    NOTE:
    • To use the data encryption function, you need to import an advanced license.
    • This parameter is available only when data encryption has not been enabled for the account.

    Key Service

    After enabling Data Encryption, you need to set Key Service and select a key management service.
    • Internal key service: The built-in key management function of the system is used.
    • External key service: An external key management server is used. If you select this option, you need to configure the external key service first. For details, see Managing the External Key Service.

    QoS Policy

    Whether to enable the QoS policy function to control the read/write OPS and bandwidth upper limits of the account. After this function is enabled, you need to set QoS policy parameters for the account.

    OPS Upper Limits

    OPS upper limit of a single account, that is, the maximum number of operations performed by an account per second.

    NOTE:

    This parameter is available only when QoS Policy is enabled.

    Bandwidth Upper Limits

    Bandwidth upper limit of a single account, that is, the maximum amount of I/O data that can be processed by a single account per second. The unit is MB/s.

    NOTE:

    This parameter is available only when QoS Policy is enabled.

  4. Determine whether to enable the quota function. After this function is enabled, set quota parameters, as shown in Table 2.

    Table 2 Quota parameters

    Parameter

    Description

    Space Quota

    Hard Quota

    Once the space used by files reaches the hard quota, the system will immediately forbid data writing and report an alarm.

    [Value range]

    1 KB to 256 PB

    The value must be greater than those of Soft Quota and Advisory Quota.

    NOTE:

    After the space used by files reaches the hard quota, the system will forbid data writing. If you want the system to report an alarm before forbidding data writing, set a soft quota or an advisory quota.

    Soft Quota

    If the space used by files reaches the soft quota, the system will report an alarm but still allow data writing. After the soft quota grace period elapses or the hard quota is reached, the system will immediately forbid data writing and report an alarm.

    [Value range]

    1 KB to 256 PB

    The value must be greater than that of Advisory Quota and less than that of Hard Quota.

    Advisory Quota

    Once the space used by files reaches the advisory quota, the system will report an alarm but still allow data writing.

    [Value range]

    1 KB to 256 PB

    The value must be less than those of Soft Quota and Hard Quota.

    Collect Snapshot Space Statistics

    Whether to collect statistics of the snapshot space included in the used file space.

    File Quantity Quota

    Hard Quota (K)

    Once the file quantity reaches the hard quota, the system will immediately forbid file adding and report an alarm. However, operations on existing files are not affected. The unit of the hard quota has been set to K.

    [Value range]

    1 to 100,000,000

    The value must be greater than those of Soft Quota (K) and Advisory Quota (K).

    NOTE:

    After the file quantity reaches the hard quota, the system will forbid file adding. If you want the system to report an alarm before forbidding file adding, set a soft quota or an advisory quota.

    Soft Quota (K)

    If the file quantity reaches the soft quota, the system will report an alarm but still allow file adding. After the soft quota grace period elapses or the hard quota is reached, the system will immediately forbid file adding and report an alarm. The unit of the soft quota has been set to K.

    [Value range]

    1 to 100,000,000

    The value must be greater than that of Advisory Quota (K) and less than that of Hard Quota (K).

    Advisory Quota (K)

    If the file quantity reaches the advisory quota, the system will report an alarm but still allow file adding. The unit of the advisory quota has been set to K.

    [Value range]

    1 to 100,000,000

    The value must be less than those of Soft Quota (K) and Hard Quota (K).

    Grace Period

    Soft Quota Grace Period (Days)

    If the space used by files or the file quantity reaches the soft quota, the system will report an alarm but still allow data writing or file adding within the grace period. After the grace period elapses, the system will immediately forbid data writing or file adding and report an alarm.

    [Value range]

    1 to 4,294,967,294.

    If this parameter is not specified, the grace period is unlimited. In this case, if the space used by files or the file quantity reaches the soft quota, the system will report an alarm but still allow data writing data or file adding.

    NOTE:

    This parameter can be set only when Soft Quota or Soft Quota (K) is set.

    • If you do not set any quota for the space usage or file quantity, the system does not control the space usage or file quantity.
    • To view the quota usage of an account, click the account name. On the account details page that is displayed, click the Quota tab and view Space Quota Usage and File Quantity Quota Usage.
    • If you do not enable the quota function when creating an account, you can click the account name to go to the details page after the account is created and click the Quota tab to configure a quota.

  5. Click OK.