Top
PRIMECLUSTER  Installation and Administration Guide 4.5
FUJITSU Software

D.2.1 Changing a state transition procedure

Take the following steps to change the state transition procedure on all the nodes where it needs to be changed.

Operation Procedure:

  1. Log in with the system administrator authority to the node in which the state transition procedure is to be changed.

  2. Execute the "clgetproc" command to retrieve the state transition procedure.

    See

    For details on the "clgetproc" command, see the manual page.

    Example

    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
  3. Modifying the state transition procedure

    Using a text editor such as vi(1), modify the state transition procedure that was retrieved in Step 2.

  4. Registering the state transition procedure

    Register the state transition procedure by using the "clsetproc" command.

    For registration, specify the "-o" option to overwrite the state transition procedure.

    Example

    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 -o /tmp/program