PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Part 3 Global File Services Shared File System> Chapter 23 File System Management> 23.9 Using the GFS Shared File System for RMS Cluster Operation

23.9.4 Setup procedure when the GFS Shared File System is to be used in an RMS cluster operation

This section explains the procedure for creating a GFS Shared File System on a GDS volume for use by an RMS cluster operation.

For details, see the "PRIMECLUSTER Configuration and Administration Guide," "PRIMECLUSTER RMS Configuration and Administration Guide," and the "PRIMECLUSTER Global Disk Service Configuration and Administration Guide."
In addition to commands, A GDS volume can be also created by using the GDS Management View (GUI). For details to setup the GDS, refer to "PRIMECLUSTER Global Disk Services Configuration and Administration Guide."

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

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

Use the sfcnewfs command to create a GFS Shared File System.

Note that a management partition that is exclusively for the GFS Shared File System must be prepared by the GFS Shared File System on a GDS volume whose disk class does not include any GDS volumes that are to be used as switchover file systems.

When a 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.

a) Create a management partition for a GFS Shared File System on either of the nodes.

# sfcsetup -c /dev/sfdsk/gfs/rdsk/GFSctl

b) Register node information in the management partition of the GFS Shared File System on each node.

sunny# sfcsetup -a /dev/sfdsk/gfs/rdsk/GFSctl
moony# sfcsetup -a /dev/sfdsk/gfs/rdsk/GFSctl

c) Activate the GFS Shared File System on each node.

sunny# sfcfrmstart
moony# sfcfrmstart

d) Create the GFS Shared File System on either of the nodes.

# sfcnewfs -H sunny,moony /dev/sfdsk/gfs/rdsk/vol0001

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

Add the mount information for the relevant GFS Shared File System to /etc/vfstab on each node. At this time, specify "no" for "mount at boot" mount option in the /etc/vfstab entry.

/dev/sfdsk/gfs/dsk/vol0001 /dev/sfdsk/gfs/rdsk/vol0001 /sfcfs sfcfs - no rw

Procedure 3. Setting the definition of switchover for an RMS application in the RMS configuration (node A (active node), node B (standby node))

Set up the RMS configuration by using the userApplication Configuration Wizard.

For details on setup, refer to "PRIMECLUSTER Configuration and Administration Guide" and "PRIMECLUSTER RMS Configuration and Administration Guide."

For a GFS Shared File System, the following measures are necessary in order for its GDS volumes to always be active.

Procedure 4. 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 in the /etc/vfstab file and the RMS application are correct, paying careful attention to the following points:

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 file system specified in /etc/vfstab is incorrect.
Solution: Correct the /etc/vfstab file.
- The GDS volume is deactivated.
Solution: Activate the GDS volume.

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004