Sean’s Obsessions

  • Archives

Archive for the 'Linux/Unix/OpenSource' Category

24 Jun

Migrating from NFS3 to NFS4

How to make the transition as seamless as possible? I found out the hard way, it’s not as easy as remounting with -t nfs4!
server is already exporting /home through /etc/exports
/home 10.4.91.0/24(rw,no_root_squash,async)
Create the NFS4 pseudofilesystem:
mkdir /NFS4
chmod 777 /NFS4
Create a place for /home to go
mkdir /NFS4/home
mount –bind /home /NFS4/home
make it permanent in /etc/fstab
/NFS4/home […]

30 May

Using cfengine to manage RedHat services

I’ve really been getting into cfengine lately to manage configurations across multiple servers.
One thing I want to do is to make sure that the proper services are started. Making sure they’re running is easy with the processes command:

processes:
“cfenvd” restart “/sbin/service cfenvd restart”

I also want to make […]

26 May

Managing servers with cfengine

As part of my work with b5 I’m wrangling with 10 servers now. When I started out it was 3, so keeping configurations in sync was pretty easy, a bit of shell scripting, a bit of rsync. But now we’ve got server roles, we’ve got config files that are slightly different per server, […]

11 May

Building packages out of PECL modules

I’ve had a need to distribute the memcached and APC modules to various web servers in a farm. pecl/pear modules have a pretty cool interface similiar to yum, but it’s all based on source. It does, however, have facilities to help you build an RPM. Because I try to use RPM for everything […]

01 May

Greasemonkey Script for canoe.ca

fixcanoe.user.js
Removes the search box at the top of some pages that steals focus.
Stops the tabs from rotating on the front page.
Don’t have Greasemonkey? Get it

18 Apr

Analyze BGP peering with TAIND

I’ve uploaded some of my code to sourceforge to a new project called taind - tools for analyzing and interpreting netflow data. I wrote this to analyze BGP peering options, it uses netflow data and multiple BGP tables (from “show ip bgp”) to evaluate what your current traffic distribution is, and what it would […]

14 Apr

A few notes on squid as a reverse proxy

b5media uses a handful of web servers fronted by a load balancer. We’re getting quite busy in terms of traffic, so I finally got around to putting reverse proxy in front of the farm. A reverse proxy accepts the request from the user and checks its cache for the result. If no answer is found, […]

02 Apr

My Linux Journal articles are online

I had meant to put these up as .PDFs, but it appears ACM archives LJ articles once they go public (~30 days after the magazine comes out). Enjoy.
How to configure SIP and NAT
Expose VoIP Problems Using Wireshark

31 Mar

I’m going to the MySQL conference… or not

The folks over at Proven Scaling offered to send three people to the MySQL conference in Santa Clara at the end of the month. I put my name in and won!
Unfortunately my wife’s at a conference herself those days, so I can’t go. Major bummer!
I think it’s wonderful that a company is offering […]

12 Mar

flow-tools, flowscan and Fedora

I’m doing some work with NetFlow accounting. FlowScan parses the data captured by flow-tools. However, FlowScan needs Cflow.pm which has to be specially compiled to work with flow-tools, because it’s made for Caida’s now defunct cflowd.
If you don’t compile Cflow.pm using the flow-tools library, you get something like “Invalid index in cflowd flow […]

© 2008 Sean’s Obsessions | Entries (RSS) and Comments (RSS)

Powered by Wordpress, design by Web4Sudoku, based on Pinkline byGPS Gazette