<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 performance standby 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_performance_standby_examp_1'></map>
<table width="100%">
<tr>
<td align="left">
<table>
<caption align="bottom">
</caption>
<tr>
<td>
<img style="border: none; width: 660px; height: 670px;"
usemap="#GLIFFY_MAP_11338491_failover_performance_standby_examp_1"
src="/wiki/download/attachments/11338491/failover+performance+standby+examp+1.png?version=1&modificationDate=1299183089944"
alt="A&#32;Gliffy&#32;Diagram&#32;named&#58;&#32;failover&#32;performance&#32;standby&#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>
<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: 660px; height: 670px;"
usemap="#GLIFFY_MAP_11338491_failover_functional_active_examp_1"
src="/wiki/download/attachments/11338491/failover+functional+active+examp+1.png?version=2&modificationDate=1299179947834"
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>
<map name='GLIFFY_MAP_11338491_failover_functional_standby_examp_1'></map>
<table width="100%">
<tr>
<td align="left">
<table>
<caption align="bottom">
</caption>
<tr>
<td>
<img style="border: none; width: 660px; height: 670px;"
usemap="#GLIFFY_MAP_11338491_failover_functional_standby_examp_1"
src="/wiki/download/attachments/11338491/failover+functional+standby+examp+1.png?version=1&modificationDate=1299180160970"
alt="A&#32;Gliffy&#32;Diagram&#32;named&#58;&#32;failover&#32;functional&#32;standby&#32;examp&#32;1"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
<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>
<map name='GLIFFY_MAP_11338491_failover_performance_active_examp1'></map>
<table width="100%">
<tr>
<td align="left">
<table>
<caption align="bottom">
</caption>
<tr>
<td>
<img style="border: none; width: 660px; height: 670px;"
usemap="#GLIFFY_MAP_11338491_failover_performance_active_examp1"
src="/wiki/download/attachments/11338491/failover+performance+active+examp1.png?version=1&modificationDate=1299180756100"
alt="A&#32;Gliffy&#32;Diagram&#32;named&#58;&#32;failover&#32;performance&#32;active&#32;examp1"/>
</td>
</tr>
</table>
</td>
</tr>
</table>
</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=23&originalVersion=22">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>