Linux Customization on CLON Cluster: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
/etc/auto.master: | /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 | |||
/usr/clas /etc/auto.clas | |||
/etc/auto.misc: | /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 | |||
work -rw,rsize=8192,wsize=8192 clon00:/work | |||
scratch -rw,rsize=8192,wsize=8192 clon00:/scratch | |||
data -rw,rsize=8192,wsize=8192 clon10:/data | |||
/etc/auto.local: | /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 | |||
/etc/auto.clas | /etc/auto.clas | ||
archives -rw,bg clonfs2:/archives | |||
* Set corresponding symbolic links and restart service: | * Set corresponding symbolic links and restart service: | ||
cd / | |||
rm -rf home | |||
ln -s /misc/apps apps | |||
ln -s /misc/home home | |||
ln -s /misc/work work | |||
ln -s /misc/scratch scratch | |||
ln -s /misc/data data | |||
ln -s /usr/clas/archives/hist hist | |||
/etc/init.d/autofs restart | |||
NOTE: To mount temporary ''iso'' images use command: | NOTE: To mount temporary ''iso'' images use command: |
Revision as of 08:27, 4 January 2008
Following steps must be performed to complain with CLON Cluster requirements:
1. 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 /usr/clas /etc/auto.clas
/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 work -rw,rsize=8192,wsize=8192 clon00:/work scratch -rw,rsize=8192,wsize=8192 clon00:/scratch data -rw,rsize=8192,wsize=8192 clon10:/data
/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
/etc/auto.clas
archives -rw,bg clonfs2:/archives
- Set corresponding symbolic links and restart service:
cd / rm -rf home ln -s /misc/apps apps ln -s /misc/home home ln -s /misc/work work ln -s /misc/scratch scratch ln -s /misc/data data ln -s /usr/clas/archives/hist hist /etc/init.d/autofs restart
NOTE: To mount temporary iso images use command:
mkdir /mnt/isoimage mount -o loop -t iso9660 blablabla.iso /mnt/isoimage
- activate Ntp service (by default it is disabled, at least in RHEL4)
- Proceed with SUN's JAVA installation (default one is IBM's and our stuff is not compiling; besides all Sun machines have Sun's JAVA and we want to have the same version everywhere).
- install UPS (Uninterruptible Power Supplies) - related software
- configure printers (see Troubleshooting printing)
- install (or customize if installed) mysql software: follow instructions in MySQL Installation
- configure X server if your machine has display(s)