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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to Externalize and sync Binary Data with multiple Author Instances in AEM 6.0 through TarMK

Kaustav_Majoomd
Level 3
Level 3

Hi,

As per the project requirement, I need to externalize the Binary data store from CRX default repository and also I need to access that external Binary data repository from multiple Author Instances(AEM 6.0). We need to use TarMK as a database.

I am able to externalize the Binary Data repository using "org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg" file. But, I am not able to cluster multiple author instances in TarMK to access this repository. How can I achieve this? Please help!!

 

Regards,

Kaustav Majoomder

1 Accepted Solution
justin_at_adobe
Correct answer by
Employee
Employee

TarMK does not support clustering in AEM 6.0. You will need to either use MongoMK or fall back to using CRX2 with TarPM.

View solution in original post

5 Replies
justin_at_adobe
Correct answer by
Employee
Employee

TarMK does not support clustering in AEM 6.0. You will need to either use MongoMK or fall back to using CRX2 with TarPM.

View solution in original post

artie_leland
Level 1
Level 1

I have a similar request as Kaustav, and wanted to dig a little deeper into the TarMK limitations.

What specifically is it about TarMK that does not allow multiple AEM6 instances to share a single data-store?

What would happen if we point multiple AEM6 instances to use a common TarMK data-store? Will there be corruption? Why?

Kaustav_Majoomd
Level 3
Level 3

Thanks Justin, but using MongoMK is not feasible for me due to some issue. Can you please help me with the steps or any kind of links or somethings to achieve this in alternate manner. Thanks a lot in advance!!

Regards,

Kaustav Majoomder

kaushal_mall
Employee
Employee

Kaustav, 

If your requirement is to just share the datastore, please use the FileSystemDataStore with TarMK and point multiple instances to the same path. 

kaushal_mall
Employee
Employee

Artie, 

If you use a FileSystemDataStore with TarMK, you can most definitely share it. You won't be able to share the DS if you aren't using FSDS. Hope that helps.