Running Open HA Cluster with VirtualBox
By tf on Jun 19, 2009
My presentation at the Open HA Cluster Summit 2009 in San Francisco explained how to setup a system with OpenSolaris, serving as a host for at least two VirtualBox OpenSolaris guests, and shows how to setup a two node Open HA Cluster with them by using technologies like Crossbow and COMSTAR. Such a system can be used to build, develop and test Open HA Cluster, which got demonstrated live during the session.
The video recording for this presentation is now available (thanks to Deirdré Straughan):
For system administrators, it is often critical to have a test system on which to try out things and learn about new features. Of course the system needs to be low cost and transportable to anywhere they need to be.
HA Clusters are often perceived as complex to setup and resource hungry in terms of hardware requirements.
This white paper explains step-by-step how to setup a single x86 based system (like a Toshiba M10 laptop) with OpenSolaris, configuring a build environment for Open HA Cluster and using VirtualBox to setup a two node cluster.
OpenSolaris technologies like Crossbow (to create virtual networking adapters), COMSTAR (to setup non-shared storage as iSCSI targets and using them as iSCSI initiators), ZFS (to mirror the iSCSI targets), Clearview (the new architecture for IPMP), and IPsec (to secure the cluster private interconnect traffic) are used for the host system and VirtualBox guests to configure Open HA Cluster. The image packaging system (IPS) is being used to deploy the build packages into the guests. Open HA Cluster technologies like weak membership (to not require an extra quorum device) and the integration into OpenSolaris technologies are leveraged to setup three typical FOSS applications: HA MySQL, HA Tomcat and scalable Apache webserver.
Enjoy watching, reading and trying it out!