Assets Workflow Offloader assets-workflow-offloader

CAUTION
AEM 6.4 has reached the end of extended support and this documentation is no longer updated. For further details, see our technical support periods. Find the supported versions here.

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 (worker) 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 your topology to process InDesign assets only.

Configure offloader topology configure-offloader-topology

Use 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. Tap/click the AEM logo, and choose Tools > Operations > Web Console to open Configuration Manager.

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

    chlimage_1-44

  3. In the Topology Management page, tap/click the Configure Discovery.Oak Service link.

    chlimage_1-45

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

    chlimage_1-46

  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. Tap/click Save.

    chlimage_1-47

  6. To see the offloader instances connected to the leader instance, go to Tools > Deployment > Topology and tap/click the Cluster view.

Disable offloading disable-offloading

  1. Tap/click the AEM logo, and choose Tools > Deployment > Offloading. The Offloading Browser page displays topics and the server instances that can consume the topics.

    chlimage_1-48

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

    chlimage_1-49

Configure workflow launchers on the leader instance configure-workflow-launchers-on-the-leader-instance

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

  1. Tap/click the AEM logo, and choose, Tools > Workflow > Launchers to open the Workflow Launchers console.

    chlimage_1-50

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

  3. For each configuration, select the checkbox before it and tap/click the View Properties icon from the toolbar to display the Launcher Properties dialog.

    chlimage_1-51

  4. From the Workflow list, choose DAM Update Asset Offloading and tap/click Save.

    chlimage_1-52

  5. Tap/click the AEM logo, and choose, Tools > Workflow > Models to open the Workflow Models page.

  6. Select the DAM Update Asset Offloading workflow, and tap/click Edit from the toolbar to display its details.

    chlimage_1-53

  7. Display the context menu for the DAM Workflow Offloading step, and choose Edit. Verify the entry in the Job Topic field of the Generic Arguments tab of the configuration dialog.

    chlimage_1-54

Disable the workflow launchers on the offloader instances disable-the-workflow-launchers-on-the-offloader-instances

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

  1. Tap/click the AEM logo, and choose, Tools > Workflow > Launchers to open the Workflow Launchers console.

    chlimage_1-55

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

  3. For each configuration, select the checkbox before it and tap/click the View Properties icon from the toolbar to display the Launcher Properties dialog.

    chlimage_1-56

  4. In the **Activate **section, drag the slider to disable the workflow launcher and tap/click Save to disable it.

    chlimage_1-57

  5. Upload any asset of type image at the leader instance. Verify the thumbnails generated and ported back for the asset by the offloaded instance.

recommendation-more-help
5ce3024a-cbea-458b-8b2f-f9b8dda516e8