I added this but it went to a different node instead of node 1 which is
msts1acnf001

ProxyPass /confluencenode1 http://msts1acnf001:8098/confluence
ProxyPassReverse /confluencenode1 http://msts1acnf001:8098/confluence

Any suggestion what am I doing wrong?

Thanks,
Asif




On Mon, May 17, 2021 at 2:18 PM Daniel Ferradal <dferra...@apache.org>
wrote:

> Yes, you need to use a different "source" path for the new directives,
> destination path can be different but otherwise, how can apache tell when
> to serve which?
>
> El lun., 17 may. 2021 20:08, <vad...@gmail.com> escribió:
>
>> I do have this setup
>>
>> ProxyPass /confluence balancer://confluencedc/confluence
>> ProxyPassReverse /confluence balancer://confluencedc/confluence
>>
>> To access confluence node it needs to hit /confluence and that is already
>> taken by the above config and maps to the context path.
>>
>> I am not sure if I have a second context path /adminpath and if I can I
>> suppose I will need to map it to same real dir?
>>
>> Thanks,
>> Asif
>>
>>
>> On Mon, May 17, 2021 at 1:39 PM Daniel Ferradal <dferra...@apache.org>
>> wrote:
>>
>>> Define a ProxyPass directive with a unique path pointing to one of the
>>> node you want to use
>>>
>>> Hint
>>> ProyPass /adminpath/ http://server1/admin/
>>>
>>>
>>> El lun., 17 may. 2021 19:03, <vad...@gmail.com> escribió:
>>>
>>>> Hi All,
>>>>
>>>> I have a load balancer setup like below
>>>>
>>>> <Proxy balancer://confluencedc>
>>>> BalancerMember http://msts1acnf001:8098 route=1
>>>> BalancerMember http://msts1bcnf002:8098 route=2
>>>> BalancerMember http://msts1ccnf003:8098 route=3
>>>> ProxySet stickysession=ROUTEID
>>>> </Proxy>
>>>>
>>>> And each node running tomcat and has a context path setup
>>>>
>>>> <Context path="/confluence" docBase="../confluence" debug="0"
>>>> reloadable="false" useHttpOnly="true">
>>>>
>>>> How do I configure it to access a node instead of the cluster? I do
>>>> need the cluster for users, but for admin sometimes need to access a node
>>>> to check its UI status.
>>>>
>>>> Thanks,
>>>> Asif
>>>>
>>>>
>>>>
>>>> --
>>>> Asif Iqbal
>>>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
>>>> A: Because it messes up the order in which people normally read text.
>>>> Q: Why is top-posting such a bad thing?
>>>>
>>>>
>>
>> --
>> Asif Iqbal
>> PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
>> A: Because it messes up the order in which people normally read text.
>> Q: Why is top-posting such a bad thing?
>>
>>

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Reply via email to