Re: [Pacemaker] [BUG] Clone + group = orphan(s) ?

2010-01-05 Thread Thomas Guthmann
Re, Any chance you could download the latest tarball and try that? http://hg.clusterlabs.org/pacemaker/stable-1.0/archive/1aa7cf1450e4.tar.bz2 Awesome! No more orphans ! \o/ Almost actually :( I've just had 2 orphans (tom-DNS:2,tom-DNS:3) for a clone containing 2 groups (tom-DNS:0, to

Re: [Pacemaker] [BUG] Clone + group = orphan(s) ?

2010-01-05 Thread Thomas Guthmann
Hi Andrew Any chance you could download the latest tarball and try that? http://hg.clusterlabs.org/pacemaker/stable-1.0/archive/1aa7cf1450e4.tar.bz2 Awesome! No more orphans ! \o/ Everything is working now, it's clean and tidy. *But* ... there is a small regression in the crm tool. When I

Re: [Pacemaker] rsc_location does not work.

2010-01-05 Thread renayama19661014
Hi Andrew, By the method that you showed, the problem was solved. Thank you. Hideo Yamauchi. --- renayama19661...@ybb.ne.jp wrote: > Hi Andrew, > > Thank you for comment. > > > > You would be better off with a constraint like example 9.3 which will > > > exclude any unconnected node and leave

[Pacemaker] crm_attribte failed with Multiple attributes match

2010-01-05 Thread hj lee
Hi, I have a very simple master/slave in two node cluster. The crm_attribute failed to master score because find_nvpair_attr() found multiple matches. But I think that's not possible, there should be always one entry for master score for each node. I just had one failure today. The log is below. I

Re: [Pacemaker] rsc_location does not work.

2010-01-05 Thread renayama19661014
Hi Andrew, Thank you for comment. > > You would be better off with a constraint like example 9.3 which will > > exclude any unconnected node and leave the previous location scores > > unchanged: > > > > \xA0 > \xA0http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/ch09s03

Re: [Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Angie T. Muhammad
Everything is working fine now.. Thanks for every one who helped :) On Wed, Jan 6, 2010 at 12:53 AM, Angie T. Muhammad wrote: > well, I am not sure if what I did is right or not, but: > > > # vim /etc/ha.d/ha.cf > crm on > > // now crm_mon displays things as usual !! > # crm_mon -i5 > > =

