Sun Cluster Data Service for Sun Grid Engine Guide for Solaris OS

Configuring Sun Cluster HA for NFS for Use With Sun Cluster HA for Sun Grid Engine

You must use NFS to export the Sun Grid Engine file system to the noncluster nodes. The NFS server that exports this file system must also be protected against failure. To protect the NFS server against failure, use the Sun Cluster HA for NFS data service.

The procedure that follows explains only the special requirements for using Sun Cluster HA for NFS with Sun Cluster HA for Sun Grid Engine. For complete information about installing and configuring Sun Cluster HA for NFS, see Sun Cluster Data Service for Network File System (NFS) Guide for Solaris OS.

How to Configure Sun Cluster HA for NFS for Use With Sun Cluster HA for Sun Grid Engine


Note –

Commands in this procedure assume that you have set the $SGE_ROOT environment variable to specify the root of the Sun Grid Engine file system.


  1. Register the SUNW.nfs resource type.


    # scrgadm -a -t SUNW.nfs
    
  2. From any cluster node, create a directory for NFS configuration files.

    Create the directory under root of the Sun Grid Engine file system. Name the directory SUNW.nfs.


    # mkdir -p $SGE_ROOT/SUNW.nfs
    
  3. In the directory that you created in Step 2, create a file that contains the share command for the root of the Sun Grid Engine file system.

    Name the file the dfstab.sge-nfs-rs, where sge-nfs-rs is the name of the NFS resource that you will create in Step 4.


    # echo "share -F nfs -o rw sge-root" \
     > $SGE_ROOT/SUNW.nfs/dfstab.sge-nfs-rs
    
  4. Add a SUNW.nfs resource to the failover resource group that you created in How to Enable Sun Grid Engine to Run in a Cluster.


    # scrgadm -a -j sge-nfs-rs \
    -g sge-rg \
    -t SUNW.nfs \
    -y Resource_dependencies=sge-hasp-rs
    

Example 1–2 Creating a dfstab File for the Root of the Sun Grid Engine File System

This example shows the command for creating a dfstab file for the root of the Sun Grid Engine file system.


# echo "share -F nfs -o rw /global/gridmaster" \
 > /global/gridmaster/SUNW.nfs/dfstab.sge-nfs-rs