Skip Navigation Links
Exit Print View
| Oracle Solaris Cluster System Administration Guide Oracle Solaris Cluster 4.1

Search Scope:

- This Document
- Entire Library

### How to Configure the File System on the Primary Cluster for the NFS Application

Before You Begin

Complete the procedure How to Configure a Device Group on the Secondary Cluster.

1. On `nodeA` and `nodeB`, assume the role that provides `solaris.cluster.admin` RBAC authorization.
2. On `nodeA` and `nodeB`, create a mount-point directory for the NFS file system.

   For example:

       nodeA# mkdir /global/mountpoint

3. On `nodeA` and `nodeB`, configure the master volume to not be mounted automatically on the mount point.

   Add or replace the following text in the `/etc/vfstab` file on `nodeA` and `nodeB`. The text must be on a single line.

       /dev/md/nfsset/dsk/d200 /dev/md/nfsset/rdsk/d200 \
       /global/mountpoint ufs 3 no global,logging

4. On `nodeA` and `nodeB`, create a mount point for metadevice d204.

   The following example creates the mount point `/global/etc`.

       nodeA# mkdir /global/etc

5. On `nodeA` and `nodeB`, configure metadevice d204 to be mounted automatically on the mount point.

   Add or replace the following text in the `/etc/vfstab` file on `nodeA` and `nodeB`. The text must be on a single line.

       /dev/md/nfsset/dsk/d204 /dev/md/nfsset/rdsk/d204 \
       /global/etc ufs 3 yes global,logging

6. Mount metadevice d204 on `nodeA`.

       nodeA# mount /global/etc

7. Create the configuration files and information for the Oracle Solaris Cluster HA for NFS data service.
   1. Create a directory called `/global/etc/SUNW.nfs` on `nodeA`.

          nodeA# mkdir -p /global/etc/SUNW.nfs

   2. Create the file `/global/etc/SUNW.nfs/dfstab.nfs-rs` on `nodeA`.

          nodeA# touch /global/etc/SUNW.nfs/dfstab.nfs-rs

   3. 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 Configure the File System on the Secondary Cluster for the NFS Application.

Copyright © 2000, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |