ACORN
Description
Check whether acorn process is running and if it is not, start acorn for Snapshot, SOH, and/or PCAD.
Acorn itself extracts needed data from the data sent through data ports. The extracted data are saved
in tracelog (*.tl). Which data are extracted depends on the *-msids.list which lists categories and their chandra msids.
The data are updated only when Chandra
is in comm pass (see Replan Central
"Chandra Events" seciton to find when is the next comm pass.)
You can check whether the acorn processes are running by issuing the command:
/p>
This will generate something like:
mta 10044 0.0 0.1 118604 20296 ? S Oct04 1:30 /home/ascds/DS.release/bin/acorn -u 11120 -C /data/mta4/www/SOH/soh-msids.list -e 500 -nv
mta 14236 0.0 0.1 124892 22832 ? S Oct03 3:34 /home/ascds/DS.release/bin/acorn -u 11121 -C /data/mta4/www/SOH/PCAD/pcad-msids.list -e 500 -nv
mta 18006 0.0 0.2 115372 39736 ? S 10:04 0:01 /home/ascds/DS.release/bin/acorn -u 11112 -C /data/mta4/www/Snapshot/chandra-msids.list -e 500 -nv
Location of Scripts and Their Names
Location: | /data/mta4/www/Snapshot/ |
|
| /data/mta4/www/SOH/ |
| /data/mta4/www/SOH/PCAD/ |
| /data/mta/www/MIRROR/Snap/Scripts/ |
| /data/mta/www/MIRROR/SOH/Scripts/ |
GitHub Address: https://github.com/mta/Snapshot
Script Name | Last Updated |
/home/ascds/DS.release/bin/acorn | Apr 21, 2015 |
run-acorn.pl | Oct 28, 2016 |
run-acorn-pcad.pl | Oct 28, 2016 |
There is a related description in: /data/mta4/www/Snapshot/README.
Sep 24, 2015 | Initially logged |
Sep 30, 2015 | Description updated |
Oct 07, 2015 | Contact changed from brad to isobe |
Oct 28, 2016 | IPCL definition updated to: |
| /data/mta4/www/Snapshot/P011 (primary), /data/mta4/www/Snapshot/P009 (secondary) |
| /data/mta/www/MIRROR/Snap/Scripts/P011 (primary), /data/mta/www/MIRROR/Snap/Scripts/P009 (secondary) |
Data Needed
-
Realtime telemetry is provided directly from GOT to the following ports:
-
c3po-v data ports: 11112, 11120, 11121
start automatically via cronjobs
-
colossus-v data ports: 11512, 11520, 11521
(currently not running)
-
luke-v data ports: 11112
(luke-v acorn is started manually only when needed for testing or backup.)
- snaps.par
- chandra-msids.list (/data/mta4/www/Snapshot/, /data/mta/www/MIRROR/Snap/Scripts)
- soh-msids.list (/data/mta4/www/SOH/, /data/mta/www/MIRROR/SOH/Scripts)
- pcad-msids.list (/data/mta4/www/SOH/PCAD/, /data/mta/www/MIRROR/SOH/Scripts)
Environment Setting
-
ASCDS environment set in script.
-
ACORN related setting.
- ASCDS_CONFIG_MTA_DATA:
/home/ascds/DS.release/config/mta/data
/data/mta2/pallen/acorn-1.3/groups
/home/swolk/acorn/groups
- IPCL_DIR
/data/mta4/www/Snapshot/P009
/home/ascds/DS.release/config/tp_template/P011/
/home/ascds/swolk/IPCL/P008 /home/swolk/acorn/ODB
- LD_LIBRARY_PATH
/home/ascds/DS.release/lib:/home/ascds/DS.release/ots/lib:/soft/SYBASE_OSRV15.5/OCS-15_0/lib:/home/ascds/DS.release/otslib:/opt/X11R6/lib:/usr/lib64/alliance/lib:$LD_LIBRARY_PATH
Output Locations and File Names
- /data/mta4/www/Snapshot/
- racorn.pid
- systemlogs
- chandraACA_<time>.tl
- chandraCCDM_<time>.tl
- chandraCCDM_<time>.tl
- chandraCCDM_<time>.tl
- chandraCCDM_<time>.tl
- chandraCCDM_<time>.tl
- chandraSIM-OTG_<time>.tl
- chandraNORM-SFMT_<time>.tl
- chandraEPS-SFMT_<time>.tl
- chandraEPHIN_<time>.tl
- chandraTEL_<time>.tl
- chandraCCDM_<time>.tl
- chandraIRU_<time>.tl
- chandraEPS_<time>.tl
- chandraSIM-OTG_<time>.tl
- chandraPCAD_<time>.tl
- chandraACA_<time>.tl
- chandraSI_<time>.tl
How to Run the Script(s)
-
go to: /data/mta4/www/Snapshot (or another appropriate directory)
-
run: run-acorn.pl (or run-acorn-pcad.pl for mirrored PCAD version)
How to Run Test(s)
-
No test available for this set of script
Expected result from the test
test results -- test results -- test results
Cron Job
- 0,30 * * * * /data/mta4/www/Snapshot/run-acorn.pl > $HOME/Logs/RT/run-acorn.cron 2>&1
- 1,31 * * * * /data/mta4/www/SOH/run-acorn.pl > $HOME/Logs/RT/run-acorn-soh.cron 2>&1
- 2,32 * * * * /data/mta4/www/SOH/PCAD/run-acorn.pl > $HOME/Logs/RT/run-acorn-pcad.cron 2>&1
- 0,30 * * * * cd /data/mta/www/MIRROR/Snap/Exc/; /data/mta/www/MIRROR/Snap/Scripts/run-acorn.pl > $HOME/Logs/RT/run-acorn_bu.cron 2>&1
- 2,32 * * * * /data/mta/www/MIRROR/SOH/Scripts/run-acorn-pcad.pl > $HOME/Logs/RT/run-acorn-pcad_bu.cron 2>&1
Web Addreess
No web site for these processes.
Note
None
Future Plan/Update Schedule
Add the test procedure.
Back to Top Page