How to Test a Neverfail Continuity Engine Pair Deployment Before Production Using AVT

How to Test a Neverfail Continuity Engine Pair Deployment Before Production Using AVT

Summary

This Knowledgebase article describes the procedure used to perform installation verification testing of a Neverfail Continuity Engine pair. Please see Neverfail Continuity Engine v9.0 Installation Guide for installation verification testing of a Neverfail Continuity Engine trio.

More Information

Important: The following procedure provides information about performing Installation Verification testing on a Neverfail Continuity Engine pair to ensure proper installation and configuration.

Additionally, this procedure provides step-by-step procedures to perform a controlled switchover in the event of an application failure and failover in the event of network or hardware failure resulting in excessive missed heartbeats.

Note: In this document, the term “Pair” refers to a Neverfail Continuity Engine pair.

Exercise 1 - Auto-switchover

Neverfail Continuity Engine monitors Neverfail services and the system environment to ensure that protected services are available for end users. To monitor services and the system environment, Neverfail Continuity Engine uses plug-ins which are designed for Neverfail services and the system.

If a protected service or the system begins to operate outside of preconfigured thresholds, Neverfail Continuity Engine can automatically switch to make the passive server the active server in the pair that provides services for end users.

Important: These exercises are examples and should be performed in order. Neverfail recommends against attempting to test failover on a properly operating pair by methods such as unplugging a power cord. At the moment power is lost, any data not written to the passive server is lost. Neverfail recommends that all actions intended to verify operation of the passive server be performed as a switchover rather than a failover.

Starting Configuration

Prior to initiating the Installation Verification process in a pair, Neverfail Continuity Engine must be configured with the Primary server as active and the Secondary server as passive. Additionally, the following prerequisites must be met:

  • The Secondary server must be synchronized with the Primary server.
  • All protected services must be operating normally.
  • If installed in a LAN environment, using the Neverfail Advanced Management Client, verify that Failover from Primary server to Secondary server if channel heartbeat is lost for failover timeout is selected from the Server: Monitoring > Configure Failover dialog (default setting).
  • If installed in a WAN environment, using the Neverfail Advanced Management Client, you must manually select Failover from Primary server to Secondary server if channel heartbeat is lost for failover timeout in the Server: Monitoring > Configure Failover dialog.

Important: Prior to starting the Installation Verification process, ensure that a known good backup of the Primary server exists and examine the Windows event logs for recent critical errors.

Neverfail provides an executable, nfavt.exe, to emulate conditions that result in auto-switchover so you can verify that your Neverfail Continuity Engine installation performs as expected. This section guides you through the steps necessary to perform this verification.

Steps to Perform

Important: If you encounter errors and or find it necessary to back out the changes made by this exercise, you can stop at any point and perform the steps described in the Back-out Procedure (Auto-switchover) to return the Pair to its original operating configuration and state.

Table 2: Perform the following procedure to verify Auto-Switchover in a Pair configuration.

Machine ID

Activity

Result

Primary

Open a command prompt.

 

 

Change directory to C:\Program Files\Neverfail\R2\Bin

 

 

Execute nfavt.exe When prompted, “Are you sure you wish to continue”, click Continue.

Service is switched to the Secondary server and Neverfail Engine shuts down on the Primary.

Secondary

Login to the Engine Management Service

 

 

In the Status pane of the Engine Management Service, review the status of the server pair.

The Status pane indicates that the Secondary server is active.

 

Verify all protected applications have started on the Secondary.

Services are running on the Secondary.

 

Verify data is present.

Data is present.

Successful completion of this procedure leaves the Neverfail Engine pair in the state necessary to perform the second part of the Installation Verification process, detailed in Exercise 2 - Data Verification.

Back-out Procedure (Auto-switchover)


Important: Do not perform this back-out procedure if you intend to continue the Installation Verification process.

If for any reason you find it necessary to back out of this exercise, you can stop at any point and return the pair to the state it was in at the beginning of this exercise by performing the following steps:

  1. Shut down Neverfail Engine and protected services on all servers.
  2. Complete the following on both servers:
    1. Open the Configure Server wizard.
    2. Select the Machine tab.
    3. Select the Primary server as active.
    4. Click Finish.
  3. On the Secondary server, right-click the taskbar icon and select Start Neverfail Engine.
  4. Verify that the Secondary server is passive (S/–).
  5. On the Primary server, right-click the taskbar icon and select Start Neverfail Engine.
  6. After Neverfail Engine starts, login to the Engine Management Service.
  7. Verify that applications have started and replication to the passive server has resumed. 

