Erinevus lehekülje "Linux-HA" redaktsioonide vahel

Allikas: Kuutõrvaja
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>
cat  haresources<br>
+
<b>#cat  haresources</B><br>
  
 
mats 10.1.5.2 httpd resin<br>
 
mats 10.1.5.2 httpd resin<br>
 
papp 10.1.5.1 vsftpd
 
papp 10.1.5.1 vsftpd
 +
 +
<br><B># cat ha.cf</B><br>
 +
debugfile /var/log/ha-debug<br>
 +
logfile /var/log/ha-log<br>
 +
logfacility    local0<br>
 +
# keepalive: how long between heartbeats?<br>
 +
keepalive 2<br>
 +
 +
# deadtime: how long-to-declare-host-dead?<br>
 +
deadtime 30<br>
 +
 +
# warntime: how long before issuing "late heartbeat" warning?<br>
 +
warntime 10<br>
 +
 +
# Very first dead time (initdead)<br>
 +
initdead 120<br>
 +
 +
udpport 694<br>
 +
 +
 +
 +
bcast eth0<br>
 +
 +
node papp<br>
 +
node mats<br>
 +
auto_failback on<br>
 +
 +
ping 10.1.254.254<br>
 +
respawn hacluster /usr/lib/heartbeat/ipfail<br>
 +
apiauth cl_status uid=root<br>
 +
apiauth ipfail uid=root,hacluster<br>

Redaktsioon: 30. september 2007, kell 19:20

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
#cat haresources

mats 10.1.5.2 httpd resin
papp 10.1.5.1 vsftpd


# cat ha.cf
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0

  1. keepalive: how long between heartbeats?

keepalive 2

  1. deadtime: how long-to-declare-host-dead?

deadtime 30

  1. warntime: how long before issuing "late heartbeat" warning?

warntime 10

  1. 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