Sun Cluster 2.2 Software Installation Guide

11.2.2 How to Register and Activate NFS

After setting up and configuring NFS, you must activate Sun Cluster HA for NFS by using the hareg(1M) command to start the Sun Cluster monitor.

  1. Register Sun Cluster HA for NFS.

    Use the hareg(1M) command to register the Sun Cluster HA for NFS data service on all hosts in the Sun Cluster. Run the command on only one node.

    # hareg -s -r nfs
    

    The following command registers the Sun Cluster HA for NFS data service only on logical hosts hahost1 and hahost2. Run the command on only one node.

    # hareg -s -r nfs -h hahost1,hahost2
    
  2. Activate the NFS service by invoking the hareg(1M) command on one host.

    # hareg -y nfs
    
  3. Execute a membership reconfiguration.

    # haswitch -r
    

    Refer to the Sun Cluster 2.2 System Administration Guide for more information on forcing a cluster reconfiguration.

    The process of setting up, registering, and activating Sun Cluster HA for NFS on your Sun Cluster servers is now complete.