wiki:HetProcedures/SoftwarePlanning

Planning Note for Software Deployment at HET

  1. R. Fowler, 12 May 2017

Installed software

The directory structure at HET will be

  • HET_DEPLOY_DIR = /opt/het/hetdex (his may change in the future to /opt/het)
  • HET_SRC_DIR = $HET_DEPLOY_DIR/src/tcs/trunk
  • HET_BIN_DIR = $HET_DEPLOY_DIR/bin
  • HET_LIB_DIR = $HET_DEPLOY_DIR/lib
  • HET_INCLUDE_DIR = $HET_DEPLOY_DIR/include
  • HET_ETC_DIR = $HET_DEPLOY_DIR/etc
  • HET_CONF_DIR = $HET_ETC_DIR/conf
  • PYTHON_PATH = $HET_LIB_DIR/python2.7/site-packages

Binaries to install to $HET_BIN_DIR

  • tracker_server from $HET_SRC_DIR/tcs/tcs_server
  • tcs_server from $HET_SRC_DIR/tracker/tracker_server
  • pasServer from $HET_SRC_DIR/pas/pasServer
  • pfipServer from $HET_SRC_DIR/pfip/pfipServer
  • legacyServer from $HET_SRC_DIR/legacy/legacyServer
  • tcs_monitor from $HET_SRC_DIR/monitor/tcs_monitor
  • tcsnamed from $HET_SRC_DIR/tcsnamed/tcsnamed
  • tcsGui from $HET_SRC_DIR/gui/tcsGui
  • apcCmd from $HET_SRC_DIR/apc/apcCmd
  • apcServer from $HET_SRC_DIR/apc/apcServer
  • camra_server from $HET_SRC_DIR/camra/camra_server

Libraries to install in $PYTHONPATH

  • HET_SRC_DIR/scripts or $HET_SRC_DIR/scripting
    • tcslib/ (currently in $HET_SRC_DIR/scripting)
      • pytcs.cpp
      • tcssubsystem.py
      • tcsdb.py
      • tcsevent.py
      • TCSLog.py
      • TCSNamed.py
      • tcs_query.py
    • hetlib/ (Currently in $HET_SRC_DIR/integration/jrf)
      • hetTime.py
      • hetutils.py
      • Points.py
      • Spectrograph.py
      • tcsconfig.py
      • tcsutils.py

Scripts to install to $HET_BIN_DIR

  • $HET_SRC_DIR/integration/jrf/scripts
    • chksys
    • getposition
    • monitor
    • moveITF
    • moveRTF
    • moveTSF
    • rdesktrk
    • vnctrk
    • syscmd
    • trajectory
    • tap
    • listen
    • hettime
    • getChillerVals ??
    • getSpectTemperatures
    • chktmcs
  • ET_SRC_DIR/integration/jrf/tests
    • mountTest
    • dmittc
    • dmipoints
  • ET_SRC_DIR/integration/jrf/system
    • mvLogs
  • $HET_SRC_DIR/integration
    • cal.py
    • hetdex-dither.py
    • parallel-exposure.py
    • mgp
    • focus-curve.py
    • vlexp

Relevant crontab entries

  • ute2
    • root
      • 0 18 * * * /sbin/service tcsMonitor restart
    • hetdex
      • 0 19 * * * find /tmp/MonLogs -mmin +30 -exec /opt/het/hetdex/bin/mvLogs {} \;
  • htcs
    • hetdex
      • 0 23 * * 4 /opt/het/hetdex/bin/get_ser7
      • 0 23 * * * /opt/het/hetdex/bin/get_geo
      • 0 18 * * * pkill listen; (. /home/liberty/jrf/.bashrc; /opt/het/hetdex/bin/listen -d /opt/het/hetdex/logs/Mon/listen)
Last modified 7 years ago Last modified on May 23, 2017 6:43:51 PM