Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

DB2 installation

302 bytes added, 07:49, 20 September 2010
use the new settings
== Create a new VE ==
I created a new VE for the Debian distribution using debootstrap, as described in [[Debian template creation]].
== Set VE resource limits appropriately ==
DB2 installation can fail and it will not be possible to operate the database if your These are tested resource limits are too lowfor x86-64 system running Debian/GNU Linux 5.0. I used these limits for a small database6:
* kmemsize to 10,000,00026214400:29491200* privvmpages to 300,0002097152:unlimited* shmpages to 80,0001572864* numproc to 150400* tcpsndbuf to 700,0001720320:2703360* tcprcvbuf to 700,0001720320:2703360* vmguardpages to 2097152:unlimited* diskspace oomguardpages to 626112:unlimited And according to DB2 9 documentation,000,000the following minimal guest kernel options must be set in /etc/sysctl.conf:<pre>kernel.shmmax = 1073741824kernel.sem = 250 256000 32 1024kernel.msgmax = 65535kernel.msgmnb = 65535</pre>
== Install additional packages ==
Please provide feedback in the discussion (Talk) page about improvements to this HOWTO.
 
[[Category:HOWTO]]