SLAC CD Software Engineering Group
Stanford Linear Accelerator Center
 

Controls UNIX System

SLAC Detailed
SLAC Computing
Software Home
Software Detailed
LCLS Controls Home

 

This page provides a list of UNIX machines used by the Accelerator Controls Systems.

 


 

 

 

 

Modified:  09-Jul-2015

 

Nodename
Special Configs
                                                                               Shared
mccfs2
Old archive system
mccfs8
Production Print Server, backup software
mccsrv01
DNS, NTP, DHCP, DHCP Monitor (for emergency DHCP changes)
mccsrv02
DNS, NTP, DHCP
mcclogin
vnc
lcls-prod01

Development Print Server

Cronjobs

EPICS Gateway servers

/etc/rc3.d/S90st.caRepeater
/etc/rc3.d/S97st.Xvfb
/etc/rc3.d/S97st.gwEXP2FACET
/etc/rc3.d/S97st.gwFACETARCH
/etc/rc3.d/S97st.gwFACETPUB
/etc/rc3.d/S97st.gwLCLSARCH0
/etc/rc3.d/S97st.gwLCLSARCH1
/etc/rc3.d/S97st.gwLCLSPUB
/etc/rc3.d/S99st.auto_Elog
/etc/rc3.d/s97st.gwLCLSARCH

lcls-prod02

Login Server

vnc

lcls-prod03 Squid Config          Mail Relay Server    PXE Server (tftp-server)
mccsyslog System Logging Server
lcls-archsrv
  • Will be phased out in 2016 (allows users to get old archive data)
  • Edit /etc/amd.conf and have following entry - selectors_in_defaults = yes
  • touch  /usr/etc/linux24.amd.flag
physics-elog
  • Share the printers like facetlog, devlog from system-config-printers.
  • Requires following RPMS - cups-libs-1.3.7-30.el5, cups-1.3.7-30.el5, cups-lpd-1.3.7-30.el5
  • Add export _POSIX2_VERSION=199209 line in each lplisten script under each elog (Example - /var/www/develog/lplisten )
  • Special NFS/autofa location for data   /var/www -> /nfs/slac/g/cd/physicselog3 (Backed up by SCCS)
  • Install Tomcat 6.0.x
  • Install  openjdk 1.6: We need both the runtime and the development system.
  • Install mod_jk 1.2
  • mkdir  /usr/tomcat/common
  • cd /usr/tomcat/common ; ln  -s  ../lib  lib

  • Communicate with Raimund Kammering (Email - raimund.kammering@desy.de). He will provide two war files. Hostname is embedded in the war file so for new host we would require the following two war files from him –  elog.war and elogbookManager.war
  • Check tomcat manager and elogbookManager functionality -
  • Tivoli Backup running on:         (Backup data stored: cat /var/adm/tsm/dsm.sys)
    • /etc
    • /usr/java
    • /usr/tomcat

 


mccora1  
mccora2  
mccora3

This has a virtual IP. /etc/hostname.igb0:1 file is required for the virtual interface to come up at boot time. divekar@mccora3 $ cat hostname.igb0:1
mccqa.slac.stanford.edu

Console Setting for kvm and for virtual console -

Original setting in eeprom "console=ttya"

Command issued -  eeprom console=text

You need to reboot the server for the above command to take effect.

In case you are working from serial console, and using hyperterminal from laptop, then use following settings -

com1, 9600, 8 Data Bits, No Parity, 1 Stop Bit, Flow Control - Xon/Xoff


mccora4

This has two virtual IPs. /etc/hostname.igb0:1 and /etc/hostname.igb0:2 files are required for the virtual interface to come up at boot time.

root@mccora4 $ cat /etc/hostname.igb0:1
mccodev.slac.stanford.edu
root@mccora4 $ cat /etc/hostname.igb0:2
mccomsg.slac.stanford.edu

If you want to do it manually following are commands -

cat /u1/ip-alias/add-alias

#! /bin/sh

 

ifconfig igb0:1 plumb

