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.2 When Using a GFS Local File System as an Alternate cluster file system

GFS Local File System has the name and host-id of each node that is using the file system, and information on each device on the file system.

When the file system is used as an alternate file system, information on all nodesTerm that are using the file system must be stored in the file system.

Specifically, execute the sfxnode command on a node other than the one on which the file system was created by the sfxnewfs command.

Before executing the sfxnode command, unmount the file system from the node using the file system.

Because the file system cannot be used from two nodes simultaneously, specify "mount at boot" as "no" in /etc/vfstab.

For details on the setup of the cluster system, refer to "PRIMECLUSTER Configuration and Administration Guide" and "PRIMECLUSTER RMS Configuration and Administration Guide."

In the following example, the GFS Local File System created on node sunny is set up as an alternate file system on node moony.

1. Confirm that the file system that is to be added as an alternate file system is not currently mounted.

sunny # mount | grep /dev/sfdsk/gfs/dsk/vol0301

2. Confirm that no data is currently output.

If the file system is mounted, perform unmount processing.

a) Set up host information so that the file system can be used from the node "moony."

moony # sfxnode /dev/sfdsk/gfs/rdsk/vol0301

b) Confirm that both nodes have been set.

moony # sfxinfo -n /dev/sfdsk/gfs/dsk/vol0301
/dev/sfdsk/gfs/dsk/vol0301
ID hostID hostname
0 809fxxxx sunny
1 809fyyyy moony
sunny # sfxinfo -n /dev/sfdsk/gfs/dsk/vol0301
/dev/sfdsk/gfs/dsk/vol0301
ID hostID hostname
0 809fxxxx sunny
1 809fyyyy moony


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004