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 Mapping Managed server to a cpu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "Mapping Managed server to a cpu" Watch "Mapping Managed server to a cpu" New topic

Mapping Managed server to a cpu

Rovas Kram
Ranch Hand

Joined: Aug 08, 2003
Posts: 135
Is your question in the context of multiprocessor machines? When I first read this post, I thought the answer would be to assign an ip address to each server in the cluster but that seems to be too simple - I mean if you ever configured a server in Weblogic console, you know that you have to assign the listening address(ip). In that context, I'd think for performance reasons you'd add servers with unique ip addresses to your cluster.
Nazneen Shaikh

Joined: May 01, 2003
Posts: 21
Yes, What I am talking talk of is a multiprocessor environment.

Well I'm not sure of the of the IP address assignment...
I mean I have configured a managed server in weblogic too many times, but the listening address for the servers to be configured on a machine are always the same, and they are never different for the same machines with multiple CPU's.
Nazneen Shaikh

Joined: May 01, 2003
Posts: 21

I was going thru some documentation about weblogic for better performance.

It says the configuration of managed servers in a cluster should be ona 1:1 basis witht he cpu's i.e one managed server per cpu.

How do I do this?

Does anyone have any clue to how this is to be done? I mean how do I actually map one managed server to one cpu?
Scott Dunbar
Ranch Hand

Joined: Sep 23, 2004
Posts: 245
I don't think you need to specifically tie a managed server to a particular CPU but rather the number of managed servers should be numprocs-1. Let the extra processor do the O/S things. Alot of it depends on how busy the managed servers are.

Having said that you can tie a process to a single CPU in some operating systems. What O/S are you on?

<a href="" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
Nazneen Shaikh

Joined: May 01, 2003
Posts: 21
The environment is on solaris.
also the other thing I wanna know is

If I have the managed servers listening on same IP Address and different ports, and if the requests are being distributed to the managed servers is via a load-balancer(not a weblogic server, but an external load-balancer) am I implementing a cluster in the right way or not? and if now why?

Thanks & Regards,
[ September 30, 2004: Message edited by: Nazneen Shaikh ]
I agree. Here's the link:
subject: Mapping Managed server to a cpu
jQuery in Action, 3rd edition