Re: [Pacemaker] pacemaker-remote not listening

2015-01-27 Thread David Vossel
- Original Message - > Hi, > my os is debian-wheezy > i compiled and installed pacemaker-remote. > Startup log: > Jan 27 16:04:30 [2859] vm1 pacemaker_remoted: info: crm_log_init: Changed > active directory to /var/lib/heartbeat/cores/root > Jan 27 16:04:30 [2859] vm1 pacemaker_remoted: i

Re: [Pacemaker] authentication in the cluster

2015-01-27 Thread Kostiantyn Ponomarenko
Hi Chrissie, I know that this setup it crazy thing =) First of all I needed to say - think about each two-node cluster as one box with two nodes. > You can't connect clusters together like that. I know that. >All nodes in the cluster have just 1 authkey file. That is true. But in this example th

Re: [Pacemaker] HA Summit Key-signing Party (was: Organizing HA Summit 2015)

2015-01-27 Thread Jan Pokorný
> What's needed? > Once you have a key pair (and provided that you are using GnuPG), please > run the following sequence: > > # figure out the key ID for the identity to be verified; > # IDENTITY is either your associated email address/your name > # if only single key ID matches, speci

Re: [Pacemaker] Segfault on monitor resource

2015-01-27 Thread Oscar Salvador
2015-01-27 17:58 GMT+01:00 Dejan Muhamedagic : > On Tue, Jan 27, 2015 at 03:18:13PM +0100, Oscar Salvador wrote: > > Hi, > > > > I've checked the resource graphs I have, and the resources were fine, so > I > > think it's not a problem due to a high use of memory or something like > that. > > And

Re: [Pacemaker] new release date for resource-agents release 3.9.6

2015-01-27 Thread Dejan Muhamedagic
Hi Vladislav, On Mon, Jan 26, 2015 at 06:52:21PM +0300, Vladislav Bogdanov wrote: > Hi Dejan, > > if it is not too late, would it be possible to add output of > environment into resource trace file when tracing is enabled? Applied. Thanks, Dejan > --- ocf-shellfuncs.orig 2015-01-26 15:50:34.4

Re: [Pacemaker] Segfault on monitor resource

2015-01-27 Thread Dejan Muhamedagic
On Tue, Jan 27, 2015 at 03:18:13PM +0100, Oscar Salvador wrote: > Hi, > > I've checked the resource graphs I have, and the resources were fine, so I > think it's not a problem due to a high use of memory or something like that. > And unfortunately I don't have a core dump to analize(I'll enable i

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

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

Re: [Pacemaker] authentication in the cluster

2015-01-27 Thread Christine Caulfield
On 27/01/15 15:56, Kostiantyn Ponomarenko wrote: > Hi all, > > Here is a situation - there are two "two-node" clusters. > They have totally identical configuration. > Nodes in the clusters are connected directly, without any switches. > You can't connect clusters together like that. All nodes in

[Pacemaker] authentication in the cluster

2015-01-27 Thread Kostiantyn Ponomarenko
Hi all, Here is a situation - there are two "two-node" clusters. They have totally identical configuration. Nodes in the clusters are connected directly, without any switches. Here is a part of corosync.comf file: totem { version: 2 cluster_name: mycluster transport: udpu crypto_hash: sha256 c

[Pacemaker] pacemaker-remote not listening

2015-01-27 Thread Thomas Manninger
Hi,   my os is debian-wheezy   i compiled and installed pacemaker-remote. Startup log: Jan 27 16:04:30 [2859] vm1 pacemaker_remoted: info: crm_log_init:   Changed active directory to /var/lib/heartbeat/cores/root Jan 27 16:04:30 [2859] vm1 pacemaker_remoted: info: qb_ipcs_us_publish: 

Re: [Pacemaker] Segfault on monitor resource

2015-01-27 Thread Oscar Salvador
Hi, I've checked the resource graphs I have, and the resources were fine, so I think it's not a problem due to a high use of memory or something like that. And unfortunately I don't have a core dump to analize(I'll enable it for a future case) so the only thing I have are the logs. For the line

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 : > emmanuel segura 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 > : >> is stonith enable

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

2015-01-27 Thread Andrea
emmanuel segura 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 : > is stonith enabled in crm conf? > yes, stonith is enabled [ONE]pcs property Cluster Properties: cluster-in

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 : > is stonith enabled in crm conf? > > On Tue, Jan 27, 2015 at 6:21 PM, emmanuel segura > wrote: > >> When a node is dead the registration key is remove

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 wrote: > When a node is dead the registration key is removed. > > 2015-01-27 13:29 GMT+01:00 Andrea : > > emmanuel segura writes: > > > >> > >> sorry, but i forgot to tell you, you need to know the fence_scsi > >>

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 : > emmanuel segura 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.

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

2015-01-27 Thread Andrea
emmanuel segura 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 https://access.redhat.com/solutions/65187 Bu

[Pacemaker] Pre/post-action notifications for master-slave and clone resources

2015-01-27 Thread Vladislav Bogdanov
Hi, Playing with two-week old git master on a two-node cluster I discovered that only limited set of "notify" operations is performed for clone and master-slave instances when all of them are being started/stopped. Clones (anonymous): * post-start * pre-stop M/S: * post-start * post-promote

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 : > In normal situation every node can in your file system, fence_scsi is > used when y

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 : > Andrea writes: > >> >> Michael Schwartzkopff ...> writes: >> >> >

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

2015-01-27 Thread Andrea
Andrea writes: > > Michael Schwartzkopff ...> 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 > > > >

[Pacemaker] rrp_mode in corosync.conf

2015-01-27 Thread Kostiantyn Ponomarenko
Hi all, I've been looking for a good answer to my question, but all information I found is ambiguous. I hope to get a good answer here =) The only description about "active" and "passive" modes I found is: Active: both rings will be active, in use Passive: only one of the 2 rings is in us

Re: [Pacemaker] Segfault on monitor resource

2015-01-27 Thread Dejan Muhamedagic
Hi, On Mon, Jan 26, 2015 at 06:20:35PM +0100, Oscar Salvador wrote: > Hi! > > I'm writing here because two days ago I experienced a strange problem in my > Pacemaker Cluster. > Everything was working fine, till suddenly a Segfault in Nginx monitor > resource happened: > > Jan 25 03:55:24 lb02 cr

Re: [Pacemaker] Segfault on monitor resource

2015-01-27 Thread emmanuel segura
maybe you can use sar for checking if your server was tight of resources? Jan 25 04:10:30 lb02 lrmd: [9972]: info: RA output: (Nginx-rsc:monitor:stderr) Killed /usr/lib/ocf/resource.d//heartbeat/nginx: 910: /usr/lib/ocf/resource.d//heartbeat/nginx: Cannot fork 2015-01-26 18:22 GMT+01:00 Oscar Sa