cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to bootstrap Replication Jobs

hansz
Champ in-the-making
Champ in-the-making
Hi Guys,

Being new to the forums, I'm not sure if this is the right place to post this particular question …

In the project I'm currently working on we're replicating content between 2 repositories. The initial replication jobs where setup manually on our development/test environment. However,to minimize the risk of errors, we'd (or better said I'd) like to bootstrap these so they get automatically deployed in our acceptance & production environments.

Is it possible to do this ?
if so, I have the following questions:
- where can I export these settings from on our development environment) …
- where (what configuration file) do I need to add these settings to …

thnx in advance for your time & answers

regards,

Hansz.
1 REPLY 1

nickburch
Confirmed Champ
Confirmed Champ
It's been a while since I worked on the replication stuff, but if memory serves it's all done with nodes in the data dictionary. You'd want to do an ACP export of the relevent nodes. "/app:company_home/app:dictionary/app:transfers/" and "/app:company_home/app:dictionary/app:replication_actions/" are the ones to look at. The Node Browser will be your friend here!

Once you have your ACPs, you'll then need to define a context file that'll bootstrap them. Take a look at "alfresco/bootstrap/replicationActionSpace.xml" and "alfresco/boostrap/transferSpaces.xml" to see the way to reference the places you'll be deploying the ACPs to - you might well need to edit your ACPs to match. Then, look at "alfresco/import-export-context.xml" to see how to bootstrap in an ACP - loads of examples there. You'll want to have something like an AMP with the ACPs in it, and a context file that bootstraps them. Expect it to be a bit fiddly the first time…