Weblogic Apache plugin and session stickiness

If two web servers are configured between a load balancer and a weblogic cluster, will the two Apache servers support session stickiness?

Say, for example, the load balancer forwards the first request to the 1st apache and, in turn, the 1st apache sends to the 1st WL-managed instance. Even if the second request from the same user is redirected by the load balancer to the second apache, the second apache will be able to redirect it to the first instance of WLManaged, which served the first request, and not the second instance of WLManaged, which does not know the session information.

Ideally should be the behavior of the weblogic apache plugin? Trick: I do not want to enable session replication in the wl server cluster.

0
source share
5

" , cookie HTTP " Apache HTTP Server:

, cookie POST, URL-, , ( ), , ( ). , cookie, . , . , , , . . 3-1 .

. POST 64 , POST . , POST, , .

3-1

alt text

, , Apache "" WebLogic, . , , .

:

, Apache. , 50:50. , weblogic .

, apache-, , apache. , ( ), apache . , . , , , , , (.. Apache). ...

( Apache, )? , , , Apache ( Apache, , )?

+8

Apache TCP , , Apache . , WebLogic [IPAddress + Port → JVMID]. cookie JVMID, (, ), , IPAdress + , JVMID, /, (, ), , . , , , .

+1

: . http://blog.c2b2.co.uk/2012/10/basic-clustering-with-weblogic-12c-and.html, - .

, cookie jsessionid -. Mod-wl cookie . 1. , 2.

+1

2 Apache, WL. cookie , WLS, . (, ) WL , ( , " " ). , WLS, .

( , ), , , / WL- , .

0

The answer is NO. Since you have 2 Apache web servers, you need to implement stickiness at both the hardware and software levels to achieve your requirement.

. You already have a sticky session implemented in the Weblogic module for the Apache layer, but you also need stickiness based on the source IP address at the hardware loadbalancer level. This will allow your loadbalancer to send a subsequent request from the same user to the same web server.

-1
source

All Articles