ServerNet Cluster Web

| 2 3 | #set listProcessors (0,1)
| 4 5 | #set listProcessors (2,1,3)
| OTHERWISE | #set listProcessors (2,5,6,3,7,4)
]
scf /name, inline, out [#myterm]/
+ allow all errors
+ add process $zzkrn.#msgmon, autorestart 10, cpu all, &
hometerm $zhome, outfile $zhome, name $zim, &
priority 199, program $system.system.msgmon, saveabend on, &
startmode system, stopmode sysmsg
+ add process $zzkrn.#zzsmn, autorestart 10, priority 199, &
program $system.system.sanman, cpu firstof [listProcessors], &
hometerm $zhome, outfile $zhome, name $zzsmn, saveabend on, &
startmode system, stopmode sysmsg, startupmsg "cpu-list <cpu-list>"
+ add process $zzkrn.#zzscl, autorestart 10, priority 199, &
program $system.system.snetmon, cpu firstof [listProcessors], &
hometerm $zhome, outfile $zhome, name $zzscl, saveabend on, &
startmode system, stopmode sysmsg, startupmsg "cpu-list <cpu-list>"
+ start process $zzkrn.#msgmon
+ start process $zzkrn.#zzsmn
+ start process $zzkrn.#zzscl
+ alter subsys $zzscl, startstate started
+ abort process $zzkrn.#zzscl
+ start process $zzkrn.#zzscl
#delay 500
+ info subsys $zzscl
+ status subsys $zzscl
+ exit
]
== This is the line of code that actually executes the mainBody routine
mainBody
#unframe
Notes:
ZPMCONF requires G06.09 or later RVUs of the operating system, or equivalent SPRs.
ZPMCONF is intended as an example and may not be appropriate for all systems.
You must log on using the super ID (255, 255) in order to run ZPMCONF successfully.
Do not run the macro on a system that is currently a member of a ServerNet cluster.
MSGMON, SANMAN, and SNETMON will be aborted, and the connection to the cluster will be
lost temporarily.
If you are having technical problems with the TACL macro ZPMCONF, please contact us.