Setup Varnish 2.1.5 on CentOS 6 as a Caching Server and Load Balancer

Saturday, March 28, 2015

Varnish is a highly regarded HTTP caching server. It sits in front of your web server tier and caches content in RAM so subsequent requests are served as quickly as possible.

Varnish can also be a basic load balancer. Combining a caching server and a load balancer works extremely well when one or more of your web servers becomes unavailable. Because Varnish is also acting as the load balancer, no longer will the end user possibly see a “Service unavailable” message while the load balancer is removing the unhealthy web server from the load balanced pool, they will simply see a cached paged instead.

Continue reading...


A Quick Force Touch Trackpad Review

Tuesday, March 17, 2015

Force Touch was first revealed in the Apple Watch and now has made its way to Apple’s trackpads. I went to an Apple Store to try out Force Touch on the updated 13” retina MacBook Pro.

Continue reading...


Gluster Heal Not able to fetch volfile from glusterd

Wednesday, February 25, 2015

I recently setup a two node replica Gluster cluster on CentOS 6.6 with Gluster version 3.6.2-1. I setup a private network specifically for Gluster replication and communication and binded the Gluster daemons to this network.

Continue reading...


Change Gluster Volume Connection Timeout for GlusterFS Native Client

Tuesday, February 24, 2015

After setting up a two node replica Gluster cluster to use as a web content backend, I began testing what would happen when I brought down one of the Gluster nodes. The web nodes access the Gluster cluster using the GlusterFS native client and I expected them to quickly see that one of the Gluster nodes was down and begin serving content from the healthy Gluster node, but that was not happening. My test involved simply rebooting one of the Gluster nodes and that node was coming back online within about 30 seconds. However, within that 30 seconds my website was down.

Continue reading...


An Actual Temporary Fix for OS X Yosemite's UI Lag

Saturday, January 31, 2015

Every since I upgraded to OS X Yosemite, the experience has been lackluster. A simple Google search will reveal a host of problems Yosemite has introduced, but the absolute most annoying problem for me has been the UI lag. This UI lag mainly occurs when I have an external monitor attached.

Continue reading...


Inject Content into a Jekyll Post

Wednesday, January 14, 2015

There was a period where I wanted to inject an ad into a particular part of every Jekyll post. I did not want to put the actual ad markup in the middle of the Markdown text file because it was ugly and would be difficult to manage if I had to change something.

Continue reading...


Remove a User's Ability to Unlock File Vault 2 with their User Password

Sunday, January 11, 2015

I have used File Vault 2 since OS X Lion without issue and it has worked as expected. With File Vault 2 enabled, before I can login with my user password, I have to first unlock the hard drive using the disk encryption password I previously set.

Continue reading...


Problems Provisioning Ubuntu with Cobbler and Kickstart Profiles

Friday, December 19, 2014

Using cobbler to provision Ubuntu systems is no problem when using Preseed, but it is a problem when using Kickstart Profiles (Ubuntu has had Kickstart compatibility since at least 10.04).

Continue reading...


Making the iPhone Physically Smaller But Keeping the Same Screen Size

Wednesday, December 10, 2014

With the release of the iPhone 6 and 6 Plus, the iPhone has now joined the ranks of Android phones with large screens. Personally, I think these screen sizes are just right, but everyone always want more. In this case, more means a physically smaller phone that some how retains the 4.7” or 5.5” screen size. How could Apple conceivably do this?

Continue reading...


ExifTool Commands Cheat Sheet

Tuesday, December 9, 2014

ExifTool by Phil Harvey is a fantastic tool to edit the exif metadata on your pictures. It is especially useful when you have a lot of pictures to edit and have no desire to change metadata by hand.

Continue reading...