Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Andrew Beekhof
On Thu, Aug 13, 2009 at 1:05 AM, Rafał Kupka wrote: > On Wed, Aug 12, 2009 at 08:47:18PM +0200, Andrew Beekhof wrote: > Hello, > >> > I don't have time to look into code, sorry. Maybe it is from >> > mkdir (..., 750) instead of mkdir (..., 0750)? >> >> can someone add a leading zero and let me know

Re: [Pacemaker] Please Help - frequent cleanup is required for the resources on failover condition

2009-08-12 Thread Abhin.G.S - DEUCN
Hello, OCFS2 is acting wiered due to any peoblem in multi path ? Please help. Abhin. Original message From: "Abhin.G.S - DEUCN" To: pacemaker@oss.clusterlabs.org Date: 8/12/2009 5:27:00 PM Subject: Re: [Pacemaker] Please Help - frequent cleanup is required for the resources on failov

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Rafał Kupka
On Wed, Aug 12, 2009 at 08:47:18PM +0200, Andrew Beekhof wrote: Hello, > > I don't have time to look into code, sorry. Maybe it is from > > mkdir (..., 750) instead of mkdir (..., 0750)? > > can someone add a leading zero and let me know if it helps? > >> perhaps write a small program that uses

Re: [Pacemaker] Resource colocation

2009-08-12 Thread Diego Julian Remolina
> Now that's where the things get interesting, I want to relocate the IP > > address on another node _if_ nginx fails on the node on which the IP > runs. Are you already addressing network connectivity with pingd or something else? In your model it would be possible to move the IP address to a n

[Pacemaker] Resource colocation

