Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

In which use case Multiple renderer is used in Dispatcher

Sam205505050
Level 6
Level 6
 

I am trying to understand when it make sense to use multiple renderer in dispatcher.any configuration. For example I have this setup.

On Dispatcher-1 server:

 

 

 /renders {
   /0001 {
    /hostname "https://publish-1.com"
    /port "8443"
      }
  /0002 {
    /hostname "https://publish-2.com"
    /port "8443"
      }
  }  

 

 

On Dispatcher-2 server:

 

 

/renders {
   /0001 {
    /hostname "https://publish-1.com"
    /port "8443"
      }
  /0002 {
    /hostname "https://publish-2.com"
    /port "8443"
      }
  }  

 

 

Now as per my understanding dispatcher will forward the traffic to either publish-1 or publish-2 server depending on the time taken by the respective publish server.

When I look into this page then I see there is no configuration which makes it possible to direct the traffic from Dispatcher-1 to Publish-2. It is always Dispatcher-1 to Publish-1 or Dispatcher-2 to Publish-2. If Publish-2 goes down then the request landing on Dispatcher-2 will not be processed.

Could you please clarify what is the use of only one-to-one setup and when it make sense to have one-to-many setup?

Thanks for your help!

1 Accepted Solution
BrianKasingli
Correct answer by
Community Advisor
Community Advisor

Hello @Sam205505050,

Your configuration looks correct, The following example /renders section distributes render requests equally among two AEM instances (Adobe documentation) :

 

/renders
  {
    /myFirstRenderer
      {
      /hostname "https://publish-1.com"
      /port "8443"
      }
    /mySecondRenderer
      {
      /hostname "https://publish-2.com"
      /port "8443"
      }
  }

 

We would need to further investigate your issue. From your AEM staging / development environment, you can change the apache web server's dispatcher configuration to show "error" logs. After the dispatcher is restarted, subsequent requests will be visible as new entries in the log file; you should be able to see detailed information about errors and requests here.
 
From a finger in the air guess, your dispatcher might not be able to access one of the publishers, therefore only one of the publishers can be resolved.
 
Regards,
Brian.

View solution in original post

2 Replies
BrianKasingli
Correct answer by
Community Advisor
Community Advisor

Hello @Sam205505050,

Your configuration looks correct, The following example /renders section distributes render requests equally among two AEM instances (Adobe documentation) :

 

/renders
  {
    /myFirstRenderer
      {
      /hostname "https://publish-1.com"
      /port "8443"
      }
    /mySecondRenderer
      {
      /hostname "https://publish-2.com"
      /port "8443"
      }
  }

 

We would need to further investigate your issue. From your AEM staging / development environment, you can change the apache web server's dispatcher configuration to show "error" logs. After the dispatcher is restarted, subsequent requests will be visible as new entries in the log file; you should be able to see detailed information about errors and requests here.
 
From a finger in the air guess, your dispatcher might not be able to access one of the publishers, therefore only one of the publishers can be resolved.
 
Regards,
Brian.

View solution in original post