PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System) |
Contents
Index
![]() ![]() |
Appendix F Registering, Changing, and Deleting State Transition Procedure Resources for SynfinityCluster Compatibility |
This section explains how to register a procedure resource.
Take the following steps to register a procedure resource on all nodes where the procedure resource needs to be registered.
For details on the "clsetproc(1M)" command, see the manual page.
To register the "/tmp/program" state transition procedure as program (file name) to the BasicApplication class# /etc/opt/FJSVcluster/bin/clsetproc -c BasicApplication -m program /tmp/program
To overwrite a state transition procedure that is already registered, specify the -o option.
Execute the "claddprocrsc(1M)" command to register the procedure resource.
For details on the claddprocrsc(1M) command, see the manual page for claddprocrsc (1M).
When registering a procedure resource, this procedure resource has to meet the following conditions;
- The resource key of the procedure resource is SDISK,
- The procedure name is program,
- This procedure resource uses the state transition procedure registered in the BasicApplication class,
- The procedure resource is registered in the node (NODE1), and
- The state transition procedure receives the requests of START RUN AFTER and STOP RUN BEFORE
# /etc/opt/FJSVcluster/bin/claddprocrsc -k SDISK -m program -c BasicApplication -s NODE1 -K AFTER -S BEFORE
Contents
Index
![]() ![]() |