Installations that start several TCP/IP stacks under UNIX System Services common INET
(CINET) often find it useful to set stack affinity for most interactive
users. You can set the environment variable _BPXK_SETIBMOPT_TRANSPORT
to the name of the stack that users are to use during login profile
processing.
Procedure
Perform the following steps to set stack affinity by
security label:
- Create a directory for each security label under the /etc
directory.
- Create a profile script file in each directory that contains:
export _BPXK_SETIBMOPT_TRANSPORT=stackname
- Create a "$SYSSECR/" symbolic link in the /etc directory,
perhaps named seclbl as follows:
ln -s "$SYSSECR/" /etc/seclbl
- Edit the /etc/profile script file and add the following
lines:
if test –f /etc/seclbl/profile
then
. /etc/seclbl/profile
fi