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.<div>
 <div><br><div class="gmail_quote">On Fri, Nov 4, 2011 at 6:06 AM, peely <span dir="ltr">&lt;<a href="mailto:freeswitch@peely.com">freeswitch@peely.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
OK, that works, keeping the switchnames different doesn&#39;t dump the calls<br>
table when the other switch starts and issuing a &quot;sofia recover&quot; recovers<br>
the calls still on the other box.<br>
<br>
Can I ask when exactly the &quot;switchname&quot; should be used then?<br>
<br>
FS 3277: <a href="http://jira.freeswitch.org/browse/FS-3277" target="_blank">http://jira.freeswitch.org/browse/FS-3277</a><br>
<br>
Suggests it was implemented for the exact reason of keeping the names of two<br>
switches in an HA configuration identical, but it seems they are best left<br>
separate.<br>
<br>
I don&#39;t mind cleaning up some of the detail in the HA Wiki but would just<br>
like to know when the names should be the same and when they should be<br>
different i.e. shoudl the names be the same for kind kind of active / active<br>
setup?<br>
<br>
I don&#39;t know if Avi Marcus is reading this, maybe you can comment as I know<br>
you have a good deal of experience in getting HA setups up and running.<br>
<br>
<br>
Thanks,<br>
<br>
<br>
<br>
Neil.<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://freeswitch-users.2379917.n2.nabble.com/HA-Starting-FreeSWITCH-empties-the-calls-table-tp6958891p6962394.html" target="_blank">http://freeswitch-users.2379917.n2.nabble.com/HA-Starting-FreeSWITCH-empties-the-calls-table-tp6958891p6962394.html</a><br>

</font><div><div></div><div class="h5">Sent from the freeswitch-users mailing list archive at Nabble.com.<br>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
</div></div>