[Pacemaker] strage monitor behaivour

2011-06-07 Thread ruslan usifov
Hello I have 3 node cluster (in future we add another one node) with follow configuration: crm(live)configure# show node drbd1 node drbd2 node drbd3 primitive drbd_web ocf:linbit:drbd \ params drbd_resource=web \ op monitor interval=10s timeout=60s primitive drbd_web-U

Re: [Pacemaker] [Openais] Linux HA on debian sparc

2011-06-07 Thread william felipe_welter
More two questions.. The patch for mmap calls will be on the mainly development for all archs ? Any problems if i send this patch's for Debian project ? 2011/6/3 Steven Dake sd...@redhat.com: On 06/02/2011 08:16 PM, william felipe_welter wrote: Well, Now with this patch, the pacemakerd

Re: [Pacemaker] Two stonith devices

2011-06-07 Thread Vladislav Bogdanov
Replying to myself after studying TODO. Could you guys (Dejan, Andrew) please describe possible ways for fixing this, may be I'll be able to do it to some extent. I still need to study code which is a kinda black magic where it goes to stonith. May I ask for some pointers to start with? And, is

Re: [Pacemaker] strage monitor behaivour

2011-06-07 Thread Serge Dubrouski
This questions pops up over and over again. Pacemaker has to make sure that your resources aren't up anywhere in the cluster before start them up on designated nodes. That means that it has to be able to run status/monitor operations for all configured resources on all configured nodes. You can't

Re: [Pacemaker] [Openais] Linux HA on debian sparc

2011-06-07 Thread Steven Dake
On 06/07/2011 04:44 AM, william felipe_welter wrote: More two questions.. The patch for mmap calls will be on the mainly development for all archs ? Any problems if i send this patch's for Debian project ? These patches will go into the maintenance branches You can send them to whoever you

Re: [Pacemaker] strage monitor behaivour

2011-06-07 Thread ruslan usifov
Thanks fo replay i undestend already this moment. Now i think that this is problem of ocf:heartbeat:iSCSITarget RA, which return unproperly return code, when no any iscssi target software installed 2011/6/7 Serge Dubrouski serge...@gmail.com This questions pops up over and over again. Pacemaker

Re: [Pacemaker] strage monitor behaivour

2011-06-07 Thread Serge Dubrouski
No, RA acts like it should. It can't find necessary software and returns OCF_NOT_CONFIGURED, all RAs act this way. You have to install all software used in you cluster on all nodes even if you are not actually planning to run that software on some of them. On Tue, Jun 7, 2011 at 8:02 AM, ruslan

Re: [Pacemaker] Two stonith devices

2011-06-07 Thread Dejan Muhamedagic
Hi, On Tue, Jun 07, 2011 at 03:15:46PM +0300, Vladislav Bogdanov wrote: Replying to myself after studying TODO. Could you guys (Dejan, Andrew) please describe possible ways for fixing this, may be I'll be able to do it to some extent. I still need to study code which is a kinda black magic

Re: [Pacemaker] strage monitor behaivour

2011-06-07 Thread Serge Dubrouski
On Tue, Jun 7, 2011 at 9:04 AM, ruslan usifov ruslan.usi...@gmail.comwrote: Hm, drbd RA for example work perfectly if drbd isn't installed on node. Also i found that probe error dissapear when i add implementation parameter to target and lun RA. That's really strange because DRBD RA has

Re: [Pacemaker] strage monitor behaivour

2011-06-07 Thread Dejan Muhamedagic
Hi, On Tue, Jun 07, 2011 at 08:45:07AM -0600, Serge Dubrouski wrote: No, RA acts like it should. It can't find necessary software and returns OCF_NOT_CONFIGURED, all RAs act this way. You have to install all software used in you cluster on all nodes even if you are not actually planning to

Re: [Pacemaker] strage monitor behaivour

2011-06-07 Thread Dejan Muhamedagic
On Tue, Jun 07, 2011 at 09:47:17AM -0600, Serge Dubrouski wrote: On Tue, Jun 7, 2011 at 9:39 AM, Dejan Muhamedagic deja...@fastmail.fmwrote: Hi, On Tue, Jun 07, 2011 at 08:45:07AM -0600, Serge Dubrouski wrote: No, RA acts like it should. It can't find necessary software and returns

Re: [Pacemaker] Mysqlping resource for Mysql Master-Master replication

2011-06-07 Thread Dejan Muhamedagic
Hi, On Mon, May 30, 2011 at 11:06:45PM +0300, Viacheslav Biriukov wrote: Hi all. I have written mysqlping resorce. It works same as ping or pingd. Main purpose it is location Mysql VIP on right node in Mysql Master-Master replication with clone configuration.

[Pacemaker] init script VS pacemaker to start a service

2011-06-07 Thread CeR
Hi there! I have some doubts, hope you folks can help me. In a system I have two (or more) ways to start a daemon: A) /etc/init.d/ script. The service could be started by the system (/etc/rcX) or by me manually. B) The daemon has an executable with an argument option to run it as a daemon (like

Re: [Pacemaker] strage monitor behaivour

2011-06-07 Thread Serge Dubrouski
On Tue, Jun 7, 2011 at 9:55 AM, Dejan Muhamedagic deja...@fastmail.fmwrote: On Tue, Jun 07, 2011 at 09:47:17AM -0600, Serge Dubrouski wrote: On Tue, Jun 7, 2011 at 9:39 AM, Dejan Muhamedagic deja...@fastmail.fm wrote: Hi, On Tue, Jun 07, 2011 at 08:45:07AM -0600, Serge Dubrouski

[Pacemaker] Pacemaker and LDAP (389 Directory Service)

2011-06-07 Thread veghead
I'm trying to setup a pair of LDAP servers running 389 (formerly Fedora DS) in high availability using Pacemaker with a floating IP. In addition, 389 supports multi-master replication, where all changes on one node are automatically replicated on one or more other nodes. I'm fairly close to