Binary less replication is not working

Avatar

Avatar

vikask76191633

Avatar

vikask76191633

vikask76191633

14-01-2019

I am having shared datastore between my local author and publisher, there is a default publish replication agenet with binaryless settings and url. Its for AEM6.3.

My Scenario:

Created and Authored Page with assets present at /content/dam/project and publish, it ask to publish the assets as well, If I select assets then dam assets along with page will be replicated to publisher, so what is the meaning of being binaryless, or Am I doing something fundamentally wrong ?

Regards

Vikas

Replies

Avatar

Avatar

Gaurav-Behl

MVP

Avatar

Gaurav-Behl

MVP

Gaurav-Behl
MVP

31-01-2019

In any case, only the metadata should be replicated and not the binary file. Could you please share the replication logs?

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
Employee

01-02-2019

To actually get the binaryless replication working, you need to have a shared datastore with all instances (in your case: author & publish) using it.

Avatar

Avatar

venkateshs73486

Employee

Avatar

venkateshs73486

Employee

venkateshs73486
Employee

20-08-2019

Hi Jorg,

One question. My client wants to have Standalone external datastore at author &  publisher . ( not shared datastore).

Reason is, Client does not want publisher and site to fail in the event of shared datastore crashing..

But, wants to have provision to replicate the metadata of Image / Video assets.

But , for Non-image / Non-video assets, client wants to have normal binary-full replication.

Does this use-case need custom replication agent/ transport handler to resolve?

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
Employee

20-08-2019

The standard replication can deal with both binaryless replication and "standard replication". But "standard replication" will always replicate the binaries. I guess that this is not the thing you want, correct?

But what do you want to do when you only have the metadata of an asset, but not the asset itself?

Avatar

Avatar

venkateshs73486

Employee

Avatar

venkateshs73486

Employee

venkateshs73486
Employee

20-08-2019

Thanks Jorg.

Client has DM-Scene7 setup. So, live page assets are actually pulled from Scene7 ..not from Publisher.

Metadata replication is to get all Scene7 properties intact and for tracking purpose.

However, assets like PDF need to be replicated with binaries to Publisher ( as Scene7 would not support hosting them)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
Employee

20-08-2019

In that case you can use the standard replication, but just configure an "Agent User" to each replication agent. This agent should have a wildcard ACL which prevents it from seeing the binary nodes.

This is probably going to work from an replication point of view, but I haven't tested what happens on a publish, if such an asset without binaries is getting replicated.

Avatar

Avatar

venkateshs73486

Employee

Avatar

venkateshs73486

Employee

venkateshs73486
Employee

20-08-2019

But, this would prevent all asset binary from getting replicated.

What, if  i need to replicate PDF assets fully to publisher?

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

942

Correct Reply

1.0K
Jörg_Hoh
Employee

20-08-2019

I guess that then there is no real viable solution. Maybe the ReplicationPreProcessor can help here, haven't checked the details of it yet.

Avatar

Avatar

venkateshs73486

Employee

Avatar

venkateshs73486

Employee

venkateshs73486
Employee

20-08-2019

Hi Jorg,

Custom content builder with the following logic wouldn't help. Please suggest.

1. Pare the data

2. Identify if it is image/ non-image

3. Appropriately apply logic based on  asset type  . ( Replicate only metadata , if image and replicate full if not image)