Top
PRIMECLUSTER  Installation and Administration Guide 4.4
FUJITSU Software

D.2.3 Changing registration information of a procedure resource

Take the following steps to change the registration information of the procedure resource on all the nodes where the procedure resource to be changed is registered.

Note

To change the registration information of the procedure resource, you need to delete the procedure resource with the procedure for changing the cluster application configuration and create the procedure resource again.

For more details, see "Chapter 10 Configuration change of Cluster Applications."

Operation Procedure:

  1. Log in with the system administrator authority to the node in which the registration information of procedure resource is to be changed.

  2. Delete the procedure resource of the cluster application.

    For deleting the procedure resource of the cluster application, refer to "10.5 Deleting a Resource."

  3. Execute the "clsetprocrsc(1M)" command to change the registration information of the procedure resource.

    After performing this step on all the nodes where the procedure resource is registered, go to the next step.

    See

    For details on the "clsetprocrsc(1M)" command, see the manual page.

    Example

    When the procedure resource with the following conditions receives a state transition request of START RUN BEFORE in addition to START RUN AFTER and STOP RUN BEFORE;

    • The resource key of the procedure resource is SDISK,

    • This procedure resource uses the state transition procedure registered in the BasicApplication class, and

    • The procedure resource is registered in the node (NODE1)

      # /etc/opt/FJSVcluster/bin/clsetprocrsc -n SDISK -c BasicApplication -s NODE1 -K BEFORE,AFTER -S BEFORE
  4. Register the procedure resource to the cluster application.

    For registering the procedure resource to the cluster application, refer to "6.7.3.7 Setting Up Procedure Resources."