View source for cluster
{{anchor href="top"}}
Hits : **{{hits}}**
== Clustering ==
{{ToC from="h2" to="h3"}}
=== About ===
Αυτή είναι μία προσπάθεια να στηθούν δύο (2) συστήματα ως **cluster**
((#top))
-----------
=== Software ===
1. **((http://linux-ha.org/HeartbeatProgram HeartBeat))**
2. **((http://www.drbd.org/ drdb))**
3. ((http://www.drbd.org/users-guide/s-heartbeat-config.html))
4. ((http://wiki.samba.org/index.php/5.0._Heartbeat_HA_Configuration))
((http://hg.linux-ha.org/lha-2.1/archive/STABLE-2.1.4.tar.bz2 heartbeat-2.1.4))
((#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**
%%(html)
auth 1
1 sha1 123456
%%
Κι έπειτα χρειάζεται να αλλάξουμε τα δικαιώματα του αρχείου:
%%
chmod 600 /etc/ha.d/authkeys
%%
((#top))
-----------
==== haresources ====
**/etc/haresources**
%%(html)
SERVER1 192.168.2.3
%%
((#top))
-----------