NavigationRecent UpdatesUpcoming events |
UnixGrub-booting memtest86 on x86 hardwareIt is trivial to set things up so you are able to select memtest86 as a boot option in GRUB: Download the latest memtest source from http://www.memtest86.com. Extract and follow the instructions in the README that comes with it to compile. Copy the resulting memtest.bin to /boot and edit /etc/grub.conf to have the following 3 lines:
title Memtest86
root (hd0,0)
kernel /boot/memtest.bin
Make sure you reboot to test. In theory this should work with any x86 OS + bootloader. I am doing this with RHEL 4 + GRUB. nomad's blog | 1 comment | 17730 reads
Mixing Multiple Volume Managers (especially ZFS and VxVM)I've recently had a number of projects at work that want to mix multiple volume managers on a single server, specifically ZFS and VxVM for SAN volumes (actually, three including SVM for internal boot disk mirroring). The projects generally are for database servers, and want to use VxVM for database volumes because ZFS currently has some serious limitation on database size (limited number of devices recommended in a single zpool) and performance (single threaded checksumming, for one). However, at the same time, they want to have access to some of ZFS's features (in particular, the ability to oversubscribe filesystems, dynamic resize, snapshots and rollback) for some of the other filesystems. spp's blog | add new comment | 963 reads
Heartbeat / Linux-HASubmitted by dlang on Tue, 2007-10-16 22:51.Availability | Unix
Failover and availability clustering for *nix systems Mature Linux-HA aka Heartbeat is a modular package to control high-availability clustering. In spite of it's name it is not limited to Linux (although that is the primary platform), It has an automake based compile and has been used on *BSD, Solaris, and to some extent on AIX as well. It can hearbeat in multiple ways (UDP broadcast, multicast, and unicast as well as over serial ports, although the serial port heartbeat has been accidently broken in some versions), and over multiple channels (up to 32 as of the time of writing) It can support sub-second failover It delays heartbeat checking on initial boot to allow switches time to get through their spanning tree detection timeouts. add new comment | 66130 reads
Notes on *nix atimeSubmitted by ski on Thu, 2007-08-09 12:53.Linux | Performance Tuning | Unix
Read an interesting discussion on the lkml list where Linus and friends talked about atime's performance impacts (http://kerneltrap.org/node/14148). Ingo phrased the problem best with: ' For every file that is read from the disk, lets do a ... write to Solutions are to mount your file systems with the noatime, nodiratime options. The only time this may cause a problem is if you have a local mail spool (the mailer will not know that new email arrived) or possibly with some backup software. ski's blog | add new comment | 813 reads
ifinputSubmitted by jm on Fri, 2007-07-06 16:12.System management | Unix
A wrapper command to run another command if there is any output on stdout Stable Often Unix system administrators need an easy way to redirect any stderr output generated from crontab entries to a specific email address. With the ifinput binary, it's simple. For example: 20 8 * * * /usr/local/sbin/daily_stuff.sh 2>&1 | /usr/local/bin/ifinput mailx -s "Error: daily_stuff.sh" system-errors@foo.org Just arrange the crontab entries so that the periodic jobs don't generate stdout unless there's something interesting there. Then redirect stderr to stdout and pipe both to ifinput. ifinput can be used in a variety of different scenarios, not just cron jobs. add new comment | 819 reads
Bcfg2Submitted by nld on Sat, 2007-02-10 13:02.Configuration Mgmt | Unix
Bcfg2 is a centralized configuration tool that provides reconciliation of the current actual configuration with a specification. Stable Bcfg2 is a generative configuration management system that can be used for management of aspects of client systems, complete control of client systems, and the range in between. Bcfg2 is designed to work well in pre-existing environments, and in the presence of manual administration. add new comment | 893 reads
DjangoSubmitted by eadmund on Mon, 2007-01-22 14:08.Applications | Database | Linux | Software Development | Unix | Windows | WWW
Excellent Python web development framework Stable I like to use this to throw together nice web frontends for the PHBs to look at stats & stuff. It's pretty simple to use, interfaces easily to a database--very useful for the sorts of sysadmin-plus stuff I tend to do. add new comment | 1090 reads
NMAPSubmitted by dklein on Sun, 2007-01-14 10:50.Communications | Linux | Network | Networking | Operating System | Operating System | Protocols | Security | TCP | UDP | Unix | User Security | Visualization | Windows
Fast enumeration of network services Active Nmap is a powerful tool for discovering hosts on a network and enumerating what service they are offering. This can be used to find vulnerable systems, to locate rogue services on your network or simply for a first step in troubleshooting. add new comment | 1553 reads
The latest admin trick I learned...Submitted by bwilson on Wed, 2006-12-20 09:02.Unix
Although LOPSA is platform-agnostic, my current job has me solidly as a Solaris and EMC storage admin. I have experience on just about every other platform of at least a limited extent (DEC UNIX, SCO, HPUX, Windows 4.0, 2000, 2003, Linux mainly RedHat, FreeBSD, OSX, etc...). However all the new tricks I learn, most are going to be on the Solaris platform. The latest two things I had to learn are how to handle shared memory allocations under Solaris 10, and the 'supported' way to make Veritas filesystems mounted in a zone. Shared memory was interesting, I mainly googled and asked around until I got a couple of command lines. Then when that didn't work quite as expected in a zone, I borrowed a copy of the new Solaris Internals books to see if I was doing something wrong. Turns out I wasn't really, I just seemed to be running the box out of memory completely. bwilson's blog | add new comment | 10533 reads
daemontoolsSubmitted by doug on Sat, 2006-10-21 21:04.Log Data | Operating System | Unix
daemontools is a collection of tools for managing UNIX services Mature daemontools is a collection of tools for managing UNIX services. supervise monitors a service. It starts the service and restarts the service if it dies. Setting up a new service is easy: all supervise needs is a directory with a run script that runs the service. multilog saves error messages to one or more logs. It optionally timestamps each line and, for each log, includes or excludes lines matching specified patterns. It automatically rotates logs to limit the amount of disk space used. If the disk fills up, it pauses and tries again, without losing any data. A less encumbered version is available at http://smarden.org/runit/ add new comment | 1044 reads
|