PACEMAKER: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:
 
  sudo apt-get install pacemaker
 
  sudo apt-get install pacemaker
 
  edit /etc/default/corosync and enable corosync (START=yes)  
 
  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).
 +
 
=CRM=
 
=CRM=
 
==crm==
 
==crm==

Version vom 6. September 2012, 17:17 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). 

CRM

crm

crm_mon

crmadmin

Kompelette CIB löschen

crmadmin -E