<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV><BLOCKQUOTE type="cite"></BLOCKQUOTE><DIV>Noah,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Thanks for the input. I'm thinking the problem with the stop gracefully is that it would confuse the auto fail-over appliance, in that it would either detect the server is dead and hard switch the T1s or keep sending calls there which Asterisk would reject.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'm thinking a better method may be the fail-over switch coupled with some logic in the client and server, perhaps using SIP NOTIFY to inform clients they should disconnect when idle, and reconnect to the specified alternate server. Once everyone is off, then taking that box down and upgrading. Asterisk supports SIP NOTIFY, so that may be the most workable.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>-Norman</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Hi Norman -</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <BLOCKQUOTE type="cite"><BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">To add to what Edgar said, yes, use linux-ha.<SPAN class="Apple-converted-space">  </SPAN>It works nicely in</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">combination with DRBD.<SPAN class="Apple-converted-space">  </SPAN>DRBD uses a dedicated network interface on</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">each box with a crossover cable between the two.<SPAN class="Apple-converted-space">  </SPAN>It does a block</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">level copy of the entire filesystem, so you have two machines that are</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">identical.<SPAN class="Apple-converted-space">  </SPAN>The you use the linux-ha heartbeat to monitor the OS and</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">asterisk.<SPAN class="Apple-converted-space">  </SPAN>If anything goes wrong, it can fail over to the second</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">machine.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">This is pretty easy to set up with Analog lines.<SPAN class="Apple-converted-space">  </SPAN>With PRI's you'd</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 20.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">need the fonebridge or the FSV-4PFS from <A href="http://www.failsafevoip.com">http://www.failsafevoip.com</A></FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 10.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Thanks, I wasn't aware of the FSV-4PFS box. Can one switch it remotely (e.g.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">over the network?)</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">From what I understand, it has its own heartbeat-type monitoring of</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">asterisk.<SPAN class="Apple-converted-space">  </SPAN>If asterisk fails, it will automatically fail the PRI over</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">to your backup machine.<SPAN class="Apple-converted-space">  </SPAN>Can you manually force the failover?<SPAN class="Apple-converted-space">  </SPAN>I think</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">so, but I'm not positive.<SPAN class="Apple-converted-space">  </SPAN>You can ask the failsafevoip people</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">directly.<SPAN class="Apple-converted-space">  </SPAN>I've exchanged emails with them before and they are</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">knowledgeable and responsive.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <BLOCKQUOTE type="cite"><P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">It would be nice to have a way to gracefully switch boxes, e.g. all new</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">calls to the backup box, wait until all calls on the primary normally end,</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 10.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">and then take server down for an upgrade.</FONT></P> </BLOCKQUOTE><P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">If you're using heartbeat, and it's directly monitoring the asterisk</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">process, you should be able to issue a "stop gracefully" command.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">That will bring asterisk down when all the calls are complete.<SPAN class="Apple-converted-space">  </SPAN>Then,</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">heartbeat should fail over to the other machine.<SPAN class="Apple-converted-space">  </SPAN>Of course, if</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">someone is on a long call and you've already issued a "stop</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">gracefully" command, your "asterisk cluster" won't accept any new</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">calls until that long call is finished.</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">- Noah</FONT></P> </BLOCKQUOTE></DIV><BR></BODY></HTML>