NFS Exporting & Mounting a directory to a set of nodes in 9 easy clicks

    

One big thing that I like about Bright Cluster Manager is that it makes complicated, time-consuming tasks easy and quick. Take for example, sharing a directory and making it available on your compute nodes.

This article describes how to NFS export a directory from the head node and mount it on a set of nodes using the Bright Cluster Manager CMGUI. We'll use /scratch as an example.

Here's what we need to do:

1. NFS export /scratch on the head node
2. Mount master:/scratch on the nodes as /scratch

Here's how to do that in CMGUI:

Select the head node in the resource tree, then select the "FS Exports" tab, then press the "Add" button

image

This image has been resized to fit in the page. Click to enlarge.

Fill in the "New FS Export" dialog box and then press "Ok". Note that I've configure write access and root squash.

image
This image has been resized to fit in the page. Click to enlarge.

Press "Save" button. Now the /scratch directory is exported and can be mounted from your internal network. Next select the node category you want to add the mount to, then select the "FS Mounts" tab, and press the "Add" button

image
This image has been resized to fit in the page. Click to enlarge.

Fill in the "New FS Mount" dialog box and press "Ok"

image
This image has been resized to fit in the page. Click to enlarge.

Press the "Save" button to apply these changes. Now you successfully exported the scratch directory and mounted it on the nodes in the 
default node category as show below. Note that atom01 is in the default node category.

# ssh root@atom01 mount

master:/cm/shared on /cm/shared type nfs (rw,hard)
master:/home on /home type nfs (rw,hard)
master:/scratch on /scratch type nfs (rw,hard)
High Performance Computing eBook