MyWackoSite: cluster

https://wiki.ebal.gr     Version: 1 (09/19/2013 19:46)

cluster


Hits : 3,661

Clustering



About


Αυτή είναι μία προσπάθεια να στηθούν δύο (2) συστήματα ως cluster

top

Software


  1. HeartBeat[link1]
  2. drdb[link2]
  3. http://www.drbd.org/users-guide/s-heartbeat-config.html
  4. http://wiki.samba.org/index.php/5.0._Heartbeat_HA_Configuration


heartbeat-2.1.4[link3]


top

files

ha.cf


/etc/ha.d/ha.cf

HTML
#autojoin none

# LOG
logfile /var/log/ha-log
logfacility local0

keepalive 2
deadtime 30
initdead 120

bcast eth0
udpport 694

# auto_failback on
node SERVER1
node SERVER2


top

authkeys


/etc/ha.d/authkeys



Κι έπειτα χρειάζεται να αλλάξουμε τα δικαιώματα του αρχείου:

chmod 600 /etc/ha.d/authkeys		


top

haresources


/etc/haresources



top