Solved

BEA Weblogic 8.1 server on a multi-cpu machine

Posted on 2003-12-04
6
1,968 Views
Last Modified: 2013-12-10
We're planning for a deployment of WL81 on a Sun (sunfire) box with 6 CPUs. Initially this box will host the whole production deployment, including a Sybase ASE database server, WL server and possibly some other services (such as messaging, etc). Later on, we plan to migrate some things off to other boxes.

Initially, we plan to buy a single-cpu "WL Advantage" license for a WL81 server to be deployed on this box.

Question: what is the behavior of a WL server running with one-cpu license on a multi-cpu machine -- does it pin itself to one CPU only or uses all available resources regardless of its license ? In other words, does the (single-cpu) license affect the behavior of the server by pinning it to one cpu or not ? If not, is it possible to achieve and how ?

I need an answer of someone who have actually dealt with this issue and installed/benchmarked the weblogic server on a multi-cpu machines (any WL admins out there?) and can explain exactly what happens when WL runs on multiple CPUs and how licensing affects that; reference articles (like, from http://e-docs.bea.com/wls/docs81) proving the point will also be very helpful. Any input will be appreciated.

Thank you.
0
Comment
Question by:mitek
  • 4
  • 2
6 Comments
 
LVL 2

Expert Comment

by:egorelik
Comment Utility
I guarantee you that this instance of weblogic will utilize all your system resources.

I think what single CPU really mean is that you can install your sever only on one machine and run it on IP's what license is registered with.

I ran single CPU wls 81 licenses on sun servers with 2, 4 and 6 CPU's and it was always utilizing all of the CPU's.

Zhenek.
0
 
LVL 2

Expert Comment

by:egorelik
Comment Utility
Even if you are running WL server with evaluation license, it's utilizing all of your CPU's.
0
 
LVL 4

Author Comment

by:mitek
Comment Utility
> I think what single CPU really mean is that you can install your sever only on one machine and run it on IP's what license is registered with.

That's a very valuable input -- so, you're saying that the license is really ip-bound, not cpu-bound ? Are there any proofs (online documents, links to discussion groups, etc), to back up this statement ? (I could do some research myself, but someone who's WL admin and works with WLS on daily basis would do it much better -- that's why this question is posted here)

>  ran single CPU wls 81 licenses on sun servers with 2, 4 and 6 CPU's and it was always utilizing all of the CPU's.

Did you have a real, (that is, purchased) single-cpu license (~10-17 K$) or a free evaluation license ?

> Even if you are running WL server with evaluation license, it's utilizing all of your CPU's.

This one I have no even doubts about. Evaluation license is NOT restricted by CPUs, it just collects client's IP addresses, and when it counts 5 of them it will refuse to serve anybody else except those first 5 clients. Quite effective -- and no need to limit CPU utilization.

Again -- message  to everybody -- please, feel free to leave your 2c on the subject -- the points will be split, if necessary.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 2

Accepted Solution

by:
egorelik earned 500 total points
Comment Utility
That's a very valuable input -- so, you're saying that the license is really ip-bound, not cpu-bound ?

> What I acctually want to say is that I am not sure about legal part of the deal.
I suppose, that if you have 6 CPU's then legally you have to buy license for each CPU or unlimited license. Currently I am working with 4 CPU server and I have separate 1 CPU licenses for each of the 4 CPU's. And I guaranty that weblogic process is not bound to specific CPU, but utilizing all of them.  

Did you have a real, (that is, purchased) single-cpu license (~10-17 K$) or a free evaluation license ?

> Yes, I've been administering Weblogic for several years beginning from version 4.5, and now I am administering several Sun servers with different versions of Weblogic.
And right now I am monitoring one of the Sun servers, running prstat command and watching WL 8.1 server java process and I can watch how process randomly running on different CPU's. and I am using single CPU license.

Regards.

Z.







 


0
 
LVL 4

Author Comment

by:mitek
Comment Utility
> And right now I am monitoring one of the Sun servers, running prstat command and watching WL 8.1 server java process and I can watch how process randomly running on different CPU's. and I am using single CPU license.

fair enough.

just one last question -- what is prstat and how it is used ? What it's capable of ? Is it a part of OS or some kind of 3rd party tool ?
0
 
LVL 2

Expert Comment

by:egorelik
Comment Utility
Yes, /usr/bin/prstat is a standard tool for Solaris , if you just run "prstat" command without any switches, it will display different information about processes ( PID, memory and CPU utilization, Status ( "sleep" or "CPU#" on which process is currently running,  )).Usually prstat sort processes by CPU utilization.
If you want to monitor some specific process, you can run
"prstat -p %process ID%". See "man prstat" for more information.

Also, if you'd like to bind specific process to specific CPU, you can use "pbind" command, but usually you don't need this.

Z.
 
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
New Website 15 26
script fails when run under WebSphere with SSL enabled 1 395
method reurn 7 83
Java Exception example issues 11 83
Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This article is about some of the basic and important steps to be used to improve the performance in web-sphere commerce application development. 1) Always leverage the Dyna-caching facility provided by the product 2) Remove the unwanted code …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now