Pathway/iTS System Management Manual (G06.24+)

Maintaining Pathway/iTS Objects
HP NonStop Pathway/iTS System Management Manual426748-002
4-16
Exchanging Primary and Backup CPUs
To change the backup CPU for the TCP, you enter the CONTROL TCP command for
the object you wish. For instance, to change the backup CPU to CPU 7 for the TCP
named TCP1, enter the following:
= CONTROL TCP TCP1, BACKUPCPU 7
To direct the memory dumps for the TCP to files named PMDUMP and TCPDUMP,
respectively, enter the following:
= CONTROL TCP TCP-1, DUMP ON (FILE TCPDUMP)
The PATHMON configuration file is updated to reflect this change.
To change the file for logging output, use the PATHCOM commands LOG1 and LOG2.
For example, to specify $0 as the log file for errors reported in tokenized event
message format, and to specify the disk file LOGCOPY as a log file for both error and
status change information in text format, enter:
= LOG1 $0, EVENTFORMAT
= LOG2 LOGCOPY, STATUS
Be sure to create a disk file (using the FUP CREATE command) for logging purposes
before specifying it.
Exchanging Primary and Backup CPUs
You can exchange the primary and backup CPUs used for your TCP by using the
SWITCH command, as shown in this example:
= SWITCH TCP TCP1
At any time after this operation, you can also reestablish the primary CPU for the TCP
(as recorded in the PATHMON configuration file) by using the PRIMARY command, as
shown in the next example:
= PRIMARY TCP TCP1
Neither of these operations alters information recorded in the PATHMON configuration
file.
Logging Status and Error Information
TCPs report error and status information to a log file. You can request that error and
status information be formatted either as text or as tokenized event messages
(managed by the Event Management Service (EMS) portion of the Distributed Systems
Management (DSM) software).
You can log information to a command terminal or to a disk file; it is recommended,
however, that you not specify a terminal. On a terminal, log messages are lost once
they scroll off the terminal screen; also, performance is generally better to a process on
a disk file than to a terminal.