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

Part 2 Global File Services Local File System> Chapter 10 Using GFS Local File System in RMS cluster Operation

10.4 Setup procedure for using GFS Local File System for the GDS volume as an alternate file system

This section explains the procedure for creating the GFS Local File System on the GDS volume on the RMS cluster and using it as an alternate file system.

For details on setup, refer to "PRIMECLUSTER Configuration and Administration Guide," "PRIMECLUSTER RMS Configuration and Administration Guide," and "PRIMECLUSTER Global Disk Services 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 Creating a GFS Local File System (Active node)

Create a GFS Local File System on the volume from the node in which an active node exists.

To create a GFS Local File System, use sfxnewfs command.

Procedure 2 Setting up the alternate file system (Active node, Standby node)

By the following methods, the alternate file system is set up.

That procedure is explained with sunny as that host name of an active node, and moony as host name of a standby node.

a) At moony side, confirm host ID of moony.

moony # hostid
809fyyyy

b) At sunny side, to set up host name and host ID of moony, execute sfxnode command.

In sfxnode command, specify the representative partition of GFS Local File System.

sunny # sfxnode -a -n moony -i 809fyyyy /dev/sfdsk/gfs/rdsk/vol1000

c) At moony side, to register device information to GFS Local File System, execute sfxadm command.

In sfxadm command, specify all partitions constituting GFS Local File System with device name seen from moony side, and first of all specify the representative partition of GFS Local File System.

moony # sfxadm -A /dev/sfdsk/gfs/rdsk/vol1000,/dev/sfdsk/gfs/rdsk/vol1100

Procedure 3 Adding a GFS Local File System to /etc/vfstab (Active node, Standby node)

Add a mount information of a GFS Local File System to /etc/vfstab.

Add the mount information prefixed by "#RMS#" or "#RMS:application#" to /etc/vfstab on the node in which the file system was created. At this time, specify "no" for the "mount at boot" specification in the added mount information.

In addition to above, "application" means the RMS application name created by later the userApplication Configuration Wizard.

#RMS#/dev/sfdsk/gfs/dsk/vol1000 /dev/sfdsk/gfs/rdsk/vol1000 /sfxfs sfxfs 2 no -

Procedure 4 Setting a mount point resource and a switchover definition for user applications as the RMS configuration (Active node, Standby node)

By the following methods, the RMS configuration is set up using the userApplication Configuration Wizard.

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

Procedure 5 Checking the settings (Active node, Standby node)

Start the RMS, and check the following points to confirm configuration of /etc/vfstab.

If RMS application is failed in the above procedures, it may have occurred for the following reasons. Take the action described below.

Still more, to set up an alternate file system in the cascade operation environment, perform the above steps on standby nodes.


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004