- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- /stand/build/system
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
Forums
Discussions
Discussions
Forums
Discussions
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
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
12-20-2005 12:50 PM
12-20-2005 12:50 PM
/stand/build/system
I recently installed 11i enterprise version. I want to change some of the kernal parameter.
I extracted the system file thru system_prep comand , but I can only see 5 configurable parameter.
If I use sam I can see all kernal parameter.
Why it is so ?
I know there are many guru with many answer.
Your comments are welcome.
Mohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 12:59 PM
12-20-2005 12:59 PM
Re: /stand/build/system
You can use just kmtune to see all the current configured parameters.
Also use query to see details.
ex:
# kmtune -q maxfile
/stand/system file keeps the values, do not edit manually , but to use kmtune.
To change :
----------
# kmtune -s maxfile=4000
# ./mk_kernel
# kmupdate
# shutdown -r -y 0
After restart you can check with ,
# kmtune -q maxfile
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 01:03 PM
12-20-2005 01:03 PM
Re: /stand/build/system
The reason you only see the five is those are the five that are different than their defaults for whatever reason. You can use this link:
http://www.olearycomputers.com/ll/hpkernel.html
as a checklist of 11i cli based kernel creation. I gotta update it for 11.23; it's much simpler.
HTH;
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 01:24 PM
12-20-2005 01:24 PM
Re: /stand/build/system
The "system_prep" command reads the kernel parameters directly from the running kernel. By default it pulls out those parameters which you see in the first copy of the "/stand/system" file after OS installation.
When you use "kmtune" command to change kernel parameters , it will update "/stand/system" file with those parameters. It is then copied to /stand/build for kernel rebuild.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 02:38 PM
12-20-2005 02:38 PM
Re: /stand/build/system
I agreed with you all , methods of changing the kernal parameters values:
1= kmtune
2= sam
3= update system file.
I followd the standared procedure to extract the kernal tunable prameters.
cd /stand/build
/usr/lbin/sysadm/system_prep -s system
it creates system file in /stand/build
Sameer : you said system_prep take the input from /vmunix/system
I checked the /stand/system and /stand/build/system file and found diffrence .
more suggetions please.
Mohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 02:49 PM
12-20-2005 02:49 PM
Re: /stand/build/system
What parameters are you planning to change.
What output do you get when give kmtune command without any parametr.
Have you rebooted after installing.
You can try the followings:
--------------------------------------
Change directory to the build environment (/stand/build). There, execute a system preparation script, system_prep, which extracts the system file from the current kernel, as follows:
cd /stand/build
/usr/lbin/sysadm/system_prep -v -s system
The system_prep script writes a system file in your current directory (that is, it creates /stand/build/system). The -v gives verbose explanation as the script executes.
Modify the /stand/build/system file to add the absent driver(s) by invoking the kmsystem command. The -c Y specifies that driver-name is to be configured into the system.
/usr/sbin/kmsystem -S /stand/build/system -c Y driver-name
-----------------------------------
Hope this will help ,
cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 03:02 PM
12-20-2005 03:02 PM
Re: /stand/build/system
I want to change the maxusers value and nfile value , nkthread ... and many more ...
I followd the below procedure to extract the kernal parameter values.
cd /stand/buil
/usr/lbin/sysadm/system_prep -v -s system
see below contents of system file.
sba
lba
c720
sdisk
stape
sctl
asio0
cdfs
cxperf
olar_psm
olar_psm_if
dev_olar
diag0
diag1
diag2
dmem
dev_config
iomem
nfs_core
nfs_client
nfs_server
btlan
maclan
dlpi
token_arp
inet
uipc
tun
telm
tels
netdiag1
nms
hpstreams
clone
strlog
sad
echo
sc
timod
tirdwr
pipedev
pipemod
ffs
ldterm
ptem
pts
ptm
pckt
cifs
td
fcd
fddi4
gelan
GSCtoPCI
iop_drv
bs_osm
iether
igelan
lvm
lv
ipmi
ipmi_psm
prm
vxvm
vxdmp
vol
vols
mpt
nfsm
rpcmod
autofsc
cachefsc
cdump
core_setid
enhautofsc
fcintrmigr
mdep_im
intrmigr
mmap_perf
mtioscan
pset
vfs_advsyscall
vfs_enh
vxfs35
vxportal35
fdd
qlog
STRMSGSZ 65535
nstrpty 60
dump lvol
maxswapchunks 6144
max_thread_proc 1100
maxtsiz 0x4000000
maxtsiz_64bit 0x40000000
shmmax 0x4000000
which driver name I select for maxusers ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 03:10 PM
12-20-2005 03:10 PM
Re: /stand/build/system
It seems tunable parameters are not listed is system_prep,
Can you try :
# kmtune -q maxusers
# kmtune -s maxusers=value
# mk_kernel
# kmupdate
check again:
# kmtune -q maxusers
(check for current and planned values).
also this will be reported in /stand/system file , you can grep it.
# shutdown -r -y 0
After reboot check:
----
# kmtune -q maxusers
(current value should be the new value.)
Hope this will allow you to set the kernel parameters.
hth.
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 03:10 PM
12-20-2005 03:10 PM
Re: /stand/build/system
It seems tunable parameters are not listed in system_prep,
Can you try :
# kmtune -q maxusers
# kmtune -s maxusers=value
# mk_kernel
# kmupdate
check again:
# kmtune -q maxusers
(check for current and planned values).
also this will be reported in /stand/system file , you can grep it.
# shutdown -r -y 0
After reboot check:
----
# kmtune -q maxusers
(current value should be the new value.)
Hope this will allow you to set the kernel parameters.
hth.
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2005 04:16 PM
12-20-2005 04:16 PM
Re: /stand/build/system
I could able to change the kernal vlue thru kmtune command.
Any reason or thought why system_prep command not extracting the all kernal parameter values in /stand/build system file ?
Regards
Mohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 01:52 AM
12-21-2005 01:52 AM
Re: /stand/build/system
As I mentioned, the only kernel parameters that get listed in the system file (or the system_prep file) are ones that are not default. If you haven't changed *any* kernel parameters, then none will show up in the system file.
Doug
------
Senior UNIX Admin
O'Leary Computers Inc
linkedin: http://www.linkedin.com/dkoleary
Resume: http://www.olearycomputers.com/resume.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 01:58 AM
12-21-2005 01:58 AM
Re: /stand/build/system
I suggest you use 'kmtune -l' to list all kernel parameters along with their current values and formula for calculation. You can review their meanings, relatinoships and the consequences of changing them here:
http://docs.hp.com/en/TKP-90202/index.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2005 04:33 PM
12-21-2005 04:33 PM
Re: /stand/build/system
Doug you are right .
Mohan