IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 18 and Version 19 of PS1_IPP_Czarlog_20190426


Ignore:
Timestamp:
May 2, 2019, 4:45:43 PM (7 years ago)
Author:
fairlamb
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PS1_IPP_Czarlog_20190426

    v18 v19  
    795795
    796796
     797''' Random faulted jobs ''' by JRF
     798
     799Some chips reporting errors in the full state:
     800Do the usual attempt to clean...
     801{{{
     802chiptool -dbname gpc1 -updaterun -set_state goto_cleaned -set_label goto_cleaned -chip_id
     803}}}
     804and once cleaned, update...
     805{{{
     806chiptool -dbname gpc1  -setimfiletoupdate -set_label update.LAP.PV3 -chip_id
     807}}}
     808
     809
     810
     811=== Thursday : 2019.05.02 ===
     812
     813
     814JRF: a few broken files:
     815{{{
     816o6601g0088o XY61    673156  1200555 update  update.LAP.PV3  LAP.PV3.20140730.20141101   LAP.ThreePi 2
     817o5391g0113o XY10    192159  1202176 update  update.LAP.PV3  LAP.PV3.20140730.20141101   LAP.ThreePi 2
     818o5391g0123o XY10    192168  1202408 update  update.LAP.PV3  LAP.PV3.20140730.20141102   LAP.ThreePi 2
     819}}}
     820
     821send to clean then update:
     822{{{
     823  chiptool -dbname gpc1 -updaterun -set_state goto_cleaned -set_label goto_cleaned -chip_id 1200555
     824  chiptool -dbname gpc1 -updaterun -set_state goto_cleaned -set_label goto_cleaned -chip_id 1202176
     825  chiptool -dbname gpc1 -updaterun -set_state goto_cleaned -set_label goto_cleaned -chip_id 1202408
     826  chiptool -dbname gpc1  -setimfiletoupdate -set_label update.LAP.PV3 -chip_id 1200555
     827  chiptool -dbname gpc1  -setimfiletoupdate -set_label update.LAP.PV3 -chip_id 1202176
     828  chiptool -dbname gpc1  -setimfiletoupdate -set_label update.LAP.PV3 -chip_id 1202408
     829}}}
     830
     831
     832''' Hardware fallout ''' by JRF
     833
     834Following a lot of nodes yo-yo-ing up and down while hardware was being sorted out this week it's worth checking what needs sorting out
     835I missed putting these back up, so done:
     836{{{
     837neb-host --host ipp127 --state up  --note "JRF: repair -> up: fan extensions installed, look good!"
     838neb-host --host ipp128 --state up  --note "JRF: repair -> up: fan extensions installed, look good!"
     839neb-host --host ipp129 --state up  --note "JRF: repair -> up: fan extensions installed, look good!"
     840neb-host --host ipp130 --state up  --note "JRF: repair -> up: fan extensions installed, look good!"
     841}}}
     842
     843
     844"Get three 480GB SSD's for ipp107, ipp108, and ipp117. SAMSUNG MZ7GE480HMHP or use 1TB 2.5" drives" - unclear if this was done, or what the next steps are exactly...
     845I don't think this was done, so putting them back up:
     846neb-host --host ipp107 --state up  --note "JRF: repair -> up: I don't think SSDs were installed, so putting back up"
     847neb-host --host ipp108 --state up  --note "JRF: repair -> up: I don't think SSDs were installed, so putting back up"
     848neb-host --host ipp117 --state up  --note "JRF: repair -> up: I don't think SSDs were installed, so putting back up"
     849ask Haydn about this.
     850
     851put a few more up too (ipp081 and maybe others...neb-host holds the details)
     852
     853Asked Haydn to keep the done items in the list in future, so that we can cross-reference afterwards.
     854
     855
     856''' ippx005 going down suspiciously ''' by JRF
     857
     858To see who's been sneaking around on a machine
     859{{{
     860  last | less
     861}}}
     862We see that there has been periods of the machine rebooting (which is not great).
     863
     864Mentions of previous rebooting of ippx005 (and other x nodes in the same cabinet) in October's czarlog:
     865{{{
     866http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PS1_IPP_Czarlog_20181001
     867}}}
     868The page above mentioned that the boot time for x005 was much slower than the rest.
     869
     870So, let's see what ganglia says about the boot times. Indeed, multiple x nodes rebooted this morning:
     871{{{ippx001-4, 5-8, 9-12, 25-28, 29-32}}}
     872They all rebooted about the same time, except for '''ippx005''' which took a further hour and half to reboot..
     873This is suspiciously similar to the notes from back in October, and indicates a possible problem.
     874
     875All of the affected nodes were in the same cabinet (13-16, 21-24, 37-40, and 41-44 are also in the cabinet but were unaffected)
     876
     877Had PS2 been running this could cause a real problem where we would have to bring other nodes online to handle tasks, and many jobs way get into a funny state.
     878
     879
     880
     881
     882'''Feeding the update beast (how to queue more update jobs) ''' by JRF
     883
     884For the update.LAP.PV3 the format of the data_group is of the form:
     885{{{
     886  LAP.PV3.20140730.20141% = 105k --  201411% 7.4k 5/1 left, then 201412%
     887  LAP.PV3.20140730.20150% = 66k -- to run, split by month
     888}}}
     889So they all have the original start date of {{{20140730}}}, followed by the sub-processing date. So to queue up some more simply change the sub-date in this upcoming massive query...
     890
     891MEH's query for updating stuff:
     892{{{
     893  mysql -hscidbm -uippuser -pippuser gpc1 -B -e ' select exp_id from warpRun join fakeRun using (fake_id) join camRun using (cam_id) join chipRun using (chip_id)  where warpRun.data_group like "LAP.PV3.20140730.201412%"  group by warp_id ; ' | grep -v exp_id |  awk '{ print "mysql -hscidbm -u ippuser -pippuser gpc1 -B -e \" select s.exp_name,s.label,s.data_group,s.chip_id,s.warp_id,s.state from ( select chip_id,warp_id,exp_name,camRun.label,camRun.data_group,warpRun.state from warpRun join fakeRun using (fake_id) join camRun using (cam_id) join chipRun using (chip_id) join rawExp using (exp_id) where exp_id="$1" order by warp_id desc ) as s limit 1 ;\" " }' | tcsh | grep -v exp_name | grep LAP.PV3.2014 | grep cleaned | awk '{print "chiptool -dbname gpc1 -updaterun  -set_label update.LAP.PV3 -chip_id  "$4" ; chiptool -dbname gpc1 -setimfiletoupdate  -set_label update.LAP.PV3 -chip_id  "$4" ;warptool -dbname gpc1  -updaterun -set_label update.LAP.PV3 -warp_id "$5"; warptool -dbname gpc1  -setskyfiletoupdate -set_label update.LAP.PV3 -warp_id "$5 }' | head -n 1000 | tcsh
     894}}}
     895The gist of this is to:
     896 - get exp_ids related to the data_group specified
     897 - get the latest state (given by whichever warp is latest for that exposure)
     898 - if the state is cleaned then queue it for update!
     899 - and the updates are limited to 1000 at a time.
     900
     901To see how far along we are you use this query. As of today we have ~260k warps done (nice).
     902{{{
     903  select count(*),state,label,data_group from chipRun where label like "update%" group by label,state;  select count(*),state,label,data_group from warpRun where label like "update%" group by label,state ;
     904}}}
     905
     906So, the next one for us to do is '''201412''', so change that in the big-ass query and send it. I've run it twice to set 2000 or so jobs to go. I'll queue some more tomorrow too
     907
     908
     909''' Added ippc76 as neb apache server ''' by JRF
     910
     911modified the {{{nebservers.csh}}} file to include it. We had check the setup and functionality earlier this week.
     912
     913
     914
    797915
    798916TODO:
    799  - read up on the desperate diffs scripts so far
    800  - add ippc76 as an apache node (it has been performing well for mops stdscience)
    801 
    802 
    803 === Thursday : 2019.05.02 ===
     917 - TONIGHT (provided we get data): read up on the desperate diffs scripts so far - Run some diff checkings while data it processing
     918 - fix those 0 size psf files
     919 - A stamp request was made form MPIA, do we want to be supporting this? Will be raised at tomorrows meeting by MEH.
     920 - Firday: queue more jobs for the next czar Roger
     921