[Linux-HA] Heartbeat v1 and stonith/stonith_host ipmilan

2013-07-17 Thread Martin Langhoff
Hi folks!

I have a 2-node setup for MySQL HA. The two nodes access a shared set
of SAS disks over a backplane. The services/resources are: an IP
address, an LVM VG, two mountpoints and MySQL.

Using heartbeat 3.0.4 with a v1 configuration this is a piece of cake.

Except apparently for stonith. The documentation hints that stonith
and stonith_node should be available when using v1 configurations.
And a grep through current sources seems to indicate it's still
supported.

But the 'stonith' script/binary and the scripts that the old
documentation indicates aren't there anymore (when I install on
RHEL6.4).

I do have fenced (from cman) and fence_ipmilan (from fence-agents)
which looks like it should work for these boxes.

Can heartbeat 3.x, using a v1 config, drive fence_ipmilan or some
equivalent node? Any hints how, or how to explore/discover/debug?

Please CC me.

thanks!


m
ps: yes, I know about more modern facilities. trying really hard to
keep this simple...
--
 martin.langh...@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Heartbeat v1 and stonith/stonith_host ipmilan

2013-07-17 Thread Martin Langhoff
On Wed, Jul 17, 2013 at 6:03 PM, Martin Langhoff
martin.langh...@gmail.com wrote:
 But the 'stonith' script/binary and the scripts that the old
 documentation indicates aren't there anymore (when I install on
 RHEL6.4).

Configuring stonith_host external foo bar baz led me in the right
direction. heartbeat knows what to do, but on RHEL/CentOS/SL 6.x
cluster-glue no longer includes stonith agents.

Some info at http://www.gossamer-threads.com/lists/linuxha/pacemaker/74487

So I rebuilt the RPMs for cluster-glue reversing that removal.


It is a dicey proposition, of course, to setup a cluster that I expect
to be long-lived based on software that folks are running to
deprecate. But I have played with corosync + pacemaker extensively,
and TBH they are way overkill for a simple setup.

Is there a _simple_ setup guide for a two node cluster? Y'know, LVM,
couple mountpoints, one server daemon (mysql)?

I am not afraid of complexity; but I like to pick where to invest in
complexity :-)

cheers,



m
--
 martin.langh...@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


Re: [Linux-HA] Heartbeat v1 and stonith/stonith_host ipmilan

2013-07-17 Thread Martin Langhoff
On Wed, Jul 17, 2013 at 9:34 PM, Digimer li...@alteeve.ca wrote:
 The easiest, native way under RHEL/CentOS is to use corosync + cman +
 rgmanager. The configuration you are describing will be simple and will be
 properly supported until 2020 (at least), and not need hacks.

 If you're interested in this approach, I can help. Here or on #linux-cluster
 on freenode's IRC.

Thanks for the offer to help. Is there any clear setup guide you can
point me to?

My TZ is EDT, so midnight (bedtime!) now. I won't be awake and on
email/irc until tomorrow morning.



m
--
 martin.langh...@gmail.com
 -  ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 ~ http://docs.moodle.org/en/User:Martin_Langhoff
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems