| | 21 | |
| | 22 | = Getting started and checking processing status = |
| | 23 | |
| | 24 | Log in as {{{ipp}}} user on any production cluster machine and run |
| | 25 | |
| | 26 | [[code]] |
| | 27 | ./check_system.sh |
| | 28 | [[/code]] |
| | 29 | |
| | 30 | This lists the various {{{pantasks}}} servers currently running on the cluster, eg |
| | 31 | |
| | 32 | {{{ |
| | 33 | pantasks server addstar is running (host: ipp004) |
| | 34 | pantasks server cleanup is running (host: ippc07) |
| | 35 | pantasks server detrend is NOT running (host: ippc06) |
| | 36 | pantasks server distribution is running (host: ippc15) |
| | 37 | pantasks server pstamp is running (host: ippdb02) |
| | 38 | pantasks server publishing is running (host: ippc08) |
| | 39 | pantasks server registration is running (host: ippc02) |
| | 40 | pantasks server replication is running (host: ippdb00) |
| | 41 | pantasks server stdscience is running (host: ippc16) |
| | 42 | pantasks server summitcopy is running (host: ippc01) |
| | 43 | }}} |
| | 44 | |
| | 45 | Move to the directory corresponding to the server of interest in the list above, eg {{{stdscience/}}}, then run |
| | 46 | |
| | 47 | {{{ |
| | 48 | pantasks_client |
| | 49 | }}} |
| | 50 | |
| | 51 | Within {{{pantasks}}}, to check processing status, do |
| | 52 | |
| | 53 | {{{ |
| | 54 | pantasks: status |
| | 55 | }}} |
| | 56 | |
| | 57 | To check the current labels being processed: |
| | 58 | |
| | 59 | {{{ |
| | 60 | pantasks: show.labels |
| | 61 | }}} |
| | 62 | |
| | 63 | = Stopping and staring the servers = |
| | 64 | |
| | 65 | == Stopping == |
| | 66 | |
| | 67 | To shut down all {{pantasks_server}} instances, use |
| | 68 | |
| | 69 | {{{ |
| | 70 | check_system.sh stop |
| | 71 | check_system.sh shutdown |
| | 72 | }}} |
| | 73 | |
| | 74 | == Starting == |
| | 75 | |
| | 76 | Each {{{pantasks_server}}} uses the {{{input}}} file located in the directory where is in instantiated. It also uses the local {{{ptolemy.rc}}} file (this file details the machine where the server is to run). |
| | 77 | |
| | 78 | To restart all the {{{pantasks_server}}} instances, you need to {{{ssh}}} to each relevant machine, which are found using {{{check_system.sh}}}. For each server do the following: |
| | 79 | |
| | 80 | {{{ |
| | 81 | ssh ipp@ippXXX |
| | 82 | cd <serverName> |
| | 83 | pantasks_server & |
| | 84 | pantasks_client |
| | 85 | pantasks: server input input |
| | 86 | pantasks: setup |
| | 87 | }}} |
| | 88 | |
| | 89 | So, for example for {{{stdscience}}} |
| | 90 | |
| | 91 | {{{ |
| | 92 | ssh ippc16 |
| | 93 | cd ~stdscience |
| | 94 | pantasks_server & |
| | 95 | pantasks_client |
| | 96 | pantasks: server input input |
| | 97 | pantasks: setup |
| | 98 | }}} |
| | 99 | |
| | 100 | Each server then needs to be handled differently for setup. |
| | 101 | |
| | 102 | == stdscience == |
| | 103 | |
| | 104 | Add surveys |
| | 105 | |
| | 106 | {{{ |
| | 107 | pantasks: add.surveys |
| | 108 | }}} |
| | 109 | |
| | 110 | This adds the surveys defined in the 'input' file. Now show labels with |
| | 111 | |
| | 112 | {{{ |
| | 113 | pantasks: show.labels |
| | 114 | }}} |
| | 115 | |
| | 116 | Working from this list, add and remove labels with {{{del.label}}} and {{{add.label}}}, eg |
| | 117 | |
| | 118 | {{{ |
| | 119 | pantasks: del.label M31.nightlyscience |
| | 120 | pantasks: add.label ThreePi.DM.20100401 |
| | 121 | }}} |
| | 122 | |
| | 123 | No add some hosts |
| | 124 | |
| | 125 | {{{ |
| | 126 | pantasks: hosts add wave1 |
| | 127 | pantasks: hosts add wave2 |
| | 128 | pantasks: hosts add wave2 |
| | 129 | pantasks: hosts add wave3 |
| | 130 | pantasks: hosts add wave3 |
| | 131 | pantasks: hosts add compute |
| | 132 | }}} |
| | 133 | |
| | 134 | Now we are ready to run the server |
| | 135 | |
| | 136 | {{{ |
| | 137 | pantasks: run |
| | 138 | }}} |
| | 139 | |
| | 140 | == summitcopy, registration, replication == |
| | 141 | |
| | 142 | The easy ones, just |
| | 143 | |
| | 144 | {{{ |
| | 145 | pantasks: run |
| | 146 | }}} |
| | 147 | |
| | 148 | ++ publishing |
| | 149 | |
| | 150 | This is for MOPS |
| | 151 | |
| | 152 | add labels? TODO |
| | 153 | |
| | 154 | == pstamp == |
| | 155 | |
| | 156 | {{{ |
| | 157 | pantasks: add.hosts |
| | 158 | pantasks: run |
| | 159 | }}} |
| | 160 | |
| | 161 | == distribution == |
| | 162 | |
| | 163 | {{{ |
| | 164 | pantasks: add.labels |
| | 165 | }}} |
| | 166 | |
| | 167 | same labels as stdscience? TODO |
| | 168 | |
| | 169 | Add hosts |
| | 170 | |
| | 171 | {{{ |
| | 172 | pantasks: hosts add wave1 |
| | 173 | pantasks: hosts add wave2 |
| | 174 | pantasks: hosts add wave3 |
| | 175 | pantasks: hosts add compute |
| | 176 | }}} |
| | 177 | |
| | 178 | Check processing is running smoothly in {{{stdscience}}} using {{{pantasks: status}}}. If all is okay, then |
| | 179 | |
| | 180 | {{{ |
| | 181 | pantasks: run |
| | 182 | }}} |
| | 183 | |
| | 184 | == cleanup == |
| | 185 | |
| | 186 | {{{ |
| | 187 | pantasks: add.labels |
| | 188 | pantasks: hosts add wave2 |
| | 189 | pantasks: hosts add wave3 |
| | 190 | pantasks: hosts add compute |
| | 191 | pantasks: run |
| | 192 | }}} |
| | 193 | |
| | 194 | == detrend, addstar == |
| | 195 | |
| | 196 | TODO |