| 26 | | basically, loader name is |
| | 26 | there is a script in queueLoaders in ~heather - I need to add to tools. |
| | 27 | |
| | 28 | basically, 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 | |
| | 36 | magic incantations to configure mysql |
| | 37 | |
| | 38 | {{{ |
| | 39 | mysql -u root |
| | 40 | CREATE USER 'dvo'@'%' IDENTIFIED BY 'dvo'; |
| | 41 | GRANT ALL on *.* to 'dvo'@'%'; |
| | 42 | grant all privileges on *.* to dvo@localhost identified by 'dvo'; |
| | 43 | flush privileges; |
| | 44 | show grants; |
| | 45 | exit |
| | 46 | mysql -h localhost -u dvo -pdvo -e "create database ipptopsps2_scratch" |
| | 47 | ippjython setupScratchDb.py |
| | 48 | }}} |
| | 53 | The current configuration of loading— ippdvo@ippc18, several screens (screen -r stare00 etc) |
| | 54 | |
| | 55 | This is the configuration of loaders |
| | 56 | |
| | 57 | stare00 — slice 00 |
| | 58 | stare01 — slice 06 |
| | 59 | stare03 — slice 02 |
| | 60 | stare04 — slice 04 |
| | 61 | ipp006 —slice 08 |
| | 62 | stsci00 — slice 10 |
| | 63 | stsci01 — slice 12 |
| | 64 | stsci02 — slice 14 |
| | 65 | stsci04 — slice 16 |
| | 66 | stsci05 —slice 18 |
| | 67 | stsci06 —slice 20 |
| | 68 | stsci07 —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 | +----------+---------------------+ |
| | 97 | 12 rows in set (0.21 sec) |
| | 98 | |
| | 99 | +----------+ |
| | 100 | | count(*) | |
| | 101 | +----------+ |
| | 102 | | 11662 | |
| | 103 | +----------+ |
| | 104 | 1 row in set (0.01 sec) |
| | 105 | |
| | 106 | +----------+---------------------+ |
| | 107 | | count(*) | datastore_product | |
| | 108 | +----------+---------------------+ |
| | 109 | | 111221 | PSPS_PV2_OB_SLICE00 | |
| | 110 | +----------+---------------------+ |
| | 111 | 1 row in set (0.13 sec) |
| | 112 | }}} |
| | 113 | Loaders which needed restart: |
| | 114 | |
| | 115 | stare00 - restart |
| | 116 | stare03 -restart |
| | 117 | ipp006 -restart |
| | 118 | stsci00, 01, 03, 6, 7 -restart |
| | 119 | |