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 from SLAC unix to glast02 (or glast03 or glastlnx06)ssh from the above host to dcm2glastlnx06 using ssh/PuTTY/TeraTERM
  2. ssh from dcm2 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 dcm2glastlnx06:

  • 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 mobile rack ( lat-hobbit5 ) to SLAC unix (Removes Xauth timeout error)

  • Create the file ssh-x.csh in ~/bin on lat-hobbit5:
    No Format
  • 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.
  • 
    # 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 nameThe cache of DISPLAY is so you can go back to using X from that process if you need to.

...

Server and database setup (to be scripted?)

...

  • 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
    
    Then follow the ISOC trending db install instructions for postgres.
  • 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