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 change a procedure resource.
Take the following steps to change the state transition procedure on all nodes where it needs to be changed.
For details on the "clgetproc(1M)" command, see the manual page.
When retrieving a state transition procedure, this procedure resource has to meet the following conditions;
- The state transition procedure is retrieved to the "/tmp" directory.
- The file name registered in the BasicApplication class is program
# /etc/opt/FJSVcluster/bin/clgetproc -c BasicApplication -f /tmp/program program
Using a text editor such as vi(1), modify the state transition procedure that was retrieved in Step 2.
For instruction on registering the procedure, see Step 2 of "Registering a Procedure Resource."
Take the following steps to change the registration information of the procedure resource on all nodes where the state transition procedure needs to be changed.
For details on the "clsetprocrsc(1M)" command, see the manual page.
When adding the requests of START RUN BEFORE state transition to the procedure resource that meet the following conditions;
- The resource key of the procedure resource is SDISK,
- 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/clsetprocrsc -n SDISK -c BasicApplication -s NODE1 -K BEFORE,AFTER -S BEFORE
Contents
Index
![]() ![]() |