Can i Sync an (AEM 6.0) Author environment with other Author environment using RSYNC?

Avatar

Avatar

RMGJID

Avatar

RMGJID

RMGJID

15-10-2015

Hi,

Since we can't cluster 2 author servers using TarMK. I just wanted to know if i can write a cron job to sync the author servers using RSYNC? 1 Server will be always active and whenever there is a change in master i will run a cron job to copy the changed tar files to the other server. Will this work? if yes, which folders should i sync (repository?). if not, why not? 🙂

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Paul_McMahon

MVP

Avatar

Paul_McMahon

MVP

Paul_McMahon
MVP

15-10-2015

Check out http://docs.adobe.com/docs/en/aem/6-0/deploy/recommended-deploys/tarmk-cold-standby.html for Adobe's recommendation on how to achieve a cold stand by highly available authoring TarMK environments (highly available publish environments should follow the TarMK farm model). The model you describe using RSYNC is not a recommended deployment. The cold stand by model requires a restart of the cold stand by instance in order to promote it to primary so it isn't a model that will provide immediate fail over in case of a failure - there will be some noticeable downtime in case of a failover event while the standby is restarted.

Answers (2)

Answers (2)

Avatar

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

991

Correct Reply

1.0K

Avatar

Jörg_Hoh

Employee

Total Posts

3.0K

Likes

991

Correct Reply

1.0K
Jörg_Hoh
Employee

15-10-2015

 Hi,

So you want to have a "warm standby" solution? Kicking off a job on every change isn't feasible, as it will change very often (every second?), and you will end up with a few rsync's running in parallel. Instead I would recommend to copy every hour (or every 30 minutes).

kind regards,
Jörg

Avatar

Avatar

RMGJID

Avatar

RMGJID

RMGJID

15-10-2015

Thanks for the prompt reply. Yes, I just figured out the article published by Adobe.

http://docs.adobe.com/docs/en/aem/6-0/deploy/recommended-deploys/tarmk-cold-standby.html

Thanks again for the reply 🙂