| | 797 | ''' Random faulted jobs ''' by JRF |
| | 798 | |
| | 799 | Some chips reporting errors in the full state: |
| | 800 | Do the usual attempt to clean... |
| | 801 | {{{ |
| | 802 | chiptool -dbname gpc1 -updaterun -set_state goto_cleaned -set_label goto_cleaned -chip_id |
| | 803 | }}} |
| | 804 | and once cleaned, update... |
| | 805 | {{{ |
| | 806 | chiptool -dbname gpc1 -setimfiletoupdate -set_label update.LAP.PV3 -chip_id |
| | 807 | }}} |
| | 808 | |
| | 809 | |
| | 810 | |
| | 811 | === Thursday : 2019.05.02 === |
| | 812 | |
| | 813 | |
| | 814 | JRF: a few broken files: |
| | 815 | {{{ |
| | 816 | o6601g0088o XY61 673156 1200555 update update.LAP.PV3 LAP.PV3.20140730.20141101 LAP.ThreePi 2 |
| | 817 | o5391g0113o XY10 192159 1202176 update update.LAP.PV3 LAP.PV3.20140730.20141101 LAP.ThreePi 2 |
| | 818 | o5391g0123o XY10 192168 1202408 update update.LAP.PV3 LAP.PV3.20140730.20141102 LAP.ThreePi 2 |
| | 819 | }}} |
| | 820 | |
| | 821 | send 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 | |
| | 834 | Following 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 |
| | 835 | I missed putting these back up, so done: |
| | 836 | {{{ |
| | 837 | neb-host --host ipp127 --state up --note "JRF: repair -> up: fan extensions installed, look good!" |
| | 838 | neb-host --host ipp128 --state up --note "JRF: repair -> up: fan extensions installed, look good!" |
| | 839 | neb-host --host ipp129 --state up --note "JRF: repair -> up: fan extensions installed, look good!" |
| | 840 | neb-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... |
| | 845 | I don't think this was done, so putting them back up: |
| | 846 | neb-host --host ipp107 --state up --note "JRF: repair -> up: I don't think SSDs were installed, so putting back up" |
| | 847 | neb-host --host ipp108 --state up --note "JRF: repair -> up: I don't think SSDs were installed, so putting back up" |
| | 848 | neb-host --host ipp117 --state up --note "JRF: repair -> up: I don't think SSDs were installed, so putting back up" |
| | 849 | ask Haydn about this. |
| | 850 | |
| | 851 | put a few more up too (ipp081 and maybe others...neb-host holds the details) |
| | 852 | |
| | 853 | Asked 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 | |
| | 858 | To see who's been sneaking around on a machine |
| | 859 | {{{ |
| | 860 | last | less |
| | 861 | }}} |
| | 862 | We see that there has been periods of the machine rebooting (which is not great). |
| | 863 | |
| | 864 | Mentions of previous rebooting of ippx005 (and other x nodes in the same cabinet) in October's czarlog: |
| | 865 | {{{ |
| | 866 | http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/PS1_IPP_Czarlog_20181001 |
| | 867 | }}} |
| | 868 | The page above mentioned that the boot time for x005 was much slower than the rest. |
| | 869 | |
| | 870 | So, 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}}} |
| | 872 | They all rebooted about the same time, except for '''ippx005''' which took a further hour and half to reboot.. |
| | 873 | This is suspiciously similar to the notes from back in October, and indicates a possible problem. |
| | 874 | |
| | 875 | All 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 | |
| | 877 | Had 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 | |
| | 884 | For 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 | }}} |
| | 889 | So 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 | |
| | 891 | MEH'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 | }}} |
| | 895 | The 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 | |
| | 901 | To 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 | |
| | 906 | So, 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 | |
| | 911 | modified the {{{nebservers.csh}}} file to include it. We had check the setup and functionality earlier this week. |
| | 912 | |
| | 913 | |
| | 914 | |