I’m currently setting up Puppet at Vquence so that, among other things, we can deploy hosts into Amazon EC2 more easily. To ensure a minimum setup time on a new server I wanted the setup to be as simple as echo ‘DAEMON_OPTS=”-w 120 –fqdn newserver.vquence.com –server puppetmaster.vquence.com” > /etc/default/puppet aptitude install puppet This means that [...]
February 26, 2008 – 11:05 am
When you create an instance in EC2 you can send Amazon some user data that is accessible by your instance. At Vquence we use this to send a script that gets executes at boot up. This script contains some openvpn and puppet RSA keys so its approaching about 10k in size. This works without any [...]
January 15, 2008 – 11:04 pm
At Vquence our Rails setup looks something like this. ———— ——— ———— | Internet |—->| Squid |—->| Mongrels | ———— ——— ———— (Who needs Inkscape when you have ASCII art) This infrastructure is hosted in the US and up until recently squid hadn’t been doing much of anything except really sitting there. Now a few [...]
January 5, 2008 – 3:39 pm
Took the plunge today to update my asterisk server. I’ve been using asterisk for about 5 years now and am pretty adept and manipulating its cryptic configuration files but I wanted to move to more of an appliance. I decided to give Elastix a try. These days I virtualise all my boxes on a VMware [...]
Bridge and VLAN support has improved dramatically under Ubuntu and probably Debian as well since I last looked into it. once upon a time to create a bridge linked to a VLAN interface you would have to do horrible things like. auto eth0 ifconfig eth0 inet manual pre-up /sbin/vconfig set_name_type VLAN_PLUS_VID_NO_PAD || true auto vlan7 [...]
Summary (E = mc²) When using mongrel for rails and you want to deploy an app under /other_url then use ActionController::AbstractRequest.relative_url_root = “/other_url” in config/environments/production.rb instead of ENV['RAILS_RELATIVE_URL_ROOT'] = “/other_url” Proof (From first principals) At Vquence we have a pretty standard rails setup Apache with mod_proxy pen mongrel Silvia recently wrote an application to allow [...]
September 6, 2006 – 1:15 pm
So I was tearing my hair out today. I’d installed Ubuntu onto a new Sun X4200 so that I could migrate Bulletproof’s monitoring system to it. (Note you need to use edgy knot-1 for the SAS drives to be supported). Anyway as I was installing packages I was getting speeds like 10kB/s. Normally I would [...]