How to configure the replication agent to publish the content from author to publish, when publish and author instances are installed in the different servers. | Community
Skip to main content
October 16, 2015
Solved

How to configure the replication agent to publish the content from author to publish, when publish and author instances are installed in the different servers.

  • October 16, 2015
  • 3 replies
  • 2980 views

Hi,

We have author instance and publish instance installed in different machines (author in UAT server and Publish in production server).

How i need to configure the replication agent so that i can publish the content from author to publish Environment. Or do i need to install author and publish instances in the same server? Please let me how to do.

Thanks

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ojjis

Hi !
You definately don't need to have the author and the publish instance on the same server. Within the author, you simply browse to the replication settings. There you will find settings for the publish instance (http://localhost:4502/etc/replication/agents.author/publish.html
The default setting for the publish server is http://localhost:4503/ and this is what you want to change. Once you set this to the correct ip your author will then find the server it should publish to.  There is more at this page (http://dev.day.com/docs/en/cq/current/deploying/replication.html).
In there you will also find how you will set the reverse replication from the publisher back to the author.

Good Luck
/Johan

3 replies

Ojjis
OjjisAccepted solution
Level 7
October 16, 2015

Hi !
You definately don't need to have the author and the publish instance on the same server. Within the author, you simply browse to the replication settings. There you will find settings for the publish instance (http://localhost:4502/etc/replication/agents.author/publish.html
The default setting for the publish server is http://localhost:4503/ and this is what you want to change. Once you set this to the correct ip your author will then find the server it should publish to.  There is more at this page (http://dev.day.com/docs/en/cq/current/deploying/replication.html).
In there you will also find how you will set the reverse replication from the publisher back to the author.

Good Luck
/Johan

sourabhs4993493
Level 2
November 13, 2016

Hi Ojjis,

I have an automation script that starts aem instance and runs test on them. I want to change the default publish server. Can this be done through script?

Thanks

Sham_HC
Level 10
November 23, 2016

Yes use curl.