PRIMECLUSTER Installation and Administration Guide 4.2 (Linux for Itanium) |
Contents
Index
![]() ![]() |
Appendix E Registering, Changing, and Deleting State Transition Procedure Resources for PRIMECLUSTER 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.
Log in with the system administrator authority to the node in which the procedure resource is to be registered.
Execute the "clsetproc" command to register the state transition procedure.
For details on the "clsetproc" 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.
Registering the procedure resource
Execute the "claddprocrsc" command to register the procedure resource.
For details on the "claddprocrsc" command, see the manual page for claddprocrsc .
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
![]() ![]() |