The main use for it was a way to supersede pulling the hostname off the machine so you could set any value you wish that would be treated as if it were the hostname for the purposes of the many things that are intentionally kept separate based on hostname.  The best practice is to have different hostnames because any data that should be shared over the database intentionally does not consider the hostname.
 

On Fri, Nov 4, 2011 at 6:06 AM, peely <freeswitch@peely.com> wrote:
OK, that works, keeping the switchnames different doesn't dump the calls
table when the other switch starts and issuing a "sofia recover" recovers
the calls still on the other box.

Can I ask when exactly the "switchname" should be used then?

FS 3277: http://jira.freeswitch.org/browse/FS-3277

Suggests it was implemented for the exact reason of keeping the names of two
switches in an HA configuration identical, but it seems they are best left
separate.

I don't mind cleaning up some of the detail in the HA Wiki but would just
like to know when the names should be the same and when they should be
different i.e. shoudl the names be the same for kind kind of active / active
setup?

I don't know if Avi Marcus is reading this, maybe you can comment as I know
you have a good deal of experience in getting HA setups up and running.


Thanks,



Neil.

--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/HA-Starting-FreeSWITCH-empties-the-calls-table-tp6958891p6962394.html



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900