PRIMECLUSTER Installation and Administration Guide 4.2 (Linux for Itanium)
Contents Index PreviousNext

Part 2 Installation> Chapter 6 Building Cluster Applications> 6.7 Setting Up Cluster Applications> 6.7.3 Setting Up Resources

6.7.3.2 Setting Up Fsystem Resources

An Fsystem resource must be set up if you want to mount a file system when userApplication is started.
To control multiple mount points in parent-child relationships, create the file system as one Fsystem resource.

[Prerequisites]

You need to work on the following prerequisites to use an Fsystem resource.

  1. Reserving monitoring disk area

    Reserve the dedicated monitoring disk area in shared disk device so that shared disk failures and cable failures are detected on each shared disk device.

    Reserve the monitoring area in either 1or 2 unit shown in the table below. Configuration based on the No. 2 is recommended.

    No

    Reserve monitoring area for each

    Range of failure detection

    Prerequisites

    1

    Shared disk device

    Failures including cable disconnection are detected in unit of shared disk device.

    • Reserve one monitoring disk area (1LU) per shared disk device when configuring the shared disk after OS is installed.
      e.g.) /dev/sdf1

    • Allow about 10 MB for monitoring disk area.

    2

    Disk area (1LU)

    In addition to the above, failures such as LUN errors on shared disk device are detected in unit of shared disk area (operation unit).

    • Reserve one monitoring disk area (1LU) per shared disk area when configuring the shared disk after OS is installed.
      e.g.) If /dev/sdd1 and /dev/sde1 are used for disk operation, specify /dev/sdd2 and /dev/sde2 as monitoring disks.

    • Allow about 10 MB for monitoring disk area per disk area (1LU).

  2. Defining mount points

    Define mount points that are used as resources in /etc/fstab on all the nodes where userApplication is configured. Each line must begin with "#RMS#."

    Example) When defining (adding) two mount points in /etc/fstab
    #RMS#/dev/sdd1        /mnt/swdsk1          ext3    defaults        1 2
    #RMS#/dev/sdd2        /mnt/swdsk2          ext3    defaults        1 2
    #RMS#/dev/sdd3        /mnt/monitor         ext3    defaults,ro     1 2

    If a file system is created in the GDS setting screen, the mount point is also defined. Each line of the mount point that is set with GDS must begin with "#RMS#."

    Example) When two mount points have been defined in /etc/fstab.
    #RMS#/dev/sfdsk/class0001/dsk/volume0001 /mnt/swdsk1 ext3 noauto 0 0
    #RMS#/dev/sfdsk/class0001/dsk/volume0002 /mnt/swdsk2 ext3 noauto 0 0
    #RMS#/dev/sfdsk/class0001/dsk/volume0003 /mnt/monitor ext3 noauto,ro 0 0

  3. Setting file systems

    It is necessary to create file systems on disk partitions that are used as resources.

    Example) When creating the ext3 file system
    # /sbin/mkfs -t ext3 /dev/sdd1
    # /sbin/tune2fs -j /dev/sdd1

    Confirm on each node that the file system can be mounted.

    Example) When checking if the file systems can be mounted
    # /bin/mount -t ext3 /dev/sdd1 /mnt/swdsk1
    # /bin/umount /mnt/swdsk1

mark2Operation Procedure:

  1. Select "LocalFileSystems" from "turnkey wizard STANDBY."

  2. Select "AdditionalMountPoint."

  3. The mount point, which is defined in /etc/fstab, will appear. Select mount points for monitoring-only disks.

    Set up mount points for monitoring-only disks before setting disk mount points.

    If you register multiple mount points, repeat steps 3 to 7 for each mount point.

  4. Select "SAVE+RETURN."

  5. The mount point, which is defined in /etc/fstab, will appear. Select mount points for disk operation.

  6. Select "MONITORONLY", so the "MONITORONLY" attribute will be ON.

  7. Select "SAVE+RETURN."

  8. Select "SAVE+EXIT."


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006