Re: [Pacemaker] trigger STONITH for testing purposes

2009-06-02 Thread Yan Gao
On Fri, 2009-05-22 at 12:33 +0200, Andrew Beekhof wrote: > On Wed, May 20, 2009 at 6:39 PM, Bob Haxo wrote: > > Hi Andrew, > > > > I'd say you removed no-quorum-policy=ignore > > > > Actually, the pair of no_quorum_policy and no-quorum-policy are set to > > "ignore", and expected-quorum-votes is

[Pacemaker] cibadmin doesn't change cib.xml

2009-06-02 Thread Infos E-Blokos
Hi, when I try to modify cib.xml with "cibadmin -S -x newcib.xml" nothing is changed. - 4 nodes - Fedora 10 - heartbeat 2.99-8 - pacemaker 1.0.3 all nodes are running with heartbeat/pacemaker Thanks Franck -- This message has been scanned for viruses and dangerous content by MailScanner, and

Re: [Pacemaker] System Health backend part

2009-06-02 Thread Mark Hamzy
and...@beekhof.net wrote on 06/02/2009 16:46:55 PM: > Do you think this should live in pacemaker or with the RAs? > I'm inclined to think the latter but am open to persuasion. Well, I think that these files do not fit within the Resource Agent model. While you could theoretically start and stop

Re: [Pacemaker] Fedora 11 with last version ?

2009-06-02 Thread Andrew Beekhof
On Tue, Jun 2, 2009 at 5:28 PM, Infos E-Blokos wrote: >> On Tue, Jun 2, 2009 at 5:21 PM, Infos E-Blokos wrote: >> >>> is Fedora 11 will have the last version of HA pacemaker ? >> >> Pacemaker isn't included in Fedora (yet) > > http://download.opensuse.org/repositories/server:/ha-clustering/Fedor

Re: [Pacemaker] Resource does not migrate to another cluster (node2)

2009-06-02 Thread Dejan Muhamedagic
Hi, On Tue, Jun 02, 2009 at 03:34:02PM -0300, George Gomes wrote: > Hi all, > > There is a problem when I run "crm ra list stonith". No classes are listed. > Does anybody have any idea of what is happening? Classes are not going to be listed, but the set of stonith plugins which are installed. F

Re: [Pacemaker] Resource does not migrate to another cluster (node2)

2009-06-02 Thread George Gomes
Hi all, There is a problem when I run "crm ra list stonith". No classes are listed. Does anybody have any idea of what is happening? Thanks, On Tue, Jun 2, 2009 at 11:36 AM, Andrew Beekhof wrote: > On Tue, Jun 2, 2009 at 3:59 PM, George Gomes wrote: > > Andrew, > > > > I don't have any stoni

Re: [Pacemaker] Fedora 11 with last version ?

2009-06-02 Thread Infos E-Blokos
- Original Message - From: "Andrew Beekhof" To: Cc: Sent: Tuesday, June 02, 2009 11:24 AM Subject: Re: [Pacemaker] Fedora 11 with last version ? On Tue, Jun 2, 2009 at 5:21 PM, Infos E-Blokos wrote: Hi, is Fedora 11 will have the last version of HA pacemaker ? Pacemaker isn't

Re: [Pacemaker] Fedora 11 with last version ?

2009-06-02 Thread Andrew Beekhof
On Tue, Jun 2, 2009 at 5:21 PM, Infos E-Blokos wrote: > Hi, > > is Fedora 11 will have the last version of HA pacemaker ? Pacemaker isn't included in Fedora (yet) ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailm

[Pacemaker] Fedora 11 with last version ?

2009-06-02 Thread Infos E-Blokos
Hi, is Fedora 11 will have the last version of HA pacemaker ? Thanks Franck -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Pacemaker mailing list Pacemaker@oss.clusterlabs.org htt

Re: [Pacemaker] System Health backend part

2009-06-02 Thread Andrew Beekhof
Do you think this should live in pacemaker or with the RAs? I'm inclined to think the latter but am open to persuasion. On Sat, May 30, 2009 at 1:26 AM, Mark Hamzy wrote: > I would like to see a complete solution for system health shipped with > pacemaker. Would you be opposed to including the ba

