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 how to 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 sync nodes and Change the resource group that is being used by real-time sync nodes.

Change the resource group that is being used by non-real-time sync 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. Take note of the following items:
  • You can change the resource groups used by nodes other than real-time sync nodes on the Operation Center page. For more information about how to change the resource groups used by real-time sync nodes, see Change the resource group that is being used by real-time sync nodes.
  • You can change the resource group for multiple nodes at a time. The nodes do not include manually triggered batch sync 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 the 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 page.
  3. In the upper part of the page, specify filter conditions. Then, select the auto triggered nodes for which you want to change the resource group. In the lower part of the page, click Modify Scheduling Resource Group or Modify 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 change the workspace to which the resource group belongs.

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

You can change the exclusive resource group for Data Integration that is being used by real-time sync nodes on the Batch Operation-Data Development tab of the DataStudio page. You can perform the operation for multiple real-time sync nodes at a time. Real-time sync 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 navigation pane of the DataStudio page, click the Nodes icon in the top toolbar. The Batch Operation-Data Development tab appears.
  3. Select Real-time synchronization from the Node type drop-down list. In the node list, select one or more nodes for which you want to change the resource group. In the lower part of the tab, choose More > Modify a data integration Resource Group.
  4. In the dialog box that appears, 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 sync nodes.
After the resource group is changed for the real-time sync nodes, you can change the workspace to which the resource group belongs.

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. In the top navigation bar, select a region.
  3. On the Exclusive Resource Groups tab, find the resource group that you want to manage 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.