<html>
<head>
    <base href="https://wiki.asterisk.org/wiki">
            <link rel="stylesheet" href="/wiki/s/2041/1/7/_/styles/combined.css?spaceKey=TOP&amp;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 (2)</h4>
                                 
    
<div id="page-diffs">
                    <table class="diff" cellpadding="0" cellspacing="0">
    
            <tr><td class="diff-snipped" >...<br></td></tr>
            <tr><td class="diff-unchanged" >Functional tests are used to determine that both ip fail-over and component state fail-over work consistently in both IPv4 and IPv6 networks. <br> <br></td></tr>
            <tr><td class="diff-changed-lines" >!failover active.jpg|border=0! <span class="diff-deleted-words"style="color:#999;background-color:#fdd;text-decoration:line-through;">!failover standby.jpg|border=0!</span> <br></td></tr>
            <tr><td class="diff-added-lines" style="background-color: #dfd;">!failover standby.jpg|border=0! <br></td></tr>
            <tr><td class="diff-unchanged" > <br>h2. Performance Testing <br></td></tr>
            <tr><td class="diff-snipped" >...<br></td></tr>
    
            </table>
    </div>                            <h4>Full Content</h4>
                    <div class="notificationGreySide">
        <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&amp;modificationDate=1298903826730" style="border: 0px solid black" /></span><br/>
<span class="image-wrap" style=""><img src="/wiki/download/attachments/11338491/failover+standby.jpg?version=1&amp;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&amp;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&amp;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=14&originalVersion=13">View Changes</a>
                |
        <a href="https://wiki.asterisk.org/wiki/display/TOP/Fail-over+Testing?showComments=true&amp;showCommentArea=true#addcomment">Add Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>