IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 1 and Version 2 of ippToPspsIngestof3piPV2


Ignore:
Timestamp:
Jan 17, 2015, 8:11:21 PM (12 years ago)
Author:
heather
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPspsIngestof3piPV2

    v1 v2  
    2222
    2323
    24 == step 2 queue ==
     24=== step 2 queue ===
    2525
    26 basically, loader name is
     26there is a script in queueLoaders in ~heather - I need to add to tools.
     27
     28basically, loader name is PSPS_PV2_OB_SLICE00
     29
     30=== step 3 set up stare nodes because they are cranky ? ===
     31
     32* various iterations of start/restart of mysql , manually deleting locked tables and reconfiguring the scratch databases
     33
     34=== step 4 add stsci loaders ===
     35
     36magic incantations to configure mysql
     37
     38{{{
     39    mysql -u root
     40    CREATE USER 'dvo'@'%' IDENTIFIED BY 'dvo';
     41    GRANT ALL on *.* to 'dvo'@'%';   
     42grant all privileges on *.* to dvo@localhost identified by 'dvo';
     43flush privileges;
     44    show grants;
     45exit
     46mysql -h localhost -u dvo -pdvo -e "create database ipptopsps2_scratch"
     47ippjython setupScratchDb.py
     48}}}
    2749
    2850
    29 == step 3 set up stare nodes because they are cranky ? ==
     51== Current configuration of loaders ==
    3052
     53The current configuration of loading— ippdvo@ippc18, several screens (screen -r stare00 etc)
     54
     55This is the configuration of loaders
     56
     57stare00 — slice 00
     58stare01 — slice 06
     59stare03 — slice 02
     60stare04 — slice 04
     61ipp006  —slice 08
     62stsci00 — slice 10
     63stsci01 — slice 12
     64stsci02 — slice 14
     65stsci04 — slice 16
     66stsci05 —slice 18
     67stsci06 —slice 20
     68stsci07 —slice 22
     69
     70== Checking/Restarting logs ==
     71
     72===Saturday, 7:30am=== 
     73 all loaders are dead. restarted them
     74
     75===Saturday, 12:00pm===
     76 3 loaders needed to be restarted (stsci/ipp006)
     77
     78===Saturday, 8:00pm===
     79{{{
     80 select count(*), datastore_product from pending join box on box_id = id join skychunk on name = skychunk where name like 'PSPS%' group by datastore_product ;select count(*) from batch where dvo_db like 'LAP.PV2%' and loaded_to_datastore =1; select count(*), datastore_product from pending join box on box_id = id join skychunk on name = skychunk where name like 'PSPS%';
     81+----------+---------------------+
     82| count(*) | datastore_product   |
     83+----------+---------------------+
     84|     6500 | PSPS_PV2_OB_SLICE00 |
     85|     7444 | PSPS_PV2_OB_SLICE02 |
     86|    10242 | PSPS_PV2_OB_SLICE04 |
     87|    10468 | PSPS_PV2_OB_SLICE06 |
     88|     8023 | PSPS_PV2_OB_SLICE08 |
     89|     6486 | PSPS_PV2_OB_SLICE10 |
     90|     7043 | PSPS_PV2_OB_SLICE12 |
     91|     9248 | PSPS_PV2_OB_SLICE14 |
     92|    11355 | PSPS_PV2_OB_SLICE16 |
     93|    12498 | PSPS_PV2_OB_SLICE18 |
     94|    12606 | PSPS_PV2_OB_SLICE20 |
     95|     9308 | PSPS_PV2_OB_SLICE22 |
     96+----------+---------------------+
     9712 rows in set (0.21 sec)
     98
     99+----------+
     100| count(*) |
     101+----------+
     102|    11662 |
     103+----------+
     1041 row in set (0.01 sec)
     105
     106+----------+---------------------+
     107| count(*) | datastore_product   |
     108+----------+---------------------+
     109|   111221 | PSPS_PV2_OB_SLICE00 |
     110+----------+---------------------+
     1111 row in set (0.13 sec)
     112}}}
     113Loaders which needed restart:
     114
     115stare00 - restart
     116stare03 -restart
     117ipp006 -restart
     118stsci00, 01, 03, 6, 7 -restart
     119