Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

AEM Reverse Replication

AEM_Forum
Level 10
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
JK_Kendall
Correct answer by
Level 8
Level 8

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
sakthiT
Level 2
Level 2

"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"

sakthiT
Level 2
Level 2

"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"

JK_Kendall
Level 8
Level 8

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

AEM_Forum
Level 10
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.

JK_Kendall
Correct answer by
Level 8
Level 8

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