Hi All
I did try out "hearbeat" to implement HA for asterisk based PBX system and
it was success .
Right now I have different asterisk front end GUI on my server. The reason
for that is to find which is better.May be later I will switch both the server
to the selected one .
On "Asterisk Server 1" I have "druid" installed and I have named it as "druid".
On " Asterisk Server 3" I have "elastix" installed and I have name it as
"elastik" .
My aim is to make the switch over happen whenever "the link to Asterisk server
1" service is down .
I would like to post the "conf" files for others.
### My configuration file *****
# haresources
[r...@druid ha.d]# pwd
/etc/ha.d
[r...@druid ha.d]# cat haresources
druid 192.168.21.84 asterisk
[r...@druid ha.d]#
// ie 'hostname of primary server ' 'floating IP address' 'names of service
to be executed during failover
*** ha.cf ******
debugfile /var/log/ha-debug
logfile /var/log/ha-log
keepalive 2
deadtime 10
bcast eth0
node druid elastix
auto_failback off
##########################
***** /etc/hosts ********
cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
127.0.0.1 asterisk
192.168.21.158 druid druid
192.168.21.156 elastik elastik
###########################
Thanks
Joseph John
The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.
http://in.yahoo.com/