SNAX/APC Configuration and Management Manual

Using SNAX/APC
SNAX/APC Configuration and Management Manual138787
3-19
Starting SNAX/APC Under Control of the PATHMON
Process
Names Created by APCRUN
APCRUN creates names for a number of processes and files based on the two-character
string, prefix, that you specify in the APCRUN command, as shown below. In the
templates given below, xx is the two-character string specified in prefix.
Starting SNAX/APC Under Control of the PATHMON Process
If you are using the PATHMON process to control SNAX/APC, you need to issue
PATHCOM commands to start the TP servers and optionally the Dispatcher terminal
threads.
Synchronization problems can occur if a TP server becomes active before SNAX/APC is
fully started. To avoid synchronization problems, make sure that the SNAX/APC
processes are ready to perform work before starting their corresponding TP servers.
(The best way to avoid this is to start the SNAX/APC processes interactively through
PATHCOM; do not start the TP servers until the PATHCOM startup procedures have
completed.)
Assuming you have used APCRUN to set up the PATHMON environment and specified
AP as prefix, the following example shows a typical command sequence used to start
SNAX/APC:
1> pathcom $APP
=start server *
Note that if you are using the SNAX/APC Dispatcher, a PATHCOM START SERVER *
command starts all servers, including the TP servers waiting to be dispatched, which is
not a desirable result. In this case, it is better to create a command (OBEY) file that
names the servers you must start initially.
$xxnn
SNAX/APC processes, where nn is a number from 01 through the
number of SNAX/APC servers specified in the SERVER option
$xxP
PATHMON process
$xxT
TCP process
$xxA
SNAX/APC hexadecimal server process
ZxxnnTR
Trace file for server nn
ZxxnnLG
Log file for server nn
ZxxCTL
PATHMON configuration file
ZxxLOG
PATHMON OUT file
ZxxnnCFG
The configuration file for the SNAX/APC server $xxnn
SNAXAPCSnn
Server class names for SNAX/APC processes
SNAXAPCSnnmm
Dispatcher names, where nn identifies the server and mm is from
01 through the number of dispatchers specified in the dispatcher
option