PRIMECLUSTER Installation and Administration Guide 4.1 (for Linux) |
Contents
Index
![]() ![]() |
Appendix E Registering, Changing, and Deleting State Transition Procedure Resources for PRIMECLUSTER 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" 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" command, see the manual page.
When the procedure resource with the following conditions receives a state transition request of START RUN BEFORE in addition to START RUN AFTER and STOP RUN BEFORE;
- The resource key of the procedure resource is SDISK,
- This procedure resource uses the state transition procedure registered in the BasicApplication class, and
- The procedure resource is registered in the node (NODE1)
# /etc/opt/FJSVcluster/bin/clsetprocrsc -n SDISK -c BasicApplication -s NODE1 -K BEFORE,AFTER -S BEFORE
Contents
Index
![]() ![]() |