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.
Note
To change the registration information of the procedure resource, you need to delete the procedure resource by referring to "8.1.1 Changing the Cluster Application Configuration" and create the procedure resource again.
Operation Procedure:
Log in with the system administrator authority to the node in which the state transition procedure of the procedure resource is to be changed.
Execute the "clsetprocrsc(1M)" command to change the registration information of the procedure resource.
See
For details on the "clsetprocrsc(1M)" command, see the manual page.
Example
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