User Guide

10
Shared Volumes
All the nodes in the cluster must have a common volume to work from; otherwise they
will not know where to find assets needed for any given batch. There are many ways to
set up file sharing. The following is a quick tutorial on NFS export and mounting. NFS is
not required, as you can also use AFP or SMB. If you already have an NFS server, such as
your cluster controller, simply add another export in
/etc/exports
or netinfo and send
a
-HUP (-1)
to
mountd
.
Enter the following if you are exporting from your cluster controller or an existing
NFS server:
sudo echo “<SOME DIRECTORY>” >> /etc/exports sudo kill -1 `cat /var/run/
mountd.pid`
This creates an NFS server exporting <
SOME DIRECTORY
>. You can verify this by the
following command:
showmount -e
Dedicated NFS Servers
You can set up a dedicated NFS server.
1
If you are setting up a dedicated NFS server, enter the following:
sudo echo “<SOME DIRECTORY>” >> /etc/exports
sudo rm /var/run/NFS.StartupItem
sudo SystemStarter start NFS
The computer does not need to run OS X server; if you prefer to use a graphical user
interface, you can use Mac OS X Server Admin tools and Netinfo Manager.
2
To mount the export, enter the following on all the nodes in the cluster:
mkdir -p <MOUNT POINT>
mount_nfs <nfs server>:<SOME DIRECTORY> <MOUNT POINT>
If your NFS server is a node, it is important that you also mount the export, even
though you are sharing it. All the paths on each node must appear to be the same. If
you don’t mount it, this computer will produce File Not Found errors. Also, if you have
any client computers that will submit to the cluster but not actually participate in it,
you need to mount the export.