Top
PRIMECLUSTER Global File Services Configuration and Administration Guide 4.5
FUJITSU Software

12.5.4 Procedure for setting GFS Shared File System applications as cluster applications

This section describes how to set GFS Shared File System applications as cluster applications when CIP settings are completed.

See

For details on setting, see "PRIMECLUSTER Installation and Administration Guide," "PRIMECLUSTER Reliant Monitor Services (RMS) with Wizard Tools Configuration and Administration Guide," and "PRIMECLUSTER Global Disk Services Configuration and Administration Guide."

Procedure 1. Execution of automatic resource registration (common operation)

When automatic resource registration of disk equipment is not carried out yet, the following command is executed with a node, and a disk device is registered as a cluster resource.

# /etc/opt/FJSVcluster/bin/clautoconfig -r -n <Enter>

Procedure 2. GDS volume creation (node A (active node), node B (standby node))

Create the GDS volume using the following method.

GFS Shared File Systems require GDS volumes for management partitions. A disk class to which the GDS volume belongs as the management partition is different than that of the GDS volume that is used as a GDS resource of a cluster application.

The following explanation assumes the node A (active node) host name to be sunny and the node B (standby node) host name to be moony.

[When a mirror volume is to be created]
[When a single volume is to be created]

Procedure 3. GFS Shared File System creation (node A (active node), node B (standby node))

Create the GFS Shared File System on either one of the nodes.

Use sfcmkfs(8) to create the GFS Shared File System.

When the GFS Shared File System is created for the first time after installation, activation of the GFS Shared File System is necessary before file system creation.

Procedure 4. Adding the relevant GFS Shared File System to /etc/fstab (node A (active node), node B (standby node))

Add the mount information for the relevant GFS Shared File System to /etc/fstab on each node. Be sure to specify "noauto" in the "mount options" field as a parameter of the mount information to be added.

/dev/sfdsk/gfs01/dsk/volume01 /sfcfs sfcfs rw,noauto 0 0

Procedure 5. Setting the definition of switchover of the RMS application as the RMS configuration (node A (active node), node B (standby node))

Set up the RMS configuration by using the RMS wizard, as follows:

  1. Start the RMS wizard by executing the hvw command.

  2. Create the RMS application.

    • Select "Application-Create" on the main RMS management menu.

    • Select "STANDBY" on the application type selection menu.

    • Select "ApplicationName" on the STANDBY wizard menu and change the RMS application name.

    • Select "Machines+Basics" on the STANDBY wizard menu, add another node to operate the RMS application by using "AdditionalMachine" on the Machines+Basics menu, and then set the switchover attribute of the RMS application to "HostFailure|ResourceFailure|ShutDown" by executing "AutoSwitchOver."

    • And then add StartCommands and CheckCommands by using "CommandLines" on the STANDBY wizard menu.

  3. Create the RMS configuration definition of the RMS application.
    Select "Configuration-Generate" from the main RMS management menu.

  4. Activate the RMS configuration definition of the RMS application.
    Select "Configuration-Activate" on the main RMS management menu.

  5. End the RMS wizard.

Note

In GFS Shared File System, the following measures are necessary in order to always use GDS volume by active state.

  • For cluster application settings, a GDS resource "Gds:Global-Disk-Services" must not be registered in the GDS volume of the GFS Shared File System.

  • For cluster application settings, an Fsystem resource "LocalFileSystems" must not be registered in the GFS Shared File System.

  • For GDS volume, must not execute /usr/opt/reliant/bin/hvgdsetup.

Procedure 6. Confirming settings (node A (active node), node B (standby node))

After mounting the GFS Shared File System on each node, start RMS and then confirm whether the settings of the /etc/fstab file and the RMS application are proper, paying attention to the following points:

Note

If mounting of the GFS Shared File System fails, the following may be the cause of the failure (apply the indicated solution):

  • The type of the file system specified in the "/etc/fstab" file is incorrect

    Solution: Correct the /etc/fstab file.

  • The GDS volume is not ACTIVE

    Solution: Activate the GDS volume.