Thursday, August 23, 2007

VMWare Tape Backup

On a Windows Host with a Linux guest OS (Centos 5/RHEL 5; same difference) I can't get the guest to see the tape changer. According to Dell docs, using "scsi-add-single-device" should do the trick. That's a typo, they meant "scsi add-single-device". But it still doesn't work. Searching around turns up this problem with many tape devices that use one SCSI ID and two LUN's on vmware guests. Some people claim to be able to solve this by manually editing their .vmx file, but I'm guessing they're on linux hosts.

Solved by moving to using a physical server.

Thursday, August 09, 2007

AWStats LogFormat

I just spent 6 hours trying to figure out why AWStats wasn't parsing our OHS (Oracle's version of Apache) logs anymore.
Try to spot the difference:
Jul 31 04:49:53 cluster1-3 apache[1234]: 123.123.123.132 - - [31/Jul/2007:04:53:17 -0400] "GET / HTTP/1.1" 200 269 "-" "Mozilla/4.0 (compatible; Windows NT 5.1) OracleEMAgentURLTiming/3.0"
Aug  1 04:49:53 cluster1-3 apache[1234]: 123.123.123.132 - - [01/Aug/2007:04:53:17 -0400] "GET / HTTP/1.1" 200 269 "-" "Mozilla/4.0 (compatible; Windows NT 5.1) OracleEMAgentURLTiming/3.0"

Answer: The second one has two spaces between the month and the date in the part that syslog writes. I had to change the LogSeparator variable from " " to " +" to match one or more spaces (actually I used "\s+" to be ultra safe since \s matches tabs too). You'll only have this problem if your apache output is going through syslog, which ours is since we're piping several server logs onto one computer.

Wednesday, August 01, 2007

VVT Summary

I love Road and Track. Their technical section is awesome and beats joining the SAE for price. This variable valve timing (VVT) article has great pictures of some really cool technology.

Speaking of cool tech, I'm still looking forward to trying Reaper for my audio recording, I just have been busy. Also, I still have to install three prong outlets and that involves at least a full day of work.