Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

DB2 installation

162 bytes removed, 07:49, 20 September 2010
use the new settings
== Set VE resource limits appropriately ==
DB2 installation can fail and it will not be possible to operate the database if your resource limits are too low. I used these limits for a small database: * kmemsize to 10,000,000* privvmpages to 300,000* shmpages to 80,000* numproc to 150* tcpsndbuf to 700,000* tcprcvbuf to 700,000* diskspace to 6,000,000 {{Inconsistent UBC warning}} These are tested resource limits for x86-64 system running Debian/GNU Linux 5.0.6 (the settings above did not work very well):
* kmemsize to 26214400:29491200
* vmguardpages to 2097152:unlimited
* oomguardpages to 26112:unlimited
 
And according to DB2 9 documentation, the following minimal guest kernel options must be set in /etc/sysctl.conf:
<pre>kernel.shmmax = 1073741824
kernel.sem = 250 256000 32 1024
kernel.msgmax = 65535
kernel.msgmnb = 65535</pre>
== Install additional packages ==