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