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

Part 6 PRIMECLUSTER Products> Chapter 15 Interstage Application Server Enterprise Edition> 15.2 Registering a SynfinityCluster-compatible State Transition Procedure

15.2.3 Registering a State Transition Procedure to a userApplication

Register the state transition procedures to userApplication. The "Resource startup procedure" must be set up so that resources can be invoked with the following priority:

mark2Resource startup priority

mark2Operation Procedure

Parameters to be specified for options:

*: Must be omitted if it is to be specified for TDWU_INTERSTAGE/ EJBWU_INTERSTAGE/ UTYWU_INTERSTAGE.
**: Must be changed according to the name of the resource to be registered.

Execute the following operation in each procedure on all nodes in which the state transition procedure is to be executed:

  1. Register the state transition procedure.
    clsetproc -c BasicApplication *
    -m IS_INTERSTAGE **
    -o /etc/opt/FJSVisas/HA/SynfinityCLUSTER/IS_INTERSTAGE **
  2. Register the application resource that uses the state transition procedure.
    claddprocrsc -k IS_INTERSTAGE **
    -m IS_INTERSTAGE **
    -c BasicApplication *
    -K AFTER -w  -L AFTER -S BEFORE -T BEFORE -V BEFORE -W BEFORE -u 0 -t 0 -p 100 
  3. Register a resource used for the state transition procedure as a resource for PRIMECLUSTER.

    Register the resource created in "Procedure 2" as a resource for PRIMECLUSTER.

    Operation must be implemented from "Create Resource" of "userApplication Configuration Wizard."

    Use the format described in "Resource startup priority," above, for the resource name.

    For details on the "userApplication Configuration Wizard", see "Creating Procedure Resources."

    If two or more resources of the same kind are registered, the SubApplication button on the lower left will be enabled when the Attributes tab is selected on the "Confirm registration" screen.
    When the final resource is to be registered, click SubApplication and then specify the resource startup priority on the "Associate resources" screen.
    The startup priority can be set up by setting the resources so that resources are listed in the order described in "Resource startup priority," above, in the Selected Resource list of the "Associate resources" screen.
  4. Registering state transition procedure resources to userApplication.

    Register all the resources created in Procedure 3. to userApplication.

    The operation must be implemented from "Create userApplication" of "userApplication Configuration Wizard."
    With this operation, set "ClearFaultRequest|StartUp|SwitchRequest" to "StandbyTransitions" of "userApplication attributes."

    For more details on "userApplication Configuration Wizard," see "Creating Cluster Applications".

Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005