IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 11 and Version 12 of PS1_Operations


Ignore:
Timestamp:
Jun 2, 2010, 5:31:51 PM (16 years ago)
Author:
heather
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PS1_Operations

    v11 v12  
    1919 * replication: ippdb00
    2020 * update: ippc13
    21  * pstamp: TBD
     21 * pstamp: ippdb02
    2222 * detrend: ippc06
    2323 * addstar: ipp004
     
    3737== Pantasks Servers ==
    3838
    39 === Summit Copy ===
     39All the servers start exactly the same way.  Their input files come pre-configured with a set of hosts, labels (and in the case of stdscience, survey tasks).  Everything is ready to go.  This is how to start one of the pantasks, for example, !SummitCopy:
    4040
    4141 * Check which machine to use for the server, [wiki:PS1_Operations#Pantasks above].
     
    4343 * Start the server:
    4444{{{
    45 % ssh ipp@ippc07
     45% ssh ipp@ippc01
    4646% cd summitcopy
    4747% pantasks_server &
     
    5656}}}
    5757
    58 === Registration ===
    59 
    60  * Check which machine to use for the server, above.
    61 
    62  * Start the server:
    63 {{{
    64 % ssh ipp@ippc09
    65 % cd registration
    66 % pantasks_server &
    67 }}}
    68  * Start the client:
    69 {{{
    70 % cd ~ipp/registration
    71 % pantasks_client
    72 pantasks: server input input
    73 pantasks: setup
    74 pantasks: run
    75 }}}
    76 
    77 === Replication ===
    78 
    79  * Check which machine to use for the server, above.
    80 
    81  * Start the server:
    82 {{{
    83 % ssh ipp@ippc004
    84 % cd replication
    85 % pantasks_server &
    86 }}}
    87  * Start the client:
    88 {{{
    89 % cd ~ipp/replication
    90 % pantasks_client
    91 pantasks: server input input
    92 pantasks: setup
    93 pantasks: run
    94 }}}
    95 
    96 === Standard science ===
    97 
    98  * Check which machine to use for the server, above.
    99 
    100  * Start the server:
    101 {{{
    102 % ssh ipp@ippc10
    103 % cd stdscience
    104 % pantasks_server &
    105 }}}
    106 
    107  * Start the client:
    108 {{{
    109 % cd ~ipp/stdscience
    110 % pantasks_client
    111 pantasks: server input input
    112 pantasks: setup
    113 pantasks: load.hosts.wave1
    114 pantasks: load.hosts.wave2
    115 pantasks: load.hosts.wave3
    116 pantasks: load.hosts.compute
    117 pantasks: run
    118 pantasks: add.label (label)
    119 }}}
    120 Add as many hosts as needed.  Something like 1x1, 3x2, 4x3, 4xC is probably needed full full-scale operations.
    121 
    122  * Add the survey automation information:
    123 {{{
    124 pantasks: survey.add.diff (label) (dist_group) (workdir)
    125 pantasks: survey.add.magic (label) (workdir)
    126 pantasks: survey.add.destreak (label) (workdir)
    127 pantasks: survey.add.dist (label)
    128 }}}
    129 Note that the magic and destreak workdir values currently must not be nebulous names, but UNIX paths.  For example:
    130 {{{
    131 pantasks: survey.add.diff throughput.20091104 throughput.20091104 neb://@HOST@.0/gpc1/throughput.20091104
    132 pantasks: survey.add.magic throughput.20091104 /data/ipp050.0/gpc1_destreak/throughput.20091104
    133 pantasks: survey.add.destreak throughput.20091104 /data/ipp050.0/gpc1_destreak/throughput.20091104
    134 pantasks: survey.add.dist throughput.20091104
    135 }}}
    136 
    137 === Detection publication ===
    138 
    139  * Check which machine to use for the server, above.
    140 
    141  * Start the server:
    142 {{{
    143 % ssh ipp@ippc08
    144 % cd publishing
    145 % pantasks_server &
    146 }}}
    147 
    148  * Start the client:
    149 {{{
    150 % cd ~ipp/publishing
    151 % pantasks_client
    152 pantasks: server input input
    153 pantasks: setup
    154 pantasks: run
    155 }}}
    156 
    157 === Postage Stamp Server ===
    158 
    159  * Check which machine to use for the server, above.
    160 
    161  * Start the server:
    162 {{{
    163 % ssh ipp@ipp049
    164 % cd pstamp
    165 % pantasks_server &
    166 }}}
    167 
    168  * Start the client:
    169 {{{
    170 % cd ~ipp/pstamp
    171 % pantasks_client
    172 pantasks: server input input
    173 pantasks: setup
    174 pantasks: add.hosts
    175 pantasks: run
    176 }}}
    177 
    178 === Detrend Creation ===
    179 
    180  * Check which machine to use for the server, above.
    181 
    182  * Start the server:
    183 {{{
    184 % ssh ipp@ippc06
    185 % cd detrend
    186 % pantasks_server &
    187 }}}
    188 
    189  * Start the client:
    190 {{{
    191 % cd ~ipp/detrend
    192 % pantasks_client
    193 pantasks: server input input
    194 pantasks: setup
    195 pantasks: run
    196 }}}
    197 
     58If all of the pantasks need to be started or stopped, it is more efficient to use check_system.sh.
    19859
    19960== IPP User backup and restore ==
     
    20162Important files in the home directory of the IPP user on the MHPCC cluster are saved to a backup with the script ~ipp/make.backup.  This uses rsync to save copies to a target backup location (currently /data/ipp004.0/ipp/operations).  To restore from this directory, use rsync.
    20263
     64== Clean Checkout and Compile of IPP software ==
     65
     66Make sure the trunk compiles. When it compiles, make a tag, for example:
     67
     68{{{
     69svn copy https://svn.pan-starrs.ifa.hawaii.edu/repo/ipp/trunk https://svn.pan-starrs.ifa.hawaii.edu/repo/tags/ipp-20100601
     70}}}
     71and checkout a copy of this tag into ~ipp/src/ipp-20100601
     72
     73compile it, using:
     74{{{
     75psbuild -ops -extbuild
     76}}}
     77This builds it with the required magic libraries (and
     78errors out if magic cannot be built), and sets the '-dev' option as
     79well (builds ippdb.src rather than using the checked in version).
     80
     81If database changes are required, update BOTH gpc1 and isp, to keep them in sync. 
     82
     83Currently, the following files need to be updated, to point to the current build:
     84
     85 * .tcshrc
     86 * .ptolemyrc
     87 * addstar/ptolemyrc
     88
     89and the following file will need to be copied to the new location:
     90
     91 * psconfig/(OLD_BUILD).lin64/share/pantasks/modules/nebulous.site.pro
     92
     93
     94
     95
     96
     97
     98
     99
    203100== Updating Magic Code ==
    204101
    205 The magic and related software is stored in ~ipp/magic_tarballs with names like magic.20091023.tgz and ssa-core-cpp.20091023.tgz.  The active release is linked to ~ipp/magic.tgz and ~ipp/ssa-core-cpp.tgz.  If a magic update is provided, place the source code in magic_tarballs with an equivalent name and update the ~ipp link. To build the new code, it is necessary to update the tree in the ipp build directory.  Go to the top-level magic directory in the tree (eg, ~ipp/ipp-svn/magic) and do the following steps:
     102The magic and related software is stored in ~ipp/magic_tarballs with names like magic.20091023.tgz and ssa-core-cpp.20091023.tgz.  The active release is linked to ~ipp/magic.tgz and ~ipp/ssa-core-cpp.tgz.  If a magic update is provided, place the source code in magic_tarballs with an equivalent name and update the ~ipp link. The new code can be built manually (as opposed to using psbuild -ops), these are the steps. To build the new code, it is necessary to update the tree in the ipp build directory.  Go to the top-level magic directory in the tree (eg, ~ipp/ipp-svn/magic) and do the following steps:
    206103{{{
    207104psconfigure