Critique: Apple Mac mini with Snow Leopard Server

Critiques are not meant to be product reviews, but to reflect on a real-world implementation on the product or service, and may provide reference to more detailed product literature and reviews.
Apple.com product image of Mac mini with Snow Leopard

Background

Though I renounced a desktop computer more than 5 years ago, I have — for one reason or another — had a server in my home since 1999. The services it provided have expanded and contracted over the years, but the need for a dedicated machine persists even today. Over the years, as vendors like Sun, Dell, Compaq/HP, and Apple have introduced entry-level servers, I have examined each one for suitability to my needs: high availability, sufficient horse power, low power consumption, and small form factor.

I have paid close attention to the Mac mini since its introduction in 2005. While the early machines might have made suitable servers (there is, in fact, a company dedicated to Mac mini hosting), they suffered from short-fallings:

  • only one Ethernet Port (true in current model, but a requirement I’ve since dropped)
  • supported a maximum of 2GB of RAM (Internet lore claimed that (2) 2GB modules could be added, at great cost, and the Mini would recognize 3.3GB)
  • room for only one 2.5″ laptop hard drive — which severely limited amount of storage available

My intent with early versions of the Mac mini was to continue runing theOpenBSD operating system. As a point of fact, I purchase an earlier version of the mini in 2008, attempted to install OpenBSD, but ran into firmware issues and returned it (to American Express; protection plan — story for another day).

With the introduction of the Mac mini with Snow Leopard Server on October 20, 2009, Apple was offering a tiny machine with:

  • a 2.53ghz Core2Duo Processor
  • 4GB RAM
  • (2) 500GB laptop drives, in lieu of a CD drive (which I only use every 18 months, when I have a problem)
  • a 45W power supply
  • Snow Leopard Server OS, normally $499

for under $1,000. I reflected on how close a match this was to my decade-old wish list for a home server, and purchased mine on November 3, 2009.

Acquisition

Readers who have purchased servers from Compaq, Dell, HP, or Sun understand where there is going. When Sun first introduced the V880, we purchased two identical machines that arrived in pieces over the next six weeks. When we finally had everything, and put it together, key features were not working as advertised. Several calls to Sun tech supported landed us the engineer who designed Daktari’s firmware, who quickly resolved our issues.

I have other stories, I’m sure you have a few.

Just a few days after Apple released the mini server, I walked into my local Apple store and asked if it was in stock (expecting it to be a special order item). Spencer — the sales emo — walked into the back room, and brought out with my new server in a box smaller than a loaf of bread. He scanned it, swiped my credit card, and emailed me my receipt.

Implementation

You don’t expect the implementation to go that smooth, did you?

I will leave a product review to the usual suspects; instead, I will  focus here on the best and worst issues I ran into getting my new mini server up and running (where the mini becomes a complete replacement for my existing PC server).

Drive Mirroring

The mini server comes with (2) 500GB hard drives, and I did not plan to store much data on it. I wanted to use the software RAID-1 built into Mac OS to mirror the two drives. The mini server ships with a single partition on the first drive, and nothing on the second drive.

It would be nice if, through Disk Utility, you could simply tell the OS that you want it to soft-mirror the first disk to the second, but you cannot. You need to erase both drives in Disk Utility, then create a RAID-1 set, add both drives to it, reinstall the OS, and configure it. I discovered this after I went through the setup wizard and installed all the updates.

The next obstaclet: the mini Server includes a DVD copy of Snow Leopard Server, but it has no DVD drive. There is an application called Remote Install Mac OS X that ships in the Utilities folder; I tried using that to serve the install DVD off my Macbook Pro, but the mini would not detect it. In the end. I created a disk image (GUID Partition Type so its bootable) on a 16GB USB thumb drive, and used Disk Utility to copy everything from the install DVD to the thumb drive.

Screen shot of Disk Utility

Finally, I created a RAID-1 set, installed the OS, update, and move forward (interesting note: Snow Leopard Server is the first Apple software I’ve encountered that requires a license key).

DNS

I have always hosted DNS entries for my domains using BIND on Linux or OpenBSD. The Server Admin application included with Snow Leopard Server includes a graphical front-end to DNS. I had several issues migrating my DNS zone files from BIND to the GUI (I scoured for documentation; Apple should consider a new KB). My biggest problem was getting the SPF records for my domains in the proper place in the GUI (the comments field under the A record for the domain).
Screen shot of DNS SPF records

Power Consumption

The PC server that the mini replaced had a 450W power supply, including (3) 7200 RPM ESATA hard drives. It used a lot of power.

In contrast: the mini, Airport Extreme, and 8 port gigabit switch draw less than 20W of power (I’ve seen the display go as low as 11W). This means my new 1300W UPS can power this infrastructure for about 4 hours while on battery.

Picture of Uninterruptible Power Supply

The Energy Saver control panel automatically detects the attached UPS, which reports to the OS whether it’s using line power or battery, and what percentage of battery is remaining. I was able to configure Snow Leopard Server to run on battery until it drops below 10%, and to turn back on automatically when line power is restored. This means the system will stay up for hours, which should limit any outage to only the longest Dominion Power failure.

Energy Saver Control Panel

Screen Sharing over ssh

My goal was to run the mini headless (despite the monitor shown in the picture). Leopard and Snow Leopard include screen sharing (based on VNC), which is part of the Apple Remote Desktop (ARD) offering. It took a bit of Googling and questioning of friends and coworkers to locate the free ARD client included with the OS (in: /System/Library/CoreServices/Screen\ Sharing.app).

I use SSH Keychain to tunnel HTTP and Instant Message traffic through my home Internet connection over ssh. I was able to add a local port configuration to tunnel any screen sharing traffic over ssh. It is surprisingly responsive away from my home network, and has proven useful now on several occasions.

Assessment

Despite the issues mentioned, I was able to migrate 100% of the services I ran on my OpenBSD PC server to the Mac mini with Snow Leopard Server. The new setup consumes far less space and power, responds faster, and supports things that my old configuration did not (like hosting Merlin2 Project Schedules). Apple does not pretend that this is an XServe, yet it packs an impressive punch — in a small footprint — at a very reasonable price.

This is the small server I have wanted for 10 years. Time to update my wish list.

Picture of Mac mini in its native environment

References

Author: John Eisenschmidt

Topic(s): Critique

Published: February 22, 2010 00:33