How to configure heartbeat in gw1 and gw2 [Erro Start heartbeat]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear,

I am configuring heartbeat, but not start service.

*Erro starting service:*

logd is already running
Starting High-Availability services:
cat: /etc/ha.d/haresources: No such file or directory
Heartbeat failure [rc=6]. Failed.

heartbeat: udpport setting must precede media statementsheartbeat[1703]: 2009/08/01_03:45:27 WARN: WARNING: directive 'udp' replaced by 'bcast' heartbeat: baudrate setting must precede media statementsheartbeat[1703]: 2009/08/01_03:45:27 info: Version 2 support: false heartbeat[1703]: 2009/08/01_03:45:27 WARN: Deprecated 'legacy' auto_failback option selected. heartbeat[1703]: 2009/08/01_03:45:27 WARN: Please convert to 'auto_failback on'. heartbeat[1703]: 2009/08/01_03:45:27 WARN: See documentation for conversion details. heartbeat[1703]: 2009/08/01_03:45:27 WARN: Logging daemon is disabled --enabling logging daemon is recommended
heartbeat[1703]: 2009/08/01_03:45:27 info: **************************
heartbeat[1703]: 2009/08/01_03:45:27 info: Configuration validated. Starting heartbeat 2.1.4 heartbeat[1703]: 2009/08/01_03:45:27 ERROR: Cannot open resources file [/etc/ha.d/haresources] heartbeat[1703]: 2009/08/01_03:45:27 info: An annotated sample /etc/ha.d/haresources file is provided in the documentation. heartbeat[1703]: 2009/08/01_03:45:27 info: Please copy it to /etc/ha.d/haresources, read it, customize it, and try again. heartbeat[1703]: 2009/08/01_03:45:27 ERROR: Configuration error, heartbeat not started.

*More ha.cf  server [gw1]*

#
#       keepalive: how many seconds between heartbeats
#
keepalive 2
#
#       deadtime: seconds-to-declare-host-dead
#
deadtime 10
#
#       What UDP port to use for udp or ppp-udp communication?
#
udpport        694
bcast  eth0
mcast eth0 225.0.0.1 694 1 0
ucast eth0 192.168.150.133
#       What interfaces to heartbeat over?
udp     eth0
#
#       Facility to use for syslog()/logger (alternative to log/debugfile)
#
logfacility     local0
#
#       Tell what machines are in the cluster
#       node    nodename ...    -- must match uname -n
node    gw1.linux.com.br
node    gw2.linux.com.br

*More ha.cf  server [gw2]*

#       keepalive: how many seconds between heartbeats
#
keepalive 2
#
#       deadtime: seconds-to-declare-host-dead
#
deadtime 10
#
#       What UDP port to use for udp or ppp-udp communication?
#
udpport        694
bcast eth0
mcast eth0 225.0.0.1 694 1 0
ucast eth0 192.168.150.141
#       What interfaces to heartbeat over?
udp     eth0
#
#       Facility to use for syslog()/logger (alternative to log/debugfile)
#
logfacility     local0
#
#       Tell what machines are in the cluster
#       node    nodename ...    -- must match uname -n
node    gw1.linux.com.br
node    gw2.linux.com.br

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux