Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

what is correct method to remove a publish instance out of production

Avatar

Level 1
 
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

If you have a load balancer in-front of dispatcher then you can take 1 dispatcher out of load balancer which inturn removes the publisher accessing for end users. By this we can avoid downtime to the site while upgrading the publisher which is took out of rotation.

 

Once the changes are done in the publisher we can put back the dispatcher to load balancer and take out the other publisher and do the same.

 

Hope this helps!

View solution in original post

3 Replies

Avatar

Community Advisor

I assume you have two publish instances running.

Then make 1 publish down and upgrade or do what ever you want to do with that mean time second instance will be up.

Avatar

Correct answer by
Community Advisor

Hi,

If you have a load balancer in-front of dispatcher then you can take 1 dispatcher out of load balancer which inturn removes the publisher accessing for end users. By this we can avoid downtime to the site while upgrading the publisher which is took out of rotation.

 

Once the changes are done in the publisher we can put back the dispatcher to load balancer and take out the other publisher and do the same.

 

Hope this helps!

Avatar

Community Advisor

Hi @rohan07 

 

If you're planning to remove the publish instance from production permanently/temporarily then you might follow the below approach:

  • If you are using multiple dispatchers in your infrastructure then you can remove the one pointing to publisher that needs to be removed from the load balancer so that all of your requests will go to another publisher.
  • You need to disable the replication agent on author instance which points to your publisher which you are planning to remove else it will block your replication queue.
  • Update your dispatcher render configuration to remove the IP of the publisher which needs to be removed.

 

If you want to remove the publisher temporarily(for an upgrade) then you can revert these changes once it is upgraded.