ifconfig igb0:1 134.79.151.104 netmask 255.255.255.0 broadcast 134.79.151.255 up ifconfig igb0:2 plumb ifconfig igb0:2 134.79.151.75 netmask 255.255.255.0 broadcast 134.79.151.255 up ifconfig -a

Console Setting for kvm and for virtual console -

Original setting in eeprom "console=ttya"

Command issued -  eeprom console=text

You need to reboot the server for the above command to take effect.

In case you are working from serial console, and using hyperterminal from laptop, then use following settings -

com1, 9600, 8 Data Bits, No Parity, 1 Stop Bit, Flow Control - Xon/Xoff

mccelog
  • Has third disk sdc created on 03/06/2013. Purpose of sdc is for disaster recovery. sdc can be used if mccelog application breaks due to patching etc.
  • /etc/taylor.opts file on sdc contains line do_not_run_taylor. This is just to ensure that in emergency case when we boot from sdc, taylor won't apply patches etc.
  • On sdc, an additional partition /dev/sdc9 has been created and that contains tar backup of three directories - /etc/httpd, /var/www and /mccelog
    • -rw-r--r-- 1 root bin 327680 Mar 6 15:32 /mnt/etchttpd.tar
    • -rw-r--r-- 1 root bin 2155417600 Mar 6 15:35 /mnt/mccelog.tar
    • -rw-r--r-- 1 root bin 23695360 Mar 6 15:33 /mnt/varwww.tar
  • Tivoli Backup running on:      (Backup data stored: cat /var/adm/tsm/dsm.sys)
    • /mccelog
    • /var/www


lcls-uwd Xvfb
opi00nas03
 
mccas0
 
mccas1
 
mccas2
  • seal alias should point to mccas2.
                                                                        LCLS
lcls-daemon0
  • Edit /etc/security/limits.conf file and have following two entries

* soft nofile 8192
* hard nofile 8192

  • /home/screen/bin/
lcls-daemon1
  • /home/screen/bin/
lcls-daemon2
  • S97st.Xvfb
  • /usr/bin/Xvfb
lcls-daemon3  
lcls-daemon4
  • Edit /etc/security/limits.conf file and have following two entries for laci account

laci soft nofile 4096
laci hard nofile 8192
Xvfb


lcls-srv01
 
 
lcls-srv02
 
lcls-srv03
  • Xvfb
lcls-srv04
  • Xvfb
lcls-srv05
  • eth0 on LCLSCA, eth1 on FCOM network (enabled on boot, no IP).
  • Install Wireshark

wireshark-gnome: This gives /usr/sbin/wireshark executable.
wireshark : This gives /usr/sbin/dumpcap

  • set SUID on /usr/sbin/dumpcap (needed for Wireshark)
  • set SUID on /usr/sbin/tcpdump (for Till)

lcls-in20-cs01
lcls-dmp1-cs01
  • DHCP
  • 10GB NIC connection to Photon side
  • Network bonding: 
  • EVR setup
  • /etc/rc3.d/S97st.pci_module_load
    /etc/rc3.d/S98st.sioc-dmp1-pm10
lcls-archeng
 
lcls-builder
  • CVS checkout, tag, build and release.
  • TFTP server 
    • /usr/local/common/tftpboot
    • /etc/xinetd.d/tftp updated to use /usr/local/common/tftpboot
  • local expect installation
  • /etc/yum.conf
  • Installed libpcap-devel
  • installed audit-libs-devel
  • installed kernel-devel kernel-debug kernel-debug-devel kernel-doc for building EVRs for camera server.
lcls-neh1 Touch Panel Setups
lcls-neh2 Touch Panel Setups
lcls-neh3 Touch Panel Setups
lcls-opi's


lcls-in20-cs01
  • GigE Camera server.
  • yum install kernel-devel kernel-debug kernel-debug-devel kernel-doc for building EVR package
  • /dev/era3 -> /dev/er3a3 (a symblic link created as a bandage. Kukhee will have a software solution)
  • Camera usage doc is needed.
Sunray OPIs
 
sunsrv05
 
sunsrv06
 
sunsrv07
 
                                                                               FACET
facet-daemon1
  • Xvfb
facet-srv01  
facet-srv02
  • Xvfb
