- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How to modify the kernal parameter on HP-UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2009 03:52 PM
тАО01-04-2009 03:52 PM
How to modify the kernal parameter to match the new memory size on hp-ux using command.
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2009 04:08 PM
тАО01-04-2009 04:08 PM
Re: How to modify the kernal parameter on HP-UX
We would like to help you, but your question
is very ambiguous.
What kernel parameter do you have in mind?
Some of them are auto-tuned based on
physical resources you have on the server.
Please let us know what exactly are you trying
to resolve?
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2009 04:22 PM
тАО01-04-2009 04:22 PM
Re: How to modify the kernal parameter on HP-UX
Check out:
man kctune
or kmtune for older versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-04-2009 10:47 PM
тАО01-04-2009 10:47 PM
Re: How to modify the kernal parameter on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 07:13 AM
тАО01-05-2009 07:13 AM
Re: How to modify the kernal parameter on HP-UX
I am going to install mq on hp-ux server. Before installing, I need to set some of the kernel parameter.
for example, need to change the maxfiles parameter to 1024.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 08:31 AM
тАО01-05-2009 08:31 AM
Re: How to modify the kernal parameter on HP-UX
Have you checked to make sure it isn't already 1024 or larger?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 09:07 AM
тАО01-05-2009 09:07 AM
Re: How to modify the kernal parameter on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 02:49 PM
тАО01-05-2009 02:49 PM
SolutionHere is a simple plan:
a) For each of the kernel parameters check if
they are dynamic or static.
Static ones will require a rebuild of the
kernel and reboot.
For example:
# kctune -v maxfiles
Tunable maxfiles
Description Initial (soft) maximum number of file descriptors per process
Module fs
Current Value 2048 [Default]
Value at Next Boot Default (automatic)
Value at Last Boot 2048
Default Value 2048 (automatic)
Constraints maxfiles >= 32
maxfiles <= 1048576
maxfiles <= maxfiles_lim
Can Change At Next Boot Only
-----------------
||
\/
static parameter
For HP-UX versions <= 11.11 you can use:
# kmtune
and HP-UX versions >= 11.20
# kctune
In other words, on 11.11 and below, you can use the kmtune command:
# kmtune -q param # to check
# kmtune -s param=value # to set
On 11.20 and up you can use kctune:
# kctune -v param # to check
# kctune param=value # to set
b) Then, create a document with your
changes, write a Change Request and
get it approved. I would hope you
cannot make changes without proper change
management procedures in your company.
c) Then, either use command-line
kctune(1m) to change each parameter,
or simply use SAM or SMH to do it
via GUI interfaces (whatever makes
you comfortable).
In your specific case, if you use newer
version of the O/S, to set maxfiles:
# kctune maxfiles=4096 (or whatever)
d) If the changes require a reboot,
make sure that you are logged in at the
console (ILO, GSP, or whatever).
Cheers,
VK2COT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-05-2009 03:04 PM
тАО01-05-2009 03:04 PM
Re: How to modify the kernal parameter on HP-UX
cheers,
f. halili