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.
Register the SUNW.nfs resource type.
# clresourcetype register SUNW.nfs |
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 |
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 |
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.
# clresource create \ -g sge-rg \ -t SUNW.nfs \ -p Resource_dependencies=sge-hasp-rs \ sge-nfs-rs |
This example shows the command for creating a dfstab file for the root of the Sun Grid Engine file system.
The root of the Sun Grid Engine file system is /global/gridmaster.
The name of the NFS resource for which this file is created is sge-nfs-rs.
# echo "share -F nfs -o rw /global/gridmaster" \ > /global/gridmaster/SUNW.nfs/dfstab.sge-nfs-rs |