DataAccess » History » Version 4

Anonymous, 09/28/2007 11:13 AM

1 1 Anonymous
2 4 Anonymous
h1. Data Access
3 4 Anonymous
4 4 Anonymous
The master node hosts a RAID system of hard disks that will store all data generated by [[ProCKSI]] by all slave nodes and the master node itself. This partition must be accessible by all nodes and is exported as a _network file system_ (NFS) therefore. Executables used by [[ProCKSI]] must be installed locally on each slave node for better performance.
5 4 Anonymous
6 4 Anonymous
* Add the following to the end of _/etc/exports_ on the master node (_master01_):
7 4 Anonymous
<pre>
8 1 Anonymous
   /home  192.168.199.0/255.255.255.0(rw,async,no_subtree_check,no_root_squash)
9 4 Anonymous
</pre>
10 1 Anonymous
11 4 Anonymous
* Add the following to the end of _/etc/fstab_ on each slave node: 
12 4 Anonymous
<pre>
13 1 Anonymous
   master01:/home   /home   nfs   bg,hard,intr,tcp   0 0
14 4 Anonymous
</pre>
15 1 Anonymous
16 4 Anonymous
* Modify _/etc/sysconfig/nfs_ on the master node in order to tune NFS by increasing the number of _nfsd_ threads:
17 4 Anonymous
<pre>
18 1 Anonymous
   RPCNFSDCOUNT=16
19 4 Anonymous
</pre>
20 1 Anonymous
21 4 Anonymous
* Make the NFS daemons start at bootup. Enter at the command line of the master node and each slave node: 
22 4 Anonymous
<pre>
23 1 Anonymous
   /sbin/chkconfig  --add nfs
24 3 Anonymous
   /sbin/chkconfig  nfs  on
25 4 Anonymous
</pre>
26 1 Anonymous
27 4 Anonymous
* Start the NFS daemons. Enter at the command line on the master node and on each slave node:
28 4 Anonymous
<pre>
29 1 Anonymous
   /sbin/service  nfs  start
30 4 Anonymous
</pre>
31 1 Anonymous
32 4 Anonymous
* Generate the following temp directory on the master node and each slave node, at best on a separate partition:
33 4 Anonymous
<pre>
34 1 Anonymous
   mkdir /scratch
35 4 Anonymous
</pre>