[Linux-HA] Ha.cf and hosts

Dejan Muhamedagic dejanmm at fastmail.fm
Wed Sep 26 06:15:17 MDT 2007


Hi,

On Wed, Sep 26, 2007 at 01:53:47PM +0200, Parodi Luca wrote:
> 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?

Use whatever uname -n prints.

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

Perhaps you should specify other time parameters too. See the
documents in the package or at linux-ha.org.

Thanks,

Dejan

>  
> 
> Thaks!
> 
>  
> 
> Bye Luca
> 
>  
> 
>  
> 
> _______________________________________________
> Linux-HA mailing list
> Linux-HA at lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems



More information about the Linux-HA mailing list