Tags:
create new tag
view all tags

ATF/ATF2 Computing environment

  • VPN + ssh://atf-xserve2.kek.jp
  • BPM machine (cbpm-lxs, 20.10.67.169)

lxs servers

  • SL5.3 (Boron)
  • lxs machines (nfs mounts to atf-vserve2.kek.jp /atf -> /Volumes/vtrack1/ATF/)
  • Local package installation via /atf/servers
  • Packages installed via rpm and into /usr/local/

Fragments of .profile file for setting up an environment on one of the linux machines

EPICS

export EPICS=/usr/local/epics/
export EPICS_BASE=${EPICS}/base/
export EPICS_HOST_ARCH=linux-x86
export PATH=${PATH}:/usr/local/bin/:/${EPICS_BASE}/bin/${EPICS_HOST_ARCH}

ROOT

export ROOTSYS=/usr/local/root/
export PATH=${PATH}:${ROOTSYS}/bin

ENGLISH
To set the console messages to English (this is key for working with the linux machines (as the locale is typically set to (ja_JP.UTF-8)

export LANG=en_US.utf8

BPM software

  • Need to change .profile on xserve
# SVN config 
export SVN_EDITOR='emacs -nw'
export SVN_SSH='ssh sboogert@localhost -p 20001'
alias svn_tunnel='/usr/bin/ssh -L 20001:svn.pp.rhul.ac.uk:22 -l sboogert linappserv1.pp.rhul.ac.uk'
  • Make directory in correct location
cd /Volumes/vtrak1/ATF/control/epics/atf2/
mkdir cbpm
cd cbpm
then check out code from Royal Holloway
svn co svn+ssh:///data/svn/JAI/BeamPositionMonitor/atf2/trunk/bpm-ioc ./
If you don't have an account at RHUL then http download can be performed but it will be impossible to commit these changes to SVN (email stewart.boogert@rhul.ac.uk, for SVN htaccess password)
svn co svn+http://svn.pp.rhul.ac.uk/JAI/BeamPositionMonitor/atf2/trunk/bpm-ioc ./
  • Log into linux controller and build sub components
ssh linuxmachine -l username
cd /atf/control/epics/atf2/cbpm/
make 

VME cold config (vme-cbpmN boot from cbpm-lxs)

  • root@cbpm-lxs> install rsh rpm
  • root@cbpm-lxs> chkconfig rsh on
  • root@cbpm-lxs> chkconfig rexec on
  • root@cbpm-lxs> chkconfig rlogin on
  • root@cbpm-lxs> service xinetd restart
  • root@cbpm-lxs> chkconfig ntpd on
  • root@cbpm-lxs> service ntpd restart
  • root@cbpm-lxs> useradd vmecbpm
  • root@cbpm-lxs> passwd vmecbpm
  • root@cbpm-lxs> /home/vmecbpm/.rhosts vme-cbpm1 vme-cbpm2
  • root@cbpm-lxs> cp stuff /home/vmecbpm/
  • root@cbpm-lxs> export nfs
  • cbpm-vmeX> bootChange
  • cbpm-vmeX> reboot
  • rhosts, etc.
localhost vmecbpm
slacvme2 vmecbpm
slacvme3 vmecbpm

Packages added to cbpm-lxs (0909)

  • cothread
  • FFTW
  • edm
  • gateway
  • casr
  • vdct
  • yum install rsh

NFS export

  • nanosun (/etc/exports)
/home/cdvxn              nanovw(rw,insecure,sync,no_subtree_check,insecure_locks,no_root_squash)
/home/cdvxn              nanovw1(rw,insecure,sync,no_subtree_check,insecure_locks,no_root_squash)
  • cbpm-lxs
/home/vmecbpm            cbpm-vme1.atf-local(rw,insecure,sync,no_subtree_check,insecure_locks,no_root_squash)
/home/vmecbpm            cbpm-vme2.atf-local(rw,insecure,sync,no_subtree_check,insecure_locks,no_root_squash)

VME network config

  • Names : slacvme2.atf-local, cbpm-vme3
  • IP : 20.10.71.5/6
  • Gateway : 20.10.68.1 (changed???)
  • Netmask : 255.255.248.0 (FFFFF800)

Sband RF control

  • Name : cbpm-win.atf-local
  • IP : 20.10.67.199

Calibration control

Cband cal signal (atfcc8.atf-local:5068) Sband cal signal (ip-ccnet.atf-local:5068)

  • cbpm:cband-cal1 cbpm:cband-cal2 cbpm:sband-cal1 cbpm:sband-cal2
  • 0 : no output
  • 1 : next shot is passed through
  • -1 : continuous open gate

-- Last edited: AlexeyLyapin - 06 Apr 2015

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions

Physics WebpagesRHUL WebpagesCampus Connect • Royal Holloway, University of London, Egham, Surrey TW20 0EX; Tel/Fax +44 (0)1784 434455/437520

Topic revision: r11 - 06 Apr 2015 - AlexeyLyapin

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding RHUL Physics Department TWiki? Send feedback