ServerNet Cluster Manual
TACL Macro for Configuring MSGMON, SANMAN,
and SNETMON
ServerNet Cluster Manual—520575-003
E-5
Example Macro
+ 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