Re: [Pacemaker] again trouble with quorum (now with cman)

2013-07-12 Thread Lars Marowsky-Bree
On 2013-07-12T14:18:03, Digimer wrote: > In any case, if a split-brain is not a concern, then why use an HA stack at > all? That is not the same. DRBD behaves differently from "normal" shared storage, and can recover from concurrent activation differently; either automatically or by manually mer

Re: [Pacemaker] again trouble with quorum (now with cman)

2013-07-12 Thread Digimer
On 12/07/13 04:26, Andrey Groshev wrote: 12.07.2013, 09:15, "Digimer" : On 12/07/13 00:59, Andrey Groshev wrote: 11.07.2013, 18:48, "Digimer" : You need fencing. Specifically, cman blocks when a fence is called and won't unblock until it's told that a fence completed successfully. C

Re: [Pacemaker] again trouble with quorum (now with cman)

2013-07-12 Thread Digimer
On 12/07/13 04:04, Lars Marowsky-Bree wrote: On 2013-07-12T08:59:16, Andrey Groshev wrote: I understand that it may be correct to do so... But why so difficult? Assume, I make a small НА cluster in my garage. And, I not have a managed switch or managed UPS. I can not corrupt the data. I just n

Re: [Pacemaker] Question about the behavior when a pacemaker's process crashed

2013-07-12 Thread Digimer
On 12/07/13 04:28, Kazunori INOUE wrote: Hi, I'm using pacemaker-1.1.10. When a pacemaker's process crashed, the node is sometimes fenced or is not sometimes fenced. Is this the assumed behavior? procedure: $ systemctl start pacemaker $ crm configure load update test.cli $ pkill -9 lrmd attac

Re: [Pacemaker] Question about the behavior when a pacemaker's process crashed

2013-07-12 Thread emmanuel segura
Hi try to disable selinux +++ Jul 12 16:46:10 dev1 setroubleshoot: SELinux is preventing /usr/bin/virsh from getattr access on the file /usr/bin/ssh. For complete SELinux messages. run sealert -l 3d5afba4-40a5-41ff-9530-3839da8a8c

[Pacemaker] why pacemaker stops cman?

2013-07-12 Thread Andrey Groshev
# service pacemaker stop Waiting for shutdown of managed resources. [ OK ] Signaling Pacemaker Cluster Manager to terminate: [ OK ] Waiting for cluster services to unload:.. [ OK ] Stopping cluster: Leaving fence domain...

Re: [Pacemaker] Simulating that a node is down.

2013-07-12 Thread Andreas Mock
Hi Jacobo, 1) corosync communicates through 2 ports, don't forget the second one. 2) IMHO, when you block both ports, it's like a classical split brain. I've done it to test split brain and hopefully fencing behaviour. ´ Best regards Andreas Mock Von: Jacobo García [mailto:jacobo

Re: [Pacemaker] Simulating that a node is down.

2013-07-12 Thread Jacobo García
Thanks Andreas for your kind answer, I'll add this to my test battery. Also, my other question, is it a good idea to close the corosync port? Should corosync behave in a expected way? I am getting odd behaviors on this one, but not sure if where to put the blame. Thanks in advance. Jacobo García

Re: [Pacemaker] again trouble with quorum (now with cman)

2013-07-12 Thread Andrey Groshev
12.07.2013, 09:15, "Digimer" : > On 12/07/13 00:59, Andrey Groshev wrote: > >>  11.07.2013, 18:48, "Digimer" : >>>  You need fencing. Specifically, cman blocks when a fence is called and >>>  won't unblock until it's told that a fence completed successfully. >>>  Configure cluster.conf to use 'fe

Re: [Pacemaker] again trouble with quorum (now with cman)

2013-07-12 Thread Lars Marowsky-Bree
On 2013-07-12T08:59:16, Andrey Groshev wrote: > I understand that it may be correct to do so... > But why so difficult? > Assume, I make a small НА cluster in my garage. > And, I not have a managed switch or managed UPS. > I can not corrupt the data. > I just need to returning node as soon as po

Re: [Pacemaker] VirtualDomain Monitor Script

2013-07-12 Thread Lars Marowsky-Bree
On 2013-07-11T23:20:57, Gregg Stock wrote: > I'm adding monitor_scripts to my VirtualDomain resources and had a couple of > questions. > > 1. Does the monitor script run on the domain controller? Right now, I have > shared storage nodes that are firewalled from accessing the virtual machines > b