SCF Reference Manual for the Kernel Subsystem

*Name......................$PROCA
*OutFile...................$TERM.#T1
*PFSSize...................Not Specified
*PrimaryCPU................0
*Priority..................167
*Program...................$SYSTEM.SYSTEM.TACL
*SaveAbend.................OFF
*StartMode.................MANUAL
*StartupMessage............1
*StopMode..................Standard
*Type......................OTHER
*UserId....................SUPER.SUPER ( 255,255 )
In this example, processor 0 must be up for the generic process to start, and the backup process
starts in processor 1 when it is available.
Starting in Either Processor
Configuring a generic process to start in either of the specified primary and backup processors
(that is, to be fault tolerant) is also known as dynamic processor configuration. The SCF Kernel,
storage, SLSA, and WAN subsystem managers are configured this way. To configure a process
to start in either processor, specify these attributes in the SCF ADD command:
The PRIMARYCPU attribute with the primary processor number
The BACKUPCPU attribute with the backup processor number
The STARTUPMSG attribute with this text, including the less than (<) and greater than (>)
symbols:
<BCKP-CPU>
When the process is launched, the $ZPM persistence manager substitutes the backup processor
number in place of the <BCKP-CPU> text, depending on which processor the primary process is
started in. You can use the STATUS PROCESS command to display the primary and backup
processor numbers (as shown in this example).
Example
This example illustrates configuring a generic process to start in the first available processor
configured for this process:
-> ADD PROCESS $ZZKRN.#PROC-B, &
NAME $PROCB, &
PROGRAM $SYSTEM.SYSTEM.TACL, &
HOMETERM $TERM.#T1, &
INFILE $TERM.#T1, &
OUTFILE $ TERM.#T1, &
PRIMARYCPU 0, &
BACKUPCPU 1, &
STARTUPMSG "<BCKP-CPU>", &
STARTMODE MANUAL
-> START PROCESS $ZZKRN.#PROC-B
-> INFO PROCESS $ZZKRN.#PROC-B, DETAIL
NONSTOP KERNEL - Detailed Info PROCESS \EAST.$ZZKRN.#PROC-B
*AutoRestart...............0
*BackupCPU.................1
*CPU.......................Not Specified
*DefaultVolume.............$SYSTEM.NOSUBVOL
*ExtSwap...................Not Specified
*Highpin...................ON
*HomeTerminal..............$TERM.#T1
*InFile....................$TERM.#T1
*Library...................Not Specified
52 Configuring and Managing Generic Processes