Restarting ER feeder
Description of ER feeder checks
How to change ER feeder release
How to reap and restart
How to restart bare LPF (complete scratch)
The ER feeder runs in Padova and automatically loads
runs to any farm that is connected to it.
- it checks the 3 criteria for a run:
- Colliding Beams
- OprMode=yes
- filesize limit (> 270 kB)
- (no check on QA flag, unlike PC pass)
- it checks that the xtc file is available in Padova
- it adds runs one by one to each farm (but this is configurable)
- Config file for the ERFeeder:
OprProcessingSys/OprConfERFeederPd.xml
it contains release number, but what it is does not matter too much
what it is as long as it is a available and relatively recent release.
- there are other parameters here which control the behavior of
the feeder.
the prod area is: /nfs/opr0/Reprocessing/ER0/feed/workdir
and the feeder logfiles are in: /nfs/opr0/opr0/Reprocessing/ER0/feed/workdir
while the lpf logfiles for the feeder are: cls0:/tmp/
To change releases (only really needed if
a release is deleted):
- make a new release dir in /nfs/opr0/Reprocessing/ER0/
- change it to be the feed link in /nfs/opr0/Reprocessing/ER0/feed
- change the release in the config file: OprProcessingSys/OprConfERFeederPd.xml
- commit and make a tag
- follow the instructions below to scratch and restart
to just reap and restart:
- cd /nfs/opr0/Reprocessing/ER0/feed/workdir
- ../bin/$BFARCH/OprCmd.pl -iUser -ncls0 localreaper
- ../bin/$BFARCH/OprCmd.pl -iUser -ncls0 startsystem
ERFarmFeeder
- note that the farms which are added to the feeder are defined in the
config file and may not be the ones that you want it to feed. You can change
this by doing:
../bin/$BFARCH/OprCmd.pl -iUser -ncls0 addfarmtofeeder
ERx
or
../bin/$BFARCH/OprCmd.pl -iUser -ncls0 removefarmfromfeeder
ERx
you should see the change right away.
- Note also that the feeder is by default off when it is restarted, so
you need to start it so it will load runs to the farms:
../bin/$BFARCH/OprCmd.pl -iUser -ncls0 starterfeeder
to scratch, i.e. to restart the bare lpf:
- first reap the feeder if it is already running, just to make things
nice and clean :)
cd /nfs/opr0/Reprocessing/ER0/feed/workdir
../bin/$BFARCH/OprCmd.pl -iUser -ncls0 localreaper
- then go to cls0 and kill and restart the bare lpf
ssh cls0 -lbbrprmgr
kill running bareLpf by hand (the bareLpf is called: OprLpfStart.pl)
srtpath 14.1.2d (or current release)
/nfs/opr0/Reprocessing/ER0/feed/OprControlSys/OprBareLpfStart.sh /nfs/opr0/Reprocessing/ER0/feed/
<current release> $BFARCH
where <current release> is just some active release, it does not
really matter what it is.
- logout and then restart the feeder:
cd /nfs/opr0/Reprocessing/ER0/feed/workdir
../bin/$BFARCH/OprCmd.pl -iUser -ncls0 loadconf ../OprProcessingSys/OprConfERFeederPd.xml
../bin/$BFARCH/OprCmd.pl -iUser -ncls0 startsystem ERFarmFeeder
- note that the farms which are added to the feeder are defined in the
config file and may not be the ones that you want it to feed. You can change
this by doing:
../bin/$BFARCH/OprCmd.pl -iUser -ncls0 addfarmtofeeder
ERx
or
../bin/$BFARCH/OprCmd.pl -iUser -ncls0 removefarmfromfeeder
ERx
you should see the change right away
- note also that the feeder is by default off when it is restarted, so
you need to start it so it will load runs to the farms:
../bin/$BFARCH/OprCmd.pl -iUser -ncls0 starterfeeder
Last modified: Thu Sep 16 15:39:03 PDT 2004 by Olya
Igonkina