Archive Components Build

Archive servlet

  • Rebuild and deploy instructions. JMB 2011-01-05
  • pick a directory into which you will checkout the Archive module
    • mkdir /home/mydir/archive
    • cd archive
    • mkdir branches
    • cd branches
  • checkout the desired branch
  • build the archive war file
    • cd 5.8.3
    • mvn clean package
    • cd target
    • mv sss-aat.war archive.war
  • deploy archive.war to /home/gila/services/tomcat/webapps (using Tomcat Manager Tool)

SDMCataloger

Currently javacmd points to /home/pecos4/jbenson/code/E2E/trunk/sdmcataloger to pick up the sdmcataloger.jar

NGAS servers

  • Restart NGAS process on servers. JMB 2010-08-25
    • This document will be keep up-to-date and available in : http://www.aoc.nrao.edu/~jbenson/archivedocs/restartNGAS
    • module ngamsServer
    • repos : none
    • There are currently 17 NGAS host machines :
      • aocngas-master.aoc.nrao.edu -- serves a traffic cop for ngas cluster
      • aocngas-1.aoc.nrao.edu -- NGAS archive node in AOC
      • aocngas-2.aoc.nrao.edu -- NGAS archive node in AOC
      • aocngas-3.aoc.nrao.edu -- NGAS archive node in AOC
      • aocngas-4.aoc.nrao.edu -- NGAS archive node in AOC
      • aocngas-5.aoc.nrao.edu -- NGAS archive node in AOC
      • aocngas-6.aoc.nrao.edu -- NGAS archive node in AOC
      • aocngas-7.aoc.nrao.edu -- NGAS archive node in AOC
      • aocngas-8.aoc.nrao.edu -- NGAS archive node in AOC
      • cv-evla-ngas-1.aoc.nrao.edu -- NGAS archive node in AOC
      • cv-evla-ngas-2.aoc.nrao.edu -- NGAS archive node in AOC
      • cv-evla-ngas-3.aoc.nrao.edu -- NGAS archive node in AOC
      • cv-evla-ngas-4.aoc.nrao.edu -- NGAS archive node in AOC
      • cv-evla-ngas-5.aoc.nrao.edu -- NGAS archive node in AOC
      • cv-evla-ngas-6.aoc.nrao.edu -- NGAS archive node in AOC
      • cv-evla-ngas-7.aoc.nrao.edu -- NGAS archive node in AOC
      • cv-evla-ngas-8.aoc.nrao.edu -- NGAS archive node in AOC

  • check the status of an NGAS process : http://aocngas-1.aoc.nrao.edu:7777/STATUS
    • says State="ONLINE" Status="SUCCESS" in xml if okay
  • shutdown an NGAS server process (that is "ONLINE")
  • or
    • >ssh ngas@aocngas-1
    • >ps -eaf | grep ngams to check on processes
  • shutdown manually
    • >/opsw/packages/bin/ngamsPClient -port 7777 -host $HOSTNAME -status -cmd OFFLINE -force
    • >/opsw/packages/bin/ngamsPClient -port 7777 -host $HOSTNAME -status -cmd EXIT
  • startup the NGAS server
    • >/opsw/packages/bin/ngamsServer -cfg /etc/ngamsServer.conf -autoOnline -force &
    • >ps -eaf | grep ngams
  • On aocngas-master.aoc.nrao.edu also startup :
    • >python /home/archive.nrao.edu/bin/ngams_socketserver.py &
  • On aocngas-2.aoc.nrao.edu also start up :
    • >ngamsArchiveClient -host aocngas-2 -port 7777 -rootDir /home/ngas_staging &
  • On evlangas-1.evla.nrao.edu also start up :
    • >ngamsArchiveClient -host evlangas-1 -port 7777 -rootDir /home/evlangas-2/ngas_staging &

Data Ingest Tools

  • Rebuild and deploy instructions. JMB 2010-09-08
  • pick a directory into which you will checkout the archiveIngest module
    • mkdir /home/mydir/archiveIngest
    • cd /home/mydir/archiveIngest
    • mkdir branches
    • cd branches
  • checkout the desired branch
  • cd /home/mydir/archiveIngest/branches/1.0.0/src/main
    • select which shell scripts to redeploy
    • select which python scripts to redeploy
    • cp the selected scripts to their destination locations (src/main/docs/deploy_files_to_where.lis)

Data delivery Tools

  • Rebuild and deploy instructions. JMB 2010-09-08
  • pick a directory into which you will checkout the SDMCataloger module
    • mkdir /home/mydir/sdmcataloger
    • cd sdmcataloger
    • mkdir branches
    • cd branches
  • checkout the desired branch
  • cd /home/mydir/archiveDelivery/branches/1.0.0/src/main
    • select which shell scripts to redeploy
    • select which python scripts to redeploy
    • cp the selected scripts to their destination locations (src/main/docs/deploy_files_to_where.lis)

-- JohnBenson - 08 Sep 2010
Topic revision: r11 - 2011-02-09, JohnBenson
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding NRAO Public Wiki? Send feedback