New Years Rollover Checklist
Draco Nightly EXPD Tasks
-
Log in to Windows server Draco using “Microsoft Remote Desktop” a. user = DB_EXPD_TASKEXEC, pswd = (ask Kevin or Neil)
-
Edit file D:\EXPD_Data_Loads\Navdata\loadAllNightlyNavData.bat. Perl process and merge scripts default to operate only on files for the ‘current’ year. So we need to add entries to the .bat file to add calls for the year-just-ended in several locations. a. Duplicate 4 rows near ~lines 19-22 that cause one of the earlier years to be reprocessed, be sure to grab all four! Edit them to now call the year just ended. b. Do the same operation for the ‘merge checks’ perl script that appears further down c. Save
-
Similar to #2 - Edit file D:\EXPD_Data_Loads\Navdata\updateALLNightlyNavData.bat Perl process and merge scripts default to operate only on files for the ‘current’ year. So we need to add entries to the .bat file to add calls for the year-just-ended in several locations. Update the third paragraph date to the new year (FOR /L %%y IN (2009, 1, 202X)
-
Similar to #2 above: Edit file D:\EXPD_Data_Loads\RovCtd\loadNightlyRovctd_perseus.bat to pick up a reload of year just ended.
-
Similar to above: Edit file D:\EXPD_Data_Loads\Camlog\loadNightlyCamlog_perseus.bat so any reloads for year just ended get detected.
-
Cleanup old logfiles in D:\EXPD_Data_Loads\Camlog\logs as they really are for debug purposes and have no long term value.
-
Similar to #2 above: Edit the load_minirov_nav.bat to add line for year just ended.
-
Don't forget to log off of draco when leaving (note that's ‘logoff’, not shut down!)
Coredata Oasis & Ship/ROV Processing Tasks
-
Log in to machine coredata8 as user=coredata a. NOTE: become user coredata, you need to have IS allow sudo privileges for your personal login and then do “sudo -u coredata -i”
-
In file: ~/moorings/downloads/bin/process fix "foreach year” to process every mooring currently deployed (e.g. “foreach year (2018)” becomes “foreach year (2018 2019) <<< note a space not a comma separator)
-
In file: ~/moorings/downloads/bin/process_special1_daily - fix “foreach year” to process every mooring currently deployed
-
in file: ~/moorings/downloads/bin/process_special1_hourly - fix “foreach year” to process every mooring currently deployed
-
Now we need new archive directories for the ship and rov data. In this example the New Year is 2020. a. cd /mbari/ShipData/logger b. mkdir 2020 c. cd 2020 d. mkdir wfly e. mkdir rcsn
Dataservlet Logs on Coredata8
go to /var/www/html/rovctd/diveinfo/logs and delete all old Logs