How to Configure the File System on the Secondary Cluster for the NFS Application
Before You Begin
Complete the procedure How to Configure the File System on the Primary Cluster for the NFS Application.
-
On nodeC, assume the role that provides
solaris.cluster.admin authorization.
-
On nodeC, create a mount-point directory for the NFS file system.
For example:
nodeC# mkdir /global/mountpoint
-
On nodeC, configure the master volume to be mounted automatically on the
mount point.
Add or replace the following text in the /etc/vfstab file on
nodeC. The text must be on a single line.
/dev/md/nfsset/dsk/d200 /dev/md/nfsset/rdsk/d200 \
/global/mountpoint ufs 3 yes global,logging
-
Mount metadevice d204 on nodeA.
nodeC# mount /global/etc
-
Create the configuration files and information for the Oracle Solaris Cluster HA for NFS data
service.
-
Create a directory called /global/etc/SUNW.nfs on
nodeA.
nodeC# mkdir -p /global/etc/SUNW.nfs
-
Create the file /global/etc/SUNW.nfs/dfstab.nfs-rs on
nodeA.
nodeC# touch /global/etc/SUNW.nfs/dfstab.nfs-rs
-
Add the following line to the /global/etc/SUNW.nfs/dfstab.nfs-rs file on
nodeA.
share -F nfs -o rw -d "HA NFS" /global/mountpoint
Next Steps
Go to How to Create a Replication Resource Group on the Primary Cluster.