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
 
(23 intermediate revisions by 6 users not shown)
Line 3: Line 3:
'''1. Automount'''
'''1. Automount'''


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


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


/etc/auto.master:
NOTE: To mount temporary ''iso'' images use command:
 
mkdir /mnt/isoimage
mount -o loop -t iso9660 blablabla.iso /mnt/isoimage


  /u      auto.u.bb    --timeout 0 -DOSNAME=Linux-RHEL4
* on daq servers, set [[ramdisk]] and disable swap by running ''swapoff -a'' and commenting out ''swap'' line in ''/etc/fstab''
  /w      auto.w.bb -v -d  -g
  /misc  /etc/auto.misc
  /usr/local      /etc/auto.local


/etc/auto.misc:
* (ON RHEL5 DO ''yum install mysql-devel''): perform [[MySQL Installation]]


  cd            -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
* install [[Scons]] (needed for example by evio compilation)
  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:
* customize [[Java]]


  clas                -rw,bg    clonfs2:/vol/vol0/local/clas
* install [[MYA]] - related stuff
  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:
* for EPICS machines: copy /etc/sudoers


  cd /
* Install required [[Tcl/Tk]] packages
  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
  /etc/init.d/autofs restart


NOTE: To mount temporary ''iso'' images use command:
* Install [[Mellanox]] driver if needed
 
* Install required [[PERL]] modules


mkdir /mnt/isoimage
* DO NOT NEED ON RHEL5: activate [[Ntp]] service (by default it is disabled, at least in RHEL4)
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
* install [[UPS (Uninterruptible Power Supplies)]] - related software
Line 59: Line 38:
* configure printers (see [[Troubleshooting printing]])
* 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)
 
* 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)
* 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)