Re: Connect to a node instead of a cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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, <vadud3@xxxxxxxxx> 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 <dferradal@xxxxxxxxxx> 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, <vadud3@xxxxxxxxx> 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?


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux