On Tue, Apr 3, 2012 at 10:32 AM, Rainer Krienke <[email protected]> wrote: > Hello, > > I am new to HA setup and my first try was to set up a HA cluster (using > SLES 11 SP2 and the SLES11 SP2 HA extension) that simply offers an > OCFS2 filesystem. I did the setup according to the SLES 11 SP2 HA > manual, that describes the steps needed quite exactly. > > Basically it works. > > At the moment I have two nodes. When I stop one node by halt -f or by > suspending this virtual machine, then access to the cluster filesystem > on the remaining machine hangs until the halted machine comes up again > which is of course not what I want.
Working as designed. Enable fencing. > When I run a clean shutdown on one of the nodes the remaining node can > still access the cluster filesystem without problems. > > Here is the current cluster configuration (crm configure show): > > node clusternode1 > node clusternode2 > primitive dlm ocf:pacemaker:controld \ > op monitor interval="60" timeout="60" > primitive o2cb ocf:ocfs2:o2cb \ > op monitor interval="60" timeout="60" > primitive ocfs2-1 ocf:heartbeat:Filesystem \ > params device="/dev/disk/by-id/scsi-259316a7265713551-part2" > directory="/shared/cluster" fstype="ocfs2" \ > op monitor interval="20" timeout="40" \ > meta target-role="Started" > primitive stonith_sbd stonith:external/sbd \ > op monitor interval="15" timeout="15" start-delay="15" \ > params sbd_device="/dev/disk/by-id/scsi-259316a7265713551-part1" > group base-group dlm o2cb ocfs2-1 > clone base-clone base-group \ > meta interleave="true" > property $id="cib-bootstrap-options" \ > dc-version="1.1.6-b988976485d15cb702c9307df55512d323831a5e" \ > cluster-infrastructure="openais" \ > expected-quorum-votes="2" \ > stonith-timeout="30s" \ > no-quorum-policy="ignore" \ > stonith-enabled="false" > op_defaults $id="op_defaults-options" \ > record-pending="false" > > Any ideas what might cause this stange effect? It's not strange at all. It's working exactly as it's supposed to. Enable STONITH, test your fencing, and you're good to go. Florian -- Need help with High Availability? http://www.hastexo.com/now _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
