Tag: Automation

  • Fixing broken permissions or ownership

    People are not perfect, not even the staff here. Perfection is not required to be a sysadmin we found, just some good shell scripts to fix things when you break them accidentally. One of the more common accidents are chown or chmod ones, especially the ones done as root from / . Its easy to…

  • Wildcard DNS queries added to our DNS API

    We are updating our DNS API (Zonomi and RimuHosting) to support a name/host argument of **.example.com (where example.com is your DNS zone).  This will find any DNS records ending with example.com. This could be used, for example, in providing your own UI from end to our name servers.  Or for setting up slave DNS servers.…

  • WordPress mass update script 3.2.1

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…

  • Building database clusters with MySQL

    MySQL is a mainstay of many web based applications, and is popular with lots of our customers. There does comes a time when a single database server is not enough. To enhance redundancy MySQL has a couple of options. You can add more servers with vanilla replication enabled. Or you can look at setting up…

  • Easy web server Load-Balancing with HAProxy

    Configuring load balancing between multiple web servers may seem challenging, but it doesn’t have to be. HAProxy is a great lightweight tool that is easy to setup and has a large number of rich features for managing and serving content. Lets look at a simple scenario using two application or web servers n2 and n3,…

  • WordPress mass update script 3.2

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…

  • Storage Clustering Part 2: GlusterFS

    GlusterFS is an interesting solution for providing redundant network attached storage clusters. Some features include… trivially easy for basic setups supports virtually any file-system no need to mess with kernels can work across commodity network hardware suitable for enterprise deployment has commercial support available GlusterFS can scale well also, its simple configuration based storage is…

  • WordPress mass update script 3.1.4

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…

  • Storage Clustering Part 1: An Introduction

    John and I have recently been looking at server clusters, and how they can be provisioned to best fit our customers needs. This post is the first in (hopefully) a series on the results of that research. To start with in this post I would like highlight some common questions about big storage options. If…

  • WordPress mass update script 3.1.3

    This script will search /var/www (changeable in a variable) for any wordpress installs and make sure its upgraded to the latest version. It will run a backup to /root/wp_upgrade/ of all files and database before doing anything with the site in case of major catastrophe (make sure you have spare disk space if your sites…