http://linux-ha.org/wiki/Pacemaker
Heartbeat2
http://blog.taggesell.de/index.php?/archives/83-How-To-Build-A-Heartbeat-Cluster.html
apt-get install heartbeat-2 heartbeat-2-gui xauth
Heartbeat3
apt-get install heartbeat pacemaker
Hawk
http://clusterlabs.org/wiki/Hawk
apt-get install ruby-dev
apt-get install ruby1.9.1 编译出错mkmf
apt-get purge ruby1.9.1
apt-get autoremove
Rubygems
http://rubyforge.org/frs/?group_id=126
https://github.com/rubygems/rubygems.org
ruby setup.rb安装rubygems
gem install gettext
gem install gettext_rails
gem install rake
gem install rails --version=2.3.8 安装特定版本的rails
i18n.rb 没有clear方法
ruby script/server启动
编译hawk
apt-cache search pam-dev
apt-get install pacemaker-dev
pam-devel
glib2-devel
libxml2-devel