Changes between Version 137 and Version 138 of PuffinServer
- Timestamp:
- 06/02/14 12:54:21 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PuffinServer
v137 v138 244 244 Settings 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}}}. 245 245 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.sh252 :1,$s/^echo rotate/# echo rotate/g253 }}}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=2716259 CTL_FIVX_SPIDER_LOAD=2716260 CTL_ONEX_LOAD=10108261 CTL_FIVX_LOAD=6216262 CTL_ONEX_LOAD_CRIT=13216263 CTL_FIVX_LOAD_CRIT=10885264 }}}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 272 246 === System Updates === 273 247 274 Don't use the regular debian tools for updating packages, do this:248 We don't use the BOA tool for updating packages: 275 249 276 250 {{{ … … 278 252 }}} 279 253 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. 254 As 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 256 Nginx 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. 281 257 282 258 See also ticket:548#comment:33 for the steps that need to be followed after this to get BOA to work with the Session443 plugin.