On 2010-11-22 11:29, Florian Götz wrote: > Hi everybody, > > I´m new to cluster setups and set up a "Webserver" cluster with an Apache, > MySQL and DRBD for storage (2 Nodes). > > I´ve put the primitives for ClusterIP, Apache, MySQL and the DRBD Filesystem > in a group. > Idea behind that was, if one of those primitives fails on one machine, all > services should switch over to the second machine. > > So everything works fine if both nodes are up and i put one node in standby > for > example. Then the DRBD master switches to the second node and all services > move there too. > > But if one machine crashes (aka shutdown for a test) the DRBD Master > disappers > and the slave stays "slave".
I dare say this is not about whether you kill or gracefully shut down _any_ machine, much rather it's about _which_ machine you remove from the cluster. Take a look at your location constraint, it will prevent your ip resource from running anywhere but ws2. Cheers, Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Openais mailing list Openais@lists.linux-foundation.org https://lists.linux-foundation.org/mailman/listinfo/openais