1831315 Members
3169 Online
110023 Solutions
New Discussion

WLM configuration

 
Jonny_2
Occasional Advisor

WLM configuration

Hi ,
I am new to wlm.I have one doubt in wlm,pls try to help me out.

Here is the doubt which i have in wlm.
i am writing sample code from sample example..
stretch_goal in WLM ..

we have
prm {
groups=sales:2;
apps = sales:/opt/sales/do_ebiz
}

slo sales_query {
pri=1
manicpu=40;
maxcpu=80;
entity=PRM group sales;
goal=metric sales_app.response_time <10.0; (I have doubt that for which paramater r anything i have to set this metric in the sales group like sales_app.response_time...what is this metric..)

tune sales_app.response_time {
coll_argv=/opt/sales_app/monitor -thershold 2 -freq 30 (This is data collector to collect the data and send it to metric--How to create this data collector)

Thank you
jonny
2 REPLIES 2
melvyn burnard
Honored Contributor

Re: WLM configuration

take a look here as this may put you on the right track:
http://resourcemanagement.unixsolutions.hp.com/WaRM/wlm/faq.html#dcol
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Dan Herington
Advisor

Re: WLM configuration

The metric can be anything you want.

Your first step will be to analyze the app to find out what types of information you can get from it or about it. Is performance data available in a log file or is there a command you can run against the app that will give you an indication of performance?

The next step is to then write a script or command that grabs that data and sends it into WLM on some regular interval. The command line you would use to execute that script or command is what you would put in the coll_argv statement.

As an example the Oracle toolkit runs a user-defined query into the database and times how long the query takes to complete. This can then be sent into wlm as a response time measure of the performance of the database.

Dan