No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FusionInsight HD 6.5.0 Administrator Guide 02

Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Managing Tenants

Managing Tenants

Managing a Tenant Directory

Scenario

The administrator manages the HDFS storage directory used by a specified tenant on FusionInsight Manager based on service requirements. The management operations include adding tenant directories, modifying quantity quotas of files and directories, and storage space quota of the directory, and deleting directories.

Prerequisites

Tenants with HDFS storage resources are added.

Procedure

View a tenant directory.

  1. On FusionInsight Manager, click Tenant Resources.
  2. In the tenant list on the left, click a target tenant.
  3. Click Resource.
  4. View the HDFS Storage table.

    • The Quota column indicates quantity quotas of files and directories.
    • The Space Quota column indicates storage space sizes of tenant directories.

Add a tenant directory.

  1. On FusionInsight Manager, click Tenant Resources.
  2. In the tenant list on the left, click the tenant whose HDFS storage directory needs to be changed.
  3. Click Resource.
  4. In the HDFS Storage table, click Create Directory.

    • The Parent Directory indicates the storage directory of the parent tenant corresponding to the current tenant.
      NOTE:

      This parameter is not displayed if the current tenant is not a sub-tenant.

    • Set Path to a tenant directory path.
      NOTE:

      If the current tenant is not a sub-tenant, the new path is created in the HDFS root directory.

    • Set Quota to the quotas of file and directory quantity.
    • File Number Threshold (%) takes effect only when Quota is specified. If the ratio of the number of used files to the value of Quota exceeds the value of this threshold, an alarm is generated. If this parameter is not specified, no alarm is reported in this scenario.
    • Set Space Quota Unit to the storage unit of Space Quota.
    • Set Space Quota to storage space sizes of tenant directories.
    • Storage Space Threshold (%): If the ratio of used storage space to the value of Space Quota exceeds the value of this parameter, an alarm is generated. If this parameter is not specified, no alarm is generated in this scenario.

  5. Click OK.

Modify a tenant directory properties.

  1. On FusionInsight Manager, click Tenant Resources.
  2. In the tenant list on the left, click the tenant whose HDFS storage directory needs to be changed.
  3. Click Resource.
  4. In the HDFS Storage table, click Modify in the Operation column of the specified tenant directory.

    • Set Quota to the quotas of file and directory quantity.
    • File Number Threshold (%) takes effect only when Quota is specified. If the ratio of the number of used files to the value of Quota exceeds the value of this threshold, an alarm is generated. If this parameter is not specified, no alarm is reported in this scenario.
    • Set Space Quota Unit to the storage unit of Space Quota.
    • Set Space Quota to storage space sizes of tenant directories.
    • Storage Space Threshold (%): If the ratio of used storage space to the value of Space Quota exceeds the value of this parameter, an alarm is generated. If this parameter is not specified, no alarm is generated in this scenario.

  5. Click OK.

Delete tenant directory.

  1. On FusionInsight Manager, click Tenant Resources.
  2. In the tenant list on the left, click the tenant whose HDFS storage directory needs to be changed.
  3. Click Resource.
  4. In the HDFS Storage table, click Delete in the Operation column of the specified tenant directory.

    NOTE:

    The tenant directory that is created by the system during tenant creation cannot be deleted.

  5. Click OK.

Restoring Tenant Data

Scenario

Tenant data is stored on Manager and in cluster components. After components are recovered from faults or reinstalled, some tenant configuration data may be in the abnormal state. Administrator need to manually restore the configuration data on FusionInsight Manager.

Prerequisites

You have logged in to FusionInsight Manager.

Procedure
  1. On FusionInsight Manager, click Tenant Resources.
  2. In the tenant list on the left, click a tenant node.
  3. Check the status of the tenant data.

    1. In Summary, check the color of the circle on the right of Status. Green indicates that the tenant is available and gray indicates that the tenant is unavailable.
    2. Click Resource and check the color of the circle on the left of Yarn or HDFS Storage. Green indicates that the resource is available and gray indicates that the resource is unavailable.
    3. Click Service Association and check the Status column of the associated service table. Normal indicates that the component can provide services for the associated tenant. Not Available indicates that the component cannot provide services for the tenant.
    4. If any of the preceding check items is abnormal, go to step 4 to restore tenant data.

  4. Click . In the dialog box that is displayed, enter the password of the administrator who has logged in for authentication, and click OK.
  5. In the Restore Tenant Resource Data window, select one or multiple components whose data needs to be restored and click OK. The system automatically restores the tenant data.

Deleting a Tenant

Scenario

Based on service requirements, the administrator can delete tenants that are no longer used on FusionInsight Manager to release resources occupied by tenants.

Prerequisites
  • A tenant has been added.
  • The tenant to be deleted has no sub-tenant.
  • The role of the tenant to be deleted is not associated with any user or user group.
Procedure
  1. On FusionInsight Manager, click Tenant Resources.
  2. In the tenant list on the left, select the tenant to be deleted and click .

    NOTE:

    If you want to save the tenant data, select Reserve the data of this tenant resource.. Otherwise, the tenant's storage space will be deleted.

  3. Click OK to save the settings.

    It takes a few minutes to save the configuration. The tenant is deleted successfully. Roles and the storage space of the tenant are also deleted.

    NOTE:

    After the tenant is deleted, the task queue of the tenant still exists in Yarn. The task queue of the tenant is not displayed on the role management page in Yarn.

Download
Updated: 2019-05-17

Document ID: EDOC1100074522

Views: 5873

Downloads: 12

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next