Hi all,
I am a newbie and I would like to get a quick understanding what the
failover by linux-ha (heartbeat) looks like.
I have already got two nodes configured with heartbeat.

[EMAIL PROTECTED] heartbeat-2.0.8]# /etc/init.d/heartbeat start
logd is already running
Starting High-Availability services:                        [  OK  ]

How to add in an service of my own then? I would like to do this as simple
as possible. Could anyone give some instructions or references? Thanks very
much!


My service is as simple as a single program called my_server. The two nodes
are both with an OS of FC6, and named IanVM-4 and IanVM-5 respectively.
And here are my authkeys, ha.cf and logd.cf.


authkeys
======
[EMAIL PROTECTED] ian]# cat /usr/local/etc/ha.d/authkeys
auth 1
1 crc

ha.cf
====
[EMAIL PROTECTED] ian]# cat /usr/local/etc/ha.d/ha.cf
#       Facility to use for syslog()/logger
#
logfacility     local0
#       What interfaces to broadcast heartbeats over?
#
bcast   eth0            # Linux

#       Do we use logging daemon?
#       If logging daemon is used, logfile/debugfile/logfacility in this
file
#       are not meaningful any longer. You should check the config file for
logging
#       daemon (the default is /etc/logd.cf)
#       more infomartion can be fould in
http://www.linux-ha.org/ha_2ecf_2fUseLogdDirective
#       Setting use_logd to "yes" is recommended
#
use_logd yes

crm on


logd.cf
=====
[EMAIL PROTECTED] ian]# cat /etc/logd.cf
(All commented off. No effective entry.)


-- 
Ian Jiang
_______________________________________________
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