[Linux-HA] Ha.cf and hosts

Parodi Luca Parodi.Luca at asf.ansaldo.it
Wed Sep 26 05:53:47 MDT 2007


Good Morning,

 

We use Linux Novell SLES 10 SP1 and Linux-HA heartbeat-2.0.8-0.19 rpm
file.

 

When we configure the ha.cf must use the hostname of the public LAN or
private LAN?

 

As follow we write the hosts file present in the nodes of cluster:

 

192.168.100.162 nodob.asflab.int nodob

10.10.10.1      nodoa-hb

10.10.10.2      nodob-hb

192.168.100.161 nodoa.asflab.int nodoa

192.168.100.221 switch

 

And ha.cf file:

 

autojoin any

crm true

bcast bond0

bcast bond1

node nodob

node nodoa

#respawn root /usr/lib/heartbeat/pingd -m 100 -d 5s -h switch

 

ping 192.168.100.221

respawn root /usr/lib/heartbeat/pingd -m 100 -d 5s

respawn root /sbin/evmsd

apiauth evms uid=hacluster,root

#deadping 20    # 20 seconds

#LAN_FAIL_MONITOR

keepalive 2 # 2 second

 

Thaks!

 

Bye Luca

 

 




More information about the Linux-HA mailing list