In a continuing effort to make my hosting cloud more dynamic, I have had to become relatively creative with my Apache configurations so that my farm can remain relatively flexible with little or no reconfiguration on newly introduced servers. This presents a big problem when working with a multi-site Apache configuration, and an even bigger problem when SSL certificates are involved. As many of you probably already know, you need to have one network interface (virtual or physical) dedicated to a particular domain SSL certificate. It’s easy enough to grab a wildcard SSL certificate from GoDaddy and bind a single network interface to all subdomains, but when you have a farm configuration where you’re hosting multiple domains from the same web servers, then you’ll need to have a dedicated NIC for each wildcard domain SSL certificate. That’s ok, we can handle this by creating virtual NICs (eth0:1) and giving them their own IP address, and Apache is none the wiser. But, this is where our Apache configuration starts to become a problem. With Apache, we know that we can listen by IP address, but not by interface, so in order for us to keep a common configuration between all of the servers in our farm, we’ll need to figure out a way for it to be able to dynamically handle binding when the IP address is not statically defined. Continue reading »

Recently, I have found that there is a great deal of need to have the ability to flexibly and non-service-interruptingly (yeah, it’s a fake word) migrate an existing PV that resides in a LVM2 volume group to a new PV that is presented to a server. In an effort that I recently undertook, I was tasked with migrating a 2.0TB SATA LUN to a 2.5TB FC LUN. This is an easy enough request to fulfill, so why the importance of this you might ask? Well, the 2.0TB SATA LUN was hosting the data files for a production Oracle database that requires 99.999% uptime (actually, this is a by-law requirement for financial institutions in some states — and for my luck, this was the requirement for me as well). So, to the drawing board I went… Continue reading »

© 2013 Dan's Blog Suffusion theme by Sayontan Sinha