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
 
(26 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
 
* on daq servers, set [[ramdisk]] and disable swap by running ''swapoff -a'' and commenting out ''swap'' line in ''/etc/fstab''


  /u      auto.u.bb    --timeout 0 -DOSNAME=Linux-RHEL4
* (ON RHEL5 DO ''yum install mysql-devel''): perform [[MySQL Installation]]
  /w      auto.w.bb -v -d  -g
  /misc  /etc/auto.misc
  /usr/local      /etc/auto.local


/etc/auto.misc:
* install [[Scons]] (needed for example by evio compilation)


  cd            -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
* customize [[Java]]
  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:
* install [[MYA]] - related stuff


  clas                -rw,bg    clonfs2:/vol/vol0/local/clas
* for EPICS machines: copy /etc/sudoers
  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 required [[Tcl/Tk]] packages


  cd /
* Install [[Mellanox]] driver if needed
  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 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-related software
* install [[UPS (Uninterruptible Power Supplies)]] - related software


* 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)


* configure [[X server]]
* 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)