On cl1n003: Stop lev1 nrt processing for AIA as jsocprod
> touch /usr/local/logs/lev1/build_mgr_stop_aia
Wait until you see on the screen running build_lev1_mgr on cl1n003:
Stop file /usr/local/logs/lev1/build_mgr_stop_aia seen. Wait until all children are done and exit...
Of course, if you not local with the screen, use ps.
(note: ignore any core dump)
On cl1n002: Stop lev1 nrt processing for HMI as jsocprod
> touch /usr/local/logs/lev1/build_mgr_stop_hmi
Wait until you see on the screen running build_lev1_mgr on cl1n002:
Stop file /usr/local/logs/lev1/build_mgr_stop_hmi seen. Wait until all children are done and exit...
Of course, if you not local with the screen, use ps.
(note: ignore any core dump)
On cl1n001: Stop lev0 processing as jsocprod
> cd /home/jsocprod
> stop_lev0_HMI.pl
This may take a few minutes while the processing of ingest_lev0 for VC02 and VC05 completes to a commit point. If the ingest_lev0 process is hung, it may not see the stop file signal. Then do a kill -9 of the ingest_lev0 processes.
Likewise for AIA VC01 and VC04:
> stop_lev0_AIA.pl
On cl1n001: Start lev0 processing as jsocprod
This should be done through 'screen' running on cl1n001. For "How to Use 'screen'" see:
This will allow the lev1 processing to continue if your w/s (xim) crashes, and the screens to be re-attached to, when xim reboots, or from another w/s.
xim:/home/jim> ssh jsocprod@j1 Password: Last login: Fri Apr 27 12:14:41 2012 from xim.stanford.edu Fri Apr 27 12:20:49 PDT 2012 j1:/home/jsocprod> ssh cl1n001 cl1n001:/home/jsocprod> screen Directory: /home/jsocprod csh> cd cl1n001:/home/jsocprod> Ctrl-a c (to create anothe screen) To toggle between screens do: Ctrl-a space Or to go to screen 2: Ctrl-a 2 To disconnect from 'screen' do: Ctrl-a d (You will still see a process running called SCREEN). To reconnect to a previous screen (after disconnect or machine restart or from another workstation from a cl1n001 window): > screen -r To kill a screen window: Ctrl-a K (on some machine small 'k') To see all your screens created and which on you're on now: Ctrl-a w To see all screen key bindings: Ctrl-a ? In screen 0 do: !!Make sure run Phil's script for watchlev0 in the background on cl1n001: /home/production/cvs/JSOC/base/sums/scripts/get_dcs_times.csh > cd /home/jsocprod > doingestlev0_HMI.pl & > doingestlev0_AIA.pl &
On cl1n002: Start lev1 processing for HMI as jsocprod
Run a 'screen' on cl1n002: xim:/home/jim> ssh jsocprod@j1 Password: Last login: Thu Apr 26 14:54:53 2012 from xim.stanford.edu Directory: /home/jsocprod j1:/home/jsocprod> ssh cl1n002 > screen > cd /home/jsocprod > build_lev1_mgr mode=recnum instru=hmi dsin=hmi.lev0a dsout=hmi.lev1_nrt brec=0 erec=0
On cl1n003: Start lev1 processing for AIA as jsocprod
Run a 'screen' on cl1n003 xim:/home/jim> ssh jsocprod@j1 Password: Last login: Thu Apr 26 14:54:53 2012 from xim.stanford.edu Directory: /home/jsocprod j1:/home/jsocprod> ssh cl1n003 > screen > cd /home/jsocprod > build_lev1_mgr mode=recnum instru=aia dsin=aia.lev0 dsout=aia.lev1_nrt2 brec=0 erec=0