Changes between Version 30 and Version 31 of NuWa_Slave

Show
Ignore:
Timestamp:
02/16/11 11:46:52 (14 years ago)
Author:
blyth (IP: 140.112.102.77)
Comment:

greenfield build instructions

Legend:

Unmodified
Added
Removed
Modified
  • NuWa_Slave

    v30 v31  
    220220To trigger a slave build after the removal, invalidate the last build on the node in question using the web interface (BUILD_ADMIN privilege required)  
    221221 
     222 
     223== Greenfield rebuild == 
     224 
     225If attempts to refresh dybgaudi fail to get auto-building working again, the next thing to try is 
     226a full rebuild from scratch, including externals. This will take quite a few hours.   
     227  
     228Stop the slave using supervisord commandline interface :  
     229{{{ 
     230[blyth@belle7 local]$ sv 
     231dybslv                           RUNNING    pid 5278, uptime 17:13:09 
     232N> stop dybslv 
     233dybslv: stopped 
     234}}} 
     235 
     236Move(or delete) the build directory into which dybinst was exported : 
     237{{{ 
     238cd path/to/dybinst/export/dir/.. 
     239mv dyb dyb.old             ## dyb is an example name only  
     240}}}  
     241 
     242Do a manual dybinst full run (screen avoids the build terminating when you loose the connection): 
     243{{{ 
     244mkdir dyb ; cd dyb 
     245svn export http://dayabay.ihep.ac.cn/svn/dybsvn/installation/trunk/dybinst/dybinst  
     246screen ./dybinst trunk all              ##   "man screen" for details    
     247}}} 
     248 
     249Follow what the build is doing with eg : 
     250{{{ 
     251[blyth@belle7 dyb]$ tail -f dybinst-20110216-113627.log 
     252}}} 
     253 
     254 
    222255== Monitoring the slave node == 
    223256 
     
    225258Clean up with  
    226259{{{pgrep -f nuwa.py ; pkill -f nuwa.py}}} 
     260 
    227261 
    228262