CORBA 2.3.3 Administration Guide (NonStop CORBA 2.3.7+)

+ set server numstatic 3
* set server process \$bsd1 (CPUs 1)
* set server process \$bsd2 (CPUs 2)
* set server process \$bsd3 (CPUs 3)
set server AUTORESTART 10
set server arglist "-ORBprofile", "bsd1"
add server BSD
start server BSD
Configuring a Comm Server for Parallel Library TCP/IP
Use this procedure to change the default Comm Server configuration into a Parallel Library TCP/IP Comm
Server.
Use the cfgmgt tool to add the key/value pair parallel_ip/true to the default@ORB entity. For example:
[dbname:$system.zorbsdk.NSDCFGDB] 1>entity default@ORB{parallel_ip true}
This tells the Comm Servers to use the Parallel Library TCP/IP approach to dynamic mapping (round
robin) instead of the original TCP/IP approach (load based).
1.
Alter the default Comm Server SERVERCLASS configuration in the nsdstart script to pass the Comm
Server's key as an argument. This involves adding a statement to set the server's arglist.
Alter the default Comm Server SERVERCLASS configuration to run multiple processes. This involves
changing the maxservers and numstatic entries, and creating the appropriate process entries.
Note
Each process in a Parallel Library TCP/IP server class must run in a separate CPU.
2.
Example
The following portion of nsdstart will configure a Parallel Library TCP/IP Comm Server with three processes
running in CPUs 1, 2, and 3, named $cs1, $cs2, and $cs3, respectively. The lines that have been altered are
indicated by a "+". The lines that have been added are indicated by a "*". The line that has been commented out is
indicated by a "-".
[ configure comm server(s)
reset server
set server processtype oss
set server pri 150
set server cwd $MY_ROOT
set server program $NSD_ROOT/bin/cs
set server hometerm $G_HOMETERM
set server stdin /dev/null
set server stdout $MY_ROOT/log/cs.log
set server stderr $MY_ROOT/log/cs.log