Saturday, January 17, 2015

PATHWAY Notes

PATHMON

PATHMON is a monitoring process that defines and manages server objects and -if your environment includes Pathway/iTS – TCPs, TERM objects and program objects. Each PATHMON environment includes only one PATHMON process.

PATHCOM

PATHCOM is command line interactive interface to communicate with PATHMON process. As an alternative to using PATHCOM, management application program can be written.

SERVER Object

Definitions of server classes is called SERVER object. Server class is multiple copies are SERVER programs. Executing Server program is called SERVER process.

LINKMON

LINKMON is process that manages communication between PATHSEND process and SERVER Classes. PATHSEND processes are user application which use PATHSEND procedure calls to send requests to SERVER classes.
Note: Above objects and processes are provided by Nonstop TS/MP.

TCP objects

Terminal control process that runs screen(SCREEN COBOL) programs and coordinate communication between screen programs, input-output devices or processes, server processes and the PATHMON processes.

TERM Objects

Definitions of tasks that uses screen programs to control input-output devices such as terminals and workstations.

Program object:

Templates for creating and starting temporary TERM objects. Above objects and processes are provided by the Pathway/iTS product.

System Management Tools:

We can use one of two ways to configure and control PATHMON-controlled objects in Pathway.
1.    Interactively, by entering commands
2.    Programmatically, by writing a management application program.

Interacting with PATHMON:

Interactive way

PATHCOM $PPX (PATHMON process name)

6:56:34 (qdev) $AUDIT.C997240 14> PATHCOM $PPX
$X7CY: PATHCOM - T0845H09 - (01JUL13)
(C)2008-2013 Hewlett Packard Development Company, L.P.

Non-interactive way

IN-COMMAND
PATHCOM /IN PWCMD, OUT $S.#LP, CPU 1, NOWAIT/ $PMX

OBEY Command:
>>PATHCOM $PMX
>> OBEY PWCMD

TACL Routines: TACL inline facility allow us to interact with PATHMON in non-interactive way.
USING defines:
12>ADD DEFINE =CMD-FILE, CLASS MAP, FILE $DATA.PW.CONFIG
13> ADD DEFINE =OUT-FILE, CLASS SPOOL,LOC $S, REPORT “CONFIG”
14> PATHCOM/IN =CMD-FILE, OUT =OUT-FILE/ $PMX

Configuring Global parameters

SET PATHWAY command is used to define the limits for your overall configuration and to specify node-independent, owner and security attributes.

Specifying Limits:
Limits are global values that determine the maximum number of objects of each type that you can define when you are ready to configure individual objects. For example, suppose that you suppose that you want to indicate that your system will permit a maximum of:

  • 5 server classes
  • 25 server processes
  • 5 server STARTUP messages
  • 7 server ASSIGN messages
  • 5 server PARAM messages

To establish these limits, you can use these commands.

= SET PATHWAY MAXSERVERCLASSES 5
= SET PATHWAY MAXSERVERPROCESSES 25
= SET PATHWAY MAXSTARTUPS 5
= SET PATHWAY MAXASSIGNS 7
= SET PATHWAY MAXPARAMS 5

PATHMON process save the configuration details in the memory until you start the PATHMON process. After starting PATHMON process it will write to PATHMON configuration file.

Specifying Owner and Security Attributes:

This section will be updated .. if you have any notes regarding any HP NonStop topic please share with us ..




1 comment: