Sep
10
If you’re reading this blog, you probably have a Mac server setup somewhere that requires your attention occasionally. For those of you with an iPhone, I hope to help you out.
Over on the Macminicolo.net site, I’ve put together a list of seven iPhone applications that I use every day to work with the Mac servers and IT work in general. You can read it here.
We try to help the common man set up a Mac server. If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Aug
29
This last weekend, a good friend of mine called and told me that his office and been broken into early Sunday morning. The thieves stole 7 20″ iMacs and a cd player. (Luckily they didn’t steal the 24″ iMac or the Mac mini server with all the data on it. We keep that server hidden good.)
Thank goodness my friend had business insurance and we picked up 7 new iMacs and had them all setup and running by Monday afternoon. We look at it as an inconvenient, but inexpensive way to upgrade the iMacs.
So now the matter is whether the police will get the iMacs back. The chances are small.
However, this week Macosxhints.com published a nice post that would have been great to have had last week. It is titled, “An advanced script/web solution to track stolen Macs .” Basically it consists of a couple of scripts that stay hidden on your machine. If your Mac were to be stolen, and later connected to the internet, it could send it’s whereabouts and photos of the thief (assuming their is a built-in iSight camera.)
How does this pertain to a site about servers? Well, you can easily turn your Mac server into an FTP server that can accept the photos and information.
Anyhow, if you’re looking for a fun weekend project that you may be REALLY thankful for later, go take a look here.
Aug
11
The other day, a customer asked me to setup an FTP account for his clients to use in uploading files to his machine. And while the built-in file serving of Leopard is nice, it’s not made for this sort of thing. For instance, creating a “Sharing Only” user account will only allow AFP and SMB connections.
PureFTPd is a free FTP server and PureFTPd manager is a nice Mac GUI to getting it installed and setting it up.
When you start the application, there are just a few general questions that are asked to help the setup. You can then create users, assign them to certain folders or directories.
There are plenty of options and it makes it real easy to have a powerful file server. The app is free from the developer’s site, though donations are appreciated.
Aug
7
Every once and a while, I’ll get an email asking if we can take a load balancer in our cage. Load balancing is a technique to spread work between two or more computers. So naturally, a load balancer is hardware that makes this possible. The idea is to have multiple Mac minis to host a website so it continues to perform well for high traffic. Since our network and racks are tailored specific for Mac minis, we don’t install load balancers. But, we recommend a much better and less expensive way to do load balancing. We suggest DNS, or more specifically, round robin DNS.
Round robin DNS is a way for one domain to be spread between multiple machines. This way, each time the domain name is called, the request will be forwarded to a different machine. Below is an example of what it might look like courtesy of DNSMadeEasy.com)
So in this case, half of the requests would be sent to 192.168.1.2 and the other half would go to 10.2.54.4. Now each machine only handles 50% of the load. You can easily use up to 13 different ip addresses to really spread the load.
As you can imagine, there are some nice benefits to using Round Robin DNS:
- No extra hardware to purchase. (Load Balancers can cost thousands.)
- When used with DNS Failover, you could have one Mac mini go down and not have it apparent to the end users. It just gets dropped from thr Round Robin until it comes back online.
- Rather than using just one Xserve, you can use five or six Mac minis. Place them on different power strips, attached to different switches, and behind different routers. This way, should any of hardware fail (XServe, power, switch or router), there are still machines available.
- It’s easy to setup, and to add additional machines later. When your budget allows for another machine, just put it in the circle.
We have a few customers doing this now and it’s worked great. If it’s something that might help your company, we’d love to work with you. Just let us know.
Jul
31
Quite a few of our customers use their Mac minis as central storage for a team of people in different locations. We hear from a lot of business owners who have been trying to run the server from their office, but just need more speed, reliability and security. They recognize that we can provide all three, but often they are concerned about having the machine out of the office where they can’t keep a close eye on the different versions of data. They want to make sure everyone is up to date.
This is where Changes will come in handy. Changes will keep multiple machines in sync with the latest versions of documents and projects. If you prefer something more manual, it also provides a quick way to text comparison using popular text editors.
This is also a great way to backup and update your website.
Changes is available for $39.95 and can be downloaded from the official site. (demo available)
Jul
25
The other day, I had a server that would turn on and immediately start pushing 80+Mb/s. Needless to say, something was wrong.
I didn’t want to compromise the network, so I turned to ipfw to create a bandwidth limited pipe to apply to the port. This hint on MacOSXhints.com explains it nicely.
Advanced OS X users know that Darwin comes with ipfw, which can be used to set up a custom firewall. This same service however can be used to also limit bandwidth on specific ports.
Example:
sudo ipfw pipe 1 config bw 15KByte/s
creates a pipe that only allows up to 15KB/s to go through.Then:
sudo ipfw add 1 pipe 1 src-port 80
will attach that pipe to the outgoing traffic on port 80, effectively limiting the outgoing traffic of the web server.
sudo ipfw delete 1
will remove the pipe from the port.
Of course, you can also find a GUI interface to this in WaterRoof.
Jul
17
The whole reason I had a jailbroken iPhone was to run VNSea. This let me control all of the Macs in our data center.
But when iPhone version 2.0 came out, I updated despite losing the VNSea client.
So you can imagine how happy I was to see VNC Mocha lite. It is a very well done VNC client that let’s you store multiple connections to control both Macs and PCs. It has a real nice interface that let’s you scroll around the remote screen, use a mouse cursor, and pop up a QWERTY keyboard for use. Just set up your Mac server for Screen Sharing and off you go.
And it is also free. (They’ll be releasing a $5.99 version later that has a few more options.)
To learn more about the app, visit here. Or you can drop straight to the iTunes App Store to download it here. (iTunes Link)
Jul
15
Golden%Braebrun is the licensing backend for Delicious Library. It allows for customers to pay for Mac software seamlessly.
Wil Shipley, the creator of Delicious Library, is now making this framework available for other software developers. The back end is run on a Mac server and the front end is built right into your application.
Golden%Braeburn is in it’s last stages of testing, but you can sign up now to use the app when it’s ready. For a modest percentage of charges, you get stability, ease and security on your Mac software licensing.
Jun
25
This one isn’t directly connected to running a server, but it’s incredibly useful for those that are on the move quite often. (And those who are on the move quite often usually have servers, so there’s my justification.)
Most of my internet time is spent at my house, my office, or the data center. In all three places I have static ip’s for port forwarding, etc. For each spot, I have a “Location” setup on my MacBook Air. I got tired of manually changing the location each time I moved around so I went searching and I found Locamatic.
Locamatic is a preference pane that will automatically change your Location based on whatever network your Airport card joins.
I’ve had it setup for a week now and it’s worked flawlessly switching me between locations.
If this sounds useful, you can it here for free.
Jun
20
Nagios is an open source program that can be installed on a server to check on other servers. For instance, you could have it check that sites are up, services are running, an machines are pinging. And if it doesn’t find those things, it can send an email or an SMS so you know about it.
Macworld just posted a great article on this Nagios called, “Installing Nagios on Mac OS X 10.5 Server.”
They also pointed to a nice community where plug-ins are shared called Nagios Exchange.
You can download Nagios here.





