This task describes the environment settings that you need to update on each computer that will participate in your partitioned database system.
To update AIX® environment settings:
chdev -l sys0 -a maxuproc='4096'
thewall = 65536 sb_max = 1310720 rfc1323 = 1 tcp_sendspace = 221184 tcp_recvspace = 221184 udp_sendspace = 65536 udp_recvspace = 65536 ipqmaxlen = 250 somaxconn = 1024To list the current settings of all network-related parameters, enter the following command:
no -a | moreTo set a parameter, enter the follow command:
no -o parameter_name=valuewhere:
For example, to set the tcp_sendspace parameter to 221184, enter the following command:
no -o tcp_sendspace=221184
spoolsize 16777216 rpoolsize 16777216To list the current settings of these parameters, enter the following command:
lsattr -l css0 -ETo set these parameters, enter the following commands:
/usr/lpp/ssp/css/chgcss -l css0 -a spoolsize=16777216 /usr/lpp/ssp/css/chgcss -l css0 -a rpoolsize=16777216If you are not using the /tftpboot/tuning.cst file to tune your system, you can use the DB2DIR/misc/rc.local.sample sample script file, where DB2DIR is path where the DB2® product has been installed to, to update the network-related parameters after installation. To update the network-related parameters using the sample script file after installation, perform the following steps:
cp /usr/opt/db2_09_01/misc/rc.local.sample /etc/rc.local chown root:sys /etc/rc.local chmod 744 /etc/rc.local
mkitab "rclocal:2:wait:/etc/rc.local > /dev/console 2>&1"
lsitab rcnfs
/etc/rc.local
lsps -aThis command will return output similar to the following:
Page Space Physical Volume Volume Group Size %Used Active Auto Type paging00 hdisk1 rootvg 60MB 19 yes yes lv hd6 hdisk0 rootvg 60MB 21 yes yes lv hd6 hdisk2 rootvg 64MB 21 yes yes lvThe paging space available should be equal to twice the amount of physical memory installed on your computer.
# of biod on a computer × # of computers in the instance
Ideally, you should run 10 biod processes on every computer. According to the above formula, on a four computer system with 10 biod processes, you use 40 NFSDs.
If you are installing a larger system, you can have up to 120 NFSDs on the computer.
For additional information about NFS, refer to your NFS documentation.