Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
icinga_active_passive_pacemaker_corosync [2012/12/11 09:10] christian angelegt |
icinga_active_passive_pacemaker_corosync [2012/12/11 11:22] (aktuell) christian |
||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
<code> | <code> | ||
+ | # yum install policycoreutils-python | ||
+ | |||
drbd und so... | drbd und so... | ||
- | # yum install corosync | + | # yum install corosync pacemaker |
# cd /etc/corosync | # cd /etc/corosync | ||
# cp corosync.conf.example corosync.conf | # cp corosync.conf.example corosync.conf | ||
Zeile 78: | Zeile 80: | ||
gid: clustergroup | gid: clustergroup | ||
} | } | ||
+ | # corosync-keygen | ||
+ | Corosync Cluster Engine Authentication key generator. | ||
+ | Gathering 1024 bits for key from /dev/random. | ||
+ | Press keys on your keyboard to generate entropy. | ||
+ | Press keys on your keyboard to generate entropy (bits = 176). | ||
+ | Writing corosync key to /etc/corosync/authkey. | ||
+ | |||
+ | NON-REMOTE!!! | ||
+ | # scp authkey tvm-ham02:/etc/corosync/authkey | ||
+ | # scp corosync.conf tvm-ham02:/etc/corosync/corosync.conf | ||
+ | # setsebool -P allow_ypbind on | ||
+ | # service corosync restart | ||
+ | # passwd hacluster | ||
+ | # crm configure | ||
+ | crm(live)configure# property no-quorum-policy=ignore | ||
+ | crm(live)configure# commit | ||
+ | crm(live)configure# verify | ||
+ | error: unpack_resources: Resource start-up disabled since no STONITH resources have been defined | ||
+ | error: unpack_resources: Either configure some or disable STONITH with the stonith-enabled option | ||
+ | error: unpack_resources: NOTE: Clusters with shared data need STONITH to ensure data integrity | ||
+ | crm(live)configure# property stonith-enabled=false | ||
+ | crm(live)configure# commit | ||
+ | crm(live)configure# verify | ||
</code> | </code> |