[Linux-ha-dev] Re: [patch 00/12] Fix make dist and Debian packaging

2008-04-02 Thread Simon Horman
On Mon, Mar 31, 2008 at 11:59:11AM +0900, Simon Horman wrote: On Fri, Mar 28, 2008 at 08:51:35AM +0100, Andrew Beekhof wrote: They look good to me. Thanks for repairing the broken assumptions I had about how conditionals work with make dist ! Hi Andrew, Hi All, I have applied the

[Linux-ha-dev] RE: Re: Re: Re: Re: [PATCH]oralce and oralsnr

2008-04-02 Thread HIDEO YAMAUCHI
Hi Dejan, I got the typo of the patch. Please apply a revision to a Dev version. -- diff -r 9d4a6e7716ae oracle --- a/oracleWed Apr 02 07:29:23 2008 +0900 +++ b/oracleWed Apr 02 07:29:47 2008 +0900 @@ -493,7 +493,7 @@ oracle_start() {

Re: [Linux-HA] cibadmin question

2008-04-02 Thread Dominik Klein
Jason Erickson wrote: I am trying to add a resource with this command. cibadmin -C -o resources -x meatware_stonithcloneset.xml It is telling me could not parse input file here is the xml file as well. clone id=meat_stonith_cloneset − This - is not actually in there, is it? If it is,

Re: [Linux-HA] Setup HA on Openvz

2008-04-02 Thread Michael Schwartzkopff
Am Dienstag, 1. April 2008 23:21 schrieb Gary: How about giving VE capability to change IP like this: vzctl set VEID --capability NET_ADMIN:on Maybe this will allow VE to change IP by iteself. Thanks. That hint helps a lot ;-) -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse:

[Linux-HA] Compiling errors: yacc and bison ??

2008-04-02 Thread Adrian Chapela
Hello, I am experimenting errors on compilation of Hearbeat 2.1.3 on 64 bits. The error output is: cc1: warnings being treated as errors /usr/share/bison++/bison.cc: In function ‘yyparse’: /usr/share/bison++/bison.cc:593: warning: ‘yyval’ may be used uninitialized in this function make[2]:

Re: [Linux-HA] Compiling errors: yacc and bison ??

2008-04-02 Thread Dejan Muhamedagic
Hi, On Wed, Apr 02, 2008 at 10:05:18AM +0200, Adrian Chapela wrote: Hello, I am experimenting errors on compilation of Hearbeat 2.1.3 on 64 bits. The error output is: cc1: warnings being treated as errors /usr/share/bison++/bison.cc: In function ?yyparse?: /usr/share/bison++/bison.cc:593:

Re: [Linux-HA] Compiling errors: yacc and bison ??

2008-04-02 Thread Adrian Chapela
Dejan Muhamedagic escribió: Hi, On Wed, Apr 02, 2008 at 10:05:18AM +0200, Adrian Chapela wrote: Hello, I am experimenting errors on compilation of Hearbeat 2.1.3 on 64 bits. The error output is: cc1: warnings being treated as errors /usr/share/bison++/bison.cc: In function ?yyparse?:

Re: [Linux-HA] MySQL Script Master/Slave

2008-04-02 Thread Adrian Chapela
Excuse me, but I didn't read this mail until now!! Hi, On Wed, Feb 20, 2008 at 11:19:24AM +0100, Adrian Chapela wrote: Hello, I have created a homemade mysql master/slave script and now I am testing it. For now I think it is OK. I still continue testing it and for me I think it is OK.

[Linux-HA] crm_failcount queries quite slow?

2008-04-02 Thread Abraham Iglesias
Hi all, i'm trying to implemente my snmp mib module to get every resource failcount in the cluster. I'm surprised that the crm_failcount query to get the failcount for a resource takes 2-3 seconds. Then, for 8 resources in the cluster it takes 16-24s and it's quite low performant. Is it

Re: Re Re: [Linux-HA] Problem about hb_addnode and hb_delnode

