<html>
<head>
<base href="https://wiki.asterisk.org/wiki">
<link rel="stylesheet" href="/wiki/s/2041/1/7/_/styles/combined.css?spaceKey=TOP&forWysiwyg=true" type="text/css">
</head>
<body style="background: white;" bgcolor="white" class="email-body">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
<h2><a href="https://wiki.asterisk.org/wiki/display/TOP/Fail-over+Testing">Fail-over Testing</a></h2>
<h4>Page <b>edited</b> by <a href="https://wiki.asterisk.org/wiki/display/~dsessions@digium.com">Darren Sessions</a>
</h4>
<br/>
<h4>Changes (1)</h4>
<div id="page-diffs">
<table class="diff" cellpadding="0" cellspacing="0">
<tr><td class="diff-added-lines" style="background-color: #dfd;">{gliffy:name=failover functional active examp 1|align=left|size=L|version=1} <br></td></tr>
<tr><td class="diff-unchanged" >h2. Overview <br>Fail-over is the capability to automatically move resources, without human intervention, from an active server over to a standby server after a server, system, network, or application failure. <br></td></tr>
<tr><td class="diff-snipped" >...<br></td></tr>
</table>
</div> <h4>Full Content</h4>
<div class="notificationGreySide">
<map name='GLIFFY_MAP_11338491_failover_functional_active_examp_1'></map>
<table width="100%">
<tr>
<td align="left">
<table>
<caption align="bottom">
</caption>
<tr>
<td>
<img style="border: none; width: 884px; height: 853px;"
usemap="#GLIFFY_MAP_11338491_failover_functional_active_examp_1"
src="/wiki/download/attachments/11338491/failover+functional+active+examp+1.png?version=1&modificationDate=1299179889273"
alt="A&#32;Gliffy&#32;Diagram&#32;named&#58;&#32;failover&#32;functional&#32;active&#32;examp&#32;1"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<h2><a name="Fail-overTesting-Overview"></a>Overview</h2>
<p>Fail-over is the capability to automatically move resources, without human intervention, from an active server over to a standby server after a server, system, network, or application failure.</p>
<p>The Asterisk SCF fail-over model relies on the built-in state replication engine to replicate data within components in addition to 3rd party clustering technology used to move a single or multiple shared ip addresses used by clients or other components between the active and standby servers. For this type of fail-over to work properly, both the active and standby servers must also have static ip addresses on the same network subnet as the shared ip address in order to advertise ownership of the shared ip address(es). A heartbeat link used by the clustering software between the active and standby servers must also be established, however, several other methods for connectivity can be utilized for this link (i.e. private links/networks, serial cables, etc.) depending on the clustering software being used and personal preference.</p>
<h4><a name="Fail-overTesting-Components"></a>Components</h4>
<ul>
        <li>Service Locator</li>
        <li>Logger</li>
        <li>Bridging</li>
        <li>Routing</li>
        <li>RTP State Replicator</li>
        <li>Media RTP pjmedia</li>
        <li>SIP State Replicator</li>
        <li>SIP Session Gateway</li>
</ul>
<h2><a name="Fail-overTesting-FunctionalTesting"></a>Functional Testing</h2>
<p>Functional tests are used to determine that both ip fail-over and component state fail-over work consistently in both IPv4 and IPv6 networks.</p>
<p><span class="image-wrap" style=""><img src="/wiki/download/attachments/11338491/failover+active.jpg?version=1&modificationDate=1298903826730" style="border: 0px solid black" /></span> <span class="image-wrap" style=""><img src="/wiki/download/attachments/11338491/failover+standby.jpg?version=1&modificationDate=1298904496930" style="border: 0px solid black" /></span></p>
<h2><a name="Fail-overTesting-PerformanceTesting"></a>Performance Testing</h2>
<p>Performance tests are used to make sure both ip fail-over and component state fail-over work well under high traffic volumes in both IPv4 and IPv6 networks.</p>
<p><span class="image-wrap" style=""><img src="/wiki/download/attachments/11338491/failover+active+performance.jpg?version=1&modificationDate=1298905110581" style="border: 0px solid black" /></span> <span class="image-wrap" style=""><img src="/wiki/download/attachments/11338491/failover+standby+performance.jpg?version=1&modificationDate=1298904988862" style="border: 0px solid black" /></span></p>
</div>
<div id="commentsSection" class="wiki-content pageSection">
<div style="float: right;">
<a href="https://wiki.asterisk.org/wiki/users/viewnotifications.action" class="grey">Change Notification Preferences</a>
</div>
<a href="https://wiki.asterisk.org/wiki/display/TOP/Fail-over+Testing">View Online</a>
|
<a href="https://wiki.asterisk.org/wiki/pages/diffpagesbyversion.action?pageId=11338491&revisedVersion=16&originalVersion=15">View Changes</a>
|
<a href="https://wiki.asterisk.org/wiki/display/TOP/Fail-over+Testing?showComments=true&showCommentArea=true#addcomment">Add Comment</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>