1752799 Members
6063 Online
108789 Solutions
New Discussion юеВ

Re: maxusers HP-UX 11.23

 
SOLVED
Go to solution
JJota
Occasional Contributor

maxusers HP-UX 11.23

Hi all,

I have an application that it requires to modify maxusers. This parameter is obsolete in 11.23 version.
When I execute a test tool fails when it detects that this parameter does not have the correct value. What can I do?

thanks in advance.
Jota.
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: maxusers HP-UX 11.23

Shalome,

kctune | grep max

I kind of remember seeing that parameter there.

If it lists it as dynamic, you can use kctune to change it on the fly in 11.23

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
A. Clay Stephenson
Acclaimed Contributor

Re: maxusers HP-UX 11.23

This document explains the workaround.

http://h21007.www2.hp.com/dspp/tech/tech_TechSingleTipDetailPage_IDX/1,2366,5329,00.html
If it ain't broke, I can fix that.
uadm26
Super Advisor
Solution

Re: maxusers HP-UX 11.23

Hi,

The command is:
/usr/sbin/kctune -u -C "a comment" maxusers=n

n is the number you need.

Joel.
Jaime Bolanos Rojas.
Honored Contributor

Re: maxusers HP-UX 11.23

Jjota,

Yes, maxusers is obsolute, please take a look at this link,

http://docs.hp.com/en/B2355-60105/maxusers.5.html

Regards,

Jaime.
Work hard when the need comes out.
inventsekar_1
Respected Contributor

Re: maxusers HP-UX 11.23

joel is correct.
/usr/sbin/kctune -u -C "user definded variable" maxusers=n

this maxusers will going to do nothing with the kernel. it is simply to fool the application. [ it may work, i think]


the -u will create user-defined variable.
man kctune
-u Allow the creation of user-defined tunables. Normally, kctune will not accept any tunable name that does not identify an existing tunable. When the -u option is given, kctune will accept an assignment to an unrecognized tunable name and use it to define a new user-defined tunable. This tunable will not directly affect the kernel, but may be used in expressions defining the values of other tunables. The -u option is not needed when changing the value of a user-defined tunable; it is needed only to create one.

To remove a user-defined tunable, set it to default. A user-defined tunable may not be removed if it is used in the expressions defining any other tunable values.
Be Tomorrow, Today.
Bill Hassell
Honored Contributor

Re: maxusers HP-UX 11.23

maxuser was a cornball parameter used to 'adjust' several parameters based on the number of users. It was never correct because the number of users on the system only slightly affects most kernel parameters. That's why most sysadmins will dump the formula entries in the kernel parameters and put in a simple number. maxusers is *NOT* a kernel parameter and an application that requires it for installation needs clarification from the manufacturer (actually, their install instructions need a re-write). And this implies that possibly this application has not been tested on 11.23 yet.


Bill Hassell, sysadmin
Marvin Strong
Honored Contributor

Re: maxusers HP-UX 11.23

As others have covered the maxusers issue. I will add that the application most likely was never tested on 11.23 as Bill states.

I would contact that applications support, or have whoever is responsible for the application contact support. Ask them exact what kernel parameter values they need (nfile etc..) you could then set those to the appropriate values.

If they are looking at the actual maxusers parameter then of course you can just add that as a user defined parameter. But keep in mind that may not set all the others parameters that goofy maxuser formula used to modify.
Jov
Honored Contributor

Re: maxusers HP-UX 11.23

What does that say about HP when the product is OVO? :P


Jov
Dennis Handly
Acclaimed Contributor

Re: maxusers HP-UX 11.23

>SEP: This document explains the workaround.
http://h21007.www2.hp.com/dspp/ ...

Unfortunately all links on the DSPP site were changed last week, with no forwarding addresses. :-(

So unless you have some keywords on that page to enable you to search, you aren't likely to find it.