Pathway/iTS System Management Manual (G06.24+)
Examples of System Management Tasks
HP NonStop Pathway/iTS System Management Manual—426748-002
6-10
Communicating With Another PATHMON
Environment (Task 3)
This command specifies that the PATHMON process for the first PATHMON
environment can communicate with one external TCP.
Returning to the CONFIG2 file, notice that the SET PROGRAM TYPE command
specifies the same program name used as the PROGRAM-ID in Step 2.
6. Issue an OBEY command to execute the commands in the COLD2 file:
11> OBEY COLD2
In response to the sixth command in the COLD2 file, the commands in CONFIG2
are also executed. The commands in CONFIG2 configure and start your second
PATHMON environment.
7. Issue a RUN command to run the application from your command terminal,
referencing the PROGRAM name REMOTE-PROGRAM:
= RUN REMOTE-PROGRAM
You can use the application just as you did in Task 1. This time, however, you use
a TCP running under the PATHMON process named $AC2 to send requests to a
server process running under the PATHMON process named $AC1. Thus, from
the viewpoint of your current user environment, $AC2 is your local PATHMON
process and $AC1 is your remote PATHMON process.
At any time, you can terminate the application by pressing the F16 function key.
Control returns to PATHCOM.
8. Shut down both PATHMON environments by entering:
= SHUTDOWN2, MODE ORDERLY
= OPEN $AC1
= SHUTDOWN2, MODE ORDERLY
9. Terminate your interaction with PATHCOM by entering:
= EXIT
10>
PATHCOM returns control to TACL.
10. To examine the log file for the second PATHMON environment, you can enter:
11> FUP COPY LOG2, , FOLD, RECOUT 79, SHARE
11. The display appears in the format shown in Example 6-7.
Example 6-7. Logging Output in the LOG2 File
03NOV94, 11:50 $AC2:PATHMON - T8344D30 - (31OCT94)
03NOV94, 11:50 $AC2:STATUS - *1043* TCP REMOTE-TCP, STARTED
03NOV94, 11:50 $AC2:STATUS - *1043* TERM 077-AL-000, STARTED
03NOV94, 11.50: $AC2:STATUS - *1047* TERM 077-AL-000, STOPPED: *3052*
TERMINAL STOPPED BY PROGRAM---INST CODE: EXIT AT OFFSET %54 IN PROGRAM UNIT
EXAMPLE-SCREEN-PROGRAM-REMOTE (1) IN TCLPROG \SYS1.$SKULLF.RTLC10X.POBJ
03NOV94, 11:50 $AC2:STATUS - *1047* TCP REMOTE-TCP, STOPPED
03NOV94, 11:51 $AC1:STATUS -*1150* PATHMON STARTING SHUTDOWN - ORDERLY
03NOV94, 11:52 $AC1:STATUS -*1005* SHUTDOWN