| | 1 | == creating a new datastore == |
| | 2 | {{{ |
| | 3 | dsprodtool --add IPP-MOPS-TEST --type IPP-MOPS --description 'not described here' |
| | 4 | }}} |
| | 5 | |
| | 6 | == telling publish about the datastore == |
| | 7 | {{{ |
| | 8 | pubtool -defineclient -stage diff -product IPP-MOPS-TEST -workdir neb://any/gpc1/IPP-MOPS-TEST -unmagicked |
| | 9 | }}} |
| | 10 | you may have to use pubtool to turn on the client once it is created |
| | 11 | |
| | 12 | == setting up a password on the datastore == |
| | 13 | |
| | 14 | in /data/ippdb02.0/datastore/dsroot/IPP-MOPS-TEST |
| | 15 | |
| | 16 | the .htaccess file is: |
| | 17 | {{{ |
| | 18 | AuthType Basic |
| | 19 | AuthName "Restricted Files" |
| | 20 | AuthBasicProvider file |
| | 21 | AuthUserFile /data/ippdb02.0/datastore/dsroot/IPP-MOPS-TEST/config/password |
| | 22 | Require user mops |
| | 23 | }}} |
| | 24 | password file is created using htpasswd |
| | 25 | {{{ |
| | 26 | htpasswd -c password mops |
| | 27 | }}} |
| | 28 | == reprocessing the data == |
| | 29 | |
| | 30 | Queue the chips: |
| | 31 | {{{ |
| | 32 | chiptool -dbname gpc1 -definebyquery -set_end_stage warp -set_tess_id RINGS.V0 -obs_mode 3Pi -set_dist_group ThreePi.MopsTest.20101018 -dateobs_begin 2010-10-11T00:00:00 -dateobs_end 2010-10-13T00:00:00 -set_reduction MOPS.TEST -obs_mode %3Pi% -simple -set_label MopsTest.20100708 -set_workdir !neb://@HOST@.0/gpc1/ThreePi.MopsTest.20100708 |
| | 33 | }}} |
| | 34 | (but be smarter about the label/directory names) |
| | 35 | |
| | 36 | Queue the diffs using survey.add.diff or survey.add.WSdiff (depending on what is needed. |
| | 37 | |
| | 38 | == Using the publishing pantasks == |
| | 39 | |
| | 40 | Currently, the publishing.trigger tasks queues every label in pantasks for all of the active publishing clients. This means if you created IPP-MOPS-TEST for the sole purpose of publishing !MopsTest.20100708, you will need to remove the other labels or else they will also be queued up to be published under IPP-MOPS-TEST. |
| | 41 | |
| | 42 | |