Quick question

Dean Richardson richardson@wsg.net
Wed, 27 Mar 2002 13:43:42 -0700


I did this by reading the ha log file in reverse and noting changes in my=20
own HA status file. I think there is a more clever way to do it now though.=
=20
I think there is something in the API that might do it. But not sure.

At 09:24 PM 3/27/2002 +0100, Khalil Foundy wrote:
>Hi,
>Is there a way to know which node (in a two nodes + heartbeat scenario)
>is active, owning the resources, running the services, etc (is the
>master) ?
>
>I am trying to write a script to restrat httpd service if it fails, but
>I need to restart it only on the master server.
>
>Thanks.
>Regards.
>
>Khalil Foundy
>
>___________________________________________________________
>Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran=E7ais !
>Yahoo! Mail : http://fr.mail.yahoo.com

Dean Richardson
800 West Queen Creek Road
Apt. 2087
Chandler, AZ 85248-3315
Ph: 480 659 1097
Email: Richardson@wsg.net