> On 5 Aug 2015, at 3:52 am, Andrei Borzenkov <[email protected]> wrote: > > В Tue, 4 Aug 2015 14:26:32 +1000 > Andrew Beekhof <[email protected]> пишет: > >> >> Having said that, you don’t need the shared disk side of things to get some >> benefit from sbd (yes, i know how strange that sounds). >> On Fedora/RHEL/CentOS (speaking of which, CentOS 7 would be a much better >> target than Fedora) you just need a functioning watchdog device (most virt >> frameworks offer one). >> >> Then on each node: >> - stop the cluster >> - install the sbd package >> - configure the following in /etc/sysconfig/sbd >> >> SBD_DELAY_START=no >> SBD_PACEMAKER=yes >> SBD_STARTMODE=clean >> SBD_WATCHDOG_DEV=/dev/watchdog >> >> - if 'uname -n’ is not the same as the name by which the cluster knows your >> node, add: >> >> SBD_OPTS=“-n ${the_uname_from_cib}” >> >> - enable sbd to start: systemctl enable sbd >> >> Once this is complete on all nodes, start that cluster again. >> > > Hmm ... am I right that this won't work with 2 node cluster as it cannot > retain quorum on node failure?
Nope. The fedora code correctly observes no-quorum-policy and there is also the two-node and wait-for-all quorum options in corosync.conf So there are definitely ways for it to work sanely for the 2-node case. _______________________________________________ Users mailing list: [email protected] http://clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
