Re: [Linux-HA] Stopping the Heartbeat daemon does not stop the DRBD Daemon

2009-04-02 Thread Dominik Klein
Jerome Yanga wrote: > Stopping the Heartbeat daemon (service heartbeat stop) does not stop the DRBD > daemon even if it is one of the resources. > > # service heartbeat stop > Stopping High-Availability services: >[ OK ] > # service dr

[Linux-HA] Stopping the Heartbeat daemon does not stop the DRBD Daemon

2009-04-02 Thread Jerome Yanga
Stopping the Heartbeat daemon (service heartbeat stop) does not stop the DRBD daemon even if it is one of the resources. # service heartbeat stop Stopping High-Availability services: [ OK ] # service drbd status drbd driver loaded OK; d

Re: AW: [Linux-HA] Heartbeat v2 stickiness, score and more

2009-04-02 Thread Andrew Beekhof
On Thu, Apr 2, 2009 at 16:14, Michael Schwartzkopff wrote: > Am Donnerstag, 2. April 2009 15:35:44 schrieb florian.engelm...@bt.com: >> I was now reading the great links Michael gave me and I learned a lot. >> But I am still a little confused about openAIS / Heartbeat / Pacemaker. >> >> I understo

Re: AW: [Linux-HA] Heartbeat v2 stickiness, score and more

2009-04-02 Thread Michael Schwartzkopff
Am Donnerstag, 2. April 2009 15:35:44 schrieb florian.engelm...@bt.com: > I was now reading the great links Michael gave me and I learned a lot. > But I am still a little confused about openAIS / Heartbeat / Pacemaker. > > I understood (if I am right) that pacemaker is a part (big) of heartbeat Wel

RE: AW: [Linux-HA] Heartbeat v2 stickiness, score and more

2009-04-02 Thread florian.engelmann
I was now reading the great links Michael gave me and I learned a lot. But I am still a little confused about openAIS / Heartbeat / Pacemaker. I understood (if I am right) that pacemaker is a part (big) of heartbeat 2. So if you want to use heartbeat 3 you have to use pacemaker. Pacemaker is also

[Linux-HA] Heartbeat in V1 type does not try to start resources after restart

2009-04-02 Thread Maros Timko
Hi all, Scenario: - two machines, heartbeat 2.1 in V1 config style, all resources defined in just one group - kill the active node (e.g. echo b >/proc/sysrq-trigger) - standby node tries to take over all the resources - OK - standby fails to start any resource for any reason (e.g. drbd device i

Re: [Linux-HA] HA Books

2009-04-02 Thread Michael Schwartzkopff
Am Donnerstag, 2. April 2009 15:11:39 schrieb darren.mans...@opengi.co.uk: > Hi. Can anyone recommend any good books about HA with regards to the > latest incarnations such as Pacemaker etc? I understand enough about the > CRM and heartbeat 2 to get by but lots of the stuff on this list still > goe

Re: [Linux-HA] HA Books

2009-04-02 Thread Dominik Klein
darren.mans...@opengi.co.uk wrote: > Hi. Can anyone recommend any good books about HA with regards to the > latest incarnations such as Pacemaker etc? I understand enough about the > CRM and heartbeat 2 to get by but lots of the stuff on this list still > goes over my head. > > Thanks. > > Darren

[Linux-HA] HA Books

2009-04-02 Thread Darren.Mansell
Hi. Can anyone recommend any good books about HA with regards to the latest incarnations such as Pacemaker etc? I understand enough about the CRM and heartbeat 2 to get by but lots of the stuff on this list still goes over my head. Thanks. Darren Mansell __

[Linux-HA] Heartbeat in V1 type does not try to start resources after restart

2009-04-02 Thread Maros Timko
Hi all, I'm having problems when active node is lost for a while (gets rebooted). Scenario: - two machines, heartbeat 2.1 in V1 config style, all resources defined in just one group - kill the active node (e.g. echo b >/proc/sysrq-trigger) - standby node tries to take over all the resources -

Re: [Linux-HA] Adding a Hostname to a Clustered Resource

2009-04-02 Thread Dejan Muhamedagic
Hi, On Wed, Apr 01, 2009 at 10:31:45PM +0100, Jason Fitzpatrick wrote: > Hi Dejan > > Sorry I should have explained myself better > > i have a 2 node DRBD cluster, doing file and printer sharing, > > i have been able to get an IP Address to move with the resources, and > was hoping to have the

Re: [Linux-HA] rule move resource if mysql status fails

2009-04-02 Thread Andrew Beekhof
Create a resource and a monitor action for mysql but mark set is-managed=false. This tells the cluster not to stop or start it, but only to check if its running. Then simply add a colocation constraint from the other resource to the mysql one. Though I have to wonder why you'd not want the cluste

Re: [Linux-HA] Determining whether CIB is accessible

2009-04-02 Thread Andrew Beekhof
On Wed, Apr 1, 2009 at 18:21, Nicholas Dronen wrote: > On Wed, Mar 18, 2009 at 3:44 AM, Andrew Beekhof wrote: >> >> On Tue, Mar 17, 2009 at 16:10, Nicholas Dronen wrote: >> > Hi: >> > >> > I'm writing scripts to dynamically add, remove, manage, and unmanage >> > resources from the CIB.  We alrea

Re: [Linux-HA] Programmatic interface to CRM?

2009-04-02 Thread Andrew Beekhof
On Wed, Apr 1, 2009 at 17:24, wrote: > I am delighted to hear there is subscription mechanism! > I apologize if I have not read through the documentation > thoroughly. Could you please point me to the documentation > on CIB events and the subscription mechanism? > > What is the protocol by which

Re: AW: [Linux-HA] Heartbeat v2 stickiness, score and more

2009-04-02 Thread Michael Schwartzkopff
Am Donnerstag, 2. April 2009 08:21:16 schrieb florian.engelm...@bt.com: > > > Hello, > > > I spent the whole afternoon to search for a good heartbeat v2 > > > documentation, but it looks like this is somehow difficult. Maybe > > > someone in here can help me? > > > > The only good doc is Andrews Co