2009-08-12 Thread Brice Figureau
Hi, With Pacemaker 1.0.4 and Heartbeat 2.99, I need to create a configuration which does the following (for example with 2 nodes): * apache running on every nodes * nginx running on every nodes * an IP address running on one node only This scheme is easy to produce (one clone for apache, on

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Andrew Beekhof
2009/8/12 Rafał Kupka : > On Wed, Aug 12, 2009 at 03:20:29PM +0200, Andrew Beekhof wrote: >> 2009/8/12 Ante Karamatić : > Hello, > >> > Andrew Beekhof wrote: >> > >> >> For .../crm that should be enough. >> >> Can you confirm for heartbeat? >> > >> > I reposonded over my phone so I wasn't able to c

Re: [Pacemaker] STONITH Deathmatch Explained

2009-08-12 Thread Tim Serong
Lars Marowsky-Bree wrote: > On 2009-08-11T00:41:42, Tim Serong wrote: > > Hi Tim, > > it's worth noting that we hunted down an additional new scenario which > could cause this to trigger. > > Some switches seem to take noticably longer to get multicast > communication up, while unicast or even

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Raoul Bhatia [IPAX]
On 08/12/2009 02:20 PM, Ante Karamatić wrote: > Andrew Beekhof wrote: > >> For .../crm that should be enough. >> Can you confirm for heartbeat? > > I reposonded over my phone so I wasn't able to check it out. Here are > the real findings: > > d-wxr-xr-T 2 hacluster haclient 140 2009-08-12 14:17

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Rafał Kupka
On Wed, Aug 12, 2009 at 03:20:29PM +0200, Andrew Beekhof wrote: > 2009/8/12 Ante Karamatić : Hello, > > Andrew Beekhof wrote: > > > >> For .../crm that should be enough. > >> Can you confirm for heartbeat? > > > > I reposonded over my phone so I wasn't able to check it out. Here are > > the real f

Re: [Pacemaker] Master/Slave resource cannot start

2009-08-12 Thread Diego Remolina
could you instead attach to it with gdb and see what it was doing? I will try, but cannot promise it will be soon, beginning of the semester is very busy and I am not familiar with gdb... that looks suspicious... are you invoking the shell or crm_shadow? This is probably when I type crm st

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Andrew Beekhof
2009/8/12 Ante Karamatić : > Andrew Beekhof wrote: > >> For .../crm that should be enough. >> Can you confirm for heartbeat? > > I reposonded over my phone so I wasn't able to check it out. Here are > the real findings: > > d-wxr-xr-T 2 hacluster haclient 140 2009-08-12 14:17 /var/run/crm/ > d-wxr-

Re: [Pacemaker] Master/Slave resource cannot start

2009-08-12 Thread Andrew Beekhof
On Wed, Aug 12, 2009 at 2:23 PM, Diego Remolina wrote: >>> Aug 12 07:57:17 phys-file02 openais[9380]: [crm  ] info: >>> process_ais_conf: >>> Reading configure >>> Aug 12 07:57:17 phys-file02 openais[9380]: [MAIN ] info: >>> config_find_next: >>> Processing additional logging options... >>> Aug 12

Re: [Pacemaker] Master/Slave resource cannot start

2009-08-12 Thread Diego Remolina
Aug 12 07:57:17 phys-file02 openais[9380]: [crm ] info: process_ais_conf: Reading configure Aug 12 07:57:17 phys-file02 openais[9380]: [MAIN ] info: config_find_next: Processing additional logging options... Aug 12 07:57:17 phys-file02 openais[9380]: [MAIN ] info: get_config_opt: Found 'on' for o

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Ante Karamatić
Andrew Beekhof wrote: > For .../crm that should be enough. > Can you confirm for heartbeat? I reposonded over my phone so I wasn't able to check it out. Here are the real findings: d-wxr-xr-T 2 hacluster haclient 140 2009-08-12 14:17 /var/run/crm/ d-wxrt 3 root root 140 2009-08-12 14:17 /var

Re: [Pacemaker] Master/Slave resource cannot start

2009-08-12 Thread Andrew Beekhof
On Wed, Aug 12, 2009 at 2:13 PM, Diego Remolina wrote: >> Can you define "not correctly" please? >> I'd rather not ignore such behavior. > > The machine would come up and not join the cluster. Checking the status of > openais would show as "Running". crm status would show: > > Connection to cluster

Re: [Pacemaker] About pacemaker license

2009-08-12 Thread Andrew Beekhof
On Wed, Aug 12, 2009 at 5:16 AM, Derek Duan wrote: > Hi all, > > I have a question. > What license is Pacemaker under? The vast majority is under (l)gpl v2. There is also a small portion under BSD so that it can load into openais/corosync without legal complications. Is that an issue for you? __

[Pacemaker] About pacemaker license

2009-08-12 Thread Derek Duan
Hi all, I have a question. What license is Pacemaker under? Best Regards Derek Duan ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Master/Slave resource cannot start

2009-08-12 Thread Diego Remolina
Can you define "not correctly" please? I'd rather not ignore such behavior. The machine would come up and not join the cluster. Checking the status of openais would show as "Running". crm status would show: Connection to cluster failed: connection failed A look at the log file shows: Aug 12

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Andrew Beekhof
2009/8/12 Ante Karamatić : > Andrew Beekhof wrote: > >> Can you define funny? > > IIRC: > > dr-xrt For .../crm that should be enough. Can you confirm for heartbeat? Latest code says: mkdir(CRM_STATE_DIR, 750); chown(CRM_STATE_DIR, pwentry->pw_uid, pwentry->pw_gid); m

Re: [Pacemaker] Please Help - frequent cleanup is required for the resources on failover condition

2009-08-12 Thread Abhin.G.S - DEUCN
Hello Andrew, It seems that the ocfs2 in node1 went mad and wrote a log file of 3.2gb size of following data in just a few minutes. nothing else was remaining in the log file, so i'm sending you the snapshot. Aug 3 11:58:41 node1 ocfs2_controld: Notified for "6B83314C6D314DDDBF1F7FF83C0A2A1

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Ante Karamatić
Andrew Beekhof wrote: > Can you define funny? IIRC: dr-xrt ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Andrew Beekhof
2009/8/12 Ante Karamatić : > Andrew Beekhof wrote: > >>> In Ubuntu's pacemaker we've already created an init script that creates >>> /var/run/[crm|heartbeat] and sets correct permissions. That init script >>> is started before corosync which then starts corosync service. >> >> For corosync, the plu

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Ante Karamatić
Andrew Beekhof wrote: >> In Ubuntu's pacemaker we've already created an init script that creates >> /var/run/[crm|heartbeat] and sets correct permissions. That init script >> is started before corosync which then starts corosync service. > > For corosync, the plugin should create those directorie

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Andrew Beekhof
2009/8/12 Ante Karamatić : > Andrew Beekhof wrote: > >> actually, it should be pacemaker that adds this directory. >> i'll go fix the install now. > > The issue is that pacemaker doesn't have an init script and some > distributions have /var/run in tmps, therefor all the changes during the > instal

Re: [Pacemaker] ANNOUNCE: Pacemaker 1.0.5 now available (maintenance release)

2009-08-12 Thread Andrew Beekhof
2009/8/12 Ante Karamatić : > Andrew Beekhof wrote: > >> You can read the full release notes at >> http://theclusterguy.clusterlabs.org/post/160759790/pacemaker-1-0-5-released > > Ubuntu packages for 9.10 are available from: Ooops, I should have made a link the Ubuntu packages too. /me goes off to

Re: [Pacemaker] ANNOUNCE: Pacemaker 1.0.5 now available (maintenance release)

2009-08-12 Thread Ante Karamatić
Ante Karamatić wrote: > https://edge.launchpad.net/~ubuntu-ha/+archive/ppa Ups... Make that: https://edge.launchpad.net/~ubuntu-ha-maintainers/+archive/ppa Sorry :) ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/

Re: [Pacemaker] ANNOUNCE: Pacemaker 1.0.5 now available (maintenance release)

2009-08-12 Thread Ante Karamatić
Andrew Beekhof wrote: > You can read the full release notes at > http://theclusterguy.clusterlabs.org/post/160759790/pacemaker-1-0-5-released Ubuntu packages for 9.10 are available from: https://edge.launchpad.net/~ubuntu-ha/+archive/ppa Packages for 8.04 will be available from the same locatio

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Ante Karamatić
Andrew Beekhof wrote: > actually, it should be pacemaker that adds this directory. > i'll go fix the install now. The issue is that pacemaker doesn't have an init script and some distributions have /var/run in tmps, therefor all the changes during the installation aren't kept after reboot. In Ub

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Andrew Beekhof
2009/8/12 Ante Karamatić : > Raoul Bhatia [IPAX] wrote: > >> mkdir /var/run/crm/; chown hacluster.haclient /var/run/crm/; >> chmod 750 /var/run/crm/ >> >> (is 750 ok for this or should this be 755 as lrmd runs as nobody?) >> >> maybe it is also ok to simply move this directory? martin, can you >> p

Re: [Pacemaker] ANNOUNCE: Pacemaker 1.0.5 now available (maintenance release)

2009-08-12 Thread Raoul Bhatia [IPAX]
On 08/11/2009 11:11 PM, Andrew Beekhof wrote: > Time for another release, 1.0.5 is now available. > You can read the full release notes at > http://theclusterguy.clusterlabs.org/post/160759790/pacemaker-1-0-5-released > > > (I think I mentioned last time how much I was preferring writing these >

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Ante Karamatić
Raoul Bhatia [IPAX] wrote: > mkdir /var/run/crm/; chown hacluster.haclient /var/run/crm/; > chmod 750 /var/run/crm/ > > (is 750 ok for this or should this be 755 as lrmd runs as nobody?) > > maybe it is also ok to simply move this directory? martin, can you > please shed a light on this? I'm no

Re: [Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Raoul Bhatia [IPAX]
hi, On 08/12/2009 10:20 AM, Rafał Kupka wrote: > Hello, > > Fresh pacemaker-heartbeat installations don't create /var/run/crm/ directory. > > Repository: > deb http://people.debian.org/~madkiss/ha lenny main > > Versions: > heartbeat - 2.99.2+sles11r9-5~bpo50+1 > heartbeat-common-

[Pacemaker] Bug in debian packages (http://people.debian.org/~madkiss/ha)

2009-08-12 Thread Rafał Kupka
Hello, Fresh pacemaker-heartbeat installations don't create /var/run/crm/ directory. Repository: deb http://people.debian.org/~madkiss/ha lenny main Versions: heartbeat - 2.99.2+sles11r9-5~bpo50+1 heartbeat-common- 2.99.2+sles11r9-5~bpo50+1 pacemaker-heartbeat - 1.0.4.1+hg20090606-

Re: [Pacemaker] Please Help - frequent cleanup is required for the resources on failover condition

2009-08-12 Thread Andrew Beekhof
On Sun, Aug 9, 2009 at 4:41 PM, Ajith Kumar wrote: > Hello Everyone, > > I was behind a project to create a test cluster using Pacemaker on suse11. > With kind help of lmb and beekhof @ #linux-cluster i was finally able to put > up a two node cluster using HP ML350g5 each with two HBA connected to