Re: [Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Angie T. Muhammad
well, I am not sure if what I did is right or not, but: # vim /etc/ha.d/ha.cf crm on // now crm_mon displays things as usual !! # crm_mon -i5 Last updated: Wed Jan 6 00:49:04 2010 Stack: Heartbeat Current DC: node2.mydomain.com (8e8ca99f-ff34-45c7-814b-d73d69889441) - partition wit

Re: [Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Angie T. Muhammad
Hello, Thank you for the prompt reply. All permissions are correct, and here is the output of ulimit: # cd /var/lib/heartbeat/cores/ # ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blo

Re: [Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Dejan Muhamedagic
Hi, On Tue, Jan 05, 2010 at 09:47:46PM +0200, Angie T. Muhammad wrote: > mmm, I truncated the logs to re-genrate the error and send you the file, but > the error no longer appears at /var/log/messages now. There were the words > "kernel" and "segfault" on the last line !!! Did you enabled coredum

Re: [Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Angie T. Muhammad
I'm running on CentOS 5.3 using kernel 2.6.18-128.el5 Thanks On Tue, Jan 5, 2010 at 9:47 PM, Angie T. Muhammad wrote: > mmm, I truncated the logs to re-genrate the error and send you the file, > but the error no longer appears at /var/log/messages now. There were the > words "kernel" and "segfa

Re: [Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Angie T. Muhammad
mmm, I truncated the logs to re-genrate the error and send you the file, but the error no longer appears at /var/log/messages now. There were the words "kernel" and "segfault" on the last line !!! Any way, I'll try to regenerate the error at /var/log/messages and send it. Till then, would you plea

Re: [Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Dejan Muhamedagic
Hi, On Tue, Jan 05, 2010 at 09:19:16PM +0200, Angie T. Muhammad wrote: > Hello all > > Thank you Dejan and Dr. Schwartzkopff > But please bear with me because I'm still suffering a problem. Here is what > I did: > > # wget -O /etc/yum.repos.d/clusterlabs.repo > http://clusterlabs.org/rpm/epel-5

Re: [Pacemaker] multistate resource warning

2010-01-05 Thread Frank DiMeo
Thank you Lars. -Frank > -Original Message- > From: Lars Ellenberg [mailto:lars.ellenb...@linbit.com] > Sent: Tuesday, January 05, 2010 11:21 AM > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] multistate resource warning > > On Tue, Jan 05, 2010 at 09:20:53AM -0500, Frank

Re: [Pacemaker] multistate resource warning

2010-01-05 Thread Lars Ellenberg
On Tue, Jan 05, 2010 at 09:20:53AM -0500, Frank DiMeo wrote: > Hi All, > > > > I've got a simple multistate resource running on a two node cluster. > The enclosed configuration is happy accepted by the CIB, and I see the > resource running in the master/slave state on the two nodes, but when >

[Pacemaker] multistate resource warning

2010-01-05 Thread Frank DiMeo
Hi All, I've got a simple multistate resource running on a two node cluster. The enclosed configuration is happy accepted by the CIB, and I see the resource running in the master/slave state on the two nodes, but when I run a crm_verify, I get a warning: cibadmin -replace --xml-file 1rs

Re: [Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Michael Schwartzkopff
Am Dienstag, 5. Januar 2010 13:00:44 schrieb Dejan Muhamedagic: > Hi, > > On Tue, Jan 05, 2010 at 01:51:38PM +0200, Angie T. Muhammad wrote: > > Hello all, > > Hope you spent good time on holidays! > > > > Our data center does not support multicast and I have been googling > > "unicast site:openais

Re: [Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Dejan Muhamedagic
Hi, On Tue, Jan 05, 2010 at 01:51:38PM +0200, Angie T. Muhammad wrote: > Hello all, > Hope you spent good time on holidays! > > Our data center does not support multicast and I have been googling "unicast > site:openais.org" but now results. > And changing our data center is not an option at the

[Pacemaker] Can not use multicast, Any Ideas?

2010-01-05 Thread Angie T. Muhammad
Hello all, Hope you spent good time on holidays! Our data center does not support multicast and I have been googling "unicast site:openais.org" but now results. And changing our data center is not an option at the moment. I wonder does any beta version of openais support unicast? If not, do you h

Re: [Pacemaker] rsc_location does not work.

2010-01-05 Thread Andrew Beekhof
Minor correction to the reply On Tue, Jan 5, 2010 at 12:32 PM, Andrew Beekhof wrote: > 2009/12/22  : >> Hi, >> >> We constituted the complicated cluster of three nodes.(2ACT+1STB) >> >> We built a cluster by the next combination. >> >>  * corosync-1.1.2 >>  * Reusable-Cluster-Components-fa44a169d

Re: [Pacemaker] rsc_location does not work.

2010-01-05 Thread Andrew Beekhof
2009/12/22 : > Hi, > > We constituted the complicated cluster of three nodes.(2ACT+1STB) > > We built a cluster by the next combination. > >  * corosync-1.1.2 >  * Reusable-Cluster-Components-fa44a169d55f >  * Cluster-Resource-Agents-6f02f8ad7fd4 >  * Pacemaker-1-0-d990c453b999 > > The resource of

Re: [Pacemaker] [BUG] Clone + group = orphan(s) ?

2010-01-05 Thread Andrew Beekhof
On Tue, Jan 5, 2010 at 1:41 AM, Thomas Guthmann wrote: > Re, > >> So cloned groups are not fun and side effects are random :) I will do >> more tests without IPAddr2 which seems a bit fancy and dodgy. > > I've just tried to clone a group tom-TEST containing 2 simple primitives > (ocf:homemade:name

Re: [Pacemaker] Why CIB is client of CCM?

2010-01-05 Thread Andrew Beekhof
On Tue, Jan 5, 2010 at 3:22 AM, Javen Wu wrote: > Thanks Beekhof for answering my question. > I don't mean it matters. I just feel confuse why the function seems > redundant when I tried to understand the code of pacemaker ;) > > I understand the CIB should be workable without CRMD around. But is