Changes between Version 341 and Version 342 of ippToPsps
- Timestamp:
- Apr 16, 2012, 9:26:50 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ippToPsps
v341 v342 34 34 * {{{ssh}}} to a [wiki:ippToPsps_ScratchDatabase#Settingupaloadingmachine loading machine] then run one or more [wiki:ippToPsps#loader.py loader.py] programs to process and publish items that have been queued, like this:'''{{{./run.sh loader.py configName}}}''' 35 35 36 The {{{loader.py}}} instances will now proceed to load all queued data. To monitor and clean-up data, run the following in screensessions if not already running (these do not need to run on loading machines, and usually run on {{{ipp009}}}):36 The {{{loader.py}}} instances will now proceed to load all queued data. To monitor and clean-up data, run the following in [http://www.manpagez.com/man/1/screen/ screen] sessions if not already running (these do not need to run on loading machines, and usually run on {{{ipp009}}}): 37 37 38 38 * [wiki:ippToPsps#pollOdm.py pollOdm.py] in order to collect data about the progress of loading through PSPS … … 231 231 }}} 232 232 233 It is usual to run instances of {{{loader.py}}} in a screensession.233 It is usual to run instances of {{{loader.py}}} in a [http://www.manpagez.com/man/1/screen/ screen] session. 234 234 235 235 The first thing a {{{loader.py}}} instance does is look to the queue tables in the {{{ippToPsps}}} database for a list of items to process. It first attempts to secure a 'stripe' of RA (from the [wiki:ippToPsps_Database#Thestripetable stripe table]) that is not being processed by any other {{{loader.py}}} clients. If all available stripes have already been reserved, then it chooses the stripe with the largest number of pending items.
