ServerNet Cluster Manual
TACL Macro for Configuring MSGMON, SANMAN, 
and SNETMON
ServerNet Cluster Manual—520575-003
E-4
Example Macro
 + abort process $zzkrn.#msgmon
 #delay 200
 + delete process $zzkrn.#msgmon]
+ exit
#output
#output Verifying that the entries were successfully deleted...
#output
== Repeat the above process to verify that we really did delete all
== of the entries.
scf /name, outv scf^output/ ; info process $zzkrn.*
[#if [#charfindv scf^output 1 "MSGMON"]
|THEN|
 #output ERROR! The Msgmon entry was not successfully deleted.
 #output Please delete the entry manually and then rerun this macro.
 #output
 #return
]
[#if [#charfindv scf^output 1 "SANMAN"]
|THEN|
 #output ERROR! The Sanman entry was not successfully deleted.
 #output Please delete the entry manually and then rerun this macro.
 #output
 #return
]
[#if [#charfindv scf^output 1 "SNETMON"]
|THEN|
 #output ERROR! The Snetmon entry was not successfully deleted.
 #output Please delete the entry manually and then rerun this macro.
 #output
 #return
]
#output
#output Adding the new $ZPM entries...
#output
[#case [numProcessors]
 | 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










