PRIMECLUSTER Installation and Administration Guide 4.1 (for Solaris(TM) Operating System) |
Contents
Index
![]() ![]() |
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 |
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.
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#".
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.
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."
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
- Be sure to start each line with "#RMS#" (except for the dummy entry).
- In the dummy entry, set the "o" option to ensure that network clients cannot see the entry.
Example) share -F nfs -o ro=hostname_of_local_node
3-3)Start the NFS service.
To start the daemon without rebooting the system, execute the following command:# /etc/init.d/nfs.server start
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
![]() ![]() |