내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Multiple dispatchers - one web server dispatching to author and publisher

Avatar

Level 1

Environment: CQ 5.5 SP2

Is it possible to have one web server running the dispatcher plug-in to dispatch to both Author and Publisher servers dependent on URL?

Something like

localhost:port/author gets dispatched to author servers

localhost:port/publisher gets dispatched to publisher servers

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 7

I'm not completely sure about that setup but I think it would be possible to set up 2 different farms in your dispatcher config.

Farm 1) & Farm2)
Define the renderers aka the author instances
Define the virtual hosts for the accepted adresses

 

/farms { /farm1 { /virtualhosts { "authors.mycompany.com" } /renders { /hostname "authorinstance.mycompany.com" /port "authorport" } } /farm2 { /virtualhosts { "authors.mycompany.com" } /renders { /hostname "publishinstance.mycompany.com" /port "publisherport" } } }

Of course the virtual host setup is a bit more advanced than that, and some further config must happen at the apache config but this is just an example of how one probably could do it.
Regarding the dispatcher config, http://dev.day.com/docs/en/cq/current/deploying/dispatcher/disp_config.html has a lot of nice info...

Regards
Johan

원본 게시물의 솔루션 보기

1 답변 개

Avatar

정확한 답변 작성자:
Level 7

I'm not completely sure about that setup but I think it would be possible to set up 2 different farms in your dispatcher config.

Farm 1) & Farm2)
Define the renderers aka the author instances
Define the virtual hosts for the accepted adresses

 

/farms { /farm1 { /virtualhosts { "authors.mycompany.com" } /renders { /hostname "authorinstance.mycompany.com" /port "authorport" } } /farm2 { /virtualhosts { "authors.mycompany.com" } /renders { /hostname "publishinstance.mycompany.com" /port "publisherport" } } }

Of course the virtual host setup is a bit more advanced than that, and some further config must happen at the apache config but this is just an example of how one probably could do it.
Regarding the dispatcher config, http://dev.day.com/docs/en/cq/current/deploying/dispatcher/disp_config.html has a lot of nice info...

Regards
Johan