<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CRIN Trac: Ticket #6: Migrate Drupal site from GreenQloud</title>
    <link>https://trac.crin.org/trac/ticket/6</link>
    <description>&lt;p&gt;
Migrate the Drupal site at &lt;a class="ext-link" href="https://crin.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://crin.org/&lt;/a&gt; from GreenQloud to crin2.crin.org for Nginx and Solr and Memcache and crin1.crin.org for MySQL.
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>CRIN Trac</title>
      <url>https://trac.crin.org/trac/chrome/site/logo.gif</url>
      <link>https://trac.crin.org/trac/ticket/6</link>
    </image>
    <generator>Trac 1.0.2</generator>
    <item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 08:59:01 GMT</pubDate>
      <title>type changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:1</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;type&lt;/strong&gt;
                changed from &lt;em&gt;defect&lt;/em&gt; to &lt;em&gt;task&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 29 Apr 2015 09:00:06 GMT</pubDate>
      <title>milestone changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:2</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;Install and configure crin1&lt;/em&gt; to &lt;em&gt;Install and configure crin2&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Sun, 03 May 2015 11:54:55 GMT</pubDate>
      <title>hours changed; totalhours set</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:3</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                set to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Adding ssh keys and doing an initial sync of the site, on crin2, generate a key pair:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
ssh-keygen -t rsa -b 4096
&lt;/pre&gt;&lt;p&gt;
Add the public key to web1 and set it to allow allow connections from web1, &lt;tt&gt;~/.ssh/authorized_keys&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;from="93.95.228.180" ssh-rsa AAAA...
&lt;/pre&gt;&lt;p&gt;
Create &lt;tt&gt;~/.ssh/config&lt;/tt&gt; containing:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Host web1
  User root
  Hostname web1.crin.org
Host web2
  User root
  Hostname web2.crin.org
Host db1
  User root
  Hostname db1.crin.org
