Problem
When I add a User License pack or an SMP License to my system, then, as part of that process, my system is tuned to cater for the new users and CPUs.
However, if I upgrade from a previous release of SCO product to SCO OpenServer Host System Release 5.0.0 or SCO OpenServer Enterprise System Release 5.0.0, no tuning is performed.
Cause
Tuning was omitted from the upgrade process.
Solution
Follow the procedure outlined below:The tuning that is performed when you add a User License Pack or CPU License to your system can be replicated by running the script:
/etc/tunekThe usage of this script is:tunek -l <license type> -n <number>where <license type> can be "user" or "cpu" and <number> can be 10, 25, 100, 500, or 1000 users or 1 in the case of a CPU License.
Note: Do not use any other arguments to this script.
Therefore, to tune an upgraded system for 100 users, type:
/etc/tunek -l user -n 100Next, relink the kernel:cd /etc/conf/cf.d
./link_unixReboot the system for the changes to take effect.
Running /etc/tunek is incremental. In other words, if you run the command again using the same parameters as above, and then relink, it will tune your system for an additional 100 users.
NOTE: You must relink the kernel after each invocation of tunek, in order for the desired incremental changes to take effect properly.