Re: [Pacemaker] Resource does not migrate to another cluster (node2)

2009-06-02 Thread Andrew Beekhof
On Tue, Jun 2, 2009 at 3:59 PM, George Gomes wrote: > Andrew, > > I don't have any stonith resources defined.I have not found a way to create > a stonith resource, how can I do that? Its covered in the documentation. Try: http://clusterlabs.org/wiki/Documentation > > Regards, > George Gomes > >

Re: [Pacemaker] [Linux-HA] new doc about stonith/fencing

2009-06-02 Thread Dejan Muhamedagic
Hi, On Fri, May 29, 2009 at 02:31:37PM -0400, Ryan Steele wrote: > Jan Kalcic wrote: >> Really interesting. I would have appreciated some more example (they are >> always welcome) but still very interesting. >> >> Thanks, >> Jan >> >> Dejan Muhamedagic wrote: >>> Hi, >>> >>> Trying to make it a bi

Re: [Pacemaker] Resource does not migrate to another cluster (node2)

2009-06-02 Thread George Gomes
Andrew, I don't have any stonith resources defined.I have not found a way to create a stonith resource, how can I do that? Regards, George Gomes On Tue, Jun 2, 2009 at 10:46 AM, Andrew Beekhof wrote: > On Tue, Jun 2, 2009 at 2:29 PM, George Gomes wrote: > > Hi Andrew, > > > > The Pacemaker v

Re: [Pacemaker] Resource does not migrate to another cluster (node2)

2009-06-02 Thread Andrew Beekhof
On Tue, Jun 2, 2009 at 2:29 PM, George Gomes wrote: > Hi Andrew, > > The Pacemaker version that I am using is 1.03 and I configured the ha.cf > file with tag "crm respawn". Is this enough to have the STONITH resource on? Any version will allow stonith. The 1.0 series requires it by default. Do y

Re: [Pacemaker] Resource does not migrate to another cluster (node2)

2009-06-02 Thread George Gomes
Hi Andrew, The Pacemaker version that I am using is 1.03 and I configured the ha.cffile with tag "crm respawn". Is this enough to have the STONITH resource on? Thanks in advance, George Gomes On Tue, Jun 2, 2009 at 9:12 AM, Andrew Beekhof wrote: > Which pacemaker version? > Do you have stonith

Re: [Pacemaker] Resource does not migrate to another cluster (node2)

2009-06-02 Thread Andrew Beekhof
Which pacemaker version? Do you have stonith resources defined? On Mon, Jun 1, 2009 at 11:03 PM, George Gomes wrote: > Hi all, > >    I have a problem on my cluster when I kill heartbeat process on node1 > using command "killall heartbeat". The second node does not take over the > resource. Other

Re: [Pacemaker] clone resource examples

2009-06-02 Thread Andrew Beekhof
Try the stonith section of the 1.0 configuration explained pdf. On Tue, Jun 2, 2009 at 7:37 AM, Infos E-Blokos wrote: > Hi, > > Is anyone know where I can find some clone resource example (with xml) ? > > Thanks > > Franck > > -- > This message has been scanned for viruses and > dangerous content

Re: [Pacemaker] OCF_RESKEY_CRM_meta* envars

2009-06-02 Thread Florian Haas
On 2009-06-02 13:48, Andrew Beekhof wrote: >>> Which vars in particular are you talking about? >> OCF_RESKEY_CRM_meta_clone_max >> OCF_RESKEY_CRM_meta_clone_node_max >> OCF_RESKEY_CRM_meta_master_max >> OCF_RESKEY_CRM_meta_master_node_max >> >> I fail to understand under which circumstances exactly

Re: [Pacemaker] OCF_RESKEY_CRM_meta* envars

