Tech

How-To: Mcollective/RabbitMQ on Ubuntu

1 ) Install RabbitMQ Prerequisites apt-get install -y erlang-base erlang-nox 2 ) Install RabbitMQ from the Download Site wget http://www.rabbitmq.com/releases/rabbitmq-server/v2.8.1/rabbitmq-server_2.8.1-1_all.deb dpkg -i rabbitmq-server_2.8.1-1_all.deb 3 ) Enable the stomp and AMQ plugins rabbitmq-plugins enable amqp_client rabbitmq-plugins enable rabbitmq_stomp 4 ) Create the rabbitmq config file in /etc/rabbitmq/rabbitmq.config %% Single broken configuration Read more…

By chris, ago
Tech

Getting Puppet Stats into Graphite

Graphs are awesome. At work I provide all kinds of graphs to the front end/support teams and Graphite is rapidly becoming my tool of choice.  In the past, I have relied heavily on RRD.  However, the easy to use front end, scalability and ease of data injection into Graphite is Read more…

By chris, ago
Tech

The Priority 0 Rule

Many years ago when I worked for a Japanese shipping company, Taga-san bought a little red rubber stamp that she used that said “urgent”.  She would stamp documents with the “urgent” stamp to try and garner more attention.  Soon almost every document had the “important” stamp, so the diligent Taga-san Read more…

By chris, ago
Tech

Load Balancing Puppet with Nginx

Due to the holidays, I’ve had to add a large number of new nodes to our infrastructure. This started putting too much CPU and memory load on the puppet master. Instead of moving to a larger instance, I looked to spread out to multiple boxes. This presented the problem of Read more…

By chris, ago
Tech

Mcollective Use Case – Operational Dashboard

I’ve been asked a few times about use cases for mcollective.   One of the biggest wins at my company has been using mcollective to build “Oppy” an operational dashboard. Oppy allows developers and support staff to perform deploys on staging servers as well as to audit and monitor client Read more…

By chris, ago
Tech

Plotting Time Series Data with Gnuplot

When dealing with external customers and non-technical people I find it beneficial to provide some sort of visual representation. Dumping a ton of data on people rarely conveys the message effectively. My go to tool for generating graphs, especially of time-series data, is gnuplot.  It’s free, flexible and runs everywhere. Read more…

By chris, ago
Tech

Deploying Ruby Applications Like an Adult

“Push button deploy” is something that is often hear people requesting or mentioning as something they would like to have. What’s more important, in my opinion, is to provide a reliable and scalable system for both internal and external developers to deploy code to the staging environment for clients to Read more…

By chris, ago