Anyone done a Mac based server
#1
I currently have a Win7 based server with Antec 1200 case (40TB). I am quite happy, but npt 100% (issues around air flow in the case, speed, and also form factor).

I am considering to change to a OSX based server. potentially buying two Mac Pros on ebay. The older models aren't too expensive. It may be a step down compared to what I currently have, but a much nicer form factor and probably better thought through airflow / set-up from my custom built. Also, I assume OSX server to be an improvement from my Win7.

Please do not reply suggesting Linux / Solaris based systems and don't question the need for form factor for a server.

What I would like to hear is experience with running a OSX based server and particularly with Mac Pro based servers. Does Apache and reverse proxies work flawless? What about sabnzbd given a Mac autosleeps? How many harddisks do you have in the Mac Pro? Any experience in adding more disks than 4 or even 6?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
#2
Macs autosleep? They have energy savings settings like Windows and those can be changed to and idle time or be turned off.

I have an old Power Mac G5 tower, which is the same form factor as a Mac Pro, and my parents use it to check e-mail and it serves as a file server for the whole house, as well as a print server, and it used to be a 24/7 torrent box as well. While the hardware inside the G5 is very old, after it is retired I plan to use the case and fans and just put new guts inside.


The hardware:

The form factor is awesome. It's hard to beat those looks and the airflow. That being said, it has this design because the hardware is intended to work really hard and needs that much cooling. File serving, sabnzdb, Apache, even a MySQL server, all are very low demands on a computer. It will work great, but it will draw a lot of power even if it's not doing a lot (any desktop workstation will).

If that's not an issue, and you have a good price on some older units, there's no particular reason not to use them. They're huge, but neat cases.

There are 4 internal HDD bays inside the Mac Pro, but I've seen people sneak in an extra two inside the very large PCI bay, since most people don't use all 4 slots (they're all full length, too, so lots of room in there for a 3.5 inch drive). I think there is a total of 6 SATA connectors inside, 4 for the hard drive bays, and two for the optical bays (you can easily use the optical bays for drives as well, just as one would for a PC). You can always add another SATA card (make sure it's got Mac drivers) and even use SATA drives in an external enclosure if you run out of room, again, just as you would for a PC.


OS X and OS X Server:

You really don't need OS X Server to run a Mac as a server. The great thing is that Apple made the server portion of OS X dirt cheap (something like $30 extra on the $20 for the OS, IIRC) so if you do want to use some of those extra features (legally) you can without having to worry about losing a lot of money.

That being said, as someone who has bought and used Mac OS X 10.7 Server, I've never needed the extra stuff for my home server and/or media functions. At all. Some of the tools looked really neat, but they're intended to be used when you have a Mac acting as a server for several (think 50, 100, or more) Mac clients. A lot of things are geared towards running different kinds of server applications, like Calender servers and e-mail servers.

Mac OS X client includes almost all of the parts found in the Server edition anyways, like a full Apache web server, everything you'd need to run a file server with multiple protocols, remote log-in abilities, printer sharing, etc.

Server does come with additional GUI utilities to make some stuff easier. In theory it should make setting up NFS or webDAV easier, but personally I didn't find them very helpful in my small-scale network (5-6 clients on the network total, only 2 or 3 accessing the server regularly).

Like I said, though, it's pretty cheap, so it's hard to feel cheated. It certainly won't hurt anything to buy the server edition.


