To add a NonStop DOM application server pool to an existing PATHMON process, you can follow the procedures you use to add a server pool to the PATHMON process that's running the NonStop DOM system. Removing a server pool process is similar in nature.
With the NonStop DOM system, you add and remove sever pool processes by editing the nsdstart script. This is described in the following subtopics using the Comm Server as an example server pool process. Follow similar procedures to add and remove server pools from other PATHMON processes, such as the ones running your application servers.
Note: Changing the settings of the NonStop DOM PATHMON process requires that you make a parallel change to the NonStop DOM system configuration database.
Also be aware that you cannot alter the server pool settings in a running PATHMON process; you must first shut down the process.
Assume that the currently running NonStop DOM system includes two Comm Servers named $ZC01 and $ZC02, and you want to add a third Comm Server process named $ZC03.
Note: The examples in this section assume that you have set MY_PREFIX in the env.sh script equal to the value Z.
> nsdstop
#... COM_SERVER1="$MY_PREFIX"c01 COM_SERVER2="$MY_PREFIX"c02 #... set server maxservers 2 set server numstatic 2 set server process \$$COM_SERVER1 (cpus 1) set server process \$$COM_SERVER2 (cpus 0) set server AUTORESTART 10 add server CS start server CS #... |
$ZC03, as follows:
#... COM_SERVER1="$MY_PREFIX"c01 COM_SERVER2="$MY_PREFIX"c02 #... set server maxservers 3 set server numstatic 3 set server process \$$COM_SERVER1 (cpus 1) set server process \$$COM_SERVER2 (cpus 0) set server process $ZC03 (2:3) set server AUTORESTART 10 add server CS start server CS #... |
$ZC03 to the configuration database. See Configuring NonStop DOM and Using the Configuration Tool for details.
> nsdstart
Assume that the current NonStop DOM system is configured to include two Comm Servers, named $ZC01 and $ZC02, and you want to remove the $ZC02 process.
> ndsstop
#... COM_SERVER1="$MY_PREFIX"c01 COM_SERVER2="$MY_PREFIX"c02 #... set server maxservers 2 set server numstatic 2 set server process \$$COM_SERVER1 (cpus 0:1) set server process \$$COM_SERVER2 (cpus 1:0) set server AUTORESTART 10 add server CS start server CS #... |
$ZC02 server process, as follows:
#... COM_SERVER1="$MY_PREFIX"c01 #... set server maxservers 2 set server numstatic 2 set server process \$$COM_SERVER1 (cpus 0:1) set server AUTORESTART 10 add server CS start server CS #... |
$ZC02 from the configuration database using the Configuration Tool. If you expect to continue to receive requests from these hosts, you must either associate them with the remaining Comm Server process or rely on the dynamic association function to assign a server to the requests.
> nsdstart