PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System)
Contents Index PreviousNext

Part 2 Installation> Chapter 6 Building Cluster Applications> 6.6 Setting Up Cluster Applications> 6.6.1 Setting Up Resources> 6.6.1.2 Creating Fsystem Resources

6.6.1.2.1 Prerequisites

This section describes operations that must be performed before the file system is set up with the GUI. Although not mentioned in the procedure, editor commands such as those featured by vi(1) are generally used in file editing.

mark1Editing the /etc/vfstab file

Define the mount point in the "/etc/vfstab" file on all nodes where userApplication is configured to use Fsystem.

#RMS#/dev/sfdsk/class0001/dsk/volume0001 /dev/sfdsk/class0001/rdsk/volume0001 /disk1 ufs - no -
#RMS#/dev/sfdsk/class0001/dsk/volume0002 /dev/sfdsk/class0001/rdsk/volume0002 /disk2 sfxfs - no -

Lines must begin with "#RMS#".

mark1Preparations for sharing a file system in a network(NFS)

mark31) Create Ipaddress or Gls resources.

Since a takeover network is necessary when an NFS service is used as a cluster application, create an Ipaddress or a Gls resource.

For details on the setup procedure, see "Creating Takeover Network Resources" and "Creating Gls Resources."

Set this resource to the same userApplication as the Fsystem resource.

mark32) Carry out preparations for enabling NFS Lock Failover.

Select the "Edit global settings in Configuration" command from the menu, and specify the settings for enabling NFS Lock Failover.

For details on the setup procedure, see "Editing global settings in Configuration."

mark33) Set up the NFS service.

3-1) Create a directory for dummy entries.

Dummy entries are necessary to ensure that the NFS service is started when Solaris is started.
Execute the command below to create a blank directory.
# mkdir /var/opt/SMAWRrms/nfsshare

3-2)Edit the /etc/dfs/dfstab file.

Add the entries shown below to the file in all nodes that make up userApplication. The first entry is a dummy entry, and the subsequent entries are entries of the file system to be shared.
share -F nfs -o ro=fuji2 -d "dummy directory for NFS sharing on PRIMECLUSTER" /var/opt/SMAWRrms/nfsshare
#RMS# share -F nfs /disk1
#RMS# share -F nfs /disk2

3-3)Start the NFS service.

To start the daemon without rebooting the system, execute the following command:
# /etc/init.d/nfs.server start

mark1If another file system is used

The disk must be formatted and the file system must be created beforehand. For information on formatting and file system commands, see the "Solaris X Reference Manual Collection." If you plan to use GFS as the file system, see "Initial GFS Setup" when you build the file system.


Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005