How to configure publishers programmatically

1k Views Asked by At

For disaster recovery purposes we have to invent mechanism for automated deploying CQ instance. It must setup replication agents automatically, getting agents configuration from property file and deploy them to CQ automatically, without any human intervention. Have somebody any experience how to do that?

I tried to make nodes for replication agents by path: /etc/replication/agents.author But seems it does not work.

One more issue is how to store password field. CQ saves hash in the property 'transportPassword' (like {8daa5f84c1c8067bab760cb93b8de6642c9e67ebda900ce5902b9910165fb9388558d4b0579b8c496695563eda60a25d}). May be somebody knows algorithm?

Thank you in advance.

2

There are 2 best solutions below

0
Oleksandr Tarasenko On

Password looks like it came from Crypto Support Service

1
IT Gumby On

Have you considered creating a content package of the replication agents? You could programmatically upload & install the content package. I would confess to not knowing off the top of my head if the hased password changes from instance to instance.