[클러스터] heartbeat 2.x Multi cluster size 설정
heartbeat 1.x 대는 cluster size 가 2 node 제한이 있다. version 2.x 에서는 이 제한이
없어 지고 multi:single 방식의 HA 구성이 가능하다. 간단한 sample 설정이다.
primary1 -> node01 : 192.168.123.117 nfs
primary2 -> node02 : 192.168.123.118 nfs
secondary -> node00
* node01,node02,node00’s ha.cf config
————————————————————————————-
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 5
hopfudge 1
udpport 1001
udp eth0
nice_failback on
node node01.linux.es
node node02.linux.es
node node00.linux.es
ping 192.168.123.254
respawn hacluster /usr/lib/heartbeat/ipfail
respawn hacluster /usr/lib/heartbeat/ccm
apiauth ipfail uid=hacluster
————————————————————————————–
node01’s haresources config
————————————————————————————–
node01.linux.es 192.168.123.117 Filesystem::/dev/sda6::/home::ext3 nfslock nfs
————————————————————————————–
node02’s haresources config
————————————————————————————–
node02.linux.es 192.168.123.118 Filesystem::/dev/sda6::/home::ext3 nfslock nfs
————————————————————————————–
node00’s haresources config
————————————————————————————–
node01.linux.es 192.168.123.117 Filesystem::/dev/sda6::/home::ext3 nfslock nfs
node02.linux.es 192.168.123.118 Filesystem::/dev/sda6::/home::ext3 nfslock nfs
————————————————————————————–
4 Responses
… [Trackback]
[…] Info on that Topic: nblog.syszone.co.kr/archives/1986 […]
… [Trackback]
[…] Information on that Topic: nblog.syszone.co.kr/archives/1986 […]
… [Trackback]
[…] Information on that Topic: nblog.syszone.co.kr/archives/1986 […]
… [Trackback]
[…] Here you will find 65284 additional Information on that Topic: nblog.syszone.co.kr/archives/1986 […]