Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM Reverse Replication

Avatar

Level 10

Hi,

Is AEM Reverse Replication out of the box, if I install Author on 4502 and Publish on 4503?

It did not work for me when I entered a blog post in Geometrixx Demo. http://localhost:4503/content/geometrixx/en/blog.html

The log keeps on saying "Fetched 0 items".

Also, why should look at "Agents on Author" for Reverse Replication.

Should it not be "Agents on Publish"

Kindly clarify.

Thanks,

Rama.

1 Accepted Solution

Avatar

Correct answer by
Level 9

Hi Rama,

1) AEM Communities is a capability of AEM and delivered within the AEM platform (quickstart).  You can play with AEM Communities OOTB, but if you go into production with it, it needs to be licensed.  The feature packs are additional features and fixes for Communities delivered separately from the AEM platform.

2) It means reverse replication is not used for UGC.  Reverse replication does have other uses, and must be configured for Communities.

3) To view the current SRP choice, or to make another choice, use the Storage Configuration console.

Hope this helps.

- JK

View solution in original post

6 Replies

Avatar

Level 1

"Reverse replication" will have to be set on the Author , it is the author that will poll into the publisher's "outbox" every 5 secs ( configurable ) to read the data.And so is the RR to be configured under "Agents on Author"

Avatar

Level 1

"Reverse replication" will have to be set on the Author , it is the author that will poll into the publisher's "outbox" every 5 secs ( configurable ) to read the data.And so is the RR to be configured under "Agents on Author"

Avatar

Level 9

Hi,

The version of AEM you're using makes a difference.  Regardless, the basic reply is that this has nothing to do with reverse replication.

Up through AEM 6.0, the blog feature was based on a page template and content was only entered in the author environment and published (forward replication).

Starting in AEM 6.1, the blog feature was migrated to the Communities social component framework (SCF), and became a feature that allowed content to be entered by community members in the publish environment.  

SCF does not use replication to copy UGC, as there are no copies.  Instead, there is a common UGC store that all author and publish instances reference, commonly called SRP.  Except there is one implementation of SRP, the JCR SRP (JSRP), where the one store is only shared among publish instances configured as a publish cluster.  And is not shared with author at all.  Since JSRP is the default, if you entered a blog article on publish, you would never 'see' it on author.  

One quick clue to know if a node is an SCF component is whether the sling:resourceType property has a value that follows the pattern "social/foo/components/hbs/baz", where hbs refers to Handlebars scripting language.

To learn how the AEM Communities capability does use replication, see Deploying Communities : Configurations : Replication Agents on Author

Hope this helps.

- JK

Avatar

Level 10

Hi,

These replies are very insightful.

I am using AEM 6.2 and it is the out of box installation.

So, it must be JSRP.

In this case, there will never be any Reverse Replication at all?

How to know the SRP in use?

How to demonstrate the concept of "Reverse Replication" to someone?

Thanks,

Rama.

Avatar

Correct answer by
Level 9

Hi Rama,

1) AEM Communities is a capability of AEM and delivered within the AEM platform (quickstart).  You can play with AEM Communities OOTB, but if you go into production with it, it needs to be licensed.  The feature packs are additional features and fixes for Communities delivered separately from the AEM platform.

2) It means reverse replication is not used for UGC.  Reverse replication does have other uses, and must be configured for Communities.

3) To view the current SRP choice, or to make another choice, use the Storage Configuration console.

Hope this helps.

- JK