1. Paring Down “Watt’s Switched On” on a Client’s Network

    As part of carbon reduction for a client, Creative Concern, I’ve been working on:

    • leased-line router consolidation
    • server consolidation
    • network switch consolidation (using D-Link’s line of green ethernet switches)
    • power management on desktop computers (no screen saver but screen backlight switch-off, sleep when idle, scheduled shutdown at 6pm)
    • night-time network scan to determine devices not shut down

    The network scan is a particularly fun one: MacOS and modern printers all respond to multicast DNS, and so finding devices which are switched on is quite simple. Every night an email is sent (by one of the servers which stays on 24/7) to the staff naming and shaming the devices which were left powered up:

    #!/bin/bash
    
    avahi-browse -at \
      | cut -c 14-59 \
      | sort \
      | uniq \
      | mail -s "Named and Shamed: devices left on overnight" everyone@client
    

    I’ve removed a few grep -v statements which filter out things like the servers which are meant to be left on overnight, but those are the essentials.

    Having fitted a smart meter the client has access to power usage graphs and history, and I’m pleased to be able to report that they look to be on course for a 10% saving in 2010! Here is the screenshot from the meter just now:

    I am still to explore:

    • consolidating the font, finance and project management system servers (currently all require different versions of OS X)
    • wireless network access point consolidation (can just two APs cover the entire office area?)
    • more network switch consolidation (eliminate all desktop switches?)
    • CPU scaling on servers to use power-saving governors outside office hours

    I estimate that we might achieve an additional 10% saving if we can do all these things, but could be hampered by what’s feasible in the office with the technologies available.

    0 notes
    Comments (View)
  2. It’s a tough commute, but somebody’s got to do it!

    Notes
    Comments (View)
  3. Visiting Clients in Leeds by Rail and Bike

    Visiting Clients in Leeds by Rail and Bike

    Notes
    Comments (View)
  4. Rapid Migration

    Behold the power of BGP!

    64 bytes from 193.142.245.198: icmp_seq=5 ttl=49 time=59.927 ms
    92 bytes from mort.m.faelix.net (193.142.245.108): Destination Net Unreachable
    Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
     4  5  00 5400 4a31   0 0000  36  01 5e84 10.26.26.133  193.142.245.198 
    
    Request timeout for icmp_seq 6
    92 bytes from mort.m.faelix.net (193.142.245.108): Destination Net Unreachable
    Vr HL TOS  Len   ID Flg  off TTL Pro  cks      Src      Dst
     4  5  00 5400 3942   0 0000  36  01 6f73 10.26.26.133  193.142.245.198 
    
    Request timeout for icmp_seq 7
    64 bytes from 193.142.245.198: icmp_seq=8 ttl=49 time=56.130 ms
    

    Under three seconds of down-time.

    Notes
    Comments (View)
  5. IPv6/BGP Tunnel to Hurricane Electric on Debian with Quagga

    The IPv6 Internet is not immune to breakage and so it seems prudent right now to ensure good connectivity to the big providers. Faelix takes IPv6 transit from TINet, but the possibility of a free 6-in-4 tunnel to Hurricane Electric as a backup path is too good to pass up.

    Having put in my request to HE’s tunnelbroker.net I waited… and within 12 hours had a positive response that it was ready:

    Looks good, tunnel and BGP configured on our side. You'll peer with ::1
    of the tunnel's /64 allocation, and our ASN is 6939.
    

    Here are some pseudonymised details:

    Server IPv4 address:  216.66.84.50
    Server IPv6 address:  2001:0db8:1234:5678::1/64
    Client IPv4 address:  192.0.2.128
    Client IPv6 address:  2001:0db8:1234:5678::2/64
    

    Here is what I put in /etc/network/interfaces:

    auto as6369v6to4
    iface as6369v6to4 inet6 v4tunnel
        address 2001:0db8:1234:5678::2
        netmask 64
        endpoint 216.66.84.50
        local 192.0.2.128
        ttl 255
    

    And here is the appropriately pseudonymised example section from Quagga’s bgpd.conf:

    router bgp 65500
     neighbor 2001:0db8:1234:5678::1 remote-as 6939
     neighbor 2001:0db8:1234:5678::1 update-source 2001:0db8:1234:5678::2
     neighbor 2001:0db8:1234:5678::1 remove-private-AS
     neighbor 2001:0db8:1234:5678::1 route-map rm-AS6939tun-v6i in
     neighbor 2001:0db8:1234:5678::1 route-map rm-AS6939tun-v6o out
     address-family ipv6
      neighbor 2001:0db8:1234:5678::1 activate
      neighbor 2001:0db8:1234:5678::1 route-map rm-AS6939tun-v6i in
      neighbor 2001:0db8:1234:5678::1 route-map rm-AS6939tun-v6o out
     exit-address-family
    
    ipv6 prefix-list pl-transit-64-v6i seq 5 deny ::/0
    ipv6 prefix-list pl-transit-64-v6i seq 10 permit ::/0 le 64
    
    ipv6 prefix-list pl-AS41495-v6-to-upstream seq 5 permit 2001:0db8:666::/48 le 64
    
    route-map rm-AS6939tun-v6i permit 10
     match ipv6 address prefix-list pl-transit-64-v6i
     set as-path prepend 6939 6939 6939
    
    route-map rm-AS6939tun-v6o permit 10
     match ipv6 address prefix-list pl-AS41495-v6-to-upstream
     set as-path prepend 65500 65500 65500
    
    0 notes
    Comments (View)
  6. Splash Page

    M:
    Splash page? Don't tell me: with a Flash animation!?
    A:
    Ten minutes long and unskippable, with extremely loud sound effects
    A:
    ...maybe autoplaying grnslvs.mid might spice it up...
    Notes
    Comments (View)
  7. Shit
Nobody’s noticed that the RAID5 array is degraded because nobody’s rebooted the server and seen the messages in months…

    Shit

    Nobody’s noticed that the RAID5 array is degraded because nobody’s rebooted the server and seen the messages in months…

    Notes
    Comments (View)
  8. [Flash 9 is required to listen to audio.]

    Quiet server after hoovering

    Notes
    Comments (View)
  9. More server muck

    More server muck

    Notes
    Comments (View)
  10. Grim server muck

    Grim server muck

    Notes
    Comments (View)
  11. [Flash 9 is required to listen to audio.]

    Noisy server!

    Notes
    Comments (View)
  12. Manchester Promo

    Promo for Manchester

    Produced and Directed by Creative Concern,
    Director of Photography James Henry,
    Editor Monkey Tennis
    Music by Working for a Nuclear Free City [supplied by Woodwork music]

    My involvement: data recovery specialist!

    Notes
    Comments (View)
  13. Fucking Idiot Telcos

    Fucking Idiot Telcos

    Notes
    Comments (View)
  14. Your cable tie? Now my bracelet.
With thanks to the editor on the job.

    Your cable tie? Now my bracelet.

    With thanks to the editor on the job.

    Notes
    Comments (View)