Top
PRIMECLUSTER  Installation and Administration Guide 4.4
FUJITSU Software

10.3 Changing a Cluster Application

This section explains how to modify a cluster application by following operations:

Operation flow

Operation Procedure:

  1. Stop RMS of all the nodes.

    If RMS is running, see "7.2.1.2 Stopping RMS" and stop RMS.

  2. Change the configuration of the cluster applications with the RMS Wizard.

    1. Log in to any one of the cluster nodes using system administrator access privileges.

    2. Start up the RMS Wizard.

      Execute the "hvw -n configuration file" command. Specify the name of the configuration file in which the configuration is defined.

      The following example shows how to start up RMS Wizard with the configuration file name "testconf."

      # /opt/SMAW/SMAWRrms/bin/hvw -n testconf
    3. Select "Application-Edit" from the "Main configuration menu."

      When a cluster application that is performing standby operation is to be changed

      1. Select the userApplication that needs modification of configuration from "Application selection menu." If more than one selection item is displayed, select userApplication written in capital letters. The following example shows how to select "APP1."

      2. When "turnkey wizard" appears, select what you want to change from the following table.

        Contents to be changed

        Selection item

        Identifier used as userApplication name and resource name (The cluster application name and the cluster resource name are specified based on ApplicationName.)

        "ApplicationName"

        Attribute of the userApplication

        "Machines+Basics"

        Cmdline resource configuration

        "CommandLines"

        Fsystem resource configuration

        "LocalFileSystems"

        Gds resource configuration

        "Gds:Global-Disk-Services"

        Gls resource configuration

        "Gls:Global-Link-Services"

        Procedure resource configuration

        "Procedure:XXXXXX"

      For details on the operation when you select above items, see "6.7 Setting Up Cluster Applications." After you change the configuration, select "SAVE+EXIT" to return to the "Application selection menu." After that, select "RETURN" to return to the "Main configuration menu."

      The following example shows how to change the attribute of "AutoStartUp" of the userApplication setting from "no" to "yes":

      1. Select "Machines+Basics" from "turnkey wizard."

      2. Select "AutoStartUp."

      3. Select "yes."

      4. Confirm that "AutoStartUp" is changed to "yes," and then select "SAVE+EXIT."

      5. Select "SAVE+EXIT" from "turnkey wizard."

      6. Select "RETURN" from the "Application selection menu."

      When a cluster application in a scalable operation is to be changed

      Note

      For information on how to change a cluster application performing standby operation and which forms part of a cluster application in a scalable operation, see "When a cluster application that is performing standby operation is to be changed."

      1. Select the userApplication to be reconfigured from "Application selection menu." If more than one selection item is displayed, select userApplication written in capital letters. The following example shows how to select "APP3."

      2. Select "Controllers" from the "turnkey wizard SCALABLE" menu.

      3. "Settings of application type "Controller"" is displayed. Select one of the following according to the contents to be changed:

        Contents to be changed

        Resource to be selected

        Start sequence of the cluster application (standby operation)

        "ApplicationSequence"

        Deletion of the application (standby operation)

        "Controllers[*]"

        [Supplement]

        A number is specified in the "*" mark included in "Controllers[*]". Select the cluster application in a standby operation that you want to delete. You can delete a cluster application in a standby operation by specifying "NONE" on the screen after the selection.
        For details on the operation to be performed after making the above selection, see "6.7 Setting Up Cluster Applications." After you change the configuration, select "SAVE+EXIT" to return to the "Application selection menu." After that, select "RETURN" to return to the "Main configuration menu."

      The following is an example in which the "AutoStartUp" attribute of the userApplication is changed to "yes" from "no."

      1. Select "Machines+Basics" from the "turnkey wizard "SCALABLE"" menu.

      2. Select "(AutoStartUp=no)" from the "Machines+Basics" menu.

      3. Select "yes."

      4. Check that "AutoStartUp" has been changed to "yes," and then select "SAVE+EXIT."

      5. Select "SAVE+EXIT" from the "turnkey wizard "SCALABLE"" menu.

      6. Select "RETURN" from the "Application selection menu."

  3. Select "Configuration-Generate" from the "Main configuration menu."

  4. Select "Configuration-Activate" from the "Main configuration menu."

  5. Select "QUIT" from the "Main configuration menu."

  6. Check the cluster service for the PRIMECLUSTER-compatible product.
    Execute the following command in any node that is part of the cluster system.

    # /etc/opt/FJSVcluster/bin/clrwzconfig -c
  7. If the results of the cluster service check for the PRIMECLUSTER-compatible product shows that the "clrwzconfig" command output message 8050, re-register the cluster service for the PRIMECLUSTER-compatible product.
    Execute the following command in any node that is part of the cluster system.

    # /etc/opt/FJSVcluster/bin/clrwzconfig
  8. Start RMS.

    Start RMS as described in "7.2.1.1 Starting RMS."