Changes between Version 137 and Version 138 of PuffinServer


Ignore:
Timestamp:
06/02/14 12:54:21 (2 years ago)
Author:
chris
Comment:

System Updates section updated

Legend:

Unmodified
Added
Removed
Modified
  • PuffinServer

    v137 v138  
    244244Settings in {{{/etc/mysql/my.cnf}}} are no longer changed from the default, see ticket:670 and ticket:587. Changes to {{{/etc/mysql/my.cnf}}}  don't get clobbered when BOA is upgraded as we have set {{{_CUSTOM_CONFIG_SQL=YES}}} in {{{/root/.barracuda.cnf}}}. 
    245245 
    246 ==== xdrago shell script changes ==== 
    247  
    248 To disable the clobbering of log files two shell scripts need editing and some lines commenting out (see ticket:555#comment:22): 
    249  
    250 {{{ 
    251 vim /var/xdrago/clear.sh 
    252 :1,$s/^echo rotate/# echo rotate/g 
    253 }}} 
    254  
    255 To adjust the restarting of nginx and the killing of nginx and php-fpm under heave loads edit {{{/var/xdrago/second.sh}}} changing these values (see ticket:563#comment:9 and ticket:555#comment:52 and ticket:555#comment:124): 
    256  
    257 {{{ 
    258 CTL_ONEX_SPIDER_LOAD=2716 
    259 CTL_FIVX_SPIDER_LOAD=2716 
    260 CTL_ONEX_LOAD=10108 
    261 CTL_FIVX_LOAD=6216 
    262 CTL_ONEX_LOAD_CRIT=13216 
    263 CTL_FIVX_LOAD_CRIT=10885 
    264 }}} 
    265  
    266 There is a copy of {{{second.sh}}} in {{{/root}}} so after an upgrade do: 
    267  
    268 {{{ 
    269 cp /root/second.sh /var/xdrago/ 
    270 }}} 
    271  
    272246=== System Updates === 
    273247 
    274 Don't use the regular debian tools for updating packages, do this: 
     248We don't use the BOA tool for updating packages: 
    275249 
    276250{{{ 
     
    278252}}} 
    279253 
    280 After running the above command to update the system you also need to follow the steps documented above at PuffinServer#UpgradingBOA for php-fpm to get the Munin stats working again. 
     254As it's very slow and after running the above command to update the system you also need to follow the steps documented above at PuffinServer#UpgradingBOA for php-fpm to get the Munin stats working again. 
     255 
     256Nginx and PHP are complied from source code so the above command should be run when these need updating, for other updates use the wiki:AptitudeUpdateScript script and document the updates on ticket:692. 
    281257 
    282258See also ticket:548#comment:33 for the steps that need to be followed after this to get BOA to work with the Session443 plugin.