Expand my Community achievements bar.

SOLVED

Dispatcher Configuration in AEM

Avatar

Level 3

Hi,

 

I have created one site page on author instance in AEM, I want to publish/replicate this to publish agent. Can anyone help me with the steps?

Also, I have installed IIS 7.5 and configured corresponding dispatcher as well, but do not know how to host AEM Site on IIS. Need help with this, in order to learn the complete deployment process in AEM.

 

Thanks,

Heena

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Already couple of ppl answered on how to publsih. But looks like you have asked many questions.

 

How to publish --> answered by couple of ppl.

What is required for publish --> you need a author server and publish server. Publish agent is configured in author server which will replicate to publish servier. Also additionally you need to create a flush agent which will clear the cache from IIS server. Flush agent can be created in author and publish.

 

How to host AEM site on IIS server --> refer the steps in the link https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/getting-started/dispatche... . Main goals for installing AEM site is as below

    1) Most of the trafffic should be served from the cache. (check for how to control stat level in the above link)

    2)  IIS server should have origin as the AEM publish server.

    3)  deny all the patters which are not required for end user -  For Security

    4) ensure that invalidation happens from publish to IIS server. You need to whitelist publish IP for this. (this is where i struggled when i condofired in IIS for the first time)

    5) If possible create rewrite rules for shorten and long url's

View solution in original post

3 Replies

Avatar

Community Advisor

Hi @Heena06 

To give quick background, content publish from author to publisher happens via replication agent. You can follow the below document to configure replication agent.

https://helpx.adobe.com/in/experience-manager/6-3/sites/deploying/using/replication.html#:~:text=To%...

 

Once the replication agent set up you can publish the pages either in bulk or individually. Below article has a video to explain every bit of publishing step.

https://docs.adobe.com/content/help/en/experience-manager-learn/sites/page-authoring/publication-man...

 

To summarise, 

  • Create the replication agent and configure the required parameters and you can test the connection if it is success.
  • Publish the page using the publish/activate button.

On second question :

Hope you have followed the steps and installed dispatcher properly as mentioned in below document. 

https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/getting-started/dispatche...

If yes, please go through the below document to configure the dispatcher to host the site. This document explains the every single bit on dispatcher configuration. 

https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/configuring/dispatcher-co...

Avatar

Employee

Hi @Heena06,

To answer your queries, replication to a publish instance from author takes place in several steps:

 

  • the author requests that certain content be published (activated); this can be initiated by a manual request, or by automatic triggers which have been preconfigured.
  • the request is passed to the appropriate default replication agent; an environment can have several default agents which will always be selected for such actions.
  • the replication agent "packages" the content and places it in the replication queue.
  • in the Websites tab the colored status indicator is set for the individual pages.
  • the content is lifted from the queue and transported to the publish environment using the configured protocol; usually this is HTTP.
  • a servlet in the publish environment receives the request and publishes the received content; the default servlet is http://localhost:4503/bin/receive.
  • multiple author and publish environments can be configured.

Capture.JPG

 

 

 

This replication is actioned from the author environment by the:

  • Default Agent (publish)
    This agent replicates content to the default publish instance.
    Details of this (configuration and logs) can be accessed from the Tools console of the author environment; or:
    http://localhost:4502/etc/replication/agents.author/publish.html.

 

Configuring your Replication Agents from the Author Environment: From the Tools tab in the author environment you can configure replication agents that reside in either the author environment (Agents on author) or the publish environment (Agents on publish). The following procedures illustrate the configuration of an agent for the author environment, but can be used for both.

 

 1 Access the Tools tab in AEM.

 2. Click Replication (left pane to open the folder).

 3. Double-click Agents on author (either the left or the right pane).

 4. Click the appropriate agent name (which is a link) to show detailed information on that agent.

 5. Click Edit to open the configuration dialog:

 

Capture.JPG

 

 6. The values provided should be sufficient for a default installation. If you make changes then click OK to save them (see Replication Agents - Configuration Parameters for more details of the individual parameters).

 

References: https://docs.adobe.com/content/help/en/experience-manager-65/deploying/configuring/replication.html#...

 

 

You can refer to https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/getting-started/dispatche... for installing dispatcher IIS.

 

Thanks!!

 
 

Avatar

Correct answer by
Community Advisor

Already couple of ppl answered on how to publsih. But looks like you have asked many questions.

 

How to publish --> answered by couple of ppl.

What is required for publish --> you need a author server and publish server. Publish agent is configured in author server which will replicate to publish servier. Also additionally you need to create a flush agent which will clear the cache from IIS server. Flush agent can be created in author and publish.

 

How to host AEM site on IIS server --> refer the steps in the link https://docs.adobe.com/content/help/en/experience-manager-dispatcher/using/getting-started/dispatche... . Main goals for installing AEM site is as below

    1) Most of the trafffic should be served from the cache. (check for how to control stat level in the above link)

    2)  IIS server should have origin as the AEM publish server.

    3)  deny all the patters which are not required for end user -  For Security

    4) ensure that invalidation happens from publish to IIS server. You need to whitelist publish IP for this. (this is where i struggled when i condofired in IIS for the first time)

    5) If possible create rewrite rules for shorten and long url's