There’s been a lot of weather here in Seattle this week. It looks like the Tukwila DC’s power blipped this morning. It gave me an excuse to update some configs on a few of the OpenVPN endpoints, re-configure some of the shorewall6 stuff, and enter a bunch of hosts and IPs into the BIG-IP’s node list. It gives me a quick way to know what needs fixing first when things start breaking and is a lot easier to configure than NAGIOS. If I really wanted to get fancy, I could even write me some hot external monitoring scripts in perl. I am growing fond of this machine.
Blog
-

UW Hypervisor looks stable
The new hardware looks like it’s reliable. The one I swapped out 10 days ago crashed every 3 days or so for reasons I couldn’t discern. I changed that one for a spare I had laying around and have been hosting my blog on the machine to exercise it. So far, no crashes, and a 10 day uptime. Note: this is not the hypervisor I am trying the xen -> kvm migration out on. This is the one I set up for the University of Washington Bothell’s PRCCDC project. Now I need to bring their admin staff up to speed on administering it.
cjac@proliant1:~$ uptime 16:41:26 up 10 days, 22:15, 1 user, load average: 0.00, 0.01, 0.05
And incidentally, I’ve had more hits on the blog today than I have since the last time I started counting back in November:
Thanks all for giving me traffic with which to test the stack :)
-
Migrating VMs from pure paravirt hypervisor to hvm-capable hypervisor
I’m also changing all of my disk layouts from being block devices per each guest partition to one block device hypervisor side per each /dev/xvd* guest side. The block devices all live on a single storage server and are being served via iSCSI. One of the guests is making use of AoE, but I’m thinking I’m going to move it to iSCSI, too, so there’s one less dæmon I need to maintain.
It’s currently xen on squeeze. I want to experiment with kvm. I will miss xen-create-image, though.
Okay. Zelda wants to watch a movie, so I’m going to stop blathering now.
Moo,
C.J.
-
Replaced hypervisor
The system which was hosting this blog had a tendency to go down every few days. I swapped it out for a spare yesterday. Let’s see if it stays up. The hypervisor hosts this web server, a mysql server and an SKS pool member, all of which are built on top of Squeeze.
-
Perl interface to processing / querying NIST’s NVD feed
For a work project, I wrote a library in perl that can be used to query the NVD feed that NIST publishes here:
http://nvd.nist.gov/download.cfm
Here’s a snippit from the perldoc:
use NIST::NVD::Query; # use convert_nvdcve to generate these files from the XML dumps at # http://nvd.nist.gov/download.cfm my( $path_to_db, $path_to_idx_cpe ) = @ARGV; my $q = NIST::NVD::Query->new( database => $path_to_db, idx_cpe => $path_to_idx_cpe, ); # Given a Common Platform Enumeration urn, returns a list of known # CVE IDs my $cve_id_list = $q->cve_for_cpe( cpe => 'cpe:/a:zaal:tgt:1.0.6' ); my @entry; foreach my $cve_id ( @$cve_id_list ){ # Given a CVE ID, returns a CVE entry my $entry = $q->cve( cve_id => $cve_id ); push( @entry, $entry ); print $entry->{'vuln:summary'}; } -
xend xml parsing failure – solution
I got this error when starting xend after a filesystem crash:
[2011-12-09 11:05:04 5590] ERROR (SrvDaemon:349) Exception starting xend (not well-formed (invalid token): line 3, column 0)
It sounded like an XML parsing error, but the stack trace in the log didn’t say which file it had loaded. It turns out that it was trying to load something from /var/lib/xend/state/. Purging the /var/lib/xend/state directory fixed the problem, and hopefully had no side-effects.
Thanks to this blog for the solution. I should probably file a bug, shouldn’t I?
[edit]



