Great resource for managing djbdns servers

I am in the process of setting up a couple of caching DNS servers, and decided to test out djbdns (we used it at my last job with great success). While perusing the web, I came across the life with djbdns site. This site provides a thorough explanation of djbdns, and also covers configuration in detail. If you are interested in learning how djbdns works, this site is for you!

Adding storage, network and 3rd party kernel modules to a Linux initrd image

While playing around with initrd images a few weeks back, I came across the mkinitrd “–with” option. This option allows you to add additional modules to an initrd image, which is useful when you have a new storage or Ethernet driver that isn’t supported by the base operating system. To use this option, you can place the names of the modules to add to the initrd image in quotes, and pass them to the “–with” option:

$ mkinitrd -v –with=”aoe virtio” /tmp/initrd/initrd-2.6.29.6-213.fc11.x86_64.img 2.6.29.6-213.fc11.x86_64

To verify the image contains the modules you specified, you can extract the initrd image and poke around the lib/modules directory:

$ gunzip < initrd-2.6.29.6-213.fc11.x86_64.img | cpio -i

$ cd lib/modules/

$ find . -name \*aoe\*
./2.6.29.6-213.fc11.x86_64/aoe.ko

$ find . -name \*virtio\*
./2.6.29.6-213.fc11.x86_64/virtio.ko

If you want the modules included in all future mkinitrd runs, you can add the modules to the modules variable in the/etc/sysconfig/initrd file. Nice!

Decoding PCI data and lspci output on Linux hosts

I’ve been spending some time reading the source code to the Linux QLogic HBA source code, and got a bit curious about how PCI device data was represented by the kernel. I took a number of notes while reading through the Linux kernel documentation, and summarized them in an article titled Decoding PCI data and lspci output on Linux hosts. If you are interested in learning more about how to decode PCI device-nodes, check out the article.

Gaining access to Dell drivers and openmanage software though yum

Dell has supported Linux on their PowerEdge server line for several years. I just came across the Dell Linux wiki, and more importantly the Dell OMSA Repository. This repository is a one stop shop for Dell-specific drivers and the OpenManage monitoring and reporting software. I’m hoping to fire up my Dell 2850 later this week so I can play around with OpenManage and the network repository. Nice!