You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Usage, user configuration

(info) A 0th level LICOS release is under ~panetta/Online on lat-hobbit 4 (05/09/29)

  • setup for other users (to be turned into spec files):
    1. Create a directory for ONLINE_ROOT (ex: ~panetta/Online)
    2. add ONLINE_ROOT to your .cshrc
    3. cd $ONLINE_ROOT
    4. set your CVSROOT to :ext:user@libra3.slac.stanford.edu:/nfs/slac/g/glast/online/cvsroot
    5. set CVS_RSH to ssh
    6. export your identity.pub or id_rsa.pub to SLAC Unix
    7. cvs co LICOS;cvs co LICOS_ETC;cvs co ISOC
    8. Compile ISOC's RawArchiver with python setup.py build
    9. Create a soft link in ONLINE_ROOT (or copy) to ~panetta/Online/FSW
      • In FSW/lib are a copy of the B0-5-0 FSW libraries
      • In FSW/python are a copy of the LCAT python modules

(info) Fast CVS access from mobile rack (lat-hobbit5) to SLAC unix (Removes Xauth timeout error)

  • Set up your remote access as above
  • On a single window open from the remote host:
    • unset and cache your DISPLAY variable
    • do a cvs update as normal.
  • The cache of DISPLAY is so you can go back to using X from that process if you need to.

(info) Scripts for running are in LICOS_ETC.

  • configuration is in vsc.cfg. This sets up the inter process plumbing and db access.
  • Normal options are <vscHost> <vsc.cfg> Usage strings need to be added to most scripts(05/09/29)
  • Scripts:
    • runProxies.csh – Runs Diag/Sci/Telem proxies (runProxies.csh <vscHost> <vsc.cfg>)
    • cvt.csh – runs the CVT and the database populator for the CVT. (Puts stuff in Jim's db by default)
    • packetDisplayer.csh – Runs a simple packet display tool.
    • stripChart.csh – Runs a basic stripChart with a standard cfg file.
  • Some script outputs are logged right now into LICOS_EXT/proxy_logs

Server and database setup (to be scripted?)

(info) Setting up postgres databases on ods-svr3 (lat-dmz01)

  • The next bit needs to be done for each database
    $ su
    $ su postgres
    # createuser -A -D -P panetta
    # createdb -O panetta panetta
    # exit
    $ exit
    
    • Then follow the ISOC trending db install instructions for postgres.
  • No labels