File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes BEA/Weblogic and the fly likes Weblogic Clustering - Practical and Theorhetical Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Weblogic Clustering - Practical and Theorhetical" Watch "Weblogic Clustering - Practical and Theorhetical" New topic

Weblogic Clustering - Practical and Theorhetical

Matt Zollinhofer
Ranch Hand

Joined: Jul 09, 2004
Posts: 33
I can't seem to wrap my head around how load balancing works in weblogic or how the "Clustering Address" field works in particular. First let me describe my environment.

2 virtual servers (VS1 & VS2) with WL 10.3 installed
2 Machines (M1 & M2)
1 Admin Server (AS) on M1
2 Managed Servers (MS1 & MS2) on M1 and M2 respectively
1 Cluster (C1) - created from the Admin Console having MS1 and MS2 registered with it
2 Node Managers (NM1 & NM2) running on VS1 & VS2 respectively (able to start and stop MS1 & MS2)
1 Ear with a webservice targeted to the cluster (other things installed too...but for simplicity lets just go with that)

AS - listening on
MS1 - listening on
MS2 - listening on

I think that's about all the relevant information, let me know if there's more I left out.
1) The test I've been trying to run is simple, try to access the WSDL by hitting then bringing down MS1 to hopefully have the cluster balance the request over to MS2. Is that a valid test? I'm still having a hard time wrapping my head around how/why that would work, but from the documentation I've read I feel like it should.
2) What do I put in the "Cluster Address" for C1?
- I've tried putting, and I've tried leaving it blank - running the above test fails
3) Do I have to have an external load balancer for my test to work?

I feel like I'm just missing something obvious, so any thoughts, no matter how basic are apprciated.

Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977

you need a proxy. You can test you cluster using a weblogic server instance with ClusterServlet configured to do this load balancing for you. You can also use an Apache plugin or a hardware in production environments if you want.

Take a look at the following docs where you'll find good explanation on cluster architectures:

I agree. Here's the link:
subject: Weblogic Clustering - Practical and Theorhetical
It's not a secret anymore!