After you purchase and configure an exclusive resource group or a custom resource group, you can use the resource group to run nodes in a workspace. If you want to change the workspace to which the resource group belongs, you can perform the operation based on the instructions in this topic. The resource groups in this topic are exclusive resource groups and custom resource groups.

Background information

If you want to change the workspace to which a resource group belongs, you must first disassociate the resource group from the workspace on the Resource Groups page and then associate the resource group with another workspace. For more information about how to disassociate a resource group from a workspace, see Disassociate a resource group from a workspace.

If committed nodes run on the resource group whose workspace you want to change, you must change the resource group for the nodes before you disassociate the resource group from the workspace. The following figure shows the entries where you can change the resource groups used by different types of nodes. Change the resource group that is being used by nodesFor more information, see Change the resource group that is being used by non-real-time synchronization nodes and Change the resource group that is being used by real-time synchronization nodes.

Change the resource group that is being used by non-real-time synchronization nodes

If a resource group is being used by committed nodes, you cannot directly disassociate the resource group from the workspace to which the resource group belongs. You can change the resource groups used by different types of nodes on the Operation Center page. You must understand the following information before you perform the operation:
  • You can change the resource groups used by nodes other than real-time synchronization nodes on the Operation Center page. For more information about how to change the resource groups used by real-time synchronization nodes, see Change the resource group that is being used by real-time synchronization nodes.
  • You can change the resource group for multiple nodes at a time. The nodes do not include manually triggered batch synchronization nodes.
The operations required to change the resource group that is being used by auto triggered nodes are similar to those required to change the resource group that is being used by manually triggered nodes. This section describes how to change a resource group that is being used by auto triggered nodes. Operation Center page
  1. Go to the Operation Center page.
    1. Log on to the DataWorks console.
    2. In the left-side navigation pane, click Workspaces.
    3. On the Workspaces page, find the desired workspace and click Operation Center in the Actions column.
  2. In the left-side navigation pane, choose Cycle Task Maintenance > Cycle Task to go to the Cycle Task tab.
  3. In the upper part of the tab, specify the filter conditions. Then, select the auto triggered nodes for which you want to change the resource group. In the lower part of the tab, click Modifying a scheduling Resource Group or Modifying a data integration Resource Group.
  4. In the dialog box that appears, select a new resource group for the nodes as prompted and click OK. Then, the resource group is changed for the selected auto triggered nodes.
After the resource group is changed for the auto triggered nodes, you can associate the resource group with another workspace.

Change the resource group that is being used by real-time synchronization nodes

You can change the exclusive resource group for data integration that is being used by real-time synchronization nodes on the Nodes tab of the DataStudio page. You can perform the operation for multiple real-time synchronization nodes at a time. Real-time synchronization nodes
  1. Go to the DataStudio page.
    1. Log on to the DataWorks console.
    2. In the left-side navigation pane, click Workspaces.
    3. On the Workspaces page, find the desired workspace and click Data Analytics in the Actions column.
  2. In the left side of the DataStudio page, click the Nodes icon next to Business Flow to go to the Nodes tab.
  3. Select Real-time synchronization from the Node type drop-down list. In the searched results, select one or more nodes for which you want to change the resource group and click Modify a data integration Resource Group in the lower part of the tab.
  4. In the Modify Data Integration Resource Group dialog box, select a new resource group for the nodes as prompted, configure the remaining information, and then click OK. Then, the resource group is changed for the selected real-time synchronization nodes.
After the resource group is changed for the real-time synchronization nodes, you can associate the resource group with another workspace.

Disassociate a resource group from a workspace

If an exclusive resource group is not being used by committed nodes, you can directly disassociate the exclusive resource group from the workspace to which the resource group belongs on the Exclusive Resource Groups tab. Then, you can associate the resource group with another workspace.
Note
  • If a resource group is being used by committed nodes, you cannot directly disassociate the resource group from the workspace to which the resource group belongs. In this case, you must change the resource group for the nodes and use another resource group to run the nodes. After that, you can disassociate the resource group from the workspace to which the resource group belongs.
  • You can disassociate only exclusive resource groups from the workspaces to which the resource groups belong.
Disassociate
  1. Log on to the DataWorks console by using your Alibaba Cloud account.
  2. In the left-side navigation pane, click Resource Groups and select the required region.
  3. On the Exclusive Resource Groups tab, find your desired resource group and click Change Workspace in the Actions column. In the Modify home workspace dialog box, find one or more workspaces from which you want to disassociate the resource group and click Unbind in the Actions column.