DB2 Connect Quick Beginnings for UNIX**

Updating Solaris kernel configuration parameters

Before installing your DB2 Connect for Solaris product using the db2setup utility or the db2_install and pkgadd commands, you may need to update your system's kernel configuration parameters. The values in Table 8 are the recommended Solaris kernel configuration parameters.
Note:You must reboot your machine after updating any kernel configuration parameters.

Table 8. Solaris Kernel Configuration Parameters (Recommended Values)
Kernel Parameter Physical Memory
64MB - 128MB 128MB - 256MB 256MB - 512MB 512MB+
msgsys:msginfo_msgmax
msgsys:msginfo_msgmnb
msgsys:msginfo_msgmap
msgsys:msginfo_msgmni
msgsys:msginfo_msgssz
msgsys:msginfo_msgtql
msgsys:msginfo_msgseg
 
shmsys:shminfo_shmmax
shmsys:shminfo_shmseg
shmsys:shminfo_shmmni
 
semsys:seminfo_semmni
semsys:seminfo_semmap
semsys:seminfo_semmns
semsys:seminfo_semmnu
semsys:seminfo_semume
 

65535(1)
65535(1)
130
128
16
256
8192
 
67108864
50
300
 
128
130
256
256
50
 

65535(1)
65535(1)
258
256
16
512
16384
 
134217728(2)
50
300
 
256
258
512
512
50
 

65535(1)
65535(1)
258
256
16
1024
32767(2)
 
268435456(3)
50
300
 
512
514
1024
1024
50
 

65535(1)
65535(1)
258
256
16
1024
32767(2)
 
536870912(3)
50
300
 
1024
1026
2048
2048
50
 

Notes:

  1. The msgsys:msginfo_msgmnb and msgsys:msginfo_msgmax parameters must be set to 65535 or larger.

  2. The msgsys:msgsem parameter must be set no higher than 32767.

  3. The shmsys:shminfo_shmmax parameters should be set to the suggested value in the above table, or 90% of the physical memory (in bytes), whichever is higher. For example, if you have 196 MB of physical memory in your system, set the shmsys:shminfo_shmmax parameter to 184968806 (196*1024*1024*0.9).

To set a kernel parameter, add a line at the end of the /etc/system file as follows:

   set parameter_name = value

For example, to set the value of the msgsys:msginfo_msgmax parameter, add the following line to the end of the /etc/system file:

   set msgsys:msginfo_msgmax = 65535

Sample files for updating the kernel configuration parameters are provided in the /opt/IBMdb2/V7.1/cfg directory, or on your DB2 product CD-ROM in the /db2/install/samples directory. The names for these files are as follows:

kernel.param.64MB
for systems with 64MB-128MB of physical memory

kernel.param.128MB
for systems with 128MB-256MB of physical memory

kernel.param.256MB
for systems with 256MB-512MB of physical memory

kernel.param.512MB
for systems with 512MB-1GB of physical memory

Depending upon the amount of physical memory in your system, append the appropriate kernel configuration parameter file to the /etc/system file. If necessary, change the value of the shmsys:shminfo_shmmax parameter as described in Note 2 above.

After updating the /etc/system file, reboot the system.


[ Top of Page | Previous Page | Next Page ]