Revision: | 1.1 |
Committed: | Fri Oct 25 17:26:38 2013 UTC (9 years, 11 months ago) by production |
Branch: | MAIN |
CVS Tags: | NetDRMS_Ver_8-8, Ver_8-5, Ver_LATEST, NetDRMS_Ver_LATEST, NetDRMS_Ver_8-12, NetDRMS_Ver_8-10, NetDRMS_Ver_8-11, NetDRMS_Ver_9-1, NetDRMS_Ver_9-0, NetDRMS_Ver_9-3, NetDRMS_Ver_9-2, NetDRMS_Ver_9-5, NetDRMS_Ver_9-4, NetDRMS_Ver_8-2, NetDRMS_Ver_8-3, NetDRMS_Ver_9-41, Ver_9-41, Ver_DRMSLATEST, NetDRMS_Ver_8-4, NetDRMS_Ver_8-5, NetDRMS_Ver_8-6, Ver_8-8, NetDRMS_Ver_8-7, Ver_8-2, Ver_9-3, Ver_8-6, Ver_8-7, Ver_8-4, Ver_8-11, Ver_9-1, Ver_8-3, Ver_9-5, Ver_9-4, Ver_8-10, Ver_9-2, Ver_8-12, Ver_9-0, HEAD |
Log Message: | *** empty log message *** |
# | User | Rev | Content |
---|---|---|---|
1 | production | 1.1 | /home/production/cvs/JSOC/doc/xtape_svc.on_xim_for_simulation |
2 | |||
3 | Login on xim as production. | ||
4 | |||
5 | The xtape_svc will read the file /tmp/t950_status_dump.out to get | ||
6 | its tape inventory. So set up this file as you want before you start. | ||
7 | |||
8 | > cd /home/production/cvs/JSOC/base/sums/scripts | ||
9 | > sum_stop_xim.MULTI | ||
10 | > sum_start_xim.MULTI | ||
11 | |||
12 | Also run on xim as production: | ||
13 | > cd /home/production/cvs/JSOC/base/sums/scripts | ||
14 | > tximview -i jim | ||
15 | (connect to db jim, which is what xtape_svc is running with.) | ||
16 | |||
17 | If the Imp/Exp button on the top of the gui lights up, then you | ||
18 | need to place a tape in the robot like so: | ||
19 | Hit Imp/Exp | ||
20 | A window comes up advising that 'We will unload n tapes(s)". | ||
21 | Hit the 'Start Expired Tape Unload' | ||
22 | You will see the tape unload into the import/export slots and | ||
23 | a new window will appear labeled 'Import/Export Ops'. | ||
24 | It will tell you what tapes it needs. | ||
25 | Edit the file: | ||
26 | /tmp/t950_status_dump.jmtx | ||
27 | (there's a copy save in /home/production/cvs/JSOC/base/sums/scripts) | ||
28 | to include the new tapes to be put into the unit. | ||
29 | Make sure you change any 'Empty:' to 'Full :' | ||
30 | and make sure there are spaces after the tapeid at the end of the line. | ||
31 | This will simulate the reinventory that the t950 takes after you hit | ||
32 | the red button on the 'Import/Export Ops' window: | ||
33 | Exp/Exch Done | ||
34 | |||
35 | Wait while the new inventory is simulated and you should then see the | ||
36 | new tape start to read. | ||
37 | |||
38 | |||
39 | On xim you can see the lastest xtape_svc and xsum_svc log files with: | ||
40 | > logsum | ||
41 | > logtape | ||
42 | > logsumt (tail -f) | ||
43 | > logtapet (tail -f) | ||
44 | |||
45 | If you need to remake xtape_svc do on n02 as production: | ||
46 | (it's always best to do this with setenv JSOC_DEBUG 1) | ||
47 | > cd /home/production/cvs/JSOC | ||
48 | > make xtape_svc | ||
49 |