April 23, 2020
Estimated Post Reading Time ~

AEM 6.3 Dam Update Assets Workflow Process

Assuming two AEM author instance are running on a different machine or the same machine with the following details:

SL noInstance typePortURLOS type
1Master server4502http://localhost:4502/Windows
2Slave server8080http://localhost:8080/windows

Step1:

Step2:


Step3: Add the Master connector URL to Slave server topology




Step4: Add the Slave server hostname and IP address in the Master server for Apache sling Oak-based discovery service under whitelist
  • Go to the path Master server: http://localhost:4502:/system/console/configmgr
  • Search for Apache sling Oak-based discovery service configuration and open it for edit
  • Enter the hostname and IP address of Slave server
  • o Topology Connector Whitelist = localhost,127.0.0.1(in case of localhost)
  • Save the changes


Step5: Verify the topology after the adding the Slave server details
  • Go to Master server path http://localhost:4502/system/console/topology
  • Observe the Both sling IDs – one for master(b6e06f32-20a1-4fa0-869d-7a798282fded ) and one for Slave(bcd5477c-f9ac-4a99-99c9-e6ed1169caaf)
  • Shows 2 cluster , 2 instances



Step6: Configure two offloading replication agents on the master author
  • Go to master server: http://localhost:4502/etc/replication/agents.author.html
  • Agents on the author and look for the offloading replication agents and make a copy of the same agent twice to configure below agents
  • Agent1- Offloading replication agent – under transport specifies the Slave hostname and port for the replication
  • Agent2 – Offloading reverse replication agents: default config with and enable the reverse replication






Step7: Disable the consumer on Master because it is active on the instance disable the processing upload asset in master and enable for Slave only follow the below steps.




Step8: Change the workflow on the Master server from DAM Update Asset Workflow Launchers to DAM Update Asset Offloading workflow
  • Go to this path of master - http://localhost:4502/libs/cq/workflow/content/console.html
  • Go to the launcher console
  • Identify the DAM Update Asset Workflow node àright click to edit àselect the DAM Update Asset Offloading workflow under the workflow field.
  • That’s it, Observe the name of the workflow now changes.






Step 9: disable the DAM Update Asset Workflow on Slave because assets are not uploaded to Slave server but assets are offloaded from Master to Slave server for processing and replicate back to the Master




Step 10: Upload asset to Master Server
  • Go to Master Server path:http://localhost:4502/assets.html
  • Upload any images to the master server dam console
  • Open the offloading replication agents on the master to verify the uploaded assets are updated on the Salve server
  • It shows uploaded assets are sent to the Slave server.
Advantage of offloading:
  • It improves the performance of the author instance.
  • Because asset upload and renditions are getting created on the Slave server and through reverse replication mechanism assets with renditions are replicated back to the master server.
  • But for the end-user, it always gives a feeling of they are uploading an asset to Master server.
  • Master is configured with Dam update asset offloading workflow.
For more details refer the adobe URL: https://docs.adobe.com/docs/en/aem/6-1/deploy/configuring/offloading.html


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.