Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

Access to the MCR (Mobile Computing Rack)

  1. ssh to glastlnx06 using ssh/PuTTY/TeraTERM
  2. ssh from glastlnx06 to glast-mrb01
  3. You are now on the bastion host.

(info) As of 18 Jan, 2006 the following group/users are allowed to access glastlnx06:

  • u-glast-fastcopy:
    • apw
    • blee
    • claus
    • dmay
    • glast
    • golpa
    • kiml
    • lmiller
    • panetta
    • perazzo
    • pfkeb
    • richard
    • russell
    • saxton
    • sculp
    • smaldona
    • stuvi

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

  • Create the file ssh-x.csh in ~/bin on lat-hobbit5:
    No Format
    
    # Set the CVS_RSH environment variable to execute this script.
    # This allows passing the -x option to ssh, which turns off X11 forwarding
    # and thus avoids the possible .Xauthority lock timeout.
    # R. Claus - Tue Feb  7 17:37:49 2006
    ssh -x $*
    
  • in your .cshrc, add the line:
  • setenv CVS_RSH "/nfs/home/<user>/bin/ssh-x.csh"
  • where <user> is your home directory name

...

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
    No Format
    
    $ su
    $ su postgres
    # createuser -A -D -P trending
    # createdb -O trending trending
    # exit
    $ exit
    
  • Copy most recent LICOStrend.psql from /nfs/farm/g/glast/u25/onlineMobileRack/db/trending-dmps/ to a local directory
    No Format
    
    $ psql -U trending -h localhost -f LICOStrend.psql trending
    

...

Building ISOC rpm for LICOS

  • This takes about 10 minutes
    No Format
    
    $ cvs co -d DistTools ISOC/DistTools
    $ cd DistTools/ISOC
    $ ./makedist.sh YOUR_TAG_NAME x.y.z m
    $ rpmbuild -ta ISOC-x.y.z.tar.gz 
    
  • 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) 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 (05/09/29)
    • 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