2009-06-02 Thread Andrew Beekhof
On Tue, Jun 2, 2009 at 11:24 AM, Florian Haas wrote: > Andrew, > > On 2009-06-02 11:15, Andrew Beekhof wrote: Check out the action2xml() function, in particular its use of hash2metafield(). >>> Hm. I feel a wee bit smarter after looking through that, but still fail >>> to understand why

Re: [Pacemaker] pacemaker-mgmt-client: broken dependency in CentOS 5 repo

2009-06-02 Thread Dejan Muhamedagic
Hi Yan, On Mon, Jun 01, 2009 at 03:00:52PM +0800, Yan Gao wrote: > On Wed, 2009-05-27 at 15:46 +0200, Andrew Beekhof wrote: > > I'll have to defer to Yan Gao on this one. > > I'm not familiar with the GUI's requirements. > :-) > > > > > On Tue, May 26, 2009 at 1:05 PM, Florian Haas wrote: > > >

Re: [Pacemaker] Redesigned Debian HA packages, try 3 (was: try 2)

2009-06-02 Thread Martin Gerhard Loschwitz
Juha Heinanen wrote: > martin, > > i tried to install heartbeat and pacemaker using today's packages from > > deb http://people.debian.org/~madkiss/ha lenny main > > and file > > /usr/share/doc/heartbeat/README.lrm_regression_tests.gz > > is still in two packages: > > p$ dpkg --contents heart

Re: [Pacemaker] OCF_RESKEY_CRM_meta* envars

2009-06-02 Thread Florian Haas
Andrew, On 2009-06-02 11:15, Andrew Beekhof wrote: >>> Check out the action2xml() function, in particular its use of >>> hash2metafield(). >> Hm. I feel a wee bit smarter after looking through that, but still fail >> to understand why > > Do you mean technically or conceptually? I would say I n

Re: [Pacemaker] compatibility of net-snmp

2009-06-02 Thread Andrew Beekhof
On Tue, Jun 2, 2009 at 10:14 AM, Junko IKEDA wrote: > Hi, > > The latest crm_mon can send snmp trap, > but it uses "netsnmp_transport_open_client()". > This function is only included in net-snmp 5.4. > I have RHEL5.3, and net-snmp version is 5.3. > If I build pacemaker with --enable-snmp, > snmp f

Re: [Pacemaker] OCF_RESKEY_CRM_meta* envars

2009-06-02 Thread Andrew Beekhof
On Tue, Jun 2, 2009 at 10:24 AM, Florian Haas wrote: > Andrew, > > On 05/29/2009 09:52 AM, Andrew Beekhof wrote: >> On Thu, May 28, 2009 at 10:32 PM, Florian Haas wrote: >>> Andrew, >>> >>> would you mind pointing me to wherever in the code the >>> OCF_RESKEY_CRM_meta* variables are set and passe

Re: [Pacemaker] OCF_RESKEY_CRM_meta* envars

2009-06-02 Thread Florian Haas
Andrew, On 05/29/2009 09:52 AM, Andrew Beekhof wrote: > On Thu, May 28, 2009 at 10:32 PM, Florian Haas wrote: >> Andrew, >> >> would you mind pointing me to wherever in the code the >> OCF_RESKEY_CRM_meta* variables are set and passed into the RA >> environment? I'd like to understand where and h

Re: [Pacemaker] pacemaker-mgmt-client: broken dependency in CentOS 5 repo

2009-06-02 Thread Florian Haas
On 06/02/2009 05:47 AM, Yan Gao wrote: >>> Or remove/correct the dependency (if that's possible). >> python-lxml is required by GUI now. Maybe I should try to make it >> optional in codes, > Done: > http://hg.clusterlabs.org/pacemaker/pygui/rev/382c4f4f14a3 > >> and remove the dependency in rpm for

[Pacemaker] compatibility of net-snmp

2009-06-02 Thread Junko IKEDA
Hi, The latest crm_mon can send snmp trap, but it uses "netsnmp_transport_open_client()". This function is only included in net-snmp 5.4. I have RHEL5.3, and net-snmp version is 5.3. If I build pacemaker with --enable-snmp, snmp function would become invalid. configure.in if test $SUPPORT_SNM