Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-11 Thread Dejan Muhamedagic
On Wed, Feb 11, 2015 at 09:10:45AM +0300, Andrei Borzenkov wrote: В Tue, 10 Feb 2015 15:58:57 +0100 Dejan Muhamedagic deja...@fastmail.fm пишет: On Mon, Feb 09, 2015 at 04:41:19PM +0100, Lars Ellenberg wrote: On Fri, Feb 06, 2015 at 04:15:44PM +0100, Dejan Muhamedagic wrote: Hi,

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-10 Thread Dejan Muhamedagic
On Mon, Feb 09, 2015 at 04:41:19PM +0100, Lars Ellenberg wrote: On Fri, Feb 06, 2015 at 04:15:44PM +0100, Dejan Muhamedagic wrote: Hi, On Thu, Feb 05, 2015 at 09:18:50AM +0100, Digimer wrote: That is the problem that makes geo-clustering very hard to nearly impossible. You can look

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-10 Thread Andrei Borzenkov
В Tue, 10 Feb 2015 15:58:57 +0100 Dejan Muhamedagic deja...@fastmail.fm пишет: On Mon, Feb 09, 2015 at 04:41:19PM +0100, Lars Ellenberg wrote: On Fri, Feb 06, 2015 at 04:15:44PM +0100, Dejan Muhamedagic wrote: Hi, On Thu, Feb 05, 2015 at 09:18:50AM +0100, Digimer wrote: That is

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-09 Thread Lars Ellenberg
On Fri, Feb 06, 2015 at 04:15:44PM +0100, Dejan Muhamedagic wrote: Hi, On Thu, Feb 05, 2015 at 09:18:50AM +0100, Digimer wrote: That is the problem that makes geo-clustering very hard to nearly impossible. You can look at the Booth option for pacemaker, but that requires two (or more)

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-06 Thread Andrea
lists@... writes: If the pingnode became not visible on node2, I will see pingd attribute on node2 set to 0 and dummy resources stop on node2. If I cut off nentire network on node2, I will see pingd attribute on node2 set to 0 bud dummy resource never stop. During network

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-06 Thread Dejan Muhamedagic
Hi, On Thu, Feb 05, 2015 at 09:18:50AM +0100, Digimer wrote: That is the problem that makes geo-clustering very hard to nearly impossible. You can look at the Booth option for pacemaker, but that requires two (or more) full clusters, plus an arbitrator 3rd A full cluster can consist of one

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-05 Thread Digimer
That is the problem that makes geo-clustering very hard to nearly impossible. You can look at the Booth option for pacemaker, but that requires two (or more) full clusters, plus an arbitrator 3rd location. Outside of this though, there really is no way to have geo/stretch clustering with

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-05 Thread lists
On 2015-02-05 17:08, Andrea wrote: Hi I test location constraint with ping resource to stop resource on disconnected node, but with stonith active, doesn't works I used dummy resource for test [ONE]pcs resource create mydummy ocf:pacemaker:Dummy op monitor interval=120s --clone Ping resource

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-05 Thread Andrea
On Wednesday, February 4, 2015, Andrea a.bacchi@... mailto:a.bacchi@... wrote: Digimer lists at ... writes: That fence failed until the network came back makes your fence method less than ideal. Will it eventually fence with the network still failed?

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-04 Thread Andrea
Digimer lists@... writes: That fence failed until the network came back makes your fence method less than ideal. Will it eventually fence with the network still failed? Most importantly though; Cluster resources blocked while the fence was pending? If so, then your cluster is safe, and

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-04 Thread Dmitry Koterov
Could you please give a hint: how to use fencing in case the nodes are all in different geo-distributed datacenters? How people do that? Because there could be a network disconnection between datacenters, and we have no chance to send a stonith signal somewhere. On Wednesday, February 4, 2015,

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-02 Thread Andrea
Hi, I tryed a network failure and it works. During failure, each node try to fence other node. When network come back, the node with network problem is fenced and reboot. Moreover, the cman kill(cman) on one node, tipically node1 kill(cman) on node2, so, I have 2 situations: 1) Network failure

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-02-02 Thread Digimer
That fence failed until the network came back makes your fence method less than ideal. Will it eventually fence with the network still failed? Most importantly though; Cluster resources blocked while the fence was pending? If so, then your cluster is safe, and that is the most important part.

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-30 Thread Andrea
Andrea a.bacchi@... writes: Sorry, I used wrong device id. Now, with the correct device id, I see 2 key reserved [ONE] sg_persist -n --read-keys --device=/dev/disk/by-id/scsi-36e843b60f3d0cc6d1a11d4ff0da95cd8 PR generation=0x4, 2 registered reservation keys follow: 0x4d5a0001

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread Andrea
emmanuel segura emi2fast@... writes: sorry, but i forgot to tell you, you need to know the fence_scsi doesn't reboot the evicted node, so you can combine fence_vmware with fence_scsi as the second option. for this, i'm trying to use a watchdog script

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread emmanuel segura
please show your configuration and your logs. 2015-01-27 14:24 GMT+01:00 Andrea a.bac...@codices.com: emmanuel segura emi2fast@... writes: if you are using cman+pacemaker you need to enabled the stonith and configuring that in you crm config 2015-01-27 14:05 GMT+01:00 Vinod Prabhu

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread Andrea
Andrea a.bacchi@... writes: Michael Schwartzkopff ms at ... writes: Am Donnerstag, 22. Januar 2015, 10:03:38 schrieb E. Kuemmerle: On 21.01.2015 11:18 Digimer wrote: On 21/01/15 08:13 AM, Andrea wrote: Hi All, I have a question about stonith In my scenarion ,

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread emmanuel segura
sorry, but i forgot to tell you, you need to know the fence_scsi doesn't reboot the evicted node, so you can combine fence_vmware with fence_scsi as the second option. 2015-01-27 11:44 GMT+01:00 emmanuel segura emi2f...@gmail.com: In normal situation every node can in your file system,

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread emmanuel segura
In normal situation every node can in your file system, fence_scsi is used when your cluster is in split-braint, when your a node doesn't comunicate with the other node, i don't is good idea. 2015-01-27 11:35 GMT+01:00 Andrea a.bac...@codices.com: Andrea a.bacchi@... writes: Michael

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread Andrea
emmanuel segura emi2fast@... writes: please show your configuration and your logs. 2015-01-27 14:24 GMT+01:00 Andrea a.bacchi@...: emmanuel segura emi2fast at ... writes: if you are using cman+pacemaker you need to enabled the stonith and configuring that in you crm config

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread emmanuel segura
When a node is dead the registration key is removed. 2015-01-27 13:29 GMT+01:00 Andrea a.bac...@codices.com: emmanuel segura emi2fast@... writes: sorry, but i forgot to tell you, you need to know the fence_scsi doesn't reboot the evicted node, so you can combine fence_vmware with fence_scsi

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread Vinod Prabhu
is stonith enabled in crm conf? On Tue, Jan 27, 2015 at 6:21 PM, emmanuel segura emi2f...@gmail.com wrote: When a node is dead the registration key is removed. 2015-01-27 13:29 GMT+01:00 Andrea a.bac...@codices.com: emmanuel segura emi2fast@... writes: sorry, but i forgot to tell you,

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread emmanuel segura
if you are using cman+pacemaker you need to enabled the stonith and configuring that in you crm config 2015-01-27 14:05 GMT+01:00 Vinod Prabhu pvinod@gmail.com: is stonith enabled in crm conf? On Tue, Jan 27, 2015 at 6:21 PM, emmanuel segura emi2f...@gmail.com wrote: When a node is

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-27 Thread Andrea
emmanuel segura emi2fast@... writes: if you are using cman+pacemaker you need to enabled the stonith and configuring that in you crm config 2015-01-27 14:05 GMT+01:00 Vinod Prabhu pvinod@gmail.com: is stonith enabled in crm conf? yes, stonith is enabled [ONE]pcs property

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-22 Thread Andrea
Michael Schwartzkopff ms@... writes: Am Donnerstag, 22. Januar 2015, 10:03:38 schrieb E. Kuemmerle: On 21.01.2015 11:18 Digimer wrote: On 21/01/15 08:13 AM, Andrea wrote: Hi All, I have a question about stonith In my scenarion , I have to create 2 node cluster, but I

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-22 Thread Michael Schwartzkopff
Am Donnerstag, 22. Januar 2015, 10:03:38 schrieb E. Kuemmerle: On 21.01.2015 11:18 Digimer wrote: On 21/01/15 08:13 AM, Andrea wrote: Hi All, I have a question about stonith In my scenarion , I have to create 2 node cluster, but I don't have any hardware device for stonith. No

Re: [Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-22 Thread E. Kuemmerle
On 21.01.2015 11:18 Digimer wrote: On 21/01/15 08:13 AM, Andrea wrote: Hi All, I have a question about stonith In my scenarion , I have to create 2 node cluster, but I don't have any hardware device for stonith. No APC no IPMI ecc, no one of the list returned by pcs stonith list

[Pacemaker] Two node cluster and no hardware device for stonith.

2015-01-21 Thread Andrea
Hi All, I have a question about stonith In my scenarion , I have to create 2 node cluster, but I don't have any hardware device for stonith. No APC no IPMI ecc, no one of the list returned by pcs stonith list So, there is an option to do something? This is my scenario: - 2 nodes cluster serverHA1