DataAccess » History » Version 1

Anonymous, 09/14/2007 09:48 AM

1 1 Anonymous
= Data Access =
2 1 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.
3 1 Anonymous
4 1 Anonymous
 * Add the following to the end of ''/etc/exports'' on the master node (''master01''):
5 1 Anonymous
   {{{
6 1 Anonymous
   /home  *.procksi.local(rw,async,no_subtree_check,no_root_squash)
7 1 Anonymous
   }}}
8 1 Anonymous
9 1 Anonymous
 * Add the following to the end of ''/etc/fstab'' on each slave node: 
10 1 Anonymous
   {{{
11 1 Anonymous
   master01:/home   /home   nfs   bg,hard,intr,tcp   0 0
12 1 Anonymous
   }}}
13 1 Anonymous
14 1 Anonymous
 * Modify ''/etc/sysconfig/nfs'' on the master node in order to tune NFS by increasing the number of ''nfsd'' threads:
15 1 Anonymous
   {{{
16 1 Anonymous
   RPCNFSDCOUNT=16
17 1 Anonymous
   }}}
18 1 Anonymous
19 1 Anonymous
 * Make the NFS daemons start at bootup. Enter at the command line of the master node and each slave node: 
20 1 Anonymous
   {{{
21 1 Anonymous
   /sbin/chkconfig  --add nfs
22 1 Anonymous
   /sbin/chkconfig  nfs  on
23 1 Anonymous
   }}}
24 1 Anonymous
25 1 Anonymous
 * Start the NFS daemons. Enter at the command line on the master node and on each slave node:
26 1 Anonymous
   {{{
27 1 Anonymous
   /sbin/service  nfsd  start
28 1 Anonymous
   }}}
29 1 Anonymous
30 1 Anonymous
 * Generate the following temp directory on the master node and each slave node, at best on a separate partition:
31 1 Anonymous
   {{{ 
32 1 Anonymous
   mkdir /scratch
33 1 Anonymous
   }}}