Top
PRIMECLUSTER  Installation and Administration Guide4.3

F.2.1 Changing a State Transition Procedure

Take the following steps to change the state transition procedure on all 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(1M)" command to retrieve the state transition procedure.

    See

    For details on the "clgetproc(1M)" 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 "/var/tmp" directory.

    • The file name registered in the BasicApplication class is program

      # /etc/opt/FJSVcluster/bin/clgetproc -c BasicApplication -f /var/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

    For instruction on registering the procedure, see Step 2 of "F.1 Registering a Procedure Resource."