Linux Customization on CLON Cluster

From CLONWiki
Revision as of 15:14, 27 January 2007 by Boiarino (talk | contribs)
Jump to navigation Jump to search

Following steps must be performed to complain with CLON Cluster requirements:

  • Automount
    • Include machine name into clonfs2 export list
    • Add/Modify automount-related files in '/etc' directory (or copy them from similar machine):

/etc/auto.master:

 /u      auto.u.bb    --timeout 0 -DOSNAME=Linux-RHEL4
 /w      auto.w.bb -v -d  -g
 /misc   /etc/auto.misc
 /usr/local      /etc/auto.local

/etc/auto.misc:

 cd            -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
 home          -rw,rsize=8192,wsize=8192       clonfs2:/home
 apps          -rw,rsize=8192,wsize=8192       clonfs2:/apps/Linux_i686

/etc/auto.local:

 clas                 -rw,bg     clonfs2:/vol/vol0/local/clas
 downloads            -rw,bg     clonfs2:/vol/vol0/local/downloads
 bin                  -rw,bg     clonfs2:/vol/vol0/local/Linux_i686/bin
 etc                  -rw,bg     clonfs2:/vol/vol0/local/Linux_i686/etc
 include              -rw,bg     clonfs2:/vol/vol0/local/Linux_i686/include
 lib                  -rw,bg     clonfs2:/vol/vol0/local/Linux_i686/lib
 libexec              -rw,bg     clonfs2:/vol/vol0/local/Linux_i686/libexec
 man                  -rw,bg     clonfs2:/vol/vol0/local/Linux_i686/man
 sbin                 -rw,bg     clonfs2:/vol/vol0/local/Linux_i686/sbin
 share                -rw,bg     clonfs2:/vol/vol0/local/Linux_i686/share
 src                  -rw,bg     clonfs2:/vol/vol0/local/Linux_i686/src
    • Set corresponding symbolic links and restart service:
 cd /
 rm -rf home
 ln -s /misc/apps apps
 ln -s /misc/home home
 /etc/init.d/autofs restart