Steps for setting stack affinity by security label

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:

  1. Create a directory for each security label under the /etc directory.
  2. Create a profile script file in each directory that contains:
    export _BPXK_SETIBMOPT_TRANSPORT=stackname
  3. Create a "$SYSSECR/" symbolic link in the /etc directory, perhaps named seclbl as follows:
    ln -s "$SYSSECR/" /etc/seclbl
  4. Edit the /etc/profile script file and add the following lines:
    if  test  –f   /etc/seclbl/profile
    then
    .  /etc/seclbl/profile
    fi