Skip to content

Instantly share code, notes, and snippets.

@kevinz
Created July 4, 2012 23:03
Show Gist options
  • Save kevinz/3049972 to your computer and use it in GitHub Desktop.
Save kevinz/3049972 to your computer and use it in GitHub Desktop.
just a simple table in org-mode,about open source HA solutions.

Comparison between 2 HA solutions

Sloutin 1Slution 2
Compare ItemSUSE LINUX HA EXTENSIONKeepAlived
ComponentsHeartBeat(openais)+corosync2+pacemaker+ldirectordKeepAlived,very light-weight
UsageGeneral Linux HA solution,support a lot of other resourcesVRRP + LVS + HealthChecker
LicenseAll components are open sourcing,but the product is commercial[1]GPL
InstallationProvided in suse repository,name is “ha\_sles”make and run
Configuration managementPlain text/GUI(yast2 cluter,yast2 iplb)plain text
RuntimeA Group of processes1 parent process,2 child(can be enabled/disabled by configuration)
Configuration filesEach component owns 1 configuration ,can be managed by gui tools1 file,all in 1,more readable,like DSL
MonitoringEmbeded tools from SUSE linux HA extensionkeepalived embeded mail function or together with nagios
Support modeActive/stand\_by active/active?active/active[2] [3] active/stand\_by etc,very flexible
Solution to split brainStonith deviceby “priority” configuration
Connection tracking syncShell script to switch between master and backup state?by configuration “lvs\_sync\_daemon\_inteface eth0”
Handy featureReuse of defined heatbeat resoure1.add del ip or route on change to MASTER,to BACKUP. 2.define static ip and routes.
Advance featureNot direct and intuitive enough to archive1.virtual service group support very large lvss. 2.fail over by lvs services group.
CustomizationWrite OCF Resource Agent [4]1.real node health check script. 2.track script for cluster node. 3.dynamiclly adjust weight by customized script
Performanceldirectord is writeen in perl,fail over might be slowerWritten in c,it’s architecture results in instant failover

[1]http://www.suse.com/zh-cn/products/highavailability/how-to-buy/ [2]http://archive.linuxvirtualserver.org/html/lvs-users/2010-01/msg00052.html [3]http://www.ultramonkey.org/papers/active_active/active_active.shtml [4]http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment