And I forgot to mention, if it's a modern RHEL, it's very likely
the heartbeat init script is disabled and /etc/init.d/corosync 
is used to start the HA services at boot.

On my CentOS 5.5 test system:
$ chkconfig --list | egrep 'heartbeat|corosync'
corosync        0:off   1:off   2:on    3:on    4:on    5:on    6:off
heartbeat       0:off   1:off   2:off   3:off   4:off   5:off   6:off

To see how the cluster is configured, from the linux shell:
$ crm configure show

On Tue, Aug 03, 2010 at 11:27:09AM -0700, Tony Hunter wrote:
> On Tue, Aug 03, 2010 at 01:36:56PM -0400, Tim Macking wrote:
> > I have a system that is in production and has issues.  While I appreciate
> > the link of books to read, I really came here looking for some help or
> > advice.  If anyone could offer some, I would be most grateful and
> > appreciative.
> > 
> > Telling me to go read is like telling someone who wants to know what the
> > Golden Rule is to go read the Bible.
> > 
> > Please, can anyone offer some advice or help her?
> 
> Software isn't always installed via the rpm package manager. That you get
> no output from 'rpm -q heartbeat' suggests it may have been installed from 
> sources. You could try 'rpm -qf /etc/init.d/heartbeat' to see if an rpm 
> package owns that file.
> 
> But really, in order to help you (and for you to help yourself), the 
> version of heartbeat needs to be known. Find the heartbeat binary on your 
> system and get the version info with:
> heartbeat -V
> 
> > Thanks
> > 
> > Now my original question:
> > 
> > I am fairly new to Linux, specifically RedHat Enterprise.
> > 
> > The project I have now is unraveling how 2 servers were setup with HA, why
> > it is working (but not entirely), and how to get it configured correctly.
> > 
> > I have read over the documentation at http://www.linux-ha.org/doc/ 
> > 
> > Currently I know there are 2 servers, both have HA setup and if one server
> > fails it will switch over to the 2nd server with only 1 problem.  MySQL
> > fails to “always” load.  The MySQL database is located on a SAN.
>   
> > When I do: /etc/init.d/heartbeat status it says “heartbeat is stopped. No
> > process”.
> > When I do: rpm -q heartbeat –d it says “package heartbeat is not installed”.
> > 
> > If that is the case on both servers, how is it that it is working and that
> > it switches over to the 2nd machine?
> > 
> > Is there any other method that would be used?  If so, how can I find out
> > what/where this is?
> > 
> > If it is using heartbeat, what am I missing?
> > 
> > THEN, on the MySQL part, what process or script runs to restart MySQL and
> > attach it to the SAN where the DB is located?
> > 
> > I really appreciate any help.
> > 
> > 
> > 
> > -----Original Message-----
> > From: RaSca [mailto:[email protected]] 
> > Sent: Monday, August 02, 2010 9:43 AM
> > To: [email protected]; General Linux-HA mailing list
> > Subject: Re: [Linux-HA] HA configuration issues
> > 
> > Il giorno Lun 02 Ago 2010 15:25:36 CET, Tim Macking ha scritto:
> > > I am fairly new to Linux, specifically RedHat Enterprise.
> > > The project I have now is unraveling how 2 servers were setup with HA, why
> > > it is working (but not entirely), and how to get it configured correctly.
> > > I have read over the documentation at http://www.linux-ha.org/doc/
> > [...]
> > 
> > I strongly recommend you to give a look at Clusters From Scratch, here: 
> > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html/Clusters_from_Scratc
> > h/
> > 
> > It will be helpful to understand how the cluster can be configured from 
> > start.
> > 
> > -- 
> > RaSca
> > Mia Mamma Usa Linux: Niente è impossibile da capire, se lo spieghi bene!
> > [email protected]
> > http://www.miamammausalinux.org
> > 
-- 
regards, 
--tony
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to