[Linux-HA] How to configure Heartbeat v2 with MySQL and OCFS2 on
Suse 10.2?
Andrew Beekhof
beekhof at gmail.com
Mon Jan 29 02:58:56 MST 2007
On 1/24/07, Jake Conk <jake.conk at gmail.com> wrote:
> Hello,
>
> I just got my 3 servers running Suse 10.2 up and running with Heartbeat v2
> and now I have to configure the services I want Heartbeat to monitor. I've
> searched hi and low for example configurations on Google but all the
> examples I came across are using Heartbeat v1 or don't do what exactly what
> I'm trying to do so I'm searching for help here.
Am I correct in thinking I was talking to you about this on IRC recently?
If so, you'll want to use SUSE 10.1 which uses the same kernel as
SLES10 and therefor has the patches that allow OCFS2 to get its
membership information from heartbeat. 10.2 has a mostly unmodified
kernel.
Once you get that, you'll be able to follow the document I mentioned.
>
> Below is my setup...
>
> System:
> - 3 servers running Suse 10.2
> -- amax, dell, and falbert are their hostnames.
>
> OCFS2 File System:
> - Each node has 1 partition setup as an OCFS2 file system.
>
> MySQL Cluster:
> - dell is the management node
> - Both amax and falbert are data nodes
> - All 3 servers are sql nodes
>
> Installed packages versions:
> - heartbeat 2.0.7-36
> - heartbeat-cmpi 2.0.7-36
> - heartbeat-gui 2.0.7-36
> - heartbeat-ldirectord 2.0.7-36
> - heartbeat-pils 2.0.7-36
> - heartbeat-stonith 2.0.7-36
> - evms-2.5.5-67
> - ocfs2-console 1.2.2-11
> - ocfs2-tools 1.2.2-11
> - MySQL-client 5.0.27-0
> - MySQL-devel 5.0.27-0
> - MySQL-Max 5.0.27-0
> - MySQL-ndb-extra 5.0.27-0
> - MySQL-ndb-management 5.0.27-0
> - MySQL-ndb-storage 5.0.27-0
> - MySQL-ndb-tools 5.0.27-0
> - MySQL-ndb-server 5.0.27-0
> - mysql-shared 5.0.26-12
>
> Attached is also my cib.xml file which isn't exactly much, but if you guys
> need anymore information about my setup in order to help me please ask :)
>
> Ok so anyways I first tried configuring my cib.xml file using the
> hb_guiprogram but when trying to use that and adding stuff it just
> hangs so here
> are all my questions and if you can give me some simple configs that will
> work in my situation to just pop in my cib.xml that would be super!
>
> IPaddr:
>
> Not sure exactly why I need this or what its for but I see in some peoples
> examples they always have this and I'm not sure what the purpose of it is?
> Do I need it? If so what is it for and how do I configure it? It looks like
> to me its just for each node to ping itself as some sort of self fencing
> method or something but I have no idea. There are also 2 IPaddr scripts, a
> heartbeat on and ocf/heartbeat one, which one would I use if any?
>
> OCFS2:
>
> Each node has 1 partition setup as an OCFS2 file system. I see that there
> are resources to manage something generic called "Filesystem" and there is
> also an ocfs2 resource, do I need both or just 1 and if just 1 then which
> one? There is also an o2cb script, do I have to add that to my resources
> somehow too? Does evms have something to do with this and do I have to add a
> resource management for that too as well?
>
> MySQL:
>
> I am not sure if I should configure heartbeat to monitor mysql with the
> ocf/heartbeat scripts heartbeat came with or should I use my lsb scripts
> that my system uses? Someone told me that the ocf/heartbeat scripts are
> better to use however I don't know if I'm supposed to then stop using my lsb
> scripts when my system starts up or what?
>
> Thank you guys! I hope this thread can be useful for other people in my same
> situation!
>
> - Jake
>
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
>
>
More information about the Linux-HA
mailing list