Updated on 2024-07-19 GMT+08:00

Creating a Loader Role

Scenario

Create and configure a Loader role on FusionInsight Manager as an MRS cluster administrator. The Loader role can set Loader administrator permissions, job connections, job groups, and Loader job operation and scheduling permissions.

This section applies to MRS 3.x or later.

Prerequisites

Procedure

  1. Choose System > Permission > Role.
  2. Click Create Role and set a role name and enter description.
  3. Set permissions. For details, see Table 1.

    When setting permissions for a role, you cannot set permissions for multiple resources at the same time. If you need to set permissions for multiple resources, set them one by one.

    Loader permissions:

    • Admin: Loader administrator permission
    • Job Connector: connection permission of Loader
    • Job Group: permission to perform operations on Loader job groups. You can set the operation permissions of a specific job in a specified job group, including the Edit and Execute permissions of the job.
    • Job Scheduler: permission to schedule Loader jobs
      Table 1 Setting Loader roles

      Task

      Role Authorization

      Setting the Loader administrator permission

      In the Configure Resource Permission table, choose Name of the desired cluster > Loader and select Admin.

      Setting the connection permission of Loader

      (including the editing, deletion, and reference permissions of Job Connection)

      1. In the Configure Resource Permission table, choose Name of the desired cluster > Loader > Job Connector.
      2. In the Permission column of the specified job link, select Edit.

      Setting the edit permission for Loader job groups

      (including modifying the name of a job group, deleting a specified group, creating jobs in a specified group, importing jobs from external systems to a specified group in batches, and migrating jobs from other groups to a specified group)

      1. In the Permission table, choose Loader > Job Group.
      2. In the Permission column of the specified job group, select Edit Group.

      Setting the edit permission for all jobs in a Loader job group

      (including the permission to edit all existing or new jobs in the group)

      1. In the Configure Resource Permission table, choose Name of the desired cluster > Loader > Job Group.
      2. In the Permission column of the specified job group, select Edit Job.

      Setting the execution permission for all jobs in the Loader job group

      (including the execution permission on all existing or new jobs in the group)

      1. In the Configure Resource Permission table, choose Name of the desired cluster > Loader > Job Group.
      2. In the Permission column of the specified job group, select Execute Job.

      Setting the edit permission for Loader jobs

      (including editing, deleting, copying, and exporting jobs)

      1. In the Configure Resource Permission table, choose Name of the desired cluster > Loader > Job Group.
      2. Select a job group.
      3. In the Permission column of the specified job, select Edit.

      Setting the execution permission for Loader jobs

      (including permissions to start and stop jobs and view historical records)

      1. In the Configure Resource Permission table, choose Name of the desired cluster > Loader > Job Group.
      2. Select a job group.
      3. In the Permission column of the specified job, select Execute.

      Setting the permission for scheduling Loader jobs

      (including the editing, deletion, and validation permissions of Scheduler)

      1. In the Configure Resource Permission table, choose Name of the desired cluster > Loader > Job Scheduling.
      2. In the Permission column of the specified job scheduling row, select Edit.
      1. In addition to Admin, the preceding permissions are configured only for inventory resource information.
      2. Users without the preceding roles can also create tasks, groups, and connectors, but cannot perform operations on inventory resources.

  4. Click OK, and return to the Role page.