Top
PRIMECLUSTER  Reliant Monitor Services (RMS) with Wizard Tools Configuration and Administration Guide 4.5
FUJITSU Software

4.1 Setting PreCheckScript in cluster application

See the procedure below to set the PreCheckScript in the cluster application.

Note

When adding/deleting a resource or changing the setting of a resource in the cluster application on Solaris, delete the userApplication once as a setting procedure. In this case, follow this procedure to set the PreCheckScript again.

  1. Enter the following command to display the wizard menu for configuring RMS.

    # hvw -xj -n configname
  2. RMS Wizard is started and the Main configuration menu is displayed.

    Enter "Application-Edit" and then select [Application-Edit].

    Figure 4.1 Main configuration menu

  3. Enter "OPTIONS" and then select [OPTIONS].

    Figure 4.2 [Application selection] menu

  4. Enter "ShowAllAvailableWizards" and then select [ShowAllAvailableWizards].

    Figure 4.3 Option menu of the application setting

  5. In the screen below, enter the application name that sets the PreCheckScript, and enter the return key.

    Here, enter "userApp_0" to set PreCheckScript of userApp_0.

    Figure 4.4 [Application selection] menu

  6. Enter "PreCheckScript" and then select [(PreCheckScript=)].

    Figure 4.5 Application setting menu

  7. Enter "FREECHOICE" and then select [FREECHOICE].

    Figure 4.6 Selection menu of the PreCheckScript

  8. Enter the file path of the PreCheckScript, and press the return key.

    In the screen below, /usr/local/app/PreCheck.sh is specified for the PreCheckScript.

    Figure 4.7 Entering PreCheckScript

  9. Enter "SAVE+EXIT" and then select [SAVE+EXIT].

    Figure 4.8 Application setting menu

  10. Enter "RETURN" and then select [RETURN].

    Figure 4.9 [Application selection] menu

  11. Enter "Configuration-Activate" and then select [Configuration-Activate].

    Figure 4.10 Main configuration menu

  12. RMS configuration is generated and distributed.

    Figure 4.11 Generation and distribution of the RMS configuration file

  13. Enter "QUIT" and then select [QUIT].

    Figure 4.12 Quitting main configuration menu