At Shock Media we have been using DirectAdmin for some time now and, because of the great support and ease of use, alot of our customers are using it. Our System Administrators like to stay ahead of the demands of our customers and were one of the first to incorporate IPv6 into DirectAdmin and now we are starting with High Available DirectAdmin.
The idea is to have two servers with the same DirectAdmin installation sharing a virtual ip-address that can be used by one of the two servers. This way we can create a redundant DirectAdmin. The Master runs DirectAdmin just like a normal DirectAdmin installation would, the difference is that the Master shares all the data with his Slave buddy. In case the Master server crashes or becomes unavailable, the Slave server will have all the settings and data of the Master. The Slave will take over the virtual ip-address and will start DirectAdmin and all the services like the Apache2 webserver, Dovecot mailserver and Mysql server and will start serving websites with only a couple seconds of delay.
We are using a combination of Heartbeat, DRBD and some of our own custom made scripts to have all DirectAdmin-related data redundant on two servers in case the Slave server needs to take over and Heartbeat keeps track of the Master and does a fail-over when the server disappears and gives the option to migrate DirectAdmin between the two servers.
I made a screen-capture while I shutdown the Master Server and you can see what happens.
In the background you can see Firefox running and it opens the website http://dad.shockmedia.nl. The website shows the current date and time and the hostname of the server the website is running on. The website refreshes every ten seconds.
Master Server da1.shockmedia.nl is the one serving http://dad.shockmedia.nl, after the server is shutdown, Heartbeat notices the server going down and switches all resources for http://dad.shockmedia.nl from da1.shockmedia.nl to da2.shockmedia.nl. Even with a 10 second refresh, Firefox doesnt even notice the server went down and keeps receiving the website without problem, but now its receiving the website from server da2.shockmedia.nl.
Of course there are still some things that will take some time to improve upon, for example identical ssh-keys.
Another thing we really want to accomplish is upgrading servers without downtime. Migrate Master to Slave, upgrade all packages, then migrate DirectAdmin and all the services back to the Master and then upgrade the slave, so upgrading Apache / PHP5 won’t give any downtime anymore.
We will keep working on it


Het is natuurlijk niet voor niks dat wij gecertificeerd 


