[Pacemaker] Does every resource in a cluster need to be configured on every node?

2009-06-18 Thread Димитър Бойн
Hi, All! I have a Logical Cluster where a set of servers running different server applications provide complex set of services. To make the explanation short a have 8 custom application groups each within a pool of several nodes. I was thinking that it would be ok if I install my applications ea

Re: [Pacemaker] operation negations

2009-06-18 Thread Димитър Бойн
Hi again! I might have figured this out - if I guess the documentation correctly: "eq" - "is equal to" "ne" - "is not equal to" "gt" - "is greater than" "gte" - "is greater than or equal" "lte" - "is less than or equal" Then my attempt to construct a rule that would forbid running a service of mi

[Pacemaker] operation negations

2009-06-18 Thread Димитър Бойн
Hi, All! Please help me with the correct negation syntax! In the documentation there is an example how to build a rule that would forbid running a resource on certain node: My question is - how could we modify the rule so it says "do not run on any node if its uname attribute "IS NOT EQU

Re: [Pacemaker] configuring pingd and hbaping with CentOS 5's heartbeat rpms.

2009-06-18 Thread Lundgren, Andrew
> > Are you sure that the attribute is called "pingd"? You can check > in the CIB status section what is being set. > Thanks for your reply Based on your input I looked at the output in the cibstatus. To make sure I was looking in the right place, I downed the interface, did a query and then

[Pacemaker] API for programmatically controlling a heartbeat 3 cluster?

2009-06-18 Thread martin . braun
Hi All, I want to be able to configure the CIB of a heartbeat/pacemaker cluster programmatically (Java). I don't want to reinvent the PythonGUI - I just want to be able to change some basic settings like the Virtual-IP Address (i.e. changing resource's attributes), set a node to standby or g

Re: [Pacemaker] ocf_log debug ... doesn't?

2009-06-18 Thread Dejan Muhamedagic
On Thu, Jun 18, 2009 at 11:47:59AM +0200, Dejan Muhamedagic wrote: > Hi, > > On Thu, Jun 18, 2009 at 09:05:40AM +0200, Florian Haas wrote: > > Dejan, > > > > On 2009-06-17 21:13, Dejan Muhamedagic wrote: > > >> Where exactly does it set HA_LOGFACILITY? > > > > > > It should be done by aisexec, i.

Re: [Pacemaker] configuring pingd and hbaping with CentOS 5's heartbeat rpms.

2009-06-18 Thread Dejan Muhamedagic
Hi, On Thu, Jun 18, 2009 at 12:31:58AM -0600, Lundgren, Andrew wrote: > Try > http://clusterlabs.org/wiki/Image:Configuration_Explained_1.0.pdf > > I have read though the pingd section and came up with what I thought would > work but I could use another set of eyes I think. > > This is what I h

Re: [Pacemaker] ocf_log debug ... doesn't?

2009-06-18 Thread Dejan Muhamedagic
Hi, On Thu, Jun 18, 2009 at 09:05:40AM +0200, Florian Haas wrote: > Dejan, > > On 2009-06-17 21:13, Dejan Muhamedagic wrote: > >> Where exactly does it set HA_LOGFACILITY? > > > > It should be done by aisexec, i.e. some ais plugin. Oh, Andrew > > set it to HA_logfacility :( And that in December 2

Re: [Pacemaker] ocf_log debug ... doesn't?

2009-06-18 Thread Florian Haas
Dejan, On 2009-06-17 21:13, Dejan Muhamedagic wrote: >> Where exactly does it set HA_LOGFACILITY? > > It should be done by aisexec, i.e. some ais plugin. Oh, Andrew > set it to HA_logfacility :( And that in December 2007. OK, I'll > add the other one now. Thanks, I saw the commit. You may want to