In general, Mac OS X (with or without server) is fairly comparable with Windows 7 as far as abilities go. Setting up proxies and Apache is fairly straight forward, depending on how complex you want to set things up. I've never needed to set up something like a VPN myself, but people tell me it's not hard to do on Mac OS X. It's very easy to set up whatever download manager you want to use, and Mac OS X has a fair set of XBMC-related applications (see Supplemental tools/Mac OS X (wiki)). I won't say it's drastically easier than Windows 7, but I've always liked Mac OS X more and found it very flexible yet straight forward. (Comments about Macs being "locked down" are typically misguided and only apply to the iPhone/iPad's iOS, which is a totally different monster).

Things are very userfriendly to set up, and if you wish to dive deeper, you can break open the command line and do just about anything a linux OS can do. (technically speaking, Mac OS X is based on BSD and not Linux, but most of the major "command-line" applications available for both).

The only thing I find lacking about using Mac OS X as a media-based server is the lack of a good PVR/DVR/Live TV backend (something I've only recently gotten into). Other than that, it's a good choice.


If you go with just the normal OS X and not the server version, I would recommend sticking with Mac OS X 10.6. In 10.7 they took away some of the file sharing GUI settings, and SMB/SAMBA requires extra steps to work (server wise) with XBMC. 10.6 also seems to have less issues than 10.7 and 10.8 with Mac Pros (and in general). No real "show stoppers", but for a server I wouldn't worry about the extra features that 10.7 and 10.8 bring and would rather go for stability.
Reply
#3
Thanks for the long and helpful reply. Gives me some confidence that this is a way worth to pursue. A few reactions and questions:

1) From my understanding, Macs do not allow you to disable auto-sleep (at least not under Snow Mountain). I have 4 macs at home and haven't figured out how to keep them from sleeping except by installing an extra app (Caffeine). Also, I cannot even get my MBA to stay "awake" when closing the lid.

2) From a bit of web search, I learnt that older Mac Pros do not support 3TB or 4TB drives, so it won't be as easy as just buying an old G4 or an 2006 Mac Pro. Any thoughts on that?

3) Also understand that the older Mac Pros do not support Mountain Lion. I understand your point about staying with SL, but I would prefer to keep the OS up-to-date for pure compatibility with the other Macs (who all, but one run Mountain Lion)

4) Anyone with first-hand experience of adding more than 4-6 harddisks into the server. I currently have 16 disks. If I find a way to fit 8 disks into teh Mac Pro, I could go with 2 (ideally older / cheaper) Mac Pros to replace my loud and "ugly" Antec 1200 tower.
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply
#4
I used to use an old MaBook Pro as my server with an eSata express card with 9 drives attached. The one thing OSX has going for it is it's dead easy to set up and maintain.

I still keep my MacBook Pro as a SAB/SickBeard/CouchPotato/Headphones downloader and to upload any content to the unRAID. It's like having a OSX front end for my unRAID.

I have stuck with Snow Leopard for the same reasons Ned mentioned, seeing as Apple like to remove just as many features as they add.
Reply
#5
(2012-10-06, 08:08)steve1977 Wrote: 1) From my understanding, Macs do not allow you to disable auto-sleep (at least not under Snow Mountain). I have 4 macs at home and haven't figured out how to keep them from sleeping except by installing an extra app (Caffeine). Also, I cannot even get my MBA to stay "awake" when closing the lid.

System Preferences -> Energy Saver -> Computer sleep -> Never

I have personally tried this on Mac OS X 10.4, 10.5, 10.6, 10.7 and 10.8 and it's always worked for me.


To wake a mac laptop when the lid is closed you need to give it some activity via USB (mouse or keyboard, for example) and it will turn back on and then use an external display. Or you can install this: http://osxdaily.com/2012/02/10/run-macbo...p-nosleep/ and that will prevent closing the lid from triggering sleep.


Re 3: Apple says that Mountain Lion requires a Mac Pro from 2008 and up: http://www.apple.com/osx/specs/
Reply
#6
You can disable autosleep, easy as pie from system settings. But you're right, perhaps it's something from an old OS.

Lion or Mountain Lion, have no problems. You just configure the display/hd to never sleep on energy settings.
Reply
#7
Thanks for your replies.

Any first-hand experience adding more than 4 HDs and any first-hand experience with 3TB disks?
Server: Asus Sabertooth Z77 | Intel Core i5 3.4 GHz | 16 GB DDR3 | 128 GB SSD, 82 TB (9 x 6 TB, 7 x 4 TB)
HTPC 1: Raspberry Pi 2 | HTPC 2: Raspberry Pi 2 | HTPC 3: Raspberry Pi
Reply

Logout Mark Read Team Forum Stats Members Help
Anyone done a Mac based server0