Skip to main content

Circling Around Again

I've just finished "Three Day Road" by Joseph Boyden, an appropriate novel for this time of year when death is in the air, in a "circle of life" kind of way.

It's also just over 5 years since I started out working on my own, and a year since I started working again with a couple of old friends. One of those (Reema) has just found herself a real job so she'll be leaving us and I wish her well. Starting new things is usually harder and slower than I imagine, which is good, since I'd probably not bother otherwise.

At the machine level: we've just brought online a new server and moved all the services left on my oldest server in preparation to shut it down. Shutting down old servers is rarely worth it from a time/finances point of view, but it seemed like the right thing to do in this case, in spite of the backlog in client work I've now accumulated.

And of course, in the global scheme of things, death has the excellent function of making space for new things, and that's very true in this case. My new server is using pressflow and varnish to be super scalable for a couple of new big sites, one of which is already humming along on it (http://socialinnovation.ca). Rob Ellis has also installed apache solr on it, and it's a huge relief to be able to use it on my larger sites: compared to stock Drupal search, it gives better results, it's faster, and the site database backups are about half the size (having the search database being backed up always seemed ridiculous anyway).

Popular posts from this blog

Orchestrating Drupal + CiviCRM containers into a working site: describing the challenge

In my previous posts, I've provided my rationale for making use of Docker and the microservices model for a boutique-sized Drupal + CiviCRM hosting service. I've also described how to build and maintain images that could be used for the web server (micro) service part of such a service.

The other essential microservice for a Drupal + CiviCRM website is a database, and fortunately, that's reasonably standard. Here's a project that minimally tweaks the canonical Mariadb container by adding some small configuration bits: https://github.com/BlackflySolutions/mariadb

That leaves us now with the problem of "orchestration", i.e. how would you launch a collection of such containers that would serve a bunch of Drupal + CiviCRM sites. More interestingly, can we serve them in the real world, over time, in a way that is sustainable? i.e. handle code updates, OS updates, backups, monitoring, etc? Not to mention the various crons that need to run, and how about things like…

Building and maintaining Drupal + CiviCRM application containers

In my previous two posts, I provided some background into why I decided on using containers for a boutique Drupal + CiviCRM hosting platform, and why Docker and its micro-services approach is a good choice for building and maintaining containers.

Although I promised to talk about orchestration, that was getting ahead of the story - first I'm going to look at the challenge of keeping your application containers up-to-date with OS and application-level updates. There's a fair amount of work in that, but the tooling is mature and there is lots of good documentation.

A great place to start is to visit the official Drupal docker hub page. From there, you can pull a working Drupal code container, and it gets re-built frequently with all the OS and Drupal-code updates, so you just refresh your containers whenever you want (i.e. whenever a security release comes out, or more often to stay up-to-date).

A nice thing about that project is that it demonstrates a technique for maintaining …

The Tyee: Bricolage and Drupal Integration

The Tyee is a site I've been involved with since 2006 when I wrote the first, 4.7 version of a Drupal module to integrate Drupal content into a static site that was being generated from bricolage. About a year ago, I met with Dawn Buie and Phillip Smith and we mapped out a number of ways to improve the Drupal integration on the site, including upgrading the Drupal to version 5 from 4.7. Various parts of that grand plan have been slowly incorporated into the site, but as of next week, there'll be a big leap forward that coincides with a new design [implemented in Bricolage by David Wheeler who wrote and maintains Bricolage] as well as a new Drupal release of the Bricolage integration module.PlansApplication integration is tricky, and my first time round had quite a few issues. Here's a list of the improvements in the latest version:File space separation. Before, Drupal was installed in the apache document root, which is where bricolage was publishing it's content. This …