&lt;/pre&gt;&lt;p&gt;
Create a directory for the site on crin1, install and rsync the site (checking the ssh fingerprint):
&lt;/p&gt;
&lt;pre class="wiki"&gt;mkdir -p /var/www/drupal
aptitude install rsync
rsync -av web1:/var/www/crin/ /var/www/drupal/
&lt;/pre&gt;&lt;p&gt;
The site is 20G so it'll take some time to copy:
&lt;/p&gt;
&lt;pre class="wiki"&gt;du -h --max-depth=1
19G     ./sites
672K    ./themes
381M    ./.git
127M    ./owncloud_old
452K    ./stats
16K     ./.idea
2.3M    ./includes
108K    ./profiles
84K     ./scripts
11M     ./modules
912K    ./misc
20G     .
&lt;/pre&gt;&lt;p&gt;
Jonas: are these things needed on the new server?
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.crin.org/owncloud_old/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.crin.org/owncloud_old/&lt;/a&gt; (a non-working ownCloud site)
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.crin.org/stats/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.crin.org/stats/&lt;/a&gt; (inaccessible web stats from 2014)
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 06 May 2015 13:58:31 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:4</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:4</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;1.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.25&lt;/em&gt; to &lt;em&gt;1.35&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
PHP packages installed on the current live server:
&lt;/p&gt;
&lt;pre class="wiki"&gt;
aptitude search php | grep ^i
i A libphp5-embed                   - HTML-embedded scripting language (Embedded
i   php-apc                         - APC (Alternative PHP Cache) module for PHP
i A php-console-table               - PHP PEAR module to make it easy to build c
i   php-pear                        - PEAR - PHP Extension and Application Repos
i   php-xml-parser                  - PHP PEAR module for parsing XML
i A php5                            - server-side, HTML-embedded scripting langu
i A php5-cli                        - command-line interpreter for the php5 scri
i A php5-common                     - Common files for packages built from the p
i   php5-curl                       - CURL module for php5
i   php5-dev                        - Files for PHP5 module development
i   php5-fpm                        - server-side, HTML-embedded scripting langu
i   php5-gd                         - GD module for php5
i A php5-imagick                    - ImageMagick module for php5
i   php5-intl                       - internationalisation module for php5
i A php5-mcrypt                     - MCrypt module for php5
i   php5-memcached                  - memcached extension module for PHP5, uses
i   php5-mysql                      - MySQL module for php5
i A php5-pgsql                      - PostgreSQL module for php5
i   php5-sqlite                     - SQLite module for php5
i   phpmyadmin                      - MySQL web administration tool
&lt;/pre&gt;&lt;p&gt;
And nginx:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude search nginx | grep ^i
i A nginx-common                    - small, powerful, scalable web/proxy server
i   nginx-extras                    - nginx web/proxy server (extended version)
&lt;/pre&gt;&lt;p&gt;
And memcache:
&lt;/p&gt;
&lt;pre class="wiki"&gt;i A libmemcached10                  - C and C++ client library to the memcached
i   memcached                       - A high-performance memory object caching s
i   php5-memcached                  - memcached extension module for PHP5, uses
&lt;/pre&gt;&lt;p&gt;
Not sure we need the same PHP packages (for example phpmyadmin is running on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt; and not needed on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;) so installing these packages to start with:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install nginx-common nginx-extras php5 php5-fpm php-pear php5-mysql php5-intl php5-imagick php5-memcached memcached drush
&lt;/pre&gt;&lt;p&gt;
Copy the key Nginx config files from the live server:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/nginx/sites-available
scp web1:/etc/nginx/sites-available/crin.com .
scp web1:/etc/nginx/sites-available/crin.org .
scp web1:/etc/nginx/sites-available/enoc.crin.org .
&lt;/pre&gt;&lt;p&gt;
Copy the SSL/TLS key and cert:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/ssl
mkdir gandi
chmod 700 gandi
rsync -av web1:/etc/ssl/gandi/ /etc/ssl/gandi/
&lt;/pre&gt;&lt;p&gt;
Symlink and test Nginx:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/nginx/sites-enabled
rm default
ln -s ../sites-available/crin.org 00-crin.org
service nginx configtest
  [FAIL] Testing nginx configuration: failed!
&lt;/pre&gt;&lt;p&gt;
This is the error in the log:
&lt;/p&gt;
&lt;pre class="wiki"&gt;2015/05/06 13:01:30 [info] 19112#0: Using 32768KiB of shared memory for push module in /etc/nginx/nginx.conf:63
2015/05/06 13:14:22 [emerg] 19856#0: open() "/etc/nginx/gzip" failed (2: No such file or directory) in /etc/nginx/sites-enabled/00-crin.org:13
&lt;/pre&gt;&lt;p&gt;
So:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/nginx
scp web1:/etc/nginx/gzip .
service nginx configtest
  [FAIL] Testing nginx configuration: failed!
&lt;/pre&gt;&lt;p&gt;
The error this time:
&lt;/p&gt;
&lt;pre class="wiki"&gt;2015/05/06 13:17:10 [emerg] 20015#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
&lt;/pre&gt;&lt;p&gt;
So these settings were copied into the main &lt;tt&gt;/etc/ngin/nginx.conf&lt;/tt&gt; file from the live server:
&lt;/p&gt;
&lt;pre class="wiki"&gt;        server_names_hash_max_size 2048;
        client_max_body_size 50M;
&lt;/pre&gt;&lt;p&gt;
And we still have :
&lt;/p&gt;
&lt;pre class="wiki"&gt;service nginx configtest
  [FAIL] Testing nginx configuration: failed!
&lt;/pre&gt;&lt;pre class="wiki"&gt;2015/05/06 13:19:56 [info] 20066#0: Using 32768KiB of shared memory for push module in /etc/nginx/nginx.conf:65
2015/05/06 13:19:56 [emerg] 20066#0: could not build the server_names_hash, you should increase server_names_hash_bucket_size: 32
&lt;/pre&gt;&lt;p&gt;
So this was changed:
&lt;/p&gt;
&lt;pre class="wiki"&gt;        server_names_hash_bucket_size 128;
&lt;/pre&gt;&lt;p&gt;
And now the error is:
&lt;/p&gt;
&lt;pre class="wiki"&gt;2015/05/06 13:21:46 [emerg] 20101#0: zero size shared memory zone "uploads"
&lt;/pre&gt;&lt;p&gt;
So the &lt;tt&gt;upload_progress.conf&lt;/tt&gt; file was copied over:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/nginx/conf.d
scp web1:/etc/nginx/conf.d/upload_progress.conf .
&lt;/pre&gt;&lt;p&gt;
And success:
&lt;/p&gt;
&lt;pre class="wiki"&gt;service nginx configtest
  [ ok ] Testing nginx configuration:.
&lt;/pre&gt;&lt;p&gt;
Start the services:
&lt;/p&gt;
&lt;pre class="wiki"&gt;service php5-fpm start
service nginx start
&lt;/pre&gt;&lt;p&gt;
And as expected we now has a database error as that needs copying and the &lt;tt&gt;settings.php&lt;/tt&gt; will need editing.
&lt;/p&gt;
&lt;p&gt;
On &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt; create a database and user:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mysql mysql
  mysql&amp;gt; CREATE DATABASE drupal;
  mysql&amp;gt; GRANT ALL ON drupal.* to 'drupal'@'crin2' identified by 'XXX' REQUIRE SSL;
  mysql&amp;gt; FLUSH PRIVILEGES;
&lt;/pre&gt;&lt;p&gt;
On &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt; create a script to dump the database on db1 and rscnc and import it after enabling ssh access to db1:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#!/bin/bash
# sync files
rsync -av  --exclude "settings.php" web1:/var/www/crin/ /var/www/drupal/
# dump and copy the database
ssh db1 "mysqldump -uroot -pXXX crin &amp;gt; /root/crin.sql"
scp db1:crin.sql /root/
# import the database
cat /root/crin.sql | mysql drupal
&lt;/pre&gt;&lt;p&gt;
The script takes a while to run, it's a 1.4G database file and a 20G site...
&lt;/p&gt;
&lt;p&gt;
I'll continue with this tomorrow.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 May 2015 11:39:19 GMT</pubDate>
      <title>hours, estimatedhours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:5</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.05&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;estimatedhours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.35&lt;/em&gt; to &lt;em&gt;1.4&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Outstanding things that will need doing on this ticket:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;PHP configuration
&lt;/li&gt;&lt;li&gt;Setting up Memcache
&lt;/li&gt;&lt;li&gt;Setting up Solr
&lt;/li&gt;&lt;li&gt;Testing the copy of the site
&lt;/li&gt;&lt;li&gt;Document the setup at &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Drupal"&gt;wiki:Drupal&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;Final data sync
&lt;/li&gt;&lt;li&gt;Update DNS
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
So far 1.35 hours have been spent on it, I estimate that it might end up being 6 in total.
&lt;/p&gt;
&lt;p&gt;
After the server goes live there will a need to monitor and adjust server settings, see &lt;a class="closed ticket" href="https://trac.crin.org/trac/ticket/9" title="task: Monitor and adjust server settings after Crin1 and Crin2 server go live (closed: fixed)"&gt;ticket:9&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 May 2015 12:58:50 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:6</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.5&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.4&lt;/em&gt; to &lt;em&gt;1.9&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Note the &lt;tt&gt;~/bin/drupal-db-sync&lt;/tt&gt; script on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt; mentioned in &lt;a class="closed ticket" href="https://trac.crin.org/trac/ticket/6#comment:4" title="task: Migrate Drupal site from GreenQloud (closed: fixed)"&gt;ticket:6#comment:4&lt;/a&gt; has the rsync of the files commented out, this command is in &lt;tt&gt;~/bin/drupal-sync&lt;/tt&gt; on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#!/bin/bash
# sync files
rsync -av  --exclude "settings.php" web1:/var/www/crin/ /var/www/drupal/
&lt;/pre&gt;&lt;p&gt;
The two sync script were run and &lt;tt&gt;settings.php&lt;/tt&gt; was edited on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;$databases = array (
  'default' =&amp;gt;
  array (
    'default' =&amp;gt;
    array (
      'database' =&amp;gt; 'drupal',
      'username' =&amp;gt; 'drupal',
      'password' =&amp;gt; 'XXX',
      'host' =&amp;gt; 'crin1',
      'port' =&amp;gt; '',
      'driver' =&amp;gt; 'mysql',
      'prefix' =&amp;gt; '',
      'pdo' =&amp;gt; array(
           PDO::MYSQL_ATTR_SSL_KEY =&amp;gt; '/etc/ssl/cacert/crin1_yassl_privatekey.pem',
           PDO::MYSQL_ATTR_SSL_CERT =&amp;gt; '/etc/ssl/cacert/crin1_cert.pem',
           PDO::MYSQL_ATTR_SSL_CA =&amp;gt; '/etc/ssl/cacert/cacert.pem',
        ),
    ),
  ),
);
&lt;/pre&gt;&lt;p&gt;
And the site, &lt;a class="ext-link" href="http://crin2.crin.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://crin2.crin.org/&lt;/a&gt; was checked and we have an error:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
PDOException: SQLSTATE[HY000] [2026] SSL connection error: Unable to get certificate in lock_may_be_available() (line 167 of /var/www/drupal/includes/lock.inc).
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
So, check that we can connect via MySQL on the command line, edit &lt;tt&gt;/root/.mysql&lt;/tt&gt; to:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[client]
host=crin1
user = root
password = XXX
ssl-cipher=DHE-RSA-AES256-SHA
ssl-ca=/etc/ssl/cacert/cacert.pem
ssl-cert=/etc/ssl/cacert/crin1_cert.pem
ssl-key=/etc/ssl/cacert/crin1_yassl_privatekey.pem
&lt;/pre&gt;&lt;p&gt;
On &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt; allow access from &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mysql mysql
  mysql&amp;gt; GRANT ALL ON *.* to 'root'@'crin2' identified by 'XXX' REQUIRE SSL;
  mysql&amp;gt; FLUSH PRIVILEGES;
  mysql&amp;gt; exit;
&lt;/pre&gt;&lt;p&gt;
Test on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mysql mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 174
Server version: 5.5.43-0+deb8u1 (Debian)
Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql&amp;gt;
&lt;/pre&gt;&lt;p&gt;
Create a &lt;tt&gt;/var/www/drupal/.my.cnf&lt;/tt&gt; on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[client]
host=crin1
ssl-cipher=DHE-RSA-AES256-SHA
ssl-ca=/etc/ssl/cacert/cacert.pem
ssl-cert=/etc/ssl/cacert/crin1_cert.pem
ssl-key=/etc/ssl/cacert/crin1_yassl_privatekey.pem
&lt;/pre&gt;&lt;p&gt;
The issue could be that the &lt;tt&gt;www-data&lt;/tt&gt; user doesn't have access to the CAcert cert and key, so on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
chown -R root:www-data /etc/ssl/cacert/
chmod 770 /etc/ssl/cacert/
chmod 660 /etc/ssl/cacert/*.pem
&lt;/pre&gt;&lt;p&gt;
And the site is now up and running: &lt;a class="ext-link" href="http://crin2.crin.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://crin2.crin.org/&lt;/a&gt; -- Jonas can you login and see if things appear to be working OK?
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://crin2.crin.org/en/user/login"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://crin2.crin.org/en/user/login&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
I'll also do some testing.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 07 May 2015 13:55:58 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:7</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:7</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;1.9&lt;/em&gt; to &lt;em&gt;2.9&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Looked at setting up &lt;a class="ext-link" href="http://www.drush.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;drush&lt;/a&gt; on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; but have hit this issue:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://github.com/drush-ops/drush/issues/965"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://github.com/drush-ops/drush/issues/965&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Checking the documentation for the GreenQloud servers and I found that I wrote:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
The Debian packaged version of Drush doesn't support MySQL SSL connections so a new version has been installed from github.com in &lt;tt&gt;/usr/local/src/drush-6.x&lt;/tt&gt; and symliked from &lt;tt&gt;/usr/local/sbin/&lt;/tt&gt;
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
So, download the latest version of Drush on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
cd /usr/local/src
https://github.com/drush-ops/drush/archive/master.zip
aptitude install unzip
unzip master.zip
cd /usr/local/bin/
ln -s ../src/drush-master/drush
&lt;/pre&gt;&lt;p&gt;
Set up &lt;tt&gt;/root/.drush/drushrc.php&lt;/tt&gt; and &lt;tt&gt;/var/www/drushrc.php&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mkdir /root/.drush
cp /usr/local/src/drush-master/examples/example.drushrc.php /root/.drush/drushrc.php
mkdir /var/www/.drush
cp /usr/local/src/drush-master/examples/example.drushrc.php /var/www/.drush/drushrc.php
chown -R www-data:www-data /var/www/.drush
&lt;/pre&gt;&lt;p&gt;
Edit both files to change:
&lt;/p&gt;
&lt;pre class="wiki"&gt;// Specify a particular multisite.
# $options['l'] = 'http://example.com/subdir';
$options['l'] = 'http://crin1.crin.org/';
// Specify your Drupal core base directory (useful if you use symlinks).
# $options['r'] = '/home/USER/workspace/drupal-6';
$options['r'] = '/var/www/drupal';
&lt;/pre&gt;&lt;p&gt;
Note this will need changing when the site is made live.
&lt;/p&gt;
&lt;p&gt;
Test:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
su - www-data -s /bin/bash
cd drupal/
drush uli
  Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
&lt;/pre&gt;&lt;p&gt;
So, following &lt;a class="ext-link" href="https://getcomposer.org/doc/00-intro.md#globally"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://getcomposer.org/doc/00-intro.md#globally&lt;/a&gt;
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
cd /usr/local/src
aptitude install curl
curl -sS https://getcomposer.org/installer | php
  #!/usr/bin/env php
  All settings correct for using Composer
  Downloading...
  Composer successfully installed to: /usr/local/src/composer.phar
  Use it: php composer.phar
mv composer.phar /usr/local/bin/composer
&lt;/pre&gt;&lt;p&gt;
Try &lt;tt&gt;drush&lt;/tt&gt; again:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
su - www-data -s /bin/bash
drush --version
  Unable to load autoload.php. Drush now requires Composer in order to install its dependencies and autoload classes. Please see README.md
&lt;/pre&gt;&lt;p&gt;
So:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
cd /usr/local/src/drush-master
composer install
  Loading composer repositories with package information
  Installing dependencies (including require-dev) from lock file
    - Installing d11wtq/boris (v1.0.8)
      Downloading: Connecting...    Failed to download d11wtq/boris from dist: The "https://api.github.com/repos/d11wtq/boris/zipball/125dd4e5752639af7678a22ea597115646d89c6e" file could not be downloaded (HTTP/1.1 404 Not Found)
      Now trying to download from source
    - Installing d11wtq/boris (v1.0.8)
      Cloning 125dd4e5752639af7678a22ea597115646d89c6e
    [RuntimeException]
    Failed to clone git@github.com:d11wtq/boris.git, git was not found, check that it is installed and in your PATH env.
    sh: 1: git: not found
  install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [packages1] ... [packagesN]
aptitude install git
composer install
  Loading composer repositories with package information
  Installing dependencies (including require-dev) from lock file
    - Installing d11wtq/boris (v1.0.8)
      Downloading: Connecting...    Failed to download d11wtq/boris from dist: The "https://api.github.com/repos/d11wtq/boris/zipball/125dd4e5752639af7678a22ea597115646d89c6e" file could not be downloaded (HTTP/1.1 404 Not Found)
      Now trying to download from source
    - Installing d11wtq/boris (v1.0.8)
      Cloning 125dd4e5752639af7678a22ea597115646d89c6e
    - Installing pear/console_table (1.2.1)
      Downloading: 100%
    - Installing symfony/var-dumper (v2.6.3)
      Downloading: 100%
    - Installing phpunit/php-token-stream (1.4.0)
      Downloading: 100%
    - Installing symfony/yaml (v2.6.3)
      Downloading: 100%
    - Installing sebastian/version (1.0.4)
      Downloading: 100%
    - Installing sebastian/recursion-context (1.0.0)
      Downloading: 100%
    - Installing sebastian/global-state (1.0.0)
      Downloading: 100%
    - Installing sebastian/exporter (1.2.0)
      Downloading: 100%
    - Installing sebastian/environment (1.2.1)
      Downloading: 100%
    - Installing sebastian/diff (1.2.0)
      Downloading: 100%
    - Installing sebastian/comparator (1.1.1)
      Downloading: 100%
    - Installing phpunit/php-text-template (1.2.0)
      Downloading: 100%
    - Installing doctrine/instantiator (1.0.4)
      Downloading: 100%
    - Installing phpunit/phpunit-mock-objects (2.3.0)
      Downloading: 100%
    - Installing phpunit/php-timer (1.0.5)
      Downloading: 100%
    - Installing phpunit/php-file-iterator (1.3.4)
      Downloading: 100%
    - Installing phpunit/php-code-coverage (2.0.15)
      Downloading: 100%
    - Installing phpunit/phpunit (4.4.5)
      Downloading: 100%
    - Installing symfony/process (v2.4.5)
      Downloading: 100%
  pear/console_table suggests installing pear/Console_Color2 (&amp;gt;=0.1.2)
  symfony/var-dumper suggests installing ext-symfony_debug ()
  sebastian/global-state suggests installing ext-uopz (*)
  phpunit/php-code-coverage suggests installing ext-xdebug (&amp;gt;=2.2.1)
  phpunit/phpunit suggests installing phpunit/php-invoker (~1.1)
  Generating autoload files
&lt;/pre&gt;&lt;p&gt;
And now Drush runs:
&lt;/p&gt;
&lt;pre class="wiki"&gt;drush --version
 Drush Version   :  7.0-dev
drush status
 Drupal version         :  7.24
 Site URI               :  http://crin1.crin.org/
 Database driver        :  mysql
 Database hostname      :  crin1
 Database port          :
 Database username      :  drupal
 Database name          :  drupal
 PHP executable         :  /usr/bin/php
 PHP configuration      :  /etc/php5/cli/php.ini
 PHP OS                 :  Linux
 Drush script           :  /usr/local/src/drush-master/drush.php
 Drush version          :  7.0-dev
 Drush temp directory   :  /tmp
 Drush configuration    :  /var/www/.drush/drushrc.php
 Drush alias files      :
 Drupal root            :  /var/www/drupal
 Site path              :  sites/default
&lt;/pre&gt;&lt;p&gt;
But we need to set up memcache:
&lt;/p&gt;
&lt;pre class="wiki"&gt;drush uli
  PHP Fatal error:  Class 'MemCacheDrupal' not found in /var/www/drupal/includes/cache.inc on line 31
  Drush command terminated abnormally due to an unrecoverable error.                                      [error]
  Error: Class 'MemCacheDrupal' not found in /var/www/drupal/includes/cache.inc, line 31
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 11 May 2015 10:48:11 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:8</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:8</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;1.61&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;2.9&lt;/em&gt; to &lt;em&gt;4.51&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Replying to &lt;a class="ticket" href="https://trac.crin.org/trac/ticket/6#comment:7" title="Comment 7"&gt;chris&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
But we need to set up memcache:
&lt;/p&gt;
&lt;pre class="wiki"&gt;drush uli
  PHP Fatal error:  Class 'MemCacheDrupal' not found in /var/www/drupal/includes/cache.inc on line 31
  Drush command terminated abnormally due to an unrecoverable error.                                      [error]
  Error: Class 'MemCacheDrupal' not found in /var/www/drupal/includes/cache.inc, line 31
&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;
This &lt;a class="ext-link" href="https://www.drupal.org/node/1014154"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;bug&lt;/a&gt; says:
&lt;/p&gt;
&lt;pre class="wiki"&gt;In fact, there is a way to specify memcache cache handler in settings.php, using $conf['cache_backends'] variable, like this:
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
&lt;/pre&gt;&lt;p&gt;
We have:
&lt;/p&gt;
&lt;pre class="wiki"&gt; $conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
   // The 'cache_form' bin must be assigned no non-volatile storage.
 $conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
 $conf['cache_default_class'] = 'MemCacheDrupal';
 $conf['memcache_key_prefix'] = 'crin_';
&lt;/pre&gt;&lt;p&gt;
Following &lt;a class="ext-link" href="https://www.drupal.org/node/1014154#comment-6356760"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;comment #29&lt;/a&gt;, I have changed it to:
&lt;/p&gt;
&lt;pre class="wiki"&gt;include_once DRUPAL_ROOT . '/includes/cache.inc';
include_once DRUPAL_ROOT . '/sites/all/modules/memcache/memcache.inc';
$conf['cache_default_class'] = 'MemCacheDrupal';
&lt;/pre&gt;&lt;p&gt;
And this seem to work, &lt;tt&gt;drush&lt;/tt&gt; runs without a problem.
&lt;/p&gt;
&lt;p&gt;
Checking &lt;a class="ext-link" href="https://crin2.crin.org/en/admin/reports/status"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://crin2.crin.org/en/admin/reports/status&lt;/a&gt; there are these issues:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Required PHP extension not found. Install the memcache (recommended) or memcached extension.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
So:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install php5-memcache
/etc/init.d/php5-fpm restart
&lt;/pre&gt;&lt;p&gt;
Other packages needed:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install php5-memcache php5-curl
&lt;/pre&gt;&lt;p&gt;
We have this:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini mbstring.http_input setting.
&lt;/pre&gt;&lt;p&gt;
However according to &lt;a class="ext-link" href="https://php.net/manual/en/mbstring.configuration.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;the docs&lt;/a&gt; we should:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
PHP 5.6 and later users should leave this empty and set default_charset instead.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
And we have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;default_charset = "UTF-8"
&lt;/pre&gt;&lt;p&gt;
On the live server we have no default charset set and:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mbstring.http_input = pass
mbstring.http_output = pass
&lt;/pre&gt;&lt;p&gt;
So these settings were copied to &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Setting up a crontab for the &lt;tt&gt;www-data&lt;/tt&gt; user:
&lt;/p&gt;
&lt;pre class="wiki"&gt;crontab -e -u www-data
&lt;/pre&gt;&lt;pre class="wiki"&gt;58 * * * * /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 /usr/local/bin/drush --root=/var/www/drupal --uri=crin1.crin.org --quiet cron
&lt;/pre&gt;&lt;p&gt;
TODO: Note the above will need updating when the site is made live.
&lt;/p&gt;
&lt;p&gt;
We have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;GD library rotate and desaturate effects	Not installed
&lt;/pre&gt;&lt;p&gt;
Checking what the live server has:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude search gd | grep ^i
i A libgd2-xpm                      - GD Graphics Library version 2
i   libgdbm3                        - GNU dbm database routines (runtime version
i A libgdk-pixbuf2.0-0              - GDK Pixbuf library
i A libgdk-pixbuf2.0-common         - GDK Pixbuf library - data files
i   php5-gd                         - GD module for php5
&lt;/pre&gt;&lt;p&gt;
And &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; has:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude search gd | grep ^i
i A libgd3                          - GD Graphics Library
i   libgdbm3                        - GNU dbm database routines (runtime version
i A libgdk-pixbuf2.0-0              - GDK Pixbuf library
i A libgdk-pixbuf2.0-common         - GDK Pixbuf library - data files
&lt;/pre&gt;&lt;p&gt;
So:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install php5-gd
service php5-fpm restart
&lt;/pre&gt;&lt;p&gt;
Now the only outstanding issue on the &lt;a class="ext-link" href="https://crin2.crin.org/en/admin/reports/status"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;status page&lt;/a&gt; is:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Apache Solr        Your site was unable to contact the Apache Solr server.
Default environment url:
&lt;a class="ext-link" href="http://web1:8080/solr"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://web1:8080/solr&lt;/a&gt;
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
On the live server we have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude search solr | grep ^i
i A libsolr-java                    - Enterprise search server based on Lucene -
i A solr-common                     - Enterprise search server based on Lucene3
i   solr-tomcat                     - Enterprise search server based on Lucene3
&lt;/pre&gt;&lt;p&gt;
So:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install libsolr-java solr-tomcat solr-common
&lt;/pre&gt;&lt;p&gt;
Check the settings:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://crin2.crin.org/en/admin/config/search/apachesolr/settings"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://crin2.crin.org/en/admin/config/search/apachesolr/settings&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="https://crin2.crin.org/en/admin/config/search/apachesolr/search-pages"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://crin2.crin.org/en/admin/config/search/apachesolr/search-pages&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
The "Solr server URL" was changed to: &lt;tt&gt;http://localhost:8080/solr&lt;/tt&gt;.
&lt;/p&gt;
&lt;p&gt;
TODO: this will need doing again after the final data sync, when the site on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; is made live.
&lt;/p&gt;
&lt;p&gt;
On the live server we have a password protected Nginx reverse proxy to the Solr admin interface, so the following was added to &lt;tt&gt;/etc/nginx/sites-available/solr.crin.org&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;# default virtual server
server {
        # listen for ipv4
        # http://nginx.org/en/docs/http/ngx_http_core_module.html#listen
        listen   80;
        # server name and server aliases
        # http://nginx.org/en/docs/http/ngx_http_core_module.html#server_name
        server_name solr.crin.org;
        # Prevent access to any files starting with a dot, like .htaccess
        # or text editor temp files
        location ~ /\. {
                access_log off;
                log_not_found off;
                deny all;
        }
        # Prevent access to tmp files created by vim
        location ~ .~$ {
                return 403;
        }
        location / {
                rewrite ^/(.*)$ https://solr.crin.org/$1? permanent;
        }
}
# HTTPS server
#
server {
        #listen   4430;
        listen   443;
        server_name solr.crin.org;
        access_log  /var/log/nginx/solr.crin.org.ssl_access.log;
        error_log   /var/log/nginx/solr.crin.org.ssl_error.log notice;
        ssl  on;
        ssl_certificate  /etc/ssl/cacert/crin2_cert.chained.pem;
        ssl_certificate_key  /etc/ssl/cacert/crin2_privatekey.pem;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA;
        ssl_prefer_server_ciphers on;
        #add_header Strict-Transport-Security max-age=31536000;
        # https://developer.mozilla.org/en-US/docs/HTTP/X-Frame-Options
        add_header X-Frame-Options SAMEORIGIN;
        location / {
                proxy_set_header X-Forwarded-Host $host;
                proxy_set_header X-Forwarded-Server $host;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_pass http://127.0.0.1:8080/;
                satisfy any;
                deny all;
                auth_basic "Solr Admin";
                auth_basic_user_file /var/www/.htpasswd;
        }
}
&lt;/pre&gt;&lt;p&gt;
And the site was enabled and tested:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/nginx/sites-enabled
ln -s ../sites-available/solr.crin.org 20-solr.crin.org
service nginx configtest
  [ ok ] Testing nginx configuration:.
service nginx restart
&lt;/pre&gt;&lt;p&gt;
And a sub-domain was created at a DNS level.
&lt;/p&gt;
&lt;p&gt;
Create a username / passwd for the Solr admin interface:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /var/www/
aptitude install apache2-utils
htpasswd -c .htpasswd crin
&lt;/pre&gt;&lt;p&gt;
So, now the site is fully ready for testing: &lt;a class="ext-link" href="https://crin2.crin.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://crin2.crin.org/&lt;/a&gt;
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Mon, 11 May 2015 10:59:34 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:9</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:9</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.51&lt;/em&gt; to &lt;em&gt;4.61&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Current status of the Drupal code in terms of available updates:
&lt;/p&gt;
&lt;pre class="wiki"&gt;sudo -i
su - www-data -s /bin/bash
cd drupal/
 drush status
 Drupal version         :  7.24
 Site URI               :  http://crin1.crin.org/
 Database driver        :  mysql
 Database hostname      :  crin1
 Database port          :
 Database username      :  drupal
 Database name          :  drupal
 PHP executable         :  /usr/bin/php
 PHP configuration      :  /etc/php5/cli/php.ini
 PHP OS                 :  Linux
 Drush script           :  /usr/local/src/drush-master/drush.php
 Drush version          :  7.0-dev
 Drush temp directory   :  /tmp
 Drush configuration    :  /var/www/.drush/drushrc.php
 Drush alias files      :
 Drupal root            :  /var/www/drupal
 Site path              :  sites/default
drush up -n | grep available
 Drupal                                                     7.24               7.37              SECURITY UPDATE available
 Views Bulk Operations (views_bulk_operations)              7.x-3.1            7.x-3.2           Update available
 Administration menu (admin_menu)                           7.x-3.0-rc4        7.x-3.0-rc5       Update available
 Apache Solr framework (apachesolr)                         7.x-1.6            7.x-1.7           Update available
 Apache Solr Multisite Search (apachesolr_multisitesearch)  7.x-1.0            7.x-1.1           Update available
 Autocomplete Deluxe (autocomplete_deluxe)                  7.x-2.0-beta3      7.x-2.1           Update available
 Better Exposed Filters (better_exposed_filters)            7.x-3.0-beta3      7.x-3.2           Update available
 Chaos tools (ctools)                                       7.x-1.3            7.x-1.7           SECURITY UPDATE available
 CAPTCHA (captcha)                                          7.x-1.1            7.x-1.3           Update available
 CKEditor (ckeditor)                                        7.x-1.13           7.x-1.16          SECURITY UPDATE available
 Facet API (facetapi)                                       7.x-1.3            7.x-1.5           Update available
 Date (date)                                                7.x-2.6            7.x-2.8           SECURITY UPDATE available
 Devel (devel)                                              7.x-1.3            7.x-1.5           Update available
 Domain Access (domain)                                     7.x-3.10           7.x-3.11          Update available
 Entity API (entity)                                        7.x-1.2            7.x-1.6           SECURITY UPDATE available
 Entityforms (entityform)                                   7.x-2.0-beta4      7.x-2.0-rc1       Update available
 Field collection (field_collection)                        7.x-1.0-beta5      7.x-1.0-beta8     Update available
 Fieldgroup (field_group)                                   7.x-1.3            7.x-1.4           Update available
 Google Map Field (google_map_field)                        7.x-2.4            7.x-2.13          Update available
 Internationalization (i18n)                                7.x-1.10           7.x-1.13          SECURITY UPDATE available
 IMCE (imce)                                                7.x-1.7            7.x-1.9           Update available
 jQuery Update (jquery_update)                              7.x-2.3            7.x-2.5           Update available
 Localization update (l10n_update)                          7.x-1.0-beta3      7.x-1.1           Update available
 Libraries (libraries)                                      7.x-2.1            7.x-2.2           Update available
 LoginToboggan (logintoboggan)                              7.x-1.3            7.x-1.5           SECURITY UPDATE available
 Memcache (memcache)                                        7.x-1.2            7.x-1.5           Update available
 Menu attributes (menu_attributes)                          7.x-1.0-rc2        7.x-1.0-rc3       Update available
 Menu Block (menu_block)                                    7.x-2.3            7.x-2.5           Update available
 Menu Node Views (menu_node_views)                          7.x-1.x-dev        7.x-1.x-dev       Update available
 Mime Mail (mimemail)                                       7.x-1.0-beta1      7.x-1.0-beta3     SECURITY UPDATE available
 MultiBlock (multiblock)                                    7.x-1.1            7.x-1.2           Update available
 OAuth (oauth)                                              7.x-3.1            7.x-3.2           Update available
 reCAPTCHA (recaptcha)                                      7.x-1.11           7.x-1.12          Update available
 Rules (rules)                                              7.x-2.6            7.x-2.9           Update available
 Search API (search_api)                                    7.x-1.6            7.x-1.14          Update available
 Database search (search_api_db)                            7.x-1.2            7.x-1.4           Update available
 Taxonomy menu (taxonomy_menu)                              7.x-1.4            7.x-1.5           Update available
 Token (token)                                              7.x-1.5            7.x-1.6           Update available
 Transliteration (transliteration)                          7.x-3.1            7.x-3.2           Update available
 Variable (variable)                                        7.x-2.3            7.x-2.5           Update available
 Views (views)                                              7.x-3.7            7.x-3.11          SECURITY UPDATE available
 Views Autocomplete Filters (views_autocomplete_filters)    7.x-1.0            7.x-1.2           Update available
NOTE: A security update for the Drupal core is available.
Cancelled.                                                                                                                                 [cancel]
Multibyte string input conversion in PHP is active and must be disabled. Check the php.ini mbstring.http_input setting. Please refer to the[warning]
PHP mbstring documentation for more information. (Currently using Unicode library Error)
No database updates required                                                                                                               [success]
'all' cache was cleared.                                                                                                                   [success]
Finished performing updates.                                                                                                               [ok]
&lt;/pre&gt;&lt;p&gt;
So it looks like there is perhaps still an issue with "Multibyte string input conversion in PHP".
&lt;/p&gt;
&lt;p&gt;
Jonas, the security updates listed above might contain issues which apply to CRIN, can check about these with the web developers?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jonas</dc:creator>

      <pubDate>Mon, 11 May 2015 11:00:07 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:10</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:10</guid>
      <description>
        &lt;p&gt;
I tested crin2.crin.org and the site is a bit slow. I was able to log in to the CMS, but apart from that I haven't done much.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jonas</dc:creator>

      <pubDate>Mon, 11 May 2015 11:02:17 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:11</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:11</guid>
      <description>
        &lt;p&gt;
The problem is that currently, we don't have any web developers, only people who are assessing the work that Effusion did. However, they work on a tight deadline and won't have time to check this, also it's not what my colleagues want them to do.
So I think we will have to wait until we have new web developer, but then it will be too late, right?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 13 May 2015 08:21:58 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:12</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:12</guid>
      <description>
        &lt;p&gt;
Replying to &lt;a class="ticket" href="https://trac.crin.org/trac/ticket/6#comment:10" title="Comment 10"&gt;jonas&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
I tested crin2.crin.org and the site is a bit slow.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
OK, I'll see what can be done to speed things up by adjusting the MySQL / PHP-FPM and Nginx memory usage etc.
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
I was able to log in to the CMS, but apart from that I haven't done much.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Could you test uploading a file?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 13 May 2015 08:27:25 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:13</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:13</guid>
      <description>
        &lt;p&gt;
Replying to &lt;a class="ticket" href="https://trac.crin.org/trac/ticket/6#comment:11" title="Comment 11"&gt;jonas&lt;/a&gt;:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
So I think we will have to wait until we have new web developer, but then it will be too late, right?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
I don't know if any of the security issues listed in &lt;a class="closed ticket" href="https://trac.crin.org/trac/ticket/6#comment:9" title="task: Migrate Drupal site from GreenQloud (closed: fixed)"&gt;ticket:6#comment:9&lt;/a&gt; apply to your site, if you would like I could spend some time reading up on them to see if it is clear if any do, however I wouldn't feel confident that I could do any Drupal updates without the potential for breaking things (this is why there are lot of Drupal sites in situations like this -- updating things often breaks them).
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 13 May 2015 13:34:38 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/6</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;db1.my.cnf&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 13 May 2015 13:42:46 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:14</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:14</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.28&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.61&lt;/em&gt; to &lt;em&gt;4.89&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Testing using &lt;a class="ext-link" href="http://tools.pingdom.com/fpt/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;pingdom.com&lt;/a&gt; we have:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://crin2.crin.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://crin2.crin.org/&lt;/a&gt; - Load time: 3.42s
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.crin.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.crin.org/&lt;/a&gt; - Load time: 2.36s
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
So, lets see what we MySQL settings can be changed, on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install mysqltuner
mysqltuner
 &amp;gt;&amp;gt;  MySQLTuner 1.3.0 - Major Hayden &amp;lt;major@mhtx.net&amp;gt;
 &amp;gt;&amp;gt;  Bug reports, feature requests, and downloads at http://mysqltuner.com/
 &amp;gt;&amp;gt;  Run with '--help' for additional options and output filtering
[OK] Logged in using credentials from debian maintenance account.
[OK] Currently running supported MySQL version 5.5.43-0+deb8u1
[OK] Operating on 64-bit architecture
-------- Storage Engine Statistics -------------------------------------------
[--] Status: +ARCHIVE +BLACKHOLE +CSV -FEDERATED +InnoDB +MRG_MYISAM
[--] Data in InnoDB tables: 718M (Tables: 506)
[--] Data in MEMORY tables: 0B (Tables: 1)
[--] Data in PERFORMANCE_SCHEMA tables: 0B (Tables: 17)
[--] Data in MyISAM tables: 953M (Tables: 79)
[!!] Total fragmented tables: 518
-------- Security Recommendations  -------------------------------------------
[OK] All database users have passwords assigned
-------- Performance Metrics -------------------------------------------------
[--] Up for: 5d 1h 0m 15s (133K q [0.306 qps], 1K conn, TX: 5B, RX: 172M)
[--] Reads / Writes: 41% / 59%
[--] Total buffers: 192.0M global + 2.7M per thread (151 max threads)
[OK] Maximum possible memory usage: 597.8M (15% of installed RAM)
[OK] Slow queries: 0% (16/133K)
[OK] Highest usage of available connections: 2% (4/151)
[OK] Key buffer size / total MyISAM indexes: 16.0M/238.9M
[OK] Key buffer hit rate: 96.9% (24M cached / 757K reads)
[OK] Query cache efficiency: 73.5% (67K cached / 91K selects)
[!!] Query cache prunes per day: 2228
[OK] Sorts requiring temporary tables: 0% (3 temp sorts / 2K sorts)
[OK] Temporary tables created on disk: 10% (74 on disk / 713 total)
[OK] Thread cache hit rate: 99% (4 created / 1K connections)
[!!] Table cache hit rate: 5% (400 open / 7K opened)
[OK] Open file limit used: 12% (128/1K)
[OK] Table locks acquired immediately: 99% (63K immediate / 63K locks)
[!!] InnoDB  buffer pool / data size: 128.0M/718.5M
[OK] InnoDB log waits: 0
-------- Recommendations -----------------------------------------------------
General recommendations:
    Run OPTIMIZE TABLE to defragment tables for better performance
    Enable the slow query log to troubleshoot bad queries
    Increase table_open_cache gradually to avoid file descriptor limits
    Read this before increasing table_open_cache over 64: http://bit.ly/1mi7c4C
Variables to adjust:
    query_cache_size (&amp;gt; 16M)
    table_open_cache (&amp;gt; 400)
    innodb_buffer_pool_size (&amp;gt;= 718M)
&lt;/pre&gt;&lt;p&gt;
Based on the above edit &lt;tt&gt;/etc/mysql/my.cnf&lt;/tt&gt; and change:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#query_cache_size        = 16M
query_cache_size        = 32M
innodb_buffer_pool_size        = 1024M
&lt;/pre&gt;&lt;p&gt;
Restart MySQL:
&lt;/p&gt;
&lt;pre class="wiki"&gt;service mysql restart
&lt;/pre&gt;&lt;p&gt;
Now the results of &lt;tt&gt;mysqltuner&lt;/tt&gt; can be checked again tomorrow (the server needs to be running a while to generate stats).
&lt;/p&gt;
&lt;p&gt;
For future reference the existing db1.crin.org &lt;tt&gt;/etc/mysql/my.cnf&lt;/tt&gt; has been attached, I'm not simply copying this over since the existing db1.crin.org GreenQloud server has more resources available to it -- it doesn't host web sites.
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="https://trac.crin.org/trac/attachment/ticket/6/db1.my.cnf"&gt;db1.my.cnf&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Note that db1.crin.org uses a RAM disk for the &lt;tt&gt;tmpdir&lt;/tt&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 13 May 2015 13:59:56 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/6</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;web1.php.ini&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 13 May 2015 15:27:56 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:15</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:15</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;4.89&lt;/em&gt; to &lt;em&gt;5.14&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Attached is the &lt;tt&gt;/etc/php5/fpm/php.ini&lt;/tt&gt; from the existing live GreenQloud server, web1.crin.org:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a href="https://trac.crin.org/trac/attachment/ticket/6/web1.php.ini"&gt;web1.php.ini&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Comparing the configurations these things were changed in &lt;tt&gt;/etc/php5/fpm/php.ini&lt;/tt&gt; on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;;post_max_size = 8M
post_max_size = 20M
;upload_max_filesize = 2M
upload_max_filesize = 20M
;max_file_uploads = 20
max_file_uploads = 60
extension=uploadprogress.so
&lt;/pre&gt;&lt;p&gt;
Following &lt;a class="ext-link" href="https://www.drupal.org/node/2388841"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Install PECL uploadprogress on Debian 7 Wheezy&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude install make php5-dev php-pear
pecl install uploadprogress
service php5-fpm restart
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Wed, 13 May 2015 16:08:50 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:16</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:16</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.14&lt;/em&gt; to &lt;em&gt;5.39&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
To enable &lt;a class="ext-link" href="http://nginx.org/en/docs/http/ngx_http_spdy_module.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;spdy&lt;/a&gt; lines like this were changed in the Nginx config:
&lt;/p&gt;
&lt;pre class="wiki"&gt;listen 443 ssl spdy default_server;
&lt;/pre&gt;&lt;p&gt;
And this was tested at &lt;a class="ext-link" href="http://spdycheck.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://spdycheck.org/&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
Note that the spdycheck.org site incorrectly resported that HSTS isn't in use, but is is, see the SSLLabs report:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.ssllabs.com/ssltest/analyze.html?d=crin2.crin.org"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.ssllabs.com/ssltest/analyze.html?d=crin2.crin.org&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
This seems to have helped with the speed of the site -- it now loads in less than 2.5 seconds via the &lt;a class="ext-link" href="http://tools.pingdom.com/fpt/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Pingdom full page test&lt;/a&gt; from Sweden and less than 2 seconds from Amsterdam.
&lt;/p&gt;
&lt;p&gt;
Also &lt;tt&gt;memcached&lt;/tt&gt; was added to the &lt;a class="ext-link" href="https://munin.crin.org/munin/crin.org/crin2.crin.org/multips_memory.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;Munin memory graph&lt;/a&gt; -- currently it is set to use 64M of RAM, this could be increased if needs be.
&lt;/p&gt;
&lt;p&gt;
Jonas -- does the site seem quicker now? Do file uploads report their progress (I'm wondering if I should have installed a Nginx specific version of upload progress)?
&lt;/p&gt;
&lt;p&gt;
I noticed that Google Analytics, as well a Piwik, is enabled on this site.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 00:45:47 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:17</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:17</guid>
      <description>
        &lt;p&gt;
Benchmarking the front page from another server at 1984.is, requesting the front page 10k times with 20 concurrent requests:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ab -n 10000 -c20 http://crin2.crin.org/
This is ApacheBench, Version 2.3 &amp;lt;$Revision: 655654 $&amp;gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking crin2.crin.org (be patient)
Completed 1000 requests
Completed 2000 requests
Completed 3000 requests
Completed 4000 requests
Completed 5000 requests
Completed 6000 requests
Completed 7000 requests
Completed 8000 requests
Completed 9000 requests
Completed 10000 requests
Finished 10000 requests
Server Software:        nginx/1.6.2
Server Hostname:        crin2.crin.org
Server Port:            80
Document Path:          /
Document Length:        74044 bytes
Concurrency Level:      20
Time taken for tests:   1050.591 seconds
Complete requests:      10000
Failed requests:        0
Write errors:           0
Total transferred:      745820000 bytes
HTML transferred:       740440000 bytes
Requests per second:    9.52 [#/sec] (mean)
Time per request:       2101.182 [ms] (mean)
Time per request:       105.059 [ms] (mean, across all concurrent requests)
Transfer rate:          693.27 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    7  53.1      2    1032
Processing:   596 2093 679.7   1937    5671
Waiting:      559 2066 672.3   1915    5637
Total:        598 2099 683.3   1942    5680
Percentage of the requests served within a certain time (ms)
  50%   1942
  66%   2264
  75%   2474
  80%   2616
  90%   3012
  95%   3447
  98%   3963
  99%   4242
 100%   5680 (longest request)
&lt;/pre&gt;&lt;p&gt;
So, Requests per second:    9.52 and Time per request:       2 sec, and looking at the Munin graphs for the servers they didn't really break a sweat, but the number of requests per second could probably be higher with some tweaks, another test:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ab -n 100 -c40 https://crin2.crin.org/
This is ApacheBench, Version 2.3 &amp;lt;$Revision: 655654 $&amp;gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking crin2.crin.org (be patient).....done
Server Software:        nginx/1.6.2
Server Hostname:        crin2.crin.org
Server Port:            443
SSL/TLS Protocol:       TLSv1/SSLv3,ECDHE-RSA-AES128-GCM-SHA256,2048,128
Document Path:          /
Document Length:        74087 bytes
Concurrency Level:      40
Time taken for tests:   28.608 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      7467605 bytes
HTML transferred:       7408700 bytes
Requests per second:    3.50 [#/sec] (mean)
Time per request:       11443.296 [ms] (mean)
Time per request:       286.082 [ms] (mean, across all concurrent requests)
Transfer rate:          254.91 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       15   91  81.8     46     260
Processing:  4439 6857 2554.0   6115   28492
Waiting:     4228 6581 1352.8   6061   10188
Total:       4535 6948 2586.8   6188   28606
Percentage of the requests served within a certain time (ms)
  50%   6188
  66%   7293
  75%   7667
  80%   7941
  90%   9243
  95%   9866
  98%  10487
  99%  28606
 100%  28606 (longest request)
&lt;/pre&gt;&lt;p&gt;
It's slower with HTTPS by the looks of this, without it:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ab -n 100 -c40 http://crin2.crin.org/
This is ApacheBench, Version 2.3 &amp;lt;$Revision: 655654 $&amp;gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking crin2.crin.org (be patient).....done
Server Software:        nginx/1.6.2
Server Hostname:        crin2.crin.org
Server Port:            80
Document Path:          /
Document Length:        74044 bytes
Concurrency Level:      40
Time taken for tests:   11.985 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      7458200 bytes
HTML transferred:       7404400 bytes
Requests per second:    8.34 [#/sec] (mean)
Time per request:       4793.849 [ms] (mean)
Time per request:       119.846 [ms] (mean, across all concurrent requests)
Transfer rate:          607.73 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1   14  99.4      4     998
Processing:   574 4007 1096.9   4473    5386
Waiting:      555 3983 1100.9   4451    5371
Total:        581 4021 1104.9   4474    5543
Percentage of the requests served within a certain time (ms)
  50%   4474
  66%   4614
  75%   4692
  80%   4738
  90%   4925
  95%   5133
  98%   5390
  99%   5543
 100%   5543 (longest request)
&lt;/pre&gt;&lt;p&gt;
8 requests per second compared with 3.5, quite a difference.
&lt;/p&gt;
&lt;p&gt;
On the GreenQloud server in &lt;tt&gt;/etc/nginx/nginx.conf&lt;/tt&gt; we have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;#worker_processes 4;
worker_processes 127;
&lt;/pre&gt;&lt;p&gt;
And on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt; we have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;worker_processes 4;
&lt;/pre&gt;&lt;p&gt;
Doubling this and testing what it does for the benchmark:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ab -n 100 -c40 http://crin2.crin.org/
This is ApacheBench, Version 2.3 &amp;lt;$Revision: 655654 $&amp;gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking crin2.crin.org (be patient).....done
Server Software:        nginx/1.6.2
Server Hostname:        crin2.crin.org
Server Port:            80
Document Path:          /
Document Length:        74044 bytes
Concurrency Level:      40
Time taken for tests:   7.715 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      7458200 bytes
HTML transferred:       7404400 bytes
Requests per second:    12.96 [#/sec] (mean)
Time per request:       3085.845 [ms] (mean)
Time per request:       77.146 [ms] (mean, across all concurrent requests)
Transfer rate:          944.10 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    2   1.7      2       6
Processing:   277 2468 820.1   2795    3431
Waiting:      268 2455 819.0   2788    3417
Total:        279 2471 819.5   2800    3432
Percentage of the requests served within a certain time (ms)
  50%   2800
  66%   2923
  75%   3011
  80%   3043
  90%   3159
  95%   3249
  98%   3386
  99%   3432
 100%   3432 (longest request)
&lt;/pre&gt;&lt;p&gt;
12 requests per second rather than 8 and no fails, doubling the number of Nginx processes again and testing:
&lt;/p&gt;
&lt;pre class="wiki"&gt; ab -n 100 -c40 http://crin2.crin.org/
This is ApacheBench, Version 2.3 &amp;lt;$Revision: 655654 $&amp;gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking crin2.crin.org (be patient).....done
Server Software:        nginx/1.6.2
Server Hostname:        crin2.crin.org
Server Port:            80
Document Path:          /
Document Length:        74044 bytes
Concurrency Level:      40
Time taken for tests:   9.192 seconds
Complete requests:      100
Failed requests:        0
Write errors:           0
Total transferred:      7458200 bytes
HTML transferred:       7404400 bytes
Requests per second:    10.88 [#/sec] (mean)
Time per request:       3676.632 [ms] (mean)
Time per request:       91.916 [ms] (mean, across all concurrent requests)
Transfer rate:          792.40 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        1    3   3.4      2      26
Processing:   336 3150 995.5   3499    4361
Waiting:      322 3131 1000.3   3488    4344
Total:        338 3153 996.2   3500    4365
Percentage of the requests served within a certain time (ms)
  50%   3500
  66%   3746
  75%   3874
  80%   3910
  90%   4056
  95%   4196
  98%   4269
  99%   4365
 100%   4365 (longest request)
&lt;/pre&gt;&lt;p&gt;
Slower, so setting the &lt;tt&gt;worker_processes&lt;/tt&gt; to 8 for now.
&lt;/p&gt;
&lt;p&gt;
In &lt;tt&gt;/etc/php5/fpm/pool.d/www.conf&lt;/tt&gt; we have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;pm.max_children = 5
&lt;/pre&gt;&lt;p&gt;
And on the live GreenQloud server we have:
&lt;/p&gt;
&lt;pre class="wiki"&gt;pm.max_children = 127
&lt;/pre&gt;&lt;p&gt;
Another test :
&lt;/p&gt;
&lt;pre class="wiki"&gt;crin2.crin.org (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software:        nginx/1.6.2
Server Hostname:        crin2.crin.org
Server Port:            80
Document Path:          /
Document Length:        74044 bytes
Concurrency Level:      80
Time taken for tests:   123.974 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      74582000 bytes
HTML transferred:       74044000 bytes
Requests per second:    8.07 [#/sec] (mean)
Time per request:       9917.929 [ms] (mean)
Time per request:       123.974 [ms] (mean, across all concurrent requests)
Transfer rate:          587.49 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    6  31.8      3     998
Processing:   506 9654 2600.3   9653   16149
Waiting:      497 9627 2594.4   9629   16108
Total:        510 9659 2601.9   9659   16152
Percentage of the requests served within a certain time (ms)
  50%   9659
  66%  10598
  75%  11121
  80%  11789
  90%  12971
  95%  14076
  98%  15243
  99%  15664
 100%  16152 (longest request)
&lt;/pre&gt;&lt;p&gt;
8 requests per second, so this isn't hlping, it seems, testing with the live server:
&lt;/p&gt;
&lt;pre class="wiki"&gt;www.crin.org (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software:        nginx/1.2.1
Server Hostname:        www.crin.org
Server Port:            80
Document Path:          /
Document Length:        74026 bytes
Concurrency Level:      80
Time taken for tests:   15.556 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      74599000 bytes
HTML transferred:       74026000 bytes
Requests per second:    64.28 [#/sec] (mean)
Time per request:       1244.470 [ms] (mean)
Time per request:       15.556 [ms] (mean, across all concurrent requests)
Transfer rate:          4683.15 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       40   41   2.5     41      58
Processing:   298 1170 166.2   1180    1796
Waiting:      172 1045 165.7   1056    1674
Total:        339 1212 166.1   1221    1847
Percentage of the requests served within a certain time (ms)
  50%   1221
  66%   1264
  75%   1292
  80%   1305
  90%   1376
  95%   1458
  98%   1565
  99%   1665
 100%   1847 (longest request)
&lt;/pre&gt;&lt;p&gt;
64 requests per second, something must be missing? With HTTPS:
&lt;/p&gt;
&lt;pre class="wiki"&gt; ab -n 1000 -c80 https://www.crin.org/
This is ApacheBench, Version 2.3 &amp;lt;$Revision: 655654 $&amp;gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking www.crin.org (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software:        nginx/1.2.1
Server Hostname:        www.crin.org
Server Port:            443
SSL/TLS Protocol:       TLSv1/SSLv3,ECDHE-RSA-AES128-GCM-SHA256,2048,128
Document Path:          /
Document Length:        74069 bytes
Concurrency Level:      80
Time taken for tests:   15.981 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      74693000 bytes
HTML transferred:       74069000 bytes
Requests per second:    62.57 [#/sec] (mean)
Time per request:       1278.502 [ms] (mean)
Time per request:       15.981 [ms] (mean, across all concurrent requests)
Transfer rate:          4564.24 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:      165  222  97.3    191     594
Processing:   305 1024 167.6   1017    1605
Waiting:      237  912 162.9    899    1485
Total:        632 1246 182.6   1229    2199
Percentage of the requests served within a certain time (ms)
  50%   1229
  66%   1293
  75%   1321
  80%   1343
  90%   1415
  95%   1536
  98%   1868
  99%   2067
 100%   2199 (longest request)
&lt;/pre&gt;&lt;p&gt;
16 requests per second, the 1984.is servers:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ab -n 1000 -c80 https://crin2.crin.org/
This is ApacheBench, Version 2.3 &amp;lt;$Revision: 655654 $&amp;gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking crin2.crin.org (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software:        nginx/1.6.2
Server Hostname:        crin2.crin.org
Server Port:            443
SSL/TLS Protocol:       TLSv1/SSLv3,ECDHE-RSA-AES128-GCM-SHA256,2048,128
Document Path:          /
Document Length:        74087 bytes
Concurrency Level:      80
Time taken for tests:   114.247 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      74676000 bytes
HTML transferred:       74087000 bytes
Requests per second:    8.75 [#/sec] (mean)
Time per request:       9139.735 [ms] (mean)
Time per request:       114.247 [ms] (mean, across all concurrent requests)
Transfer rate:          638.32 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       11   75 190.4     27    1274
Processing:   535 8487 2552.3   7933   15406
Waiting:      516 8465 2548.7   7917   15386
Total:        650 8562 2548.7   7960   15911
Percentage of the requests served within a certain time (ms)
  50%   7960
  66%   8800
  75%   9588
  80%  10074
  90%  12444
  95%  14361
  98%  14994
  99%  15243
 100%  15911 (longest request)
&lt;/pre&gt;&lt;p&gt;
9 requests per second, close but slower. Looking at the spikes on the Munin graphs for both servers there is still a huge amount of unused CPU and RAM so with tweaking these figures should be able to be improved.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 18:38:51 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:18</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:18</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.39&lt;/em&gt; to &lt;em&gt;5.64&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Email was configured on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;, the following was added to &lt;tt&gt;/etc/aliases&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;root: chris@webarchitects.co.uk,admin@crin.org
&lt;/pre&gt;&lt;p&gt;
And &lt;tt&gt;newaliases&lt;/tt&gt; was run and also &lt;tt&gt;dpkg-reconfigure exim4-config&lt;/tt&gt; and &lt;tt&gt;logwatch&lt;/tt&gt; and &lt;tt&gt;metche&lt;/tt&gt; were installed and email was tested by sending email to &lt;tt&gt;root&lt;/tt&gt;.
&lt;/p&gt;
&lt;p&gt;
In addition both server have been rebooted due to &lt;a class="ext-link" href="http://venom.crowdstrike.com/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;venom&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 21:01:35 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:19</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:19</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.75&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;5.64&lt;/em&gt; to &lt;em&gt;6.39&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The current live GreenQloud server has APC installed:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude search apc | grep ^i
  i   php-apc                         - APC (Alternative PHP Cache) module for PHP
&lt;/pre&gt;&lt;p&gt;
This could be a cause for the slowness of the Drupal site, so on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;aptitude search apc | grep php
  p   php-apc                         - APC User Cache for PHP 5 (transitional pac
  p   php5-apcu                       - APC User Cache for PHP 5
aptitude install php5-apcu
logchange "php5-apcu : installed"
&lt;/pre&gt;&lt;p&gt;
On the GreenQloud server &lt;tt&gt;/etc/php5/mods-available/apc.ini&lt;/tt&gt; contains:
&lt;/p&gt;
&lt;pre class="wiki"&gt;extension=apc.so
apc.shm_size="512M"
apc.max_file_size="2M"
&lt;/pre&gt;&lt;p&gt;
And we might want to add these settings, but to know what they can best be set to we need some Munin stats, so &lt;a class="ext-link" href="https://github.com/geerlingguy/munin-php-apc"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;this munin-php-apc&lt;/a&gt; plugin looks like it will do the job, so:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /usr/local/share/munin/plugins/
wget https://github.com/geerlingguy/munin-php-apc/archive/master.zip
unzip master.zip
  Archive:  master.zip
  bc7f1ad0103bbf500e8d36e342cfaa53733fbc7d
     creating: munin-php-apc-master/
    inflating: munin-php-apc-master/CHANGELOG.txt
    inflating: munin-php-apc-master/README.md
    inflating: munin-php-apc-master/apc_info.php
    inflating: munin-php-apc-master/php_apc_
&lt;/pre&gt;&lt;p&gt;
Make a directory and move the &lt;tt&gt;apc_info.php&lt;/tt&gt; file:
&lt;/p&gt;
&lt;pre class="wiki"&gt;mkdir /var/www/localhost
mv munin-php-apc-master/apc_info.php /var/www/localhost/apc-info.php
&lt;/pre&gt;&lt;p&gt;
Edit &lt;tt&gt;/etc/nginx/sites-available/localhost&lt;/tt&gt; to add:
&lt;/p&gt;
&lt;pre class="wiki"&gt; 	root /var/www/localhost;
        location ~ /apc-info\.php$ {
                fastcgi_pass unix:/var/run/php5-fpm.sock;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_intercept_errors on;
                include fastcgi_params;
                access_log off;
                allow 127.0.0.1;
                deny all;
        }
&lt;/pre&gt;&lt;p&gt;
Test and restart and test:
&lt;/p&gt;
&lt;pre class="wiki"&gt;service nginx configtest
  [ ok ] Testing nginx configuration:.
service nginx restart
lynx -dump http://localhost/apc-info.php
   size: 33554296 used: 32992 free: 33521304 hits: 0.00 misses: 0.00
   request_rate: 0.00 hit_rate: 0.00 miss_rate: 0.00 insert_rate: 0.00
   entries: 0 inserts: 0 purges: purge_rate: 100.00 fragment_percentage:
   0.00 fragmented: 0.00 fragment_segments: 0 optcode_size: 0 user_size: 0
   user_hits: 0.00 user_misses: 0.00 user_request_rate: 0.00
   user_hit_rate: 0.00 user_miss_rate: 0.00 user_insert_rate: 0.00
   user_entries: 0 user_inserts: 0 user_purges: user_purge_rate: 0.00
&lt;/pre&gt;&lt;p&gt;
So now to enable the munin plugin:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/munin/plugins/
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_files
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_fragmentation
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_hit_miss
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_purge
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_rates
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_usage
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_mem_size
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_user_hit_miss
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_user_entries
ln -s /usr/local/share/munin/plugins/munin-php-apc-master/php_apc_ php_apc_user_rates
&lt;/pre&gt;&lt;p&gt;
Add the following to &lt;tt&gt;/etc/munin/plugin-conf.d/munin-node&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;[php_apc_*]
user root
env.url http://localhost/apc-info.php?auto
&lt;/pre&gt;&lt;p&gt;
Test and restart:
&lt;/p&gt;
&lt;pre class="wiki"&gt;cd /etc/munin/plugins/
munin-run php_apc_files
  used.value 32992
  free.value 33521304
  hits.value 0.00
  misses.value 0.00
  request_rate.value 0.00
  hit_rate.value 0.00
  miss_rate.value 0.00
  insert_rate.value 0.00
  entries.value 0
  inserts.value 0
  purges.value U
  purge_rate.value 100.00
  fragmented.value 0.00
  fragment_segments.value 0
  fragment_percentage.value 0.00
  optcode_size.value 0
  user_size.value 0
  user_hits.value 0.00
  user_misses.value 0.00
  user_request_rate.value 0.00
  user_hit_rate.value 0.00
  user_miss_rate.value 0.00
  user_insert_rate.value 0.00
  user_entries.value 0
  user_inserts.value 0
  user_purges.value U
  user_purge_rate.value 0.00
service munin-node restart
&lt;/pre&gt;&lt;p&gt;
And we should soon have some APC stats here:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://munin.crin.org/munin/crin.org/crin2.crin.org/#php-apc"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://munin.crin.org/munin/crin.org/crin2.crin.org/#php-apc&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Testing to see if there is noticable speed increase:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ab -n 1000 -c80 https://crin2.crin.org/
This is ApacheBench, Version 2.3 &amp;lt;$Revision: 655654 $&amp;gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking crin2.crin.org (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software:        nginx/1.6.2
Server Hostname:        crin2.crin.org
Server Port:            443
SSL/TLS Protocol:       TLSv1/SSLv3,ECDHE-RSA-AES128-GCM-SHA256,2048,128
Document Path:          /
Document Length:        74087 bytes
Concurrency Level:      80
Time taken for tests:   67.240 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      74676000 bytes
HTML transferred:       74087000 bytes
Requests per second:    14.87 [#/sec] (mean)
Time per request:       5379.193 [ms] (mean)
Time per request:       67.240 [ms] (mean, across all concurrent requests)
Transfer rate:          1084.56 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        8   35  78.0     12    1012
Processing:   161 5141 874.1   5278    6769
Waiting:      156 5136 874.0   5270    6766
Total:        305 5177 820.7   5293    6782
Percentage of the requests served within a certain time (ms)
  50%   5293
  66%   5392
  75%   5487
  80%   5556
  90%   5708
  95%   5822
  98%   5932
  99%   6014
 100%   6782 (longest request)
&lt;/pre&gt;&lt;p&gt;
15 requests per second, that is an improvement on the 9 requests per second we had with the same test last night.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 21:16:44 GMT</pubDate>
      <title>attachment set</title>
      <link>https://trac.crin.org/trac/ticket/6</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;attachment&lt;/strong&gt;
                set to &lt;em&gt;crin2.crin.org-speed-test.2015-05-14.png&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 21:22:29 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:20</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:20</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.1&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;6.39&lt;/em&gt; to &lt;em&gt;6.49&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The front page of the site loads in &lt;a href="https://trac.crin.org/trac/raw-attachment/ticket/6/crin2.crin.org-speed-test.2015-05-14.png"&gt;less than 2 seconds&lt;/a&gt; when tested via  &lt;a class="ext-link" href="http://tools.pingdom.com/fpt"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://tools.pingdom.com/fpt&lt;/a&gt; using the Amsterdam test server.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Thu, 14 May 2015 21:47:37 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:21</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:21</guid>
      <description>
        &lt;p&gt;
Looking at the &lt;a class="ext-link" href="https://munin.crin.org/munin/crin.org/crin2.crin.org/index.html#php-apc"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;php-apc stats&lt;/a&gt; it doesn't appear to be doing anything, the config file is &lt;tt&gt;/etc/php5/fpm/conf.d/20-apcu.ini&lt;/tt&gt; and it contains:
&lt;/p&gt;
&lt;pre class="wiki"&gt;extension=apcu.so
&lt;/pre&gt;&lt;p&gt;
The &lt;a class="ext-link" href="https://php.net/manual/en/apc.configuration.php"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;apc config documentation&lt;/a&gt; lists all the config options, to start with these were added:
&lt;/p&gt;
&lt;pre class="wiki"&gt;apc.enabled=1
apc.shm_size=128M
apc.max_file_size=1M
&lt;/pre&gt;&lt;p&gt;
And &lt;tt&gt;service php5-fpm restart&lt;/tt&gt; was run, and some more benchmarking was done using &lt;tt&gt;ab&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;ab -n 1000 -c80 https://crin2.crin.org/
This is ApacheBench, Version 2.3 &amp;lt;$Revision: 655654 $&amp;gt;
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking crin2.crin.org (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests
Server Software:        nginx/1.6.2
Server Hostname:        crin2.crin.org
Server Port:            443
SSL/TLS Protocol:       TLSv1/SSLv3,ECDHE-RSA-AES128-GCM-SHA256,2048,128
Document Path:          /
Document Length:        74087 bytes
Concurrency Level:      80
Time taken for tests:   57.527 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      74676000 bytes
HTML transferred:       74087000 bytes
Requests per second:    17.38 [#/sec] (mean)
Time per request:       4602.125 [ms] (mean)
Time per request:       57.527 [ms] (mean, across all concurrent requests)
Transfer rate:          1267.69 [Kbytes/sec] received
Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        8   33  76.1     12    1006
Processing:   312 4397 683.8   4459    6235
Waiting:      307 4390 683.6   4454    6222
Total:        432 4430 664.3   4479    6346
Percentage of the requests served within a certain time (ms)
  50%   4479
  66%   4625
  75%   4739
  80%   4807
  90%   5045
  95%   5209
  98%   5369
  99%   5555
 100%   6346 (longest request)
&lt;/pre&gt;&lt;p&gt;
17 pages a second and another Pingdom test came in at 1.85s for the front page.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 12 Jun 2015 09:35:05 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:22</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:22</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.25&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;6.49&lt;/em&gt; to &lt;em&gt;6.74&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Doing a final Drupal database sync on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin1"&gt;Crin1&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;bash /root/bin/drupal-db-sync
&lt;/pre&gt;&lt;p&gt;
And doing a final sync of the files on &lt;a class="wiki" href="https://trac.crin.org/trac/wiki/Crin2"&gt;Crin2&lt;/a&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;bash /root/bin/drupal-sync
&lt;/pre&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 12 Jun 2015 10:06:32 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:23</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:23</guid>
      <description>
        &lt;p&gt;
The MySQL sync has run but the sync of the files is still running.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 12 Jun 2015 11:13:11 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:24</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:24</guid>
      <description>
        &lt;p&gt;
Copying the files is taking a long time, a 214M file is taking 30 mins to copy...
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 12 Jun 2015 13:39:48 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:25</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:25</guid>
      <description>
        &lt;p&gt;
The files have finally synced, but I'm going to be away from a computer between 3pm and 4pm so I don't want to do the DNS update right now, I'll do it at 4pm. Sorry for the delay, I wasn't expecting it to take so long to sync the files that have changed over the last few weeks.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 12 Jun 2015 15:24:32 GMT</pubDate>
      <title></title>
      <link>https://trac.crin.org/trac/ticket/6#comment:26</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:26</guid>
      <description>
        &lt;p&gt;
I'm going to update the DNS now.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 12 Jun 2015 15:35:22 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:27</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:27</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.2&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;6.74&lt;/em&gt; to &lt;em&gt;6.94&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
I have changed these lines in the DNS for &lt;tt&gt;crin.org&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;@ 900 IN A 93.95.228.180
enoc 900 IN A 93.95.228.180
www 900 IN A 93.95.228.180
&lt;/pre&gt;&lt;p&gt;
And these lines for &lt;tt&gt;crin.com&lt;/tt&gt;:
&lt;/p&gt;
&lt;pre class="wiki"&gt;@ 900 IN A 93.95.228.180
www 900 IN A 93.95.228.180
&lt;/pre&gt;&lt;p&gt;
Checking the DNS servers:
&lt;/p&gt;
&lt;pre class="wiki"&gt;dig @NS0.1984.IS crin.org +short
46.149.19.215
dig @NS0.1984.IS crin.com +short
46.149.19.215
&lt;/pre&gt;&lt;p&gt;
These DNS servers should update soon and then others will follow.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 12 Jun 2015 16:01:40 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:28</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:28</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.4&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;6.94&lt;/em&gt; to &lt;em&gt;7.34&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
The &lt;tt&gt;enoc.crin.org&lt;/tt&gt; Nginx config file was copied from &lt;tt&gt;crin-web1&lt;/tt&gt;.
&lt;/p&gt;
&lt;p&gt;
The 1984.is DNS servers have updated:
&lt;/p&gt;
&lt;pre class="wiki"&gt;dig @NS0.1984.IS crin.com +short
93.95.228.180
dig @NS0.1984.IS crin.org +short
93.95.228.180
dig @NS0.1984.IS enoc.crin.org +short
93.95.228.180
&lt;/pre&gt;&lt;p&gt;
The main site at &lt;a class="ext-link" href="https://www.crin.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.crin.org/&lt;/a&gt; seems fine, the SSL settings get a A+ rating:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://www.ssllabs.com/ssltest/analyze.html?d=crin.org"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.ssllabs.com/ssltest/analyze.html?d=crin.org&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
There is an issue with &lt;a class="ext-link" href="http://enoc.crin.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://enoc.crin.org/&lt;/a&gt; - it displays this message:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;blockquote&gt;
&lt;p&gt;
You are not authorized to access this page.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;
But the GreenQloud server does the same thing...
&lt;/p&gt;
&lt;p&gt;
Everything seems to be working OK, I'll check the Munin graphs in a while to see what is happening load wise:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;&lt;a class="ext-link" href="https://munin.crin.org/munin/crin.org/crin2.crin.org/index.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://munin.crin.org/munin/crin.org/crin2.crin.org/index.html&lt;/a&gt;
&lt;/li&gt;&lt;li&gt;&lt;a class="ext-link" href="https://munin.crin.org/munin/crin.org/crin1.crin.org/index.html"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://munin.crin.org/munin/crin.org/crin1.crin.org/index.html&lt;/a&gt;
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 12 Jun 2015 16:38:33 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:29</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:29</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.3&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;7.34&lt;/em&gt; to &lt;em&gt;7.64&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Update Drupal crontab as per TODO note above:
&lt;/p&gt;
&lt;pre class="wiki"&gt;crontab -e -u www-data
&lt;/pre&gt;&lt;p&gt;
It now contains:
&lt;/p&gt;
&lt;pre class="wiki"&gt;58 * * * * /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 /usr/local/bin/drush --root=/var/www/drupal --uri=www.crin.org --quiet cron
&lt;/pre&gt;&lt;p&gt;
Test it:
&lt;/p&gt;
&lt;pre class="wiki"&gt;su - www-data -s /bin/bash
/usr/local/bin/drush --root=/var/www/drupal --uri=www.crin.org --quiet cron
-su: /usr/local/bin/drush: Permission denied
&lt;/pre&gt;&lt;p&gt;
So:
&lt;/p&gt;
&lt;pre class="wiki"&gt;chmod 755 /usr/local/src/drush-master/drush
&lt;/pre&gt;&lt;p&gt;
And try again:
&lt;/p&gt;
&lt;pre class="wiki"&gt;/usr/local/bin/drush --root=/var/www/drupal --uri=www.crin.org --quiet cron
Command core-cron needs a higher bootstrap level to run - you will need to invoke drush from a more functional Drupal environment  [error]
to run this command.
The drush command 'cron' could not be executed.                                                                                    [error]
Drush was not able to start (bootstrap) the Drupal database.                                                                       [error]
Hint: This may occur when Drush is trying to:
 * bootstrap a site that has not been installed or does not have a configured database. In this case you can select another site
with a working database setup by specifying the URI to use with the --uri parameter on the command line. See `drush topic
docs-aliases` for details.
 * connect the database through a socket. The socket file may be wrong or the php-cli may have no access to it in a jailed shell.
See http://drupal.org/node/1428638 for details.
Drush was attempting to connect to:
 Drupal version         :  7.24
 Site URI               :  www.crin.org
 Database driver        :  mysql
 Database hostname      :  crin1
 Database port          :
 Database username      :  drupal
 Database name          :  drupal
 PHP executable         :  /usr/bin/php
 PHP configuration      :  /etc/php5/cli/php.ini
 PHP OS                 :  Linux
 Drush script           :  /usr/local/src/drush-master/drush.php
 Drush version          :  7.0-dev
 Drush temp directory   :  /tmp
 Drush configuration    :  /var/www/.drush/drushrc.php
 Drush alias files      :
 Drupal root            :  /var/www/drupal
 Site path              :  sites/default
&lt;/pre&gt;&lt;p&gt;
Testing on the GreenQloud server:
&lt;/p&gt;
&lt;pre class="wiki"&gt;su - www-data -s /bin/bash
/usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 /usr/local/sbin/drush --root=/var/www/crin --uri=www.crin.org --quiet cron
PHP Fatal error:  Class 'MemCacheDrupal' not found in /var/www/crin/includes/cache.inc on line 31
Drush command terminated abnormally due to an unrecoverable  [error]
error.
Error: Class 'MemCacheDrupal' not found in
/var/www/crin/includes/cache.inc, line 31
&lt;/pre&gt;&lt;p&gt;
So it hasn't been working on the old server either, I have created a new ticket for this, &lt;a class="closed ticket" href="https://trac.crin.org/trac/ticket/18" title="defect: Drush (closed: fixed)"&gt;ticket:18&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Fri, 12 Jun 2015 17:50:37 GMT</pubDate>
      <title>cc, status changed; resolution set</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:30</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:30</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;cc&lt;/strong&gt;
              &lt;em&gt;jenny&lt;/em&gt; &lt;em&gt;gillian&lt;/em&gt; added; &lt;em&gt;jonas&lt;/em&gt; removed
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Closing this ticket now -- the main Drupal site, &lt;a class="ext-link" href="https://www.crin.org/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.crin.org/&lt;/a&gt; is now running on the 1984.is servers, follow up can be done on &lt;a class="closed ticket" href="https://trac.crin.org/trac/ticket/9" title="task: Monitor and adjust server settings after Crin1 and Crin2 server go live (closed: fixed)"&gt;ticket:9&lt;/a&gt;.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>chris</dc:creator>

      <pubDate>Sat, 13 Jun 2015 11:24:02 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>https://trac.crin.org/trac/ticket/6#comment:31</link>
      <guid isPermaLink="false">https://trac.crin.org/trac/ticket/6#comment:31</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0&lt;/em&gt; to &lt;em&gt;0.15&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;7.64&lt;/em&gt; to &lt;em&gt;7.79&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Jenny asked:
&lt;/p&gt;
&lt;blockquote class="citation"&gt;
&lt;p&gt;
Are ok to upload info on the site now?
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;
Yes you should be, the GreenCloud servers are still seeing some traffic so not everybodies DNS has updated yet, though all the recent requests are from robots, eg:
&lt;/p&gt;
&lt;pre class="wiki"&gt;Mozilla/5.0 (compatible; AhrefsBot/5.0; +http://ahrefs.com/robot/
Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html
Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
&lt;/pre&gt;&lt;p&gt;
The Googlebot doesn't appear to be a fake Googlebot, it has reverse DNS set up:
&lt;/p&gt;
&lt;pre class="wiki"&gt;dig -x 66.249.64.189 +short
crawl-66-249-64-189.googlebot.com.
&lt;/pre&gt;&lt;p&gt;
I think best leave the old servers running for a day or two.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>