Erinevus lehekülje "Linux-HA" redaktsioonide vahel
Allikas: Kuutõrvaja
(ei näidata 2 kasutaja 11 vahepealset redaktsiooni) | |||
3. rida: | 3. rida: | ||
Alla saab laada aadressilt: http://www.linux-ha.org/DownloadSoftware <br> | Alla saab laada aadressilt: http://www.linux-ha.org/DownloadSoftware <br> | ||
Saab confida nii guiga (hb_gui), aga võib ka ise confifaile modida<br> | Saab confida nii guiga (hb_gui), aga võib ka ise confifaile modida<br> | ||
− | + | haresources failis asuvad iga node kohta kirjeldus, mis selles masinas peaks jooksma (sellenimeline fail peab asuma kataloogis /etc/init.d/) | |
− | + | '''haresources''' | |
− | |||
− | + | mats 10.1.5.2 httpd resin | |
− | + | papp 10.1.5.1 vsftpd | |
− | |||
− | |||
− | |||
− | |||
− | + | ha.cf on klastri käitumist reguleeriv fail. Siit saab muuta igasuguseid seadeid, nt kas failback on lubatud jne | |
− | |||
− | + | '''ha.cf''' | |
− | |||
− | # Very first dead time (initdead) | + | debugfile /var/log/ha-debug |
− | initdead 120 | + | logfile /var/log/ha-log |
+ | logfacility local0 | ||
+ | # keepalive: how long between heartbeats? | ||
+ | keepalive 2 | ||
+ | |||
+ | # deadtime: how long-to-declare-host-dead? | ||
+ | deadtime 30 | ||
+ | |||
+ | # warntime: how long before issuing "late heartbeat" warning? | ||
+ | warntime 10 | ||
+ | |||
+ | # Very first dead time (initdead) | ||
+ | initdead 120 | ||
+ | |||
+ | udpport 694 | ||
+ | |||
+ | bcast eth0 | ||
+ | |||
+ | node papp | ||
+ | node mats | ||
+ | auto_failback on | ||
+ | |||
+ | ping 10.1.254.254 | ||
+ | respawn hacluster /usr/lib/heartbeat/ipfail | ||
+ | apiauth cl_status uid=root | ||
+ | apiauth ipfail uid=root,hacluster | ||
− | + | '''authkeys''' | |
+ | auth 2 | ||
+ | 2 crc | ||
− | + | Kõigest lähemalt http://www.linux-ha.org/GettingStarted | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Viimane redaktsioon: 17. mai 2008, kell 00:21
The High Availability Linux Project Heartbeat
Tegu on linuxi klastri softiga, millega saab edukalt teha standby klastri.
Alla saab laada aadressilt: http://www.linux-ha.org/DownloadSoftware
Saab confida nii guiga (hb_gui), aga võib ka ise confifaile modida
haresources failis asuvad iga node kohta kirjeldus, mis selles masinas peaks jooksma (sellenimeline fail peab asuma kataloogis /etc/init.d/)
haresources
mats 10.1.5.2 httpd resin papp 10.1.5.1 vsftpd
ha.cf on klastri käitumist reguleeriv fail. Siit saab muuta igasuguseid seadeid, nt kas failback on lubatud jne
ha.cf
debugfile /var/log/ha-debug logfile /var/log/ha-log logfacility local0 # keepalive: how long between heartbeats? keepalive 2 # deadtime: how long-to-declare-host-dead? deadtime 30 # warntime: how long before issuing "late heartbeat" warning? warntime 10 # Very first dead time (initdead) initdead 120 udpport 694 bcast eth0 node papp node mats auto_failback on ping 10.1.254.254 respawn hacluster /usr/lib/heartbeat/ipfail apiauth cl_status uid=root apiauth ipfail uid=root,hacluster
authkeys
auth 2 2 crc
Kõigest lähemalt http://www.linux-ha.org/GettingStarted