PACEMAKER
Version vom 6. September 2012, 17:24 Uhr von 192.168.244.1 (Diskussion)
Installation
[ALL] installation pacemaker
sudo apt-get install pacemaker edit /etc/default/corosync and enable corosync (START=yes)
[ONE] generate corosync authkey
sudo corosync-keygen (this can take a while if there's no enough entropy; download ubuntu iso image on the same machine while generating to speed it up or use keyboard to generate entropy) copy /etc/corosync/authkey to all servers that will form this cluster (make sure it is owned by root:root and has 400 permissions).
[ALL] Install DRBD and other needed tools
sudo apt-get install linux-headers-server psmisc drbd8-utils
[ALL] Pacemaker soll drbd managen
sudo update-rc.d -f drbd remove
CRM
crm
crm_mon
crmadmin
Kompelette CIB löschen
crmadmin -E