Changes between Version 79 and Version 80 of PuffinServer


Ignore:
Timestamp:
11/15/13 11:22:05 (3 years ago)
Author:
chris
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PuffinServer

    v79 v80  
    9393The BOA install script output has been saved on ticket:466#comment:22 
    9494 
    95 === Upgrade tickets === 
     95=== MariaDB === 
     96 
     97BOA installs MariaDB as the MySQL server using the debs from the MariaDB site. 
     98 
     99We have set MySQL to use a RAM disk for temp tables, see ticket:591 
     100 
     101=== php-fpm === 
     102 
     103Please note that the version of php-fpm that the http://transitionnetwork.org/ site needs to be running to work properly is: 
     104 
     105{{{ 
     106/etc/init.d/php53-fpm  
     107}}} 
     108 
     109The config file for it is {{{/opt/local/etc/php53-fpm.conf}}} and when it is running it is listed in top and ps as php-fpm: 
     110 
     111{{{ 
     112ps -lA | grep php 
     1131 S     0 29482     1  0  80   0 - 188067 -     ?        00:00:00 php-fpm 
     1145 S    33 29483 29482  2  80   0 - 205351 -     ?        00:01:32 php-fpm 
     1155 S    33 29484 29482  2  80   0 - 199726 -     ?        00:01:28 php-fpm 
     116... 
     117}}} 
     118 
     119Please note the settings that we changed from the default BOA ones in {{{/opt/local/etc/php53-fpm.conf}}} below. 
     120 
     121When the server boots another version of php-fpm was also started, which is listed in top and ps as php5-fpm, this one: 
     122 
     123{{{ 
     124/etc/init.d/php5-fpm 
     125}}} 
     126 
     127Which is configured via files in {{{/etc/php5/fpm/}}}. This version should be stopped if it is found to be running: 
     128 
     129{{{ 
     130/etc/init.d/php5-fpm stop 
     131}}} 
     132 
     133It was stopped from running at runlevel 2 by deleting this symlink (see ticket:560#comment:17): 
     134 
     135{{{ 
     136/etc/rc2.d/S01php5-fpm -> ../init.d/php5-fpm 
     137}}} 
     138 
     139But that didn't solve the problem, see ticket:580. 
     140 
     141 
     142=== Upgrading BOA === 
     143 
     144The steps are documented in [http://drupalcode.org/project/barracuda.git/blob/HEAD:/docs/UPGRADE.txt UPGRADE.txt], to upgrade everything run these commands, this process can take around 30 mins: 
     145 
     146{{{ 
     147sudo -i 
     148screen 
     149cd 
     150wget -q -U iCab http://files.aegir.cc/BOA.sh.txt 
     151bash BOA.sh.txt 
     152barracuda up-stable 
     153octopus up-stable all 
     154}}} 
     155 
     156==== Upgrade tickets ==== 
    96157 
    97158* BOA-2.1.1 ticket:612  
     
    100161* BOA-2.0.7 ticket:529 
    101162* BOA-2.0.5 ticket:466#comment:26 
    102  
    103 === MariaDB === 
    104  
    105 BOA installs MariaDB as the MySQL server using the debs from the MariaDB site. 
    106  
    107 We have set MySQL to use a RAM disk for temp tables, see ticket:591 
    108  
    109 === php-fpm === 
    110  
    111 Please note that the version of php-fpm that the http://transitionnetwork.org/ site needs to be running to work properly is: 
    112  
    113 {{{ 
    114 /etc/init.d/php53-fpm  
    115 }}} 
    116  
    117 The config file for it is {{{/opt/local/etc/php53-fpm.conf}}} and when it is running it is listed in top and ps as php-fpm: 
    118  
    119 {{{ 
    120 ps -lA | grep php 
    121 1 S     0 29482     1  0  80   0 - 188067 -     ?        00:00:00 php-fpm 
    122 5 S    33 29483 29482  2  80   0 - 205351 -     ?        00:01:32 php-fpm 
    123 5 S    33 29484 29482  2  80   0 - 199726 -     ?        00:01:28 php-fpm 
    124 ... 
    125 }}} 
    126  
    127 Please note the settings that we changed from the default BOA ones in {{{/opt/local/etc/php53-fpm.conf}}} below. 
    128  
    129 When the server boots another version of php-fpm was also started, which is listed in top and ps as php5-fpm, this one: 
    130  
    131 {{{ 
    132 /etc/init.d/php5-fpm 
    133 }}} 
    134  
    135 Which is configured via files in {{{/etc/php5/fpm/}}}. This version should be stopped if it is found to be running: 
    136  
    137 {{{ 
    138 /etc/init.d/php5-fpm stop 
    139 }}} 
    140  
    141 It was stopped from running at runlevel 2 by deleting this symlink (see ticket:560#comment:17): 
    142  
    143 {{{ 
    144 /etc/rc2.d/S01php5-fpm -> ../init.d/php5-fpm 
    145 }}} 
    146  
    147 But that didn't solve the problem, see ticket:580. 
    148  
    149  
    150 === Upgrading BOA === 
    151  
    152 The steps are documented in [http://drupalcode.org/project/barracuda.git/blob/HEAD:/docs/UPGRADE.txt UPGRADE.txt], to upgrade everything run these commands, this process can take around 30 mins: 
    153  
    154 {{{ 
    155 sudo -i 
    156 cd 
    157 wget -q -U iCab http://files.aegir.cc/BOA.sh.txt 
    158 bash BOA.sh.txt 
    159 barracuda up-stable 
    160 octopus up-stable all 
    161 }}} 
    162163 
    163164==== nginx config changes ====