Installation guide

106 Chapter 6:Network File Sharing Services
The following are the service configuration parameters which will be used as well as some descriptive
commentary.
Note
Prior to configuring an NFS service using cluadmin, it is required that the
cluster daemons are running.
Service Name nfs_accounting. This name was chosen as a reminder of the service’s intended
function to provide exports to the members of the accounting department.
Preferred Member
clu4. In this example cluster, the member names are clu3 and clu4.
User Script — The cluster infrastructure includes support for NFS services. Consequently, there is
no need to create a User Script when configuring an NFS service. For this reason, when prompted
to specify a User Script, the default value of
None should be selected.
IP Address
10.0.0.10. There is a corresponding hostname of clunfsacct associated with this IP
address, by which NFS clients mount the filesystem. Note that this IP address is distinct from that
of both cluster members (clu3 and clu4). The default netmask and broadcast address will be used.
Mount Information /dev/sdb10, which refers to the partition on the shared storage RAID
box on which the file system will be physically stored.
ext3 referring to the file system type
which was specified when the file system was created. /mnt/users/accounting speci-
fies the file system mount point. rw,nosuid,sync are the mount options.
Export Information - for this example, the entire mounted file system will be made accessible on
a read write basis by four members of the accounting department. The names of the systems used
by these four members are burke, stevens, needle and dwalsh.
The following is an excerpt of the /etc/hosts file used to represent IP addresses and associated host-
names used within the cluster:
10.0.0.3 clu3 # cluster member
10.0.0.4 clu4 # second cluster member
10.0.0.10 clunfsacct # floating IP address associated with accounting dept. NFS service
10.0.0.11 clunfseng # floating IP address associated with engineering dept. NFS service
The following is excerpted from running cluadmin to configure this example NFS service:
cluadmin> service add