cloud

Scaling Drupal horizontally and in the Cloud - Vancouver Drupal group presentation

Published by burgerboydaddy on Fri, 04/26/2013 - 13:05
Yesterday on Vancouver Drupal Group I was presenting topic:
 
"Scaling Drupal Horizontally and in the Cloud".
Here is a link to the presentation slides.

Option 2: Multiple servers connecting to the multiple DB's

Published by burgerboydaddy on Wed, 02/20/2013 - 16:11

So this option is many aspects similar to the default one, with one big difference. In this case each web server will have it's own db server.
Reason for this: Higher site availability; if one db server is down, second one can continue to serve customers. Also for this case load balancer must to be able to see both installations (this is some kind of prequel for cloud deployment).

On image you can see multiple web servers / db server but in general simplest option is to have 2 db servers.

Drupal 7 – Setup master-master replication with 2 MySQL db servers

Notes:

How to setup startup scripts in Ubuntu

Published by burgerboydaddy on Tue, 01/08/2013 - 14:48

Tags 

For some projects I needed to run startup scripts everytime when I start my ubuntu server. Here is little how-to with addition how to run some processes using non-sudo username (normal user account).

After some searching I found out that there is a small command that allows the root to run a process as a different user.
So when I had put “sudo -u burgerboydaddy” in front of my command it worked flawlessly.

- use vim or an equivalent to write your script and make sure it starts with
#!/bin/bash
- make your script executable by doing

Pages