2008-04-02 Thread Dejan Muhamedagic
Hi, On Wed, Apr 02, 2008 at 01:55:14PM +0800, wrote: Thank you very much for your explanation, Andrew Beekhof. I'm pretty sure you have to run that command on all the remaining nodes Which would explain why some nodes think there are 3 cluster members and other think there are two

Re: Re Re: [Linux-HA] Problem about hb_addnode and hb_delnode

2008-04-02 Thread Dejan Muhamedagic
On Wed, Apr 02, 2008 at 01:21:24PM +0200, Dejan Muhamedagic wrote: Did you read this howto on removing/deleting nodes: http://linux-ha.org/DRBD/HowTov2 Sorry, that should've read: http://www.linux-ha.org/v2/faq#head-09fdadc641deb9ee88120bb122c49502071b0495 Thanks, Dejan Thanks,

Re: [Linux-HA] crm_failcount queries quite slow?

2008-04-02 Thread Dominik Klein
Abraham Iglesias wrote: Hi all, i'm trying to implemente my snmp mib module to get every resource failcount in the cluster. I'm surprised that the crm_failcount query to get the failcount for a resource takes 2-3 seconds. Then, for 8 resources in the cluster it takes 16-24s and it's quite low

Re: [Linux-HA] crm_failcount queries quite slow?

2008-04-02 Thread Abraham Iglesias
thank you for the answer, dominik. As you said, in the DC is faster, but i need to run these queries on every node, as every node can be asked for that information. :S Is there any cached data about these values? Or a static file where the results are stored? thanks. -bram Dominik Klein

Re: [Linux-HA] crm_failcount queries quite slow?

2008-04-02 Thread Dominik Klein
Abraham Iglesias wrote: thank you for the answer, dominik. As you said, in the DC is faster, but i need to run these queries on every node, as every node can be asked for that information. :S crm_failcount -U ;) Is there any cached data about these values? Or a static file where the

[Linux-HA] MySQL MASTER/MASTER REPLICATION

2008-04-02 Thread Néstor
In my RHEL5, I am using this link to create MySQL replication an did work the first time I did it: http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/ I change the ip address and the hostname and it is not working now. My new ip is

[Linux-HA] Newbie on STONITH

2008-04-02 Thread Fajar Priyanto
Hello all, I've just got an opportunity to play with a fence device: WTI NPS. I manage to test the power cycle using this command: stonith -v -t wti_nps ipaddr=192.168.0.100 password=123456 -l -T reset station8 However, I'm not really clear on how to apply Stonith into Linux-HA v2. Been digging

[Linux-HA] Resource retrying to start

2008-04-02 Thread Carlos Alexandre de Souza da Silva
Greetings, Is there anyway to make a resource keeps retrying to start if it does not start on the first atempt ? Thanks in advance, Carlos Alexandre ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org

Re: [Linux-HA] crm_failcount queries quite slow?

2008-04-02 Thread Abraham Iglesias
Hi, thanks for the failcount tip ;) By thw way, i'm using 2.0.8 heartbeat. There is no information in cib.xml about failcounts...is it possible? or am I missing anything? -bram Dominik Klein escribió: Abraham Iglesias wrote: thank you for the answer, dominik. As you said, in the DC is

Re: [Linux-HA] Resource retrying to start

2008-04-02 Thread Martin Oswald
Greetings, Is there anyway to make a resource keeps retrying to start if it does not start on the first atempt ? Thanks in advance, Carlos Alexandre You can add an monitoring-operation with the attribute on_fail=restart. ___ Linux-HA

Re: [Linux-HA] crm_failcount queries quite slow?

2008-04-02 Thread Dominik Klein
Abraham Iglesias wrote: Hi, thanks for the failcount tip ;) By thw way, i'm using 2.0.8 heartbeat. There is no information in cib.xml about failcounts...is it possible? or am I missing anything? No. I was wrong. The failcount is in the status section, which is never written to disc. Sorry

Re: [Linux-HA] MySQL MASTER/MASTER REPLICATION

