PACEMAKER: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
| Zeile 30: | Zeile 30: | ||
==cibadmin== | ==cibadmin== | ||
===Kompelette CIB löschen=== | ===Kompelette CIB löschen=== | ||
| − | cibadmin -E | + | cibadmin --force -E |
Version vom 6. September 2012, 20:52 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] configure corosync
In /etc/corosync/corosync.conf, replace bindnetaddr (by default it is 127.0.0.1), with the network address of your server, replacing the last number by 0 to get the network address. For example, if your IP is 192.168.1.101, then you would put 192.168.1.0.
ALL hab ich gefunden? kein plan ob da das vermisste paket dabei is=
apt-get install drbd8-utils iscsitarget ocfs2-tools pacemaker corosync libdlm3 openais \ ocfs2-tools-pacemaker iscsitarget-dkms lm-sensors ocfs2-tools-cman resource-agents fence-agents
for X in {drbd,o2cb,ocfs2}; do update-rc.d -f ${X} disable; done
---------
die beiden fehlen - libdlm3-pacemaker dlm-pcmk
[ALL] start corosync
sudo /etc/init.d/corosync start
[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
cibadmin
Kompelette CIB löschen
cibadmin --force -E