ssh vocms114
bash
cd /data
mkdir <username>
cd <username>
mkdir PAProd/0_12_17p5 # currently using ProdAgent 0_12_17_patch5
cd PAProd/0_12_17p6
cvs co PRODAGENT/ops/setupscripts/control
mv PRODAGENT/ops/setupscripts/control .
rm -rf PRODAGENT
ln -s control/setupEnv.sh
cd control
emacs env_mytestarea.sh # update to have your information and versions from the TWiki linked below
emacs prodagent_install.sh # add patches listed on the TWiki linked below
emacs setupEnv.sh # update path to your area

Look this page for the right versions of packages to use.

. setupEnv.sh # this will generate an error at the moment
sh prodagent_rpm_install.sh
sh prodagent_install.sh
. setupEnv.sh
emacs RepackerConfig.xml # update paths to your directory
sh prodagent_mysql_install.sh

update multiple database connection infos (for now put Admin Tier0DB account) usually we use SimpleRepacking (no SegmentInjector, RepackerScheduler, BlockInjector, BlockAuditor)

<Parameter Name="SimpleRepacking" Value="On"/> 
must be set in RepackerInjector ConfBlock

emacs OfflineConfiguration.py

change setAcquisitionEra to "RoloffTest11", update defaultProcVersion for each subsequent test and insert addCalibConfig()

cd ../install/T0/operations
python installT0Schema.py
cd ../../../control
python t0astgrants.py # need to edit first to use your database, copy from /data/gowdy/PAProd/0_12_16p2/control/
emacs RepackerConfig.xml # put in writer account
cd ../prodAgent
sh ../control/prodagent_start.sh # will ask your unix password


Reinitialise Area to start again

cd /data/gowdy/PAprod/0_12_18p4
. control/setupEnv.sh
./install/PRODAGENT/util/publish.py "All:shutdown"
prodAgentd --shutdown
killall mysqld
rm -rf prodAgent
sh ./control/prodagent_mysql_install.sh
# edit control/RepackerConfig.xml to use ADMIN oracle account (ie remove _W from Tier0DB section account name)
cd install/T0/operations
python installT0Schema.py
cd ../../..
# put back writer account in control/RepackerConfig.xml
python control/t0astgrants.py
sh control/prodagent_start.sh

-- StephenJGowdy - 12-Nov-2009

Edit | Attach | Watch | Print version | History: r13 < r12 < r11 < r10 < r9 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r13 - 2011-07-14 - StephenJGowdy
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright &© 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback