Moving ZPOOL to New Controllers Like a Ninja

Moving ZPOOL to New Controllers Like a Ninja

In an effort to squeeze a bit more performance out of my Gluster / ZFS setup I purchased four PCI-Express low-profile SATA 6G cards for my two servers. Each card will control two of the four drives in the zpool, leaving the SSD boot and SSD cache drives on the motherboard ports. The server I use has all the drives connected to the motherboard.

Read more
Posted by Tony on Jun 04, 2013 | Servers
ZFS Is 42.

ZFS Is 42.

For those who don't get the reference (and I bet of my readers that's very few) 42 is the answer to the secret of life, the universe and everything. For the past few weeks I've been playing with the ZFS file system on Linux. And I keep upping the ante, so to speak.

Read more
Posted by Tony on May 16, 2013 | Servers, ZFS
LDAP Authentication and NSCD

LDAP Authentication and NSCD

I don't know how I didn't run into this before, but I finally stumbled on a program that just made my life a ton better. We run OpenLDAP for network authentication, among other things. Periodically, the Name Service Caching Daemon (NSCD) will introduce a bug that causes accounts stored in LDAP to not work properly. In the most recent iteration of Ubuntu Precise 12.04.2, the bug is that "getent passwd" will list all your users, but trying to su to them will tell you they don't exist.

Read more
Posted by Tony on May 13, 2013 | Servers, OpenLDAP
Getting Logitech Media Server Working In Ubuntu 12.04 Precise Pangolin

Getting Logitech Media Server Working In Ubuntu 12.04 Precise Pangolin

The Logitech Media Server (Formerly Squeezebox Server, SqueezeCenter) is a bit of a pain to get working in the latest Ubuntu. Logitech's support for the entire line seems to be waning, and they have even stopped making some of the better units (like the SqueezeBox 2) and are possibly just selling out the rest of the line.

Read more
Posted by Tony on Jul 16, 2012 | Servers
Clearing the Postfix Queue

Clearing the Postfix Queue

Occasionally I do something stupid. I know, I'm a freakin' genius, but sometimes I goof. Today was one of those days. I was importing a test batch of data containing about 30,000 pages into a new system. I realized after triggering the import that I had a bug in my code so I killed the process and then deleted the temp data.

Read more
Posted by Tony on Apr 20, 2012 | Servers
Using Puppet to Fix a File if it Exists

Using Puppet to Fix a File if it Exists

This past week I stumbled on a little bug in Ubuntu Oneiric that would bring a PHP web server to it's knees. There's a simple temporary fix, that requires editing a single file on an affected server. I decided to deploy the fix with Puppet,

Read more
Posted by Tony on Apr 05, 2012 | Servers, Puppet
Ubuntu LDAP Admins and GUI Root Passwords

Ubuntu LDAP Admins and GUI Root Passwords

Here's a problem that has driven me crazy over the past year or so. First, the Way it's Supposed to Work. In Ubuntu, you don't typically have a "root" user password. If a user needs to do something that requires administrator rights, they are placed in the "admin" group and when they try to say - edit the global network settings - it asks them for their password and uses "sudo" to do whatever they want.

Read more
Posted by Tony on Mar 31, 2012 | Servers, Desktop Linux
PHP exec() Unable to Fork

PHP exec() Unable to Fork

I have a private, non-Internet connected server that runs an application. I point out that it's not Internet facing because it's not running in safe mode due to some of the things the app needs to do. One of the things some calls will do is cause it to fire off a command line app using exec().

Read more
Posted by Tony on Mar 27, 2012 | Servers
Gluster Cluster File System

Gluster Cluster File System

I just love saying that... "Gluster Cluster". GlusterFS is a networked file system that can automatically provide redundancy and failover across multiple servers. Essentially it's RAID or mirroring for server storage. You don't want to use it for small files - like a web server - but for network storage in an enterprise environment.

Read more
Posted by Tony on Feb 03, 2012 | Servers