Exercise 2 - Data Verification

The Data Verification exercise validates that data is synchronized between the servers resulting in current data on the active server following the Auto-switchover exercise performed previously. The objective is to take a working active server (the Secondary server) and synchronize it with the passive (Primary server). This exercise also demonstrates that all the correct services stopped when the Primary server became passive.

Starting Configuration

Neverfail Continuity Engine is running on the Secondary active server. Login to the Secondary server and using the System Tray icon, verify that the server status displays S/A. Neverfail Continuity Engine is not running on the Primary server which is set to passive. Login to the Primary server and using the System Tray icon, verify that the server status displays -/- to indicate that Neverfail Continuity Engine is not running.

Steps to Perform

Table 3: Perform the following steps to verify that data is synchronized following Auto-switchover in a Pair configuration.

Activity

Results

On the Primary server, right-click the taskbar icon and select Start Neverfail Engine.

Neverfail Engine successfully starts.

Login to the Engine Management Service.

 

In the Protected Servers pane of the Engine Management Service, select the server pair.

The Summary screen is displayed.

Review the Status pane and verify the connection from the Secondary (active) to Primary (passive).

The Status pane shows a connection from the Secondary server to the Primary server.

View the System Summary pane and wait for both the File System and the Registry status to display as Synchronized. Access the Neverfail Engine logs and confirm that no exception errors occurred during the synchronization process.

Data replication resumes from the Secondary server back to the Primary server. Both the File System & Registry status become Synchronized.

Successful completion of this procedure leaves the Neverfail Continuity Engine Pair in the state necessary to perform the final part of the Installation Verification process, detailed in Exercise 3 - Switchover.

Exercise 3 - Switchover

The Switchover exercise demonstrates the ability to switch the functionality and operations of the active server on command to the other server in the pair using the Neverfail Continuity Engine. Perform this exercise only after successfully completing the Auto-switchover and Data Verification Exercises.

Starting Configuration

Neverfail Continuity Engine is running on the Secondary active server and Primary passive server. Using the Engine Management Service Summary page, verify that the Secondary server is active and that the Primary server is passive.

Steps to Perform

Table 4: Perform the following steps to switch functionality and operations on command fromthe active server to the ready-standby server.

Activity

Results

Using the Engine Management Service, review the Summary pane to verify that both the File System and Registry status are Synchronized.

 

Navigate to the Actions drop-down and click on Make Primary Server Active.

The Engine Management Service Summary Status pane displays the applications stopping on the active server. Once all applications are stopped, the active server becomes passive and the passive server becomes active. The Summary Status pane shows the applications starting on the newly active server. Both the File System and Registry status are Synchronized.

Confirm application performance and availability meets previously defined criteria. Verify that client applications are running as expected after the switchover process.

Services continue to be provided as before the switchover occurred. You may need to refresh or restart some client applications as a result of a switchover.

Successful completion of this procedure indicates a successful outcome from the Installation Verification process. 

Applies To

Neverfail Continuity Engine v8.0 and Later

Related Information

Neverfail Continuity Engine v9.0 Installation Guide

KBID-2988 


    • Related Articles

    • Neverfail Continuity Engine Server Deployment Architecture Options

      Summary This Knowledgebase article provides information about the server deployment architecture options and prerequisites for each option.  More information The Neverfail Continuity Engine v8.0 selected server architecture affects the requirements ...
    • Continuity Engine Product Architecture

      Learning objectives At the completion of this session, you should be able to: Identify major components of the Neverfail Continuity Engine product architecture. Describe major component configuration. Identify advantages of the Neverfail Continuity ...
    • Using the Neverfail Continuity Engine Management Service

      Summary This Knowledgebase article provides an introduction to the Neverfail Continuity Engine Management Service. More Information Using the Engine Management Service User Interface The Engine Management Service is the primary tool used for ...
    • Reference: Continuity Engine Product Architecture

      Summary This Quick Reference provides an overview of the key concepts and components of Neverfail Continuity Engine product architecture: More Information Key Concepts and Components Component / Concept Description Active-Passive Server Pair ...
    • Neverfail Continuity Engine v8.0 Automated Deployment of Stand-by Servers with Automatic Cloning

      Summary This Knowledgebase article provides the procedure used for Automated Deployment of Stand-by Servers with Automatic Cloning when the Secondary server is physical or virtual. More Information Procedure You have the following options: If the ...