facet-archeng
  • NFS for archiver data server.
  • showmount not showing which clients are mounting the shares.
  • S98st.ArchiveDaemon runs as laci instead of flaci, since /arch/facet and /a/wain029/g.archiver/arch_facet* are owned by laci. ArchiveDaemon.pl in /arch/scripts sets up its own EPICS environment.
facet-builder
  • installed audit-libs-devel
  • Xvfb
facet-b244-cs01/3
  • /etc/rc3.d/S90st.pcodriver
  • /etc/rc3.d/S97st.pci_evr_module_load
  • /etc/rc3.d/S98st.sioc-li20-cs01
facet-b244-cs04
  • S09st.edtinit
  • S97st.pci_module_load
  • S98st.sioc-li20-cs04
facet-li20-pm01
  • st.pci_module_load
  • DHCP
  • st.sioc-li20-pm20
  • EVR-setup
facet-li20-pm02
  • st.pci_module_load
  • DHCP
  • st.sioc-li20-pm21
  • EVR-setup
facet-li20-pm03
  • st.pci_module_load
  • DHCP
  • st.sioc-li20-pm22
  • EVR-setup
facet-li20-pm04
  • st.pci_module_load
  • DHCP
  • st.sioc-li20-pm??
  • EVR-setup
                                                                            Test Facilities
testfac-srv01
  • yum install "qt4*" (for QT development)
  • Xvfb
testfac-srv02
  • yum install "qt4*" (for QT development)
  • Xvfb
testfac-daemon1
  • Xvfb
testfac-daemon2
  • Xvfb
testfac-asta-cs01 /etc/rc3.d/S96st.pci_module_load
/etc/rc3.d/S98st.sioc-as01-ls11
/etc/rc3.d/S98st.sioc-as01-pm01
/etc/rc3.d/S98st.sioc-as01-pm02
/etc/rc3.d/S98st.sioc-as01-pm11
testfac-archeng  
testfac-camsrv01
  • setup the EVR following Kukhee's instruction:

1) yum install kernel-devel kernel-debug kernel-debug-devel kernel-doc
2) cd  /afs/slac/g/cd/swe/rhel5/package/mrfLinux/pci_mrfev_PCDS
3) make clean
4) make
5) make modules_install
6) /sbin/depmod -a
7) sh module_load (this manual step will be automated in S97st.pci_module_load)
8) ./flashfw PMC-EVR-230-10000103-SLAC.bit eeprom_evr230_regmap.eep
This setp only occurs the first time for a module that will be used with Linux/PCI


  • Use Posix Thread Priority Scheduling under Linux

1) cd /etc/security/limits.d

2) create epics.conf with the following entries

acctf hard rtprio 99
acctf soft rtprio 0
3) doc: https://wiki-ext.aps.anl.gov/epics/index.php/How_To_Use_Posix_Thread_Priority_Scheduling_under_Linux

  • /home/screen/
                                                                                 DEV
lcls-dev1
  • yum install "qt4*" (for QT development)
  • yum install tftp
  • yum install tftp-server
  • Xvfb
  
lcls-dev2
  • yum install "OpenIPMI*" (for EPICS integration with uTCA)
  • yum install "wire*" ( wireshark). sudo chmod u+s /usr/sbin/dumpcap
  • yum install "qt4*" (for QT development)
  • Xvfb

lcls-dev3  
lcls-dev5 /etc/ld.so.conf.d/libpcap.conf (for newer version of wireshark to run. installed under /opt/wireshark)
esdslx09  
MISC
mccfs0
  • Runs a special cronjob to rsync /u1, /u2 and /usr/local over to mccfs1's special directories.
mccfs1
  • Exports three directories /usrlocalbkup, /u1bkup and /u2bkup to mccas0 in R/W mode

 
Nodename
Subnet
OS
Functions
Location
MCC

SLCLAVC MCC-CTRLS LCLSDMZ

LEB

VMS

DNS

DHCP

TFTP

NTP

Printer services

MCC

 

 


[LCLS Controls Home][SLAC CONTROLS Software Engineering Group][ SLAC Home Page]

 

Created by : Jingchen Zhou   on 05/18/2012