Assets workflow offloader

You are reading the AEM 6.1 version of Assets workflow offloader.
This documentation is also available for the following versions:  AEM 6.2 

Assets workflow offloader lets you enable multiple instances of Adobe Experience Manager (AEM) Assets to reduce the processing load on the primary (Leader) instance. The processing load is distributed among the leader instance and the various Offloader instances that you add to it. Distributing the processing load of assets increases the efficiency and speed with which AEM Assets processes assets. In addition, it helps allocate dedicated resources to process assets of a particular MIME type. For example, you can allocate a specific node in you topology to process InDesign assets only. 

Configure offloader topology

Use the Configuration Manager to add the URL for the leader instance and the host names of Offloader instances for connection requests on the Leader instance.

  1. In the Assets console, click Tools > Web Console from the rail to open Configuration Manager.

  2. From the Web Console, select Main > Topology Management.

  3. In the Topology Management page, click Configure Discovery Service.

  4. In the Discovery Service Configuration page, specify the connector URL for the Leader instance in the Topology Connector URLs field.

  5. In the Topology Connector Whitelist field, specify IP address or host names of Offloader instances that are allowed to connect with the Leader instance. Click Save.

  6. To see the Offloader instances connected to the Leader instance, go to Tools > Operations > Deployment > Topology and click the Cluster view.


Disable offloading

  1. In the Assets console, click Tools > Operations > Deployment > Offloading. The Offloading admin page displays topics and the server instances that can consume the topics.

  2. Disable the com/adobe/granite/workflow/offloading topic on the leader instances with which users interact to upload or change AEM assets.


Configure workflow launchers

Configure workflow launchers to use the DAM Update Asset Offloading workflow on the Leader instance instead of the Dam Update Asset workflow.

  1. In the Assets console, click Tools > Operations > Workflows to open the Workflow console.

  2. Click the Launcher tab.

  3. Locate the two Launcher configurations with event type Node Created and Node Modified respectively, which run the DAM Update Asset workflow.

  4. For each configuration, select it and click Edit to display the Workflow Launcher Configuration dialog.

  5. From the Workflow list, choose DAM Update Asset Offloading and click OK.

  6. To verify the change, click the Models tab of the Workflow console and double-click the DAM Update Asset Offloading workflow to display its details.

  7. Right-click the DAM Workflow Offloading step and verify the entry in the Job Topic field of the Generic Arguments tab of the configuration dialog.


Disable the workflow launchers

Disable the workflow launchers that run the DAM Update Asset workflow on the Leader instance.

  1. In the Assets console, click Tools > Operations > Workflows to open the Workflow console.

  2. Click the Launcher tab.

  3. Locate the two Launcher configurations with event type Node Created and Node Modified respectively, which run the DAM Update Asset workflow.

  4. For each configuration, select it and click Edit to display the Workflow Launcher Configuration dialog.

  5. In the Activate section select Disable and the click OK to disable the configuration.

  6. Upload any asset of type image at the Leader instance. Verify the thumbnails generated and ported back for the asset by the Offloader instance.

  7. To confirm the offloading process, click the Instances or Archive tab in the Workflow console.