Setting kernel parameters in solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Setting kernel parameters in solaris 10
# 1  
Old 09-21-2012
Setting kernel parameters in solaris 10

hi guys,

Prior to the installation of IBM DB2 database on Solaris 10, i need to set the following parameters:

kernel.shmmax (SHMMAX) 1 073 741 824 (64-bit kernel)
kernel.sem (SEMMNI) 1 024
kernel.msgmni (MSGMNI) 1 024
kernel.msgmax (MSGMAX) 65 536
kernel.msgmnb 65 536

I understand that putting these entries in /etc/system is no longer recommended, we need to use project settings instead. But i'm unable to find the project equivalent attribute for MSGMAX above. For e.g, for the MSGMNI, the attribute is project.max-msg-ids.

Please advise how i can set the project settings for the above parameters.

I'm thinking of proceeding as follows:
projadd -p 101 -c "IBM DB2" \
-U bodadm,dbdadm \
-K "project.max-shm-memory=(priv,1073741824,deny)" \
-K "project.max-sem-ids=(priv,1024,deny)" \
-K "project.max-msg-ids=(priv,1024,deny)" \
-K "project.<no idea>=(priv,65536,deny)" \
-K "process.max-msg-qbytes=(priv,65536,deny)" \
DB2

also i add the 2 users bodadm,dbdadm in /etc/user_attr

Please help.

regards.
# 2  
Old 09-21-2012
If I am reading your post correctly: kernel.msgmax (MSGMAX) 65 536

The following tunables are now obsolete in the Solaris 10 Operating System: msginfo_msgmax

From: Oracle document 1006158.1
# 3  
Old 09-22-2012
thanks for yr reply

indeed the parameter is obsolete and also this parameter used to be added to the /etc/system file. See link:
System V IPC Configuration (Solaris Tunable Parameters Reference Manual)

I was asking for its equivalent to be used in projects. The above link gives
process.max-msg-messages (old - msgsys:msginfo_msgtql) but i dont know whether it is meant for kernel.msgmax (MSGMAX).


By the way how can i access the oracle document 1006158.1?


regards.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

What exactly does Kernel parameters do ?

Virtual Machine running on VMWare workstation 9.2 os : RHEL 5.8 RAM : 2.5GB Swap : 2.6gb CPU : 1 virtual CPU Surprizingly I couldn't find much from googling on What exactly does Kernel parameters do ? I was under the impression that kernel parameters just set the limits/maximum for a... (2 Replies)
Discussion started by: John K
2 Replies

2. Solaris

Kernel parameters problem in Solaris 10

please tell me the list of kernel parameters in solaris10. Because we've a requirement in one project. Also tell me the importance of eah kernel parameter if possible. Thanks in Advance.:):cool: (2 Replies)
Discussion started by: vamshigvk475
2 Replies

3. Solaris

Kernel Parameters

Dear All, I have weblogic Portal Installed in the Server solaris 10. How can i verify whether all the kernel parameters are available for this Software and also another question is How to crosscheck a server ( Solaris 10 Sparc ) whether it has all the required kernel parameters. ... (2 Replies)
Discussion started by: jegaraman
2 Replies

4. Solaris

Kernel Parameters

Dear All, I want to check whether all essential kernel parameters are installed in my Solaris 10 System. Is there any way to find it. And also how to tune it. Kindly help. Thanks and Regards Rj (8 Replies)
Discussion started by: jegaraman
8 Replies

5. Solaris

Which file is read by kernel to set its default system kernel parameters values?

Hi gurus Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies

6. UNIX for Advanced & Expert Users

Setting kernel Parameters

I want to install Datastage in unix server...:) to do this i have to check that the following tunable kernel parameters: MSGMAX MSGMNB MSGSEG SEMMNS SEMMSL SEMMNI SEMOPM MAXUPROC My question is where shall i find this parameters in Unix..? Since i am new to unix i do not have... (1 Reply)
Discussion started by: Amey Joshi
1 Replies

7. Solaris

Kernel Parameters in Solaris 10

Hello, Can anyone point me out as to how to set the following parameters in Solaris Kernel: set semsys:seminfo_semmni=16384, set semsys:seminfo_semmns=32768,set semsys:seminfo_semmsl=1024, set semsys:seminfo_semmnu=16384,set semsys:seminfo_semume=1024, set shmsys:shminfo_shmmax=4294967295,set... (8 Replies)
Discussion started by: AQG
8 Replies

8. Solaris

How to tune kernel Parameters in Solaris 10,9 & how to measure performance

Hi, I want to tune my SUN servers for best performance. My servers are heavily loaded and used. They have Solaris 10. How to tune Kernel Parameters of solaris ? And How can I measue performance before changing parameters and after changing parameters ? Please help Thanks NeeleshG (2 Replies)
Discussion started by: neel.gurjar
2 Replies

9. HP-UX

Need to look at Kernel parameters

Hello all, Can anyone tell me the command line I can use to look at the following Kernel parameters: nfile maxfile maxfile_lim I'm using the Reflection manager connection to my Unix box so I can't use SAM. (3 Replies)
Discussion started by: impunchdrunk
3 Replies

10. HP-UX

kernel parameters

I want to change some kernel parameters in HP-UX11, to do with Oracle upgrade/install. I know this is done using SAM. I am told SAM will not let you enter values outside the allowable range. Could anyone tell me if they have experienced anything different? In Solaris, I would copy the... (2 Replies)
Discussion started by: malcqv
2 Replies
Login or Register to Ask a Question