2008-04-02 Thread Adrian Chapela
Néstor escribió: In my RHEL5, I am using this link to create MySQL replication an did work the first time I did it: http://crazytoon.com/2008/02/29/mysql-how-do-you-set-up-mastermaster-replication-in-mysql-centos-rhel-fedora/ I change the ip address and the hostname and it is not working now.

Re: [Linux-HA] Setup HA on Openvz

2008-04-02 Thread Gary
- Original Message - From: Michael Schwartzkopff [EMAIL PROTECTED] To: General Linux-HA mailing list linux-ha@lists.linux-ha.org Sent: Tuesday, April 01, 2008 3:03 PM Subject: Re: [Linux-HA] Setup HA on Openvz Am Dienstag, 1. April 2008 17:03 schrieb Gary: I am tring to setup HA in

Re: [Linux-HA] crm_failcount queries quite slow?

2008-04-02 Thread Lars Marowsky-Bree
On 2008-04-02T13:00:59, Abraham Iglesias [EMAIL PROTECTED] wrote: Hi all, i'm trying to implemente my snmp mib module to get every resource failcount in the cluster. I'm surprised that the crm_failcount query to get the failcount for a resource takes 2-3 seconds. Then, for 8 resources in

Re: [Linux-HA] Setup HA on Openvz

2008-04-02 Thread Michael Schwartzkopff
Am Mittwoch, 2. April 2008 17:45 schrieb Gary: Yes, I am very interested in your setup. I am new to Linux-HA and still struggling to setup it up on OpenVZ. Right now my two VE's (on different host) does not talk to each other. One always think the other one is dead and auto start the

RES: [Linux-HA] Resource retrying to start

2008-04-02 Thread Carlos Alexandre de Souza da Silva
Thanks a lot ! -Mensagem original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Em nome de Martin Oswald Enviada em: quarta-feira, 2 de abril de 2008 11:39 Para: General Linux-HA mailing list Assunto: Re: [Linux-HA] Resource retrying to start Greetings, Is there anyway to make

Re: Re Re: [Linux-HA] Problem about hb_addnode and hb_delnode

2008-04-02 Thread Niels de Carpentier
On Wed, Apr 02, 2008 at 01:21:24PM +0200, Dejan Muhamedagic wrote: Did you read this howto on removing/deleting nodes: http://linux-ha.org/DRBD/HowTov2 Sorry, that should've read: http://www.linux-ha.org/v2/faq#head-09fdadc641deb9ee88120bb122c49502071b0495 The example/howto is only for a

Re: [Linux-HA] crm_failcount queries quite slow?

2008-04-02 Thread Andrew Beekhof
On Wed, Apr 2, 2008 at 6:03 PM, Lars Marowsky-Bree [EMAIL PROTECTED] wrote: On 2008-04-02T13:00:59, Abraham Iglesias [EMAIL PROTECTED] wrote: Hi all, i'm trying to implemente my snmp mib module to get every resource failcount in the cluster. I'm surprised that the crm_failcount query to

Re: [Linux-HA] Setup HA on Openvz

2008-04-02 Thread Gary
- Original Message - From: Michael Schwartzkopff To: General Linux-HA mailing list Sent: Wednesday, April 02, 2008 1:24 PM Subject: Re: [Linux-HA] Setup HA on Openvz Am Mittwoch, 2. April 2008 17:45 schrieb Gary: Yes, I am very interested in your setup. I am new to

Re: [Linux-HA] Resource retrying to start

2008-04-02 Thread Andreas Kurz
On Wed, Apr 2, 2008 at 4:38 PM, Martin Oswald [EMAIL PROTECTED] wrote: Greetings, Is there anyway to make a resource keeps retrying to start if it does not start on the first atempt ? Thanks in advance, Carlos Alexandre You can add an monitoring-operation with the

[Linux-HA] lsb resource problem

2008-04-02 Thread William Francis
Ubuntu 7.10 with DRBD 8.0.3 and Heartbeat 2.1.2 with an updated Filesystem file kernel 2.6.22-14 (updated from stock) I have possibly two problems, a heartbeat and a DRBD issue. My goal is to get a pair of machines working with a large /opt partition for zimbra (my mail server software) and an a