Archives for April 2006
Server Upgrade: Up and Running
April 18, 2006 by Eric Richardson
The new server is now handling web, time, DNS and email (including an IMAP setup I've never had before). I've got the third drive installed, so I just need to finish copying everything off and then format it and add it into the volume.
It's way past my bedtime.
Server Upgrade: newbit up
April 18, 2006 by Eric Richardson
So first I fought the hardware, spending way too much time in the BIOS before discovering that one of my sticks of RAM is bad (or at least the BIOS won't post with it, but will with the other two).
Then I fought the debian installer as I tried to create RAID and lvm.
Finally, though, everything's working there:
eric@newbit:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/group1-main
114G 598M 113G 1% /
tmpfs 253M 0 253M 0% /dev/shm
/dev/md0 1.8G 39M 1.7G 3% /boot
tmpfs 253M 116K 253M 1% /dev
The 114G partition looks weird, but it'll make a lot more sense once I'm able to put the third drive in. I want to do RAID-1 on three 250gig drives to get 375gig usable space, and that requires a pretty fancy game to get up when you first need to copy data off one of the drives before you can use it.
Now to actually install software.
Server Upgrade: Step One Complete
April 18, 2006 by Eric Richardson
This blog and blogdowntown are now running off my laptop. I'm copying a bit of leftover content off my desktop, then I'll be yanking the 250gig drive out of it.
Counting Drives
April 18, 2006 by Eric Richardson
In my drive calculations in the last post I forgot about my third 250gig drive in saying where different bits would end up. That got me to thinking: how much drive space is sitting around my apartment? — Continue Reading...
Server Musical Chairs
April 18, 2006 by Eric Richardson
I'm planning on moving servers this evening, so if something seems funky you can likely blame that. This is a bit of an intricate move even though nothing's leaving my apartment, but in the end it'll greatly simplify the way I host this stuff. In the end, though, it's not as ugly as the configuration I once used to serve this site (October 2004).
Basically right now I've got an ancient PIII 500 up in the ceiling as a server. It's slow on the dynamic stuff, so all blog URLs are proxied through to my faster desktop (err... is it a desktop is it's actually supporting the desk?). The server in the ceiling also does NAT for the apartment network and acts as internal media server.
Now I've got some new guts to replace the server in the ceiling. Doing so with minimal downtime looks to involve a musical chairs of four distinct machines. — Continue Reading...
Rush Job == No Editors || Broken Publishing System?
April 17, 2006 by Eric Richardson
Here's why the LA Times doesn't post stories online during the day: when they do, it ends up like this (of course it may be changed when you see it):
But then, deputies at the scene learned the car was a rare Enzo Ferrari, one of only 400 in the world. The only person on the side the road was a former European video game mogul who said he was a passenger in the car and that the driver, a man who only knew as "Dietrich" had fled into the hills.
So began a mystery that detective in California and Scotland Yard have been trying unravel for three months, a twisted case that involves Swedish mafia, fake "homeland security" officers and an $3.5 million exotic car collection.
...
Authorities said was legally drunk at the time.
...
He was also charged with a firearms violation because of gun detectives found during his search of his Bel-Air estate. Eriksson, according to court papers, is convicted felon for counterfeit and drug crimes in Sweden and as result is barred from possessing guns.
In all, the problems make up such a high percentage of the piece that I've made them into a PDF so that you can see for yourself.
Bel Air Goes to the Bowl
April 17, 2006 by Eric Richardson
My church, Bel Air Presbyterian, held its Easter morning service at the Hollywood Bowl yesterday. Normally you'd think "outdoor... LA... no problem", but this Spring things have been a bit more dicey. Nevertheless the weather cooperated yesterday and the service was great.
I was a little worried how the parking situation was going to come out. Normally I'd never drive to the Bowl -- subway to Hollywood/Vine and a shuttle up the hill works much better -- but the full compliment of Bowl transit wasn't running yesterday. We sat for ten or fifteen minutes waiting to get to the parking, but somehow managed to make it out afterward quicker than we often would have at the church itself.
What Goes Around, Comes Around
April 12, 2006 by Eric Richardson
Someone just used an IM bot to message me. It looks to have been seeded with one bit of seemingly sentient information (the initial message mentioned that I was getting married), and then the bot took over from there. The person who sends the bot gets to sit back, watch the traffic, and hopefully laugh as they trick someone into thinking they're speaking to a real person.
I don't know who sent it, so I'm not sure whether or not that person realized I wrote a bot to do the exact same thing. And I did it back in December of 1999. HoserAIMa spoke via Net::AIM and backended to Eliza. I had a console where I could inject messages into the conversations I was watching to pull people back right when they were starting to get frustrated enough to give up on the bot (or had started to see through its ruse).
Nice to know that in six years nothing has changed. — Continue Reading...
The Joys of Fat Traffic
April 12, 2006 by Eric Richardson
Now that we're running our email on a server where we pay for bandwidth, I've realized I need to become a lot more conscious of how people use email. There's no excuse for busting up our 95th percentile just because someone's downloading or sending attachments.
This morning I saw a couple periods of pretty constant traffic into and out of the server, and judging by how the server bandwidth graphs correspond to the interface stats on the router, it seems that it's pretty much all traffic from the office. It's not a lot of users; just "fat" traffic from a few of them (attachments, perhaps).
Complicating matters is that the tools I would normally use to check out network conditions are all on Linux, and here at work it's all Macs. — Continue Reading...
Never a Clean Transition
April 10, 2006 by Eric Richardson
We're moving email service here at the office, from ISP hosted mail to our colocated server. Friday I set up the new accounts and around 5:30 or so I switched MX to point to the new address.
That meant that I knew all weekend there were going to be issues when I walked in the door today.
It's a fact of life: you move services between disparate hosts and something's not going to work right.
In my case I found two issues:
I'm using qpsmtpd as my SMTP server, and all my test messages had been small. Because of that, I didn't know my spool dir was set up incorrectly and was unwritable by the mail daemon.
courier-imap defaults to setting MAXPERIP to 4 connections per IP address. When everyone fired up email this morning errors started popping up and nothing showed in the logs. Once I figured out what was up (though really I didn't... pcg quessed it) it was an easy change.
So after a bit of a hairy morning I think everything's running smooth now.
Fun with OS X and the Firewall
April 04, 2006 by Eric Richardson
As I mentioned that I would a few days ago, I moved our office network from a little Netgear DSL router to letting the Xserve do NAT and firewall.
That went ok, but I was really frustrated by the process of using Apple's firewall configuration through the Server Admin. Fundamentally my issue was that Apple's utility wants to deal in rules defined by IP spaces, and that's just not proper. When dealing with a router type host, it seems clear to me that you need to define your rules based on interfaces. While it's possible to do this in the Advanced settings, that's not at all easy to figure out (in fact I think it would be easier for anyone using that to simply write their own rules). — Continue Reading...