안녕하세요.
우분투 랜카드 두개를 본딩후 ..
heartbeat 를 시작하였습니다만..
아래와 같이 오류가 뿜어댑니다.
# service heartbeat start
Starting High-Availability services: INFO: Resource is stopped
Heartbeat failure [rc=6]. Failed.
Heartbeat failure [rc=6]. Failed.
heartbeat: udpport setting must precede media statementsheartbeat[4207]: 2013/09/29_22:44:56 ERROR: Illegal directive [none] in /etc/ha.d//ha.cf
heartbeat[4207]: 2013/09/29_22:44:56 ERROR: Heartbeat not started: configuration error.
heartbeat[4207]: 2013/09/29_22:44:56 ERROR: Configuration error, heartbeat not started.
heartbeat[4207]: 2013/09/29_22:44:56 ERROR: Heartbeat not started: configuration error.
heartbeat[4207]: 2013/09/29_22:44:56 ERROR: Configuration error, heartbeat not started.
root@server1:~#
그런데 본딩하기전에는 하트비트가 작동을 잘하였습니다.
본딩후 별도 작업을 해야하는것이 있는지? 궁금합니다.
하트비트 작업설정한 파일은..
#cat authkeys
auth 2
2 sha1 HI!
2 sha1 HI!
#cat ha.cf
logfile /var/log/ha-log
keepalive 1
deadtime 3
initdead 3
udpport 694
bcast bond0
node server1
none server2
keepalive 1
deadtime 3
initdead 3
udpport 694
bcast bond0
node server1
none server2
#cat haresources
server1 IPaddr::192.168.0.150/24/bond0 isc-dhcp-server <-- 가상아이피설정
여기 위 두파일에 bond0으로 설정하는것이 맞는지??
eth0 이나 eth1 으로 해도 안되는군요...
====================
아래와같이 본딩은 잘 작동됩니다.
# ifconfig
bond0 Link encap:Ethernet HWaddr
bond0 Link encap:Ethernet HWaddr
inet addr:192.168.0.100 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20a:cdff:fe23:1975/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:76572 errors:0 dropped:0 overruns:0 frame:0
TX packets:56669 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:93918309 (93.9 MB) TX bytes:27716198 (27.7 MB)
inet6 addr: fe80::20a:cdff:fe23:1975/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:1500 Metric:1
RX packets:76572 errors:0 dropped:0 overruns:0 frame:0
TX packets:56669 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:93918309 (93.9 MB) TX bytes:27716198 (27.7 MB)
eth0 Link encap:Ethernet HWaddr
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:38378 errors:0 dropped:0 overruns:0 frame:0
TX packets:28333 errors:0 dropped:0 overruns:0 carrier:0
RX packets:38378 errors:0 dropped:0 overruns:0 frame:0
TX packets:28333 errors:0 dropped:0 overruns:0 carrier:0
eth1 Link encap:Ethernet HWaddr
UP BROADCAST RUNNING SLAVE MULTICAST MTU:1500 Metric:1
RX packets:38194 errors:0 dropped:0 overruns:0 frame:0
TX packets:28336 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:46894714 (46.8 MB) TX bytes:13861628 (13.8 MB)
RX packets:38194 errors:0 dropped:0 overruns:0 frame:0
TX packets:28336 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:46894714 (46.8 MB) TX bytes:13861628 (13.8 MB)
아시는분 제발 답글좀 부탁드립니다.^^
ÇöÀç´Â ±×³É ¼³Á¤ ¶§¹®¿¡ ¾ÈµÇ´Â°Í ¿¡·¯ÀÔ´Ï´Ù.