[Freeswitch-users] HA: Starting FreeSWITCH empties the callstable?

Madovsky infos at madovsky.org
Mon Nov 7 20:53:15 MSK 2011


depend what you call "set the hostname".
in FS config, yes, outside FS, no

----- Original Message ----- 
From: "Vik Killa" <vipkilla at gmail.com>
To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
Sent: Monday, November 07, 2011 12:37 PM
Subject: Re: [Freeswitch-users] HA: Starting FreeSWITCH empties the 
callstable?


> Is it recommended to set the hostname the same with 2 active FS servers?
> Where/how do i set this variable?
>
> On Mon, Nov 7, 2011 at 12:07 PM, peely <freeswitch at peely.com> wrote:
>> It was committed and works, but the point is that using it as described 
>> in
>> the Jira commit (i.e. using it in a HA failover cluster) has strange
>> behaviour.
>>
>> As Anthony described, it's actually best not using this and using 
>> separate
>> hostnames for each half of the cluster, the failover still works 
>> perfectly
>> as both switches read pertinent data from a shared database even though
>> their hostnames are different. There may be other reasons for using a
>> switchname which is different to the machine's hostname and if so, then
>> switchname in switch.conf.xml works as described.
>>
>> I've gone back to my test setup and am re-testing failover in test
>> conditions, when I've put this into a live scenario i.e. everything works
>> I'll look at the Wiki article and see if anything needs updating, 
>> although
>> Avi has rightly noted there that the failover works with different
>> hostnames.
>>
>>
>> Neil.
>>
>> --
>> View this message in context: 
>> http://freeswitch-users.2379917.n2.nabble.com/HA-Starting-FreeSWITCH-empties-the-calls-table-tp6958891p6971178.html
>> Sent from the freeswitch-users mailing list archive at Nabble.com.
>>
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org 




Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list