Brightbox
  • Home
  • Pricing & Signup
  • Why Brightbox?
  • FAQs
  • Services
  • Blog
  • Wiki
  • Forums
  • Support
  • About
  • Contact
Blog RSS feed
twitter_banner

Flickr


more images...

Recent Posts

  • "Carbon Neutral" Rails Hosting
  • Brightbox SAN storage quotas doubled!
  • Sphinx Ubuntu Package
  • New feature: MySQL slow query log
  • The Big Brightbox Bandwidth Bonanza (up to 220% more!)

Archives

  • December 2008 (8)
  • November 2008 (7)
  • October 2008 (8)
  • September 2008 (3)
  • August 2008 (5)
  • July 2008 (1)
  • June 2008 (4)
  • May 2008 (4)
  • April 2008 (3)
  • March 2008 (3)
  • February 2008 (3)
  • January 2008 (4)
  • December 2007 (4)
  • November 2007 (3)
  • October 2007 (1)
  • August 2007 (7)
  • July 2007 (1)
  • June 2007 (3)

Popular tags

    • announcements
    • apache
    • beta
    • dapper
    • hardy
    • launch
    • maintenance
    • network
    • passenger
    • rails
    • rails hosting
    • ruby
    • security
    • ubuntu
    • xen

Tag Cloud

announcements apache backport bandwidth beta brightbox brightbox gem brightbox team business cluster conference dapper datacentre events geekup gem hardy launch leeds london maintenance meetup modrails mod_rails mysql network notices packages passenger performance pricing rails rails hosting ruby ruby on rails san security storage team tech ubuntu uk updates upgrade xen

Posts tagged ‘linux’

Now with Ubuntu 8.04 LTS Hardy powers 2 Oct 08

We’ve now switched to Ubuntu Hardy (8.04 LTS) as our default Brightbox image.

We’ve been using Hardy for months now to power our managed products and clusters and it’s proved very stable.  Some of the highlights:

  • Ruby 1.8.6 as standard
  • Apache 2.2.8 as standard
  • Imagemagick 6.3 as standard (roll on the new rmagick gems!)
  • Git 1.5.4 as standard
  • Better virtualisation support - we can now live upgrade ram on Brightboxes without a reboot

It still comes pre-configured for Rails deployment and we’re still providing improved and extra packages where necessary (such as nginx 6.31).

We’re also still supporting our Ubuntu Dapper machines and can still pre-install Dapper for customers who are already using it on their other boxes.

Upgrading

Due to the way Brightboxes are built, you can’t easily upgrade your Dapper box to Hardy.  Currently, the only supported way to upgrade is to file a support ticket with us and we’ll rebuild your Brightbox as Hardy.  This will require downtime and redeployment of your app (a good time to move to the new Brightbox deployment gem if you haven’t already)

Posted 2 October 2008 by John Leach • Add a comment

announcements+ apache+ git+ hardy+ imagemagick+ linux+ rails+ ruby+ ubuntu+ upgrade

HowTo do Ethernet Bonding on Ubuntu - Properly 8 Sep 08

It’s amazing how quickly guides on the Internet go out of date. I suppose this one will be no exception. However as I’ve been looking around there doesn’t appear to be a good guide as to how to get bonded ethernet to work in Ubuntu using the network helper scripts. So I thought I’d scribble down what I know.

This guide is designed for the Intrepid Ibex version of Ubuntu (8.10) with a small addendum covering Hardy Heron (8.04.1).

The Debian/Ubuntu networking system is a bit opaque. It works via a default script in /etc/network/interfaces and is described in interfaces(5). (run man interfaces to read it).

This gives you all the standard entries, but it also points out that other packages can install scripts that extend the options the interfaces file understands. And that is how you configure Ethernet bonding.

Configure your switch

Almost certainly you will have to activate LACP on the relevant ports on your switch to get automatic bonding to work. How you do this depends on your switch. (On my test HP 1800-8G switch I just use the web interface and check a couple of boxes).

For Intrepid and Hardy

  1. Install the bonding enslave programs and network scripts:
    apt-get install ifenslave
  2. Shutdown any active network interfaces you intend to use with bonding
    sudo -s
    ifdown eth0
    ifdown eth1
    etc, etc...
  3. Comment out the ethernet configurations from /etc/network/interfaces
    #auto eth0
    #iface eth0 inet dhcp
  4. Add in the bonding configuration into /etc/network/interfaces
    auto bond0
    iface bond0 inet dhcp
      slaves all
      bond-mode 4
      bond-miimon 100
  5. Bring up the interface with:
    sudo ifup bond0

This brings up a bonded interface using the 802.3ad Link Aggregation Control Protocol (LACP) which is by far the easiest way of configuring a resilient trunk if your switch supports it (and even quite small switches do these days).

There are other modes and options available in the bonding driver all of which can now be specified in the interfaces file. Full gory details in the bonding.txt.gz file in the current linux-doc package.

Similarly you can specify which network interfaces you want to use as the slaves to the bonding driver e.g. slaves eth0 eth1. Look at the documentation in /usr/share/doc/ifenslave-2.6/README.Debian for more details.

Extra Work for Hardy

Hardy’s ifenslave scripts are a little more primitive than Intrepid. It doesn’t auto-load the bonding module the first time you try to use it and it doesn’t set the options automatically. You have to do that the old fashioned way.

  1. Create a file called bonding in /etc/modprobe.d with the following config in it.
    alias bond0 bonding
    options bond0 mode=4 miimon=100
  2. Load the module into the kernel
    sudo modprobe bond0
  3. Clear out any failed bond interface by running ifdown
    sudo ifdown bond0
  4. Bring the bond interface up.
    sudo ifup bond0
  5. Once you done this once, the system will ensure that the module is loaded automatically on subsequent reboots and the network brought up.

Posted 8 September 2008 by Neil Wilson • 6 comments

howtos+ linux+ networking+ tech+ ubuntu


Recent blog posts

  • “Carbon Neutral” Rails Hosting
    13 days ago
  • Brightbox SAN storage quotas doubled!
    20 days ago
  • Sphinx Ubuntu Package
    22 days ago
  • New feature: MySQL slow query log
    26 days ago
  • The Big Brightbox Bandwidth Bonanza (up to 220% more!)
    28 days ago
  • The Passenger™ Masterplan
    29 days ago

Join our email list

Flickr (more...)

RSS feeds

Blog feed

Flickr feed

Recent Wiki updates

System Status feed




Brightbox Partners and Vendors

Wiki | Forums | Terms & Conditions | Privacy | Site map

Copyright © 2008 Brightbox Systems Ltd. All rights reserved