[Pacemaker] Stateful RA

2010-06-01 Thread Vadym Chepkov
Hi, I was looking into Stateful resource agent (branch: stable-1.0) stateful_start() { stateful_check_state master if [ $? = 0 ]; then # CRM Error - Should never happen return $OCF_RUNNING_MASTER fi ... Why does it return $OCF_RUNNING_MASTER when master is not r

Re: [Pacemaker] Both nodes become master

2010-06-01 Thread Andrew Beekhof
On Tue, Jun 1, 2010 at 6:22 PM, Jorge Santos Fonseca wrote: > > > Hi all! > >     I'm installing a system with heartbeat 3.0.3 and Pacemaker 1.0.8 with > the configuration showed at the end of the message. Network is bonded (NIC > teaming) > > If I unplug nic cables from the master server the othe

Re: [Pacemaker] mounting gfs2

2010-06-01 Thread Andrew Beekhof
On Tue, Jun 1, 2010 at 12:50 PM, marc genou wrote: > I'm using heartbeat. ¿Should I try with corosync? You can only do this with corosync (and openais) installed. Neither the dlm nor gfs support heartbeat. ___ Pacemaker mailing list: Pacemaker@oss.clus

[Pacemaker] Antwort: Re: Antwort: Re: 2 node cluster with clvm, configuration help needed...

2010-06-01 Thread Patrik . Rapposch
hy, so I tried yesterday to update to a newer version. I am using sles11. At least it worked with the opensuse 11.0 repo (http://www.clusterlabs.org/rpm/opensuse-11.0/x86_64/) and one additional library, which I got as rpm. The problem I have now is, that if I want to run the crm command, I g

[Pacemaker] Both nodes become master

2010-06-01 Thread Jorge Santos Fonseca
Hi all! I'm installing a system with heartbeat 3.0.3 and Pacemaker 1.0.8 with the configuration showed at the end of the message. Network is bonded (NIC teaming) If I unplug nic cables from the master server the other become inactive (slave) that it's ok. Now, I plug the machine again to

[Pacemaker] handle EINTR in sem_wait (pacemaker & corosync 1.2.2+ crash)

2010-06-01 Thread Steven Dake
Hello, I have found the cause of the crash that was occurring only on some deployments. The cause is that sem_wait is interrupted by signal, and the wait operation is not retried (as is customary in posix). Patch attached to fix A big thank you to Vladislav Bogdanov for running the test cas

Re: [Pacemaker] mounting gfs2

2010-06-01 Thread marc genou
I'm using heartbeat. ¿Should I try with corosync? ___ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Clu

Re: [Pacemaker] mounting gfs2

2010-06-01 Thread Oliver Heinz
Am Montag, 31. Mai 2010, um 09:45:26 schrieb marc genou: > Hi > > I am trying to deploy an Active/active cluster but I found some troubles. > When I try to mount a gfs2 filesystem in top of drbd I got this error: > > gfs_controld join connect error: Connection refused > error mounting lockproto l