Get Ansible to wait_for ssh

Whilst writing a follow-up to my last post, I noticed that Ansible was failing to connect to a newly spun up Linux server on the Rackspace Cloud and spent a bit of time troubleshooting the connection. All articles I've read using Rackspace & Ansible didn't mention much about ssh connection timeouts so I thought I'd put this together.

more ...

Spin up a Rackspace Cloud Server with Ansible

Ansible is a configuration management, provisioning and work flow automation tool that is written in python. I've been playing around with for a little while and it's a rather refreshing change from the other configuration management tools I've spent time with (Puppet & Chef). Ansible is extremely simple to use and understand, so I thought it was time to write up some of my notes to help anyone getting to grips with using it on the Rackspace Public Cloud.

more ...

Road Warrior 101

I've been very fortunate enough to have travelled a lot in the past 6 years in my roles as a Consultant at both Red Hat, Canonical and now Eucalyptus, but also for holidays. Those countries have included: Philippines, India, Australia, USA (San Francisco, Santa Barbara, Boston, New York, Washington DC, Florida), Canada (Montreal), South Africa, Finland, Sweden, Netherlands, Spain, Germany, Italy, Belgium, Ireland, Poland... to name a few!

Suffice to say, when you spend a bit of time "on the road", you learn a few tricks to help make life a bit easier. This blog post is a break from my technical posts to impart a few of those tricks on you, the public.

do you have any tips? I'd love to hear them, stick them in the comment box below!

more ...

Adventures in NoSQL, part 2

In Part 1 of this blog series, "Adventures in NoSQL", I deployed a single instance of MongoDB and used Python's tweetstream module to fill a collection with a data feed from Twitter.

In the real world you wouldn't ever use a single instance of MongoDB (or twitter data :-) ) as there is no redundancy if an instance fails, all your data is gone or you need to take some time to restore it from a backup.

However, we can harness the power of a private Eucalyptus IaaS Cloud to use as our infrastructure, this means we can quickly scale out resources using direct EC2 API calls, the euca2ools command line utilities or the Eucalyptus Web interface.

In this post, I'll explore using Replication to spread your data across multiple MongoDB servers for redundancy.

more ...

Backing up a Eucalyptus Cloud Controller

When you first start using Eucalyptus, you are concerned with the intricacies of building images, configuring virtual instances and using all the variety of API features and tools that Eucalyptus offers.

However, when Eucalyptus becomes a tool your business relies on you need to consider making sure you can recover the system from a catastrophic failure. In the enterprise this usually means making adequate backups and being able to restore the whole system from those backups using an automated procedure perhaps with tools such as Ansible, Puppet and Chef or via a documented manual restore procedure. more ...