| 22 | | There are numerous {{{pantasks}}} servers. Their status can be checked with [http://ipp004.ifa.hawaii.edu/ippMonitor/czartool_labels.php Czartool], but it is often necessary to use a client directly. To do this {{pantasks_client}}, first move to the directory corresponding to the server of interest, which are all under {{{~ipp}}} on any cluster machine, for example {{{~ipp/stdscience/}}}, then run |
| | 22 | There are numerous {{{pantasks}}} servers. Their status can be checked with [http://ipp004.ifa.hawaii.edu/ippMonitor/czartool_labels.php Czartool], but it is often necessary to use a client directly. To do this, first move to the directory corresponding to the server of interest, which are all under {{{~ipp}}} on any cluster machine. For example, go to {{{~ipp/stdscience/}}}, then run |
| 61 | | The first column, 'AV', translates to Active and Valid, i.e. whether a process is running and whether it is valid at this point in time. For example, above, {{{+- ns.initday.load}}} is active, but is not valid at present since it is scheduled to run only once per day (to initialize the {{{nightlyscience}}} automation). |
| | 61 | The first column, 'AV', translates to '''A'''ctive and '''V'''alid, i.e. whether a process is running and whether it is valid at this point in time. For example, above, {{{+- ns.initday.load}}} is active, but is not valid at present since it is scheduled to run only once per day (to initialize the {{{nightlyscience}}} automation). |
| 356 | | = Rebuilding the IPP code = |
| 357 | | |
| 358 | | The IPP in use presently is located at |
| 359 | | |
| 360 | | {{{ |
| 361 | | ~ipp/ipp-20100211 |
| 362 | | }}} |
| 363 | | |
| 364 | | If the code needs an update and rebuild, then: |
| 365 | | |
| 366 | | * stop pantasks (as above) |
| 367 | | * {{{cd ~ipp/ipp-20100211}}} |
| 368 | | * {{{svn update}}} |
| 369 | | * {{{psbuild -dev -optimize}}} |
| 370 | | * restart pantasks (as above) |
| | 351 | = Changing the code = |
| | 352 | |
| | 353 | This might mean rebuilding the current 'tag' (reflected in the directory name) or actually installing a new tag. |
| | 354 | |
| | 355 | == Rebuilding the current tag == |
| | 356 | |
| | 357 | We will use the example of tag 20100701 which is store under |
| | 358 | |
| | 359 | {{{ |
| | 360 | ~ipp/src/ipp-20100701 |
| | 361 | }}} |
| | 362 | |
| | 363 | To update the code and rebuild, shutdown all {{{pantasks}}} (as shown above) then do the following. |
| | 364 | |
| | 365 | {{{ |
| | 366 | cd ~ipp/src/ipp-20100701 |
| | 367 | svn update |
| | 368 | psbuild -dev -optimize |
| | 369 | }}} |
| | 370 | |
| | 371 | |
| | 372 | Now restart all {{{pantasks}}} (as above). |
| | 373 | |
| | 374 | == Installing a new tag == |
| | 375 | |
| | 376 | |
| | 377 | * shutdown all {{{pantasks}}} (as shown above) |
| | 378 | * change {{{~ipp/.tcshrc}}} to point at the new tag (it is good to confirm by logging out and in again) |
| | 379 | * fix the files which are still installation specific: |
| | 380 | * edit {{{~ipp/.ptolemyrc}} and change {{{CONFDIR}}} to point at the new location |
| | 381 | * copy {{{nebulous.site.pro}}} to the working location (for now, just use the last installation version) eg |
| | 382 | |
| | 383 | {{{ |
| | 384 | cp psconfig/ipp-20100623.lin64/share/pantasks/modules/nebulous.site.pro psconfig/ipp-20100701.lin64/share/pantasks/modules/nebulous.site.pro |
| | 385 | }}} |
| | 386 | |
| | 387 | |
| | 388 | * restart all {{{pantasks}}} (as above) |