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
When changing the registration information of the procedure resource, you need to delete the procedure resource from the configuration of the cluster application, and then create the procedure resource again.
For how to change the configuration of the cluster application. see "8.1 Changing the Cluster Configuration."
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" command to change the registration information of the procedure resource.
See
For details on the "clsetprocrsc" command, see the manual page.
Example
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