PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System)
Contents Index PreviousNext

Appendix F Registering, Changing, and Deleting State Transition Procedure Resources for SynfinityCluster Compatibility

F.1 Registering a Procedure Resource

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.

mark3Operation Procedure:

  1. Log in with the system administrator authority to the node in which the procedure resource is to be registered.
  2. Execute the "clsetproc(1M)" command to register the state transition procedure.

    For details on the "clsetproc(1M)" 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.
  3. Registering the procedure resource

    Execute the "claddprocrsc(1M)" command to register the procedure resource.

    For details on the claddprocrsc(1M) command, see the manual page for claddprocrsc (1M).

    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 PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005