Linux Customization on CLON Cluster: Difference between revisions

From CLONWiki
Jump to navigation Jump to search
Boiarino (talk | contribs)
No edit summary
Boiarino (talk | contribs)
No edit summary
 
(40 intermediate revisions by 6 users not shown)
Line 1: Line 1:
Following steps must be performed to complain with CLON Cluster requirements:
Following steps must be performed to complain with CLON Cluster requirements:


* Add/Modify automount-related files in '/etc' directory and restart automount service:
'''1. Automount'''


/etc/auto.master:
DO NOT NEED ANY MORE * Include machine name into [[clonfs1]] export list


  /u      auto.u.bb    --timeout 0 -DOSNAME=Linux-RHEL4
* Add/Modify [[automounts]]-related files in '/etc' directory (or copy them from similar machine) and symbolic links. Restart automount service.
  /w      auto.w.bb -v -d  -g
  /misc  /etc/auto.misc
  /usr/local      /etc/auto.local


/etc/auto.misc:
NOTE: To mount temporary ''iso'' images use command:


  cd            -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
mkdir /mnt/isoimage
  home          -rw,rsize=8192,wsize=8192      clonfs2:/home
mount -o loop -t iso9660 blablabla.iso /mnt/isoimage
  apps          -rw,rsize=8192,wsize=8192      clonfs2:/apps/Linux_i686


/etc/auto.local:
* on daq servers, set [[ramdisk]] and disable swap by running ''swapoff -a'' and commenting out ''swap'' line in ''/etc/fstab''


  clas                -rw,bg    clonfs2:/vol/vol0/local/clas
* (ON RHEL5 DO ''yum install mysql-devel''): perform [[MySQL Installation]]
  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:
* install [[Scons]] (needed for example by evio compilation)


  cd /
* customize [[Java]]
  rm -rf home
 
  ln -s /misc/apps apps
* install [[MYA]] - related stuff
  ln -s /misc/home home
 
  /etc/init.d/autofs restart
* for EPICS machines: copy /etc/sudoers
 
* Install required [[Tcl/Tk]] packages
 
* Install [[Mellanox]] driver if needed
 
* Install required [[PERL]] modules
 
* DO NOT NEED ON RHEL5: 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]])
 
* configure [[X server]] if your machine has display(s)
 
* setup [[Nrpe]]

Latest revision as of 17:08, 12 June 2020

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

1. Automount

DO NOT NEED ANY MORE * Include machine name into clonfs1 export list

  • Add/Modify automounts-related files in '/etc' directory (or copy them from similar machine) and symbolic links. Restart automount service.

NOTE: To mount temporary iso images use command:

mkdir /mnt/isoimage
mount -o loop -t iso9660 blablabla.iso /mnt/isoimage
  • on daq servers, set ramdisk and disable swap by running swapoff -a and commenting out swap line in /etc/fstab
  • install Scons (needed for example by evio compilation)
  • install MYA - related stuff
  • for EPICS machines: copy /etc/sudoers
  • Install required Tcl/Tk packages
  • Install required PERL modules
  • DO NOT NEED ON RHEL5: 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).
  • configure X server if your machine has display(s)