PACEMAKER: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 7: Zeile 7:
 
  (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)
 
  (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).  
 
  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==
 
==crm==

Version vom 6. September 2012, 17:24 Uhr

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