Hi,
During a seminar we delevoped a Resource agent that measures CPU load and
writes the according state into the #health-cpu attribute.
The agent measures the percentage of the cpu idle. If it drops below red_limit
the attribute will be red. Yellow according.
Please review my agent and eventu
On 11/21/2009 at 06:25 AM, Shravan Mishra wrote:
> This is my exact output:
>
>
> Last updated: Fri Nov 20 18:20:51 2009
> Stack: openais
> Current DC: node1.itactics.com - partition with quorum
> Version: 1.0.5-9e9faaab40f3f97e3c0d623e4a4c47ed83fa1601
> 2 Nodes configured, 2
This is my exact output:
Last updated: Fri Nov 20 18:20:51 2009
Stack: openais
Current DC: node1.itactics.com - partition with quorum
Version: 1.0.5-9e9faaab40f3f97e3c0d623e4a4c47ed83fa1601
2 Nodes configured, 2 expected votes
4 Resources configured.
Online: [ node1.itac
Hi All,
In a simple two node cluster, I load the enclosed xml file. I expect that this
is the simplest syntax to specify two resources, eyes and clock, where "eyes"
and "clock" run on the same node.
Actual behavior is that "eyes" and "clock" run on opposite nodes.
Is my xml file wr
Hi,
I have noticed commands like "/usr/sbin/crm_attribute --query --name=ClusterId
-quiet"would log to /var/log/messages.
What is the reason for that? Can I suppress somehow?
Thanks!
./Dimitar Boyn
___
Pacemaker mailing list
Pacemaker@oss.clusterl
On Fri, Nov 20, 2009 at 1:29 PM, Andrew Beekhof wrote:
> On Fri, Nov 20, 2009 at 7:12 PM, Judd Tracy wrote:
> > It is a weird issue. Redhat kills the nfs daemons with a kill -2 in
> their
> > init script. But when pacemaker starts the nfs daemons the only way to
> kill
> > the daemons is a kil
H i guys,
I'm trying to bring up my vitrual ip on eth1 interface but I'm getting
when I do crm_mon I get
:invalid parameter error
That part of the config is :
My eth1 ip address 172.30.0.145.
eth1'
On Fri, Nov 20, 2009 at 8:05 PM, Andrew Beekhof wrote:
> On Fri, Nov 20, 2009 at 12:36 PM, Andrew Beekhof wrote:
>> Remote notifications should work, I'll test that today.
>
> As of http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/a6d70b1b479d
> they finally work for clear-text connections.
> T
Nik,
Any chance you have a backtrace of the core files? That might be
helpful in pinpointing the issue.
To do this run
gdb binaryname corefilename
gdb> bt
Regards
-steve
On Thu, 2009-11-19 at 17:50 +0100, Nikola Ciprich wrote:
> Hi Andrew,
> sorry to bother again, do You have some idea what el
On Fri, Nov 20, 2009 at 4:35 PM, Andrew Beekhof wrote:
> On Fri, Nov 20, 2009 at 5:42 PM, Alexandre Biancalana
> wrote:
>> Hi list,
>>
>> I'm building a 4 node cluster where 2 nodes will export drbd devices
>> via ietd iscsi target (storage nodes) and other 2 nodes will run xen
>> vm (app nodes)
On Fri, Nov 20, 2009 at 12:36 PM, Andrew Beekhof wrote:
> Remote notifications should work, I'll test that today.
As of http://hg.clusterlabs.org/pacemaker/stable-1.0/rev/a6d70b1b479d
they finally work for clear-text connections.
Testing encrypted ones now.
__
On Fri, Nov 20, 2009 at 5:42 PM, Alexandre Biancalana
wrote:
> Hi list,
>
> I'm building a 4 node cluster where 2 nodes will export drbd devices
> via ietd iscsi target (storage nodes) and other 2 nodes will run xen
> vm (app nodes) stored in lvm partition accessed via open-iscsi
> initiator, usi
On Fri, Nov 20, 2009 at 7:15 PM, hj lee wrote:
>
>
> On Fri, Nov 20, 2009 at 12:42 AM, Andrew Beekhof wrote:
>>
>> >
>> > I need a resource to do something on event of node join/left. Is it
>> > possible
>> > to receive node join/left event at resource level?
>>
>> If its a clone, then you can as
Will enabling traps do what you want?
From: hj lee [mailto:kerd...@gmail.com]
Sent: Friday, November 20, 2009 11:16 AM
To: pacemaker@oss.clusterlabs.org
Subject: Re: [Pacemaker] {Pacemaker] Is there a way for a resource to receive
an event of node join or left?
On Fri, Nov 20, 2009 at 12:42 AM,
On Fri, Nov 20, 2009 at 7:12 PM, Judd Tracy wrote:
> It is a weird issue. Redhat kills the nfs daemons with a kill -2 in their
> init script. But when pacemaker starts the nfs daemons the only way to kill
> the daemons is a kill -9. I don't have a clue what pacemaker is doing that
> would cause
On Fri, Nov 20, 2009 at 12:42 AM, Andrew Beekhof wrote:
> >
> > I need a resource to do something on event of node join/left. Is it
> possible
> > to receive node join/left event at resource level?
>
> If its a clone, then you can ask for notifications.
> Otherwise, you need to look in the cib or
It is a weird issue. Redhat kills the nfs daemons with a kill -2 in their
init script. But when pacemaker starts the nfs daemons the only way to kill
the daemons is a kill -9. I don't have a clue what pacemaker is doing that
would cause this behavior.
As far as the mysql order constraint since
On Fri, Nov 20, 2009 at 03:14:16PM -0200, Alexandre Biancalana wrote:
> On Fri, Nov 20, 2009 at 2:53 PM, Matthew Palmer wrote:
> > On Fri, Nov 20, 2009 at 02:42:29PM -0200, Alexandre Biancalana wrote:
> >> ?I'm building a 4 node cluster where 2 nodes will export drbd devices
> >> via ietd iscsi ta
On Fri, Nov 20, 2009 at 2:53 PM, Matthew Palmer wrote:
> On Fri, Nov 20, 2009 at 02:42:29PM -0200, Alexandre Biancalana wrote:
>> I'm building a 4 node cluster where 2 nodes will export drbd devices
>> via ietd iscsi target (storage nodes) and other 2 nodes will run xen
>> vm (app nodes) stored i
On Fri, Nov 20, 2009 at 02:42:29PM -0200, Alexandre Biancalana wrote:
> I'm building a 4 node cluster where 2 nodes will export drbd devices
> via ietd iscsi target (storage nodes) and other 2 nodes will run xen
> vm (app nodes) stored in lvm partition accessed via open-iscsi
> initiator, using mu
Hi list,
I'm building a 4 node cluster where 2 nodes will export drbd devices
via ietd iscsi target (storage nodes) and other 2 nodes will run xen
vm (app nodes) stored in lvm partition accessed via open-iscsi
initiator, using multipath to failover.
Configuring the cluster resources order I cam
On Fri, Nov 20, 2009 at 1:05 PM, Colin wrote:
> PS: I believe this CRM_ASSERT() in lib/common/remote.c can never trigger.
Its designed to detect if somehow we asked for an encrypted message
when Pacemaker wasn;t built with gnutls.
Its a sanity check, its not supposed to go off.
>
> if(encrypt
Hi Andrew,
On 11/20/09 04:10, Andrew Beekhof wrote:
> Btw. You're still missing some test cases ;-)
Oh, right:-) I created some. Hope I created them in the correct way.
Sorry for so many attachments...
Thanks,
Yan
--
y...@novell.com
Software Engineer
China Server Team, OPS Engineering
Novell,
PS: I believe this CRM_ASSERT() in lib/common/remote.c can never trigger.
if(encrypted) {
#ifdef HAVE_GNUTLS_GNUTLS_H
reply = cib_recv_tls(session);
#else
CRM_ASSERT(encrypted == FALSE);
#endif
} else {
___
Pacemaker mailing list
On Fri, Nov 20, 2009 at 12:36 PM, Andrew Beekhof wrote:
> On Fri, Nov 20, 2009 at 11:17 AM, Colin wrote:
>> - The assumption that a partial read (wrt. the buffer) signals no more
>> data is IMO not valid.
>
> It is if you didn't get a signal.
What if the number of payload bytes per IP packet is
On Fri, Nov 20, 2009 at 11:17 AM, Colin wrote:
> Hi,
>
> this is looking better again: A remote "cibadmin -Q" is now doing the
> right thing, however a remote "crm_mon" is still _not_ working
> correctly.
>
> Let's see, now that I should know where to look ... the function
> cib_recv_plaintext() i
Hi,
this is looking better again: A remote "cibadmin -Q" is now doing the
right thing, however a remote "crm_mon" is still _not_ working
correctly.
Let's see, now that I should know where to look ... the function
cib_recv_plaintext() in lib/common/remote.c looks a bit suspicious to
me:
- The "if
On Thu, Nov 19, 2009 at 06:49:53PM +0100, Andrew Beekhof wrote:
> On Thu, Nov 19, 2009 at 3:34 PM, Dejan Muhamedagic
> wrote:
> > Hi,
> >
> > On Thu, Nov 19, 2009 at 01:17:10PM +0100, Andrew Beekhof wrote:
> >> On Thu, Nov 19, 2009 at 12:30 PM, Dejan Muhamedagic
> >> wrote:
> >> > Hi,
> >> >
>
28 matches
Mail list logo