Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-03 Thread Alan Robertson
Bjorn Oglefjorn wrote: > Anyone? Help? > --BO > > On 4/2/07, Bjorn Oglefjorn <[EMAIL PROTECTED]> wrote: >> >> Any ideas as to what's going wrong here? there is so much send/reply/try/fail/fix stuff in the email that I had trouble following what was going on. Could you try reposting this cleanly

Re: [Linux-HA] R2 Two-node apache cluster with STONITH

2007-04-03 Thread Bjorn Oglefjorn
Anyone? Help? --BO On 4/2/07, Bjorn Oglefjorn <[EMAIL PROTECTED]> wrote: Any ideas as to what's going wrong here? --BO On 3/30/07, Bjorn Oglefjorn <[EMAIL PROTECTED]> wrote: > > I've made the OCF apache RA work by editing the script's parameters for > now. This is just testing anyway. Attach

Re: [Linux-HA] possible bug in send_arp

2007-04-03 Thread Alan Robertson
Michael Schwartzkopff wrote: > Am Dienstag, 3. April 2007 13:44 schrieb Alan Robertson: >> Michael Schwartzkopff wrote: >>> Am Dienstag, 3. April 2007 12:09 schrieb Michael Schwartzkopff: Hi, send_arp --help gives me: usage: send_arp [-i repeatinterval-ms] [-r repeatcount] [-p p

Re: [Linux-HA] New Command Line Tools: Resource Scripts CIBS

2007-04-03 Thread Alan Robertson
Martin Fick wrote: >> On 4/2/07, Martin Fick <[EMAIL PROTECTED]> wrote: >>> I have been using heartbeat 2 for a while and tend >>> to prefer scripts over GUIs or XML so I have >>> created some helper scripts (that I call Resource >>> Scripts) to configure/modify resources and their >>> constrain

Re: [Linux-HA] cib.xml races on initialization

2007-04-03 Thread Alan Robertson
Andrew Beekhof wrote: > On 4/3/07, Alan Robertson <[EMAIL PROTECTED]> wrote: >> Andrew Beekhof wrote: >> > On 4/3/07, Alan Robertson <[EMAIL PROTECTED]> wrote: >> >> Yan Fitterer wrote: >> >> > Manual manipulation of cib through /var filesystem is explicitly >> >> > discouraged. >> >> > >> >> > Use

Re: [Linux-HA] New Command Line Tools: Resource Scripts CIBS

2007-04-03 Thread Martin Fick
> On 4/2/07, Martin Fick <[EMAIL PROTECTED]> wrote: > > I have been using heartbeat 2 for a while and tend > > to prefer scripts over GUIs or XML so I have > > created some helper scripts (that I call Resource > > Scripts) to configure/modify resources and their > > constraints from the command

Re: [Linux-HA] cib.xml races on initialization

2007-04-03 Thread Andrew Beekhof
On 4/3/07, Alan Robertson <[EMAIL PROTECTED]> wrote: Andrew Beekhof wrote: > On 4/3/07, Alan Robertson <[EMAIL PROTECTED]> wrote: >> Yan Fitterer wrote: >> > Manual manipulation of cib through /var filesystem is explicitly >> > discouraged. >> > >> > Use the cibadmin tool. Heartbeat will synchron

Re: [Linux-HA] timeout monitoring VIP

2007-04-03 Thread Alan Robertson
Christophe Zwecker wrote: > hi > > we run 2.0.8 > > yesterday we saw a timout in monitoring vip: > > Apr 1 06:14:50 mw-n1 lrmd: [21216]: WARN: on_op_timeout_expired: > TIMEOUT: operation monitor[222] on ocf::IPaddr::IPaddr_88_198_96_210 for > client 21219, its parameters: target_role=[started]

Re: [Linux-HA] Masters take long time to get back the ip from slave

2007-04-03 Thread Austin Rock
Anybody there to reply me.Pls. Thanks On 4/2/07, Austin Rock <[EMAIL PROTECTED]> wrote: Config files are already attach on this mail. I am attaching the log files on this mail. Kindly look into it and let me know what is the problem. Thanks a lot. Regards On 3/31/07, Alan Robertson <[E

[Linux-HA] timeout monitoring VIP

2007-04-03 Thread Christophe Zwecker
hi we run 2.0.8 yesterday we saw a timout in monitoring vip: Apr 1 06:14:50 mw-n1 lrmd: [21216]: WARN: on_op_timeout_expired: TIMEOUT: operation monitor[222] on ocf::IPaddr::IPaddr_88_198_96_210 for client 21219, its parameters: target_role=[started] CRM_meta_interval=[5000] ip=[88.198.96.210]

Re: [Linux-HA] The Heartbeat Education Project

2007-04-03 Thread Alan Robertson
Michael Schwartzkopff wrote: > Am Dienstag, 3. April 2007 14:21 schrieb Sander van Vugt: > (...) >> I'm interested to help. What thoughts do you have on organizing this? >> And if you do not have any thoughts about this, I'm volunteering for the >> "project oversight" role to start with. Don't want

Re: [Linux-HA] The Heartbeat Education Project

2007-04-03 Thread Michael Schwartzkopff
Am Dienstag, 3. April 2007 14:21 schrieb Sander van Vugt: (...) > I'm interested to help. What thoughts do you have on organizing this? > And if you do not have any thoughts about this, I'm volunteering for the > "project oversight" role to start with. Don't want to keep you from > developing new s

RE: [Linux-HA] The Heartbeat Education Project

2007-04-03 Thread Sander van Vugt
OK, I'm teaching Heartbeat classes, have written some books myself as well, so I'm interested to help. What thoughts do you have on organizing this? And if you do not have any thoughts about this, I'm volunteering for the "project oversight" role to start with. Don't want to keep you from developin

Re: [Linux-HA] possible bug in send_arp

2007-04-03 Thread Michael Schwartzkopff
Am Dienstag, 3. April 2007 13:44 schrieb Alan Robertson: > Michael Schwartzkopff wrote: > > Am Dienstag, 3. April 2007 12:09 schrieb Michael Schwartzkopff: > >> Hi, > >> > >> send_arp --help gives me: > >> usage: send_arp [-i repeatinterval-ms] [-r repeatcount] [-p pidfile] \ > >> dev

[Linux-HA] Re: [Linux-ha-dev] Reg pingd

2007-04-03 Thread Alan Robertson
[EMAIL PROTECTED] wrote: > > > Hi all, > I am trying to use pingd. > I have the following in ha.cf > respawn root /usr/lib/heartbeat/pingd -m 100 -d 5s > > And I have attched my cib.xml. I am not sure where I am wrong as I > am new to xml. > I have this cib.xml in both

Re: [Linux-HA] The Heartbeat Education Project

2007-04-03 Thread Alan Robertson
Michael Schwartzkopff wrote: > Am Dienstag, 3. April 2007 04:27 schrieb Alan Robertson: >> Hi, >> >> For the impatient - view this totally cool link right now;-) >> http://linux-ha.org/Education/Newbie/IPaddrScreencast > > Cool! Thanks. Please look over the planned course segments. We're de

Re: [Linux-HA] possible bug in send_arp

2007-04-03 Thread Alan Robertson
Michael Schwartzkopff wrote: > Am Dienstag, 3. April 2007 12:09 schrieb Michael Schwartzkopff: >> Hi, >> >> send_arp --help gives me: >> usage: send_arp [-i repeatinterval-ms] [-r repeatcount] [-p pidfile] \ >> device src_ip_addr src_hw_addr broadcast_ip_addr netmask >> > > Ok, found

Re: [Linux-HA] which is lying ?

2007-04-03 Thread Alan Robertson
Patrick Begou wrote: > > May be it is also an error of myself. I have assumes backward compatibilitie > with glib. > The binaries require libglib 1.2 and I have libglib libglib-2.0. I have > created a link > from libglib 1.2 to libglib-2.0. May be it's not a good idea. Yes. That will cause he

Re: [Linux-HA] cib.xml races on initialization

2007-04-03 Thread Alan Robertson
Andrew Beekhof wrote: > On 4/3/07, Alan Robertson <[EMAIL PROTECTED]> wrote: >> Yan Fitterer wrote: >> > Manual manipulation of cib through /var filesystem is explicitly >> > discouraged. >> > >> > Use the cibadmin tool. Heartbeat will synchronize the cib between all >> > nodes automatically for yo

Re: [Linux-HA] possible bug in send_arp

2007-04-03 Thread Michael Schwartzkopff
Am Dienstag, 3. April 2007 12:09 schrieb Michael Schwartzkopff: > Hi, > > send_arp --help gives me: > usage: send_arp [-i repeatinterval-ms] [-r repeatcount] [-p pidfile] \ > device src_ip_addr src_hw_addr broadcast_ip_addr netmask > Ok, found it myself. The format of the MAC address

[Linux-HA] possible bug in send_arp

2007-04-03 Thread Michael Schwartzkopff
Hi, send_arp --help gives me: usage: send_arp [-i repeatinterval-ms] [-r repeatcount] [-p pidfile] \ device src_ip_addr src_hw_addr broadcast_ip_addr netmask If I don't use "auto" as the src_hw_addr send_arp sends out quite random addresses as the new MAC address of the interface.

Re: [Linux-HA] cib.xml races on initialization

2007-04-03 Thread Bernd Schubert
On Tuesday 03 April 2007 03:31:16 Alan Robertson wrote: > Bernd Schubert wrote: > > Hi, > > > > I think there's a race condition on initializing an entirely new cib.xml, > > I will describe it as an example: > > > > system1 + system2: > > 1) stop heartbeat > > 2) delete their present status: >

Re: [Linux-HA] New Command Line Tools: Resource Scripts

2007-04-03 Thread Andrew Beekhof
On 4/2/07, Martin Fick <[EMAIL PROTECTED]> wrote: Hi, I have been using heartbeat 2 for a while and tend to prefer scripts over GUIs or XML so I have created some helper scripts (that I call Resource Scripts) to configure/modify resources and their constraints from the command line that I would

Re: [Linux-HA] cib.xml races on initialization

2007-04-03 Thread Andrew Beekhof
On 4/3/07, Alan Robertson <[EMAIL PROTECTED]> wrote: Yan Fitterer wrote: > Manual manipulation of cib through /var filesystem is explicitly > discouraged. > > Use the cibadmin tool. Heartbeat will synchronize the cib between all > nodes automatically for you. However, the case he's doing - of in

[Linux-HA] resolving "Dependency loop" error

2007-04-03 Thread kisalay
Hi, Thanks Alan for the reply, i have attached the cib.xml My Problem: I have recently upgraded my system from linux-ha 2.0.7 to 2.0.8. Since I have upgraded, i have been seeing some errors/ warnings from pengine. I assume that these errors were not checked for in 2.0.7 and more checks ha

Re: [Linux-HA] Repeatable simple colocation bug

2007-04-03 Thread Andrew Beekhof
Certainly not optimal, but not actually a bug... (starting example_cAB somewhere would have been a bug) What we need to remember is that the PE will always be substantially less complex than a human brain (which is basically what its trying to model most of the time)... So there will be times wh

Re: [Linux-HA] resolving "Dependency loop" error

2007-04-03 Thread Andrew Beekhof
On 4/2/07, kisalay <[EMAIL PROTECTED]> wrote: Hi, I have recently upgraded my system from linux-ha 2.0.7 to 2.0.8. Since I have upgraded, i have been seeing some errors/ warnings from pengine. I assume that these errors were not checked for in 2.0.7 and more checks have been added in 2.0.8. Belo

Re: [Linux-HA] Fail-count, ping-pong

2007-04-03 Thread Andrew Beekhof
search the archives from recent days - someone asked the same question On 3/31/07, Massi <[EMAIL PROTECTED]> wrote: ok then no new codes, just bugfixes. Back to my first post, I know how to calculated the scores and stickinesses to setup the "retry before failing over" but I still don't know ho