Top
Systemwalker Operation Manager  Cluster Setup Guide for UNIX
FUJITSU Software

4.1.3 Registering resources that use state transition procedures

Use the claddprocrsc cluster system command to register the state transition procedures as program resources in the cluster system.

For 1:1 active/standby configuration, register state transition procedures as resources by executing this command on both the active node and the standby node.

For N:1 active/standby configuration, register state transition procedures as resources by executing this command on each active node, and then register all N state transition procedures with the standby node.

For dual node mutual standby configuration, register both types of state transition procedure as resources with each node.

For cascading configuration, register state transition procedures as resources by executing this command on the active node and all standby nodes.

Registering state transition procedures that control daemon behavior

The following execution example shows that "omgr" is specified as the state transition procedure file, "AFTER" is specified for the state transition instruction type "START RUN", and "BEFORE" and "AFTER" are specified for "STOP RUN". The resource key is OMGR, the resource class name is SystemState3 and the startup priority is 100.

# /etc/opt/FJSVcluster/bin/claddprocrsc  -k OMGR -m omgr -c SystemState3 -p 100 -K AFTER -S BEFORE,AFTER

When the registration process completes, the resource ID will be displayed.

Registering state transition procedures that monitor daemons

The following execution example shows that "omgrmonitor" is specified as the state transition procedure file, "AFTER" is specified for the state transition instruction type "START RUN", and "BEFORE" is specified for "STOP RUN". The resource key is OMGRMONITOR, the resource class name is SystemState3 and the startup priority is 150.

# /etc/opt/FJSVcluster/bin/claddprocrsc -k OMGRMONITOR -m omgrmonitor -c SystemState3 -p 150 -K AFTER -S BEFORE

When the registration process completes, the resource ID will be displayed.