ServerNet Cluster Manual

ServerNet Cluster Manual520575-003
E-1
E
TACL Macro for Configuring
MSGMON, SANMAN, and SNETMON
The example macro in this appendix automates the process of adding MSGMON,
SANMAN, and SNETMON to the system-configuration database. (The manual steps
for adding these processes are documented in Section 3, Installing and Configuring a
ServerNet Cluster).
The macro:
Detects the number of processors currently loaded and prompts you to confirm this
number (if your system has fewer than four processors)
Aborts and deletes the MSGMON, SANMAN, and SNETMON processes, if they
are already present
Returns error messages if the processes could not be successfully deleted
Adds the processes using a processor list that is appropriate for the system size
Starts MSGMON, SANMAN, and SNETMON and attempts to start the ServerNet
cluster subsystem
To use the macro:
1. Log on using the super ID (255, 255).
2. Copy the macro to (or create it in) the $SYSTEM.ZSUPPORT subvolume.
3. At a TACL prompt, type RUN ZPMCONF.
4. When the macro finishes, check the SCF state of $ZZSCL to make sure that it is in
the STARTED state:
-> SCF STATUS PROCESS $ZZKRN.#ZZSCL
5. If $ZZSCL is not started, start it:
-> SCF START PROCESS $ZZKRN.#ZZSCL
Note. Before using the macro, note the following:
The macro is intended as an example and might not be appropriate for all systems.
You must log on using the super ID (255, 255) in order to run the macro 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.