How to Update Applications on a Trio of Servers When Neverfail Engine is Installed

How to Update Applications on a Trio of Servers When Neverfail Engine is Installed

Summary

This Knowledgebase article provides procedures for updating an application protected by Neverfail Engine in a Trio configuration. 

More Information

Note: Prior to attempting this upgrade you should read the entire procedure. This upgrade is carried out at the server console. Customer Application - This is for service packs/patching/hotfix updates and not major version application upgrades. 

Procedure

  1. On the Active Server
    Note:
    If the Secondary server is the Active server, please omit step 1. below.
    1. Using the Neverfail Advanced Management Client, select the Secondary (passive) server and click Make Active. Wait for the Secondary server to become Active.
  2. On the Secondary Server
    1. Using the Shutdown Group option, shutdown Neverfail Engine on the Secondary (now Active), Tertiary and Primary servers leaving the protected applications running.

      After this step the Trio status is Secondary being the Active server with Engine stopped and application running, wile the Tertiary and Primary servers are Passive with Engine and applications stopped.
    2. Upgrading the Application on the Secondary:
      1. Install the Application Update by running the setup program.
      2. If asked, reboot the server at this point
      3. Verify that Application is operational.
      4. If the server was rebooted, shutdown Neverfail Engine on the Secondary server.
      5. If the upgrade procedure was successful proceed to next step, else go-to "Upgrade Failed" part of this article.
    3. Change the server role of the Secondary to be Passive and the Tertiary to be Active:
      1. On the Secondary server, launch the Neverfail Configure Server Wizard UI and click on the Machine tab.
      2. In the Active frame set the Tertiary to be Active and click the Finish button to save.
      3. Using the Service Control Manager, start Neverfail Engine/Server R2 service.
      4. Wait until all services of the protected application are stopped.
      5. Using the Service Control Manager, stop Neverfail Server R2 service.
      6. Perform steps 1 to 4 above on the Tertiary machine too.
      7. After all services of the Protected Application were started, stop Neverfail Engine service leaving the protected applications running.
    4. Upgrading the Application on the Tertiary
      1. On the Tertiary server, install the Application Update by running the setup program.
      2. If asked, reboot the server at this point
      3. Verify that Application is operational.
      4. If the server was rebooted, shutdown Neverfail Engine on the Tertiary server.
      5. If the upgrade procedure was successful proceed to next step, else go-to "Upgrade Failed".
                  5. Change Tertiary to be Passive and the Primary to be Active:
      1. On the Tertiary server launch the Neverfail Configure Server Wizard and click on the Machine tab.
      2. In the Active frame set the Primary to be the Active server.
      3. Using the Service Control Manager, start Neverfail Engine/Server R2 service.
      4. Wait until all protected services are stopped.
      5. Using the Service Control Manager, stop Neverfail Server R2 service.
      6. Repeat step 1 to 4 above on the Primary server
  1. On the Primary Server (Assuming a successful upgrade of Secondary and Tertiary servers completed)
1. Using the Shutdown Engine option, shutdown Neverfail Engine on the Primary (now active) server leaving the protected applications running.
2. Install the Application Update by running the setup program.
3. If asked reboot the server at this point.
4. Verify that Application is operational.
5. If the upgrade procedure was successful proceed to next step, else go-to "Upgrade Failed".
6. Start Neverfail Engine on the Primary Server (Ignore this step if the Primary server was already rebooted).
  1. Finalizing Upgrade:
    1. Start Neverfail Engine on the Secondary and Tertiary servers.
    2. Using the Neverfail Advanced Management Client:
      1. Verify that the Protected Service Discovery task has run.
      2. Check that the system starts and completes the Full System Check.
  2. If the upgrade on Secondary/Tertiary/Primary server fails:
    1. Research the cause of the upgrade failure.
    2. If the issue can be resolved then it is safe to proceed with upgrade procedure. Otherwise you can revert to previous version.
    3. To revert to a previous version:
      1. Uninstall the upgraded components and check the application starts after the rollback.
      2. On the Secondary/Tertiary server, launch the Neverfail Heartbeat/Engine Configure Server Wizard and click on the Machine tab. Change the Current role to passive.
      3. Reboot the server.
      4. Neverfail Heartbeat/Engine will start as passive and the Application will be stopped.
      5. On the Primary server, launch the Neverfail Heartbeat/Engine Configure Server Wizard and click on the Machine tab. Change the Current role to Primary/active.
      6. Restart Neverfail Heartbeat/Engine on the Primary Server and allow system to synchronize.
      7. Using the Neverfail Advanced Management Client, check that the system starts and completes the Full System Check.
      8. Investigate the cause of the application upgrade failure on the Secondary/Tertiary server.

Note: In the event of the server connecting to a remote database (DB) you should create backups at key points of the patching process in the event of DB structure changes.

  • Backup the remote DB before upgrading on Secondary
  • Backup the remote DB again after upgrading on Secondary (when upgrade successful)
  • Restore the remote DB to the pre-upgrade point BEFORE starting the upgrade on the Tertiary (before starting Step 5)
  • Backup the remote DB before upgrading on Tertiary
  • Backup the remote DB again after upgrading on Tertiary (when upgrade successful)
  • Restore the remote DB to the pre-upgrade point BEFORE starting the upgrade on the Primary (before starting Step 8)

 

Applies To

  Customer Application  Neverfail Heartbeat/Engine 

 

Related Information

  None   KBID-3004 



    • Related Articles

    • How to Upgrade or Apply Services Packs and Rollups To The Protected Applications with Neverfail Engine Installed

      Summary This Knowledgebase article provides procedures for upgrading an application protected by Neverfail Engine in a Pair configuration. More Information   This KB article is for applying service packs, patches and hotfixes and not major version ...
    • 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 ...
    • Neverfail IT Continuity Engine v8.0 - Release Notes

      Summary This Knowledge base article provides information about this specific release of Neverfail IT Continuity Engine v8.0 More Information Supporting Documentation A listing of technical documents supporting this version of Neverfail IT Continuity ...
    • Continuity Engine Troubleshooting - Two Active or All Passive Servers

      This session introduces you to resolving unexpected occurrences where two servers are active or all the servers are passive. Neverfail Continuity Engine is designed to operate with one server active, while the other server or servers are passive.  ...
    • 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 ...