Updated on 2022-12-08 GMT+08:00

Multi-Tenant Management

Unified Multi-Tenant Management

FusionInsight Manager is a unified multi-tenant management platform, which integrates multiple functions, such as tenant lifecycle management, tenant resource configuration, and tenant resource usage statistics, delivering a mature multi-tenant management model and achieving centralized tenant and service management.

Graphical User Interface

FusionInsight Manager provides the graphical multi-tenant management interface and manages and operates multiple levels of tenants using the tree structure. Additionally, FusionInsight Manager integrates the basic information and resource quota of the current tenant in one interface to facilitate O&M and management, as shown in Figure 1..

Figure 1 Tenant management page of FusionInsight Manager

Level-based Tenant Management

FusionInsight Manager supports a level-based tenant management model in which you can add sub-tenants to an existing tenant to re-configure resources. Sub-tenants of level-1 tenants belong to level-2 tenants, and so on. FusionInsight Manager provides enterprises with a field-tested multi-tenant management model, enabling centralized tenant and service management.

Simplified Rights Management

In FusionInsight Manager, common users are shielded from internal rights management details and MRS cluster administrators' rights management operations are simplified, improving rights management usability and user experience.

  • FusionInsight Manager adopts the role-based access control (RBAC) mode to configure rights for users as required during multi-tenant management.
  • Administrator of tenants, the administrator has tenants' management rights, including viewing resources and services of the current tenant, adding or deleting sub-tenants of the current tenant, and managing rights of sub-tenants' resources. The administrator of a single tenant can be defined and the management over a tenant can be delegated to another user except the system administrator.
  • Roles corresponding to tenants, roles have all rights on the computing resources and storage resources of a tenant. During the creation of a tenant, the system automatically creates a corresponding role. You can add a user and bind the user to the tenant role so that it can use the resources of the tenant.

Clear Resource Management

  • Self-Service Resource Configuration

    In FusionInsight Manager, you can configure the computing resources and storage resources during the creation of a tenant and add, modify, or delete the resources of a tenant.

    Rights of the role that corresponds to the current tenant are updated automatically when you modify the computing resources and storage resources of a tenant.

  • Resource Usage Statistics

    Resource usage statistics is critical to make O&M decisions based on the status of cluster applications and services, improving the cluster O&M efficiency. The FusionInsight Manager displays the resource statistics of tenant through the Resource Quota, including the dynamic computing resource VCores and Memory of tenant and the usage statistics of HDFS storage resources (Space).

    • Resource Quotas dynamically calculates the resource usage of tenants.

      The available resources of the Capacity scheduler and Superior scheduler are calculated as follows:
      • Capacity

        Available Yarn resources (memory and CPU) = Resource capacity (%) x Total capacity of the resource pool

        If a queue crosses multiple resource pools, the available resources of the queue are the total available resources allocated by each resource pool.

      • Superior

        The available Yarn resources (memory and CPU) are allocated in proportion based on the queue weight.

    • When the tenant administrator is bound to a tenant role, the tenant administrator has the rights to manage the tenant and use all resources of the tenant.
  • Graphical Resource Monitoring

    The resource graphical monitoring supports the graphical display of monitoring items listed in Table 1, as shown in Figure 2.

    Figure 2 Refined monitoring

    By default, the real-time monitoring data is displayed. You can click to customize a time range. The default time ranges include 4 hours, 8 hours, 12 hours, 1 day, 1 week, and 1 month. Click and choose Export from the shortcut menu to export the monitoring item information.

    Table 1 Item

    Service

    Metric

    Description

    HDFS

    HDFS Tenant Space Details

    • Allocated Space
    • Used Space

    HDFS can select a specified storage directory for monitoring. The storage directory is the same as the directory added by the current tenant in Resource.

    HDFS Tenant File Object Details

    • Number of Used File Objects

    Yarn

    Yarn Allocated Cores

    • Maximum Number of CPU Cores in an AM
    • Allocated Cores
    • Number of Used CPU Cores in an AM

    Monitoring information of the current tenant can be displayed. If no subitem is configured for a tenant, this information is not displayed.

    The monitoring data is obtained from Scheduler > Application Queues > Queue: tenant name on the native WebUI of Yarn.

    Yarn Allocated Memory

    • Allocated Maximum AM Memory
    • Allocated Memory
    • Used AM Memory