How to perform a server restart or shutdown of Neverfail Heartbeat on a server pair

Follow

Summary

This Knowledgebase article provides information about the restart and shutdown behavior of Neverfail Heartbeat, and explains how to correctly shutdown or reboot a server pair on which Neverfail Heartbeat is running. You should also refer to this Knowledgebase article if you are preparing to relocate a Neverfail Heartbeat server.


More Information



In general, Neverfail Heartbeat should be shut down before restarting (rebooting) either the Primary or Secondary server. Failure to do so may compromise data integrity and leave the server(s) in an 'unclean' state.  Please consult Neverfail Support for further information if required.

Procedure

If a Neverfail Heartbeat protected server is not shutdown or restarted 'cleanly', the server will restart in the passive mode to maintain data integrity. This is an expected behavior and is by design.

When Neverfail Heartbeat is shutdown 'cleanly' using the Neverfail Heartbeat Management Client, Heartbeat will exit on both the Primary and Secondary Servers. This is an expected behavior and is by design.

Neverfail Heartbeat v6.2 and Later

How to Perform a Clean Shutdown

  1. Launch the Neverfail Heartbeat Management Client, by right-clicking the Neverfail Heartbeat system tray icon and selecting Manage Server , or by selecting the same option from Start > All Programs > Neverfail > Neverfail Heartbeat .
  2. Select the server pair you wish to manage and click Open .
  3. On the Server: Summary tab, check that the File System Status and Registry Status are both shown as 'Synchronized', and then click Shutdown .
  4. At this point, you can either choose to stop the protected application or leave it running when you shutdown Neverfail Heartbeat. Neverfail Heartbeat will shutdown on both selections but the latter will leave the protected application running.
  5. Neverfail Heartbeat will exit on both servers.

    If the intention is to restart only the Primary server, you must manually restart Neverfail Heartbeat on the Secondary server or  completely restart the Secondary server as well. Neverfail Heartbeat is configured to start automatically by default following a system reboot.

How to Start Neverfail Heartbeat After an Unclean Shutdown

If Nevrfail Heartbeat does not exit cleanly on both the Primary and Secondary servers, the active server will return as passive. As mentioned previously, this is an expected behavior and is by design. The previously active server must now be manually reset to active again. Follow the procedure below to restart Neverfail Heartbeat after an 'unclean' shutdown.

On the server, that was previously active (containing the most up-to-date data):

  1. Open the Windows Service Control Manager (SCM).
  2. Locate the Neverfail Server R2 service. If this service is shown as 'Started', stop it. If the service is shown as 'Starting', wait until the status changes to 'Started' and then stop it.
  3. Right-click the Neverfail Heartbeat system tray icon and select Server Configuration wizard.
  4. From the Machine tab, change the server from passive to active. NOTE: You must be sure that this server was previously active before manually setting this server to active. Manually setting the wrong server to active may result in some data loss.
  5. Click Finish .

On the passive server:

Check the passive server is online and running Neverfail Heartbeat. The system tray icon should show a status of either S- OR P- depending on whether the server is Secondary and passive or Primary and passive respectively. If the server is not started, start it now.

On the active server:

  1. Right-click the Neverfail Heartbeat system tray icon and select Start Neverfail Heartbeat . The server should now start as active and connect to the passive server.
  2. Launch the Neverfail Heartbeat Management Client, by right-clicking the Neverfail Heartbeat system tray icon and selecting Manage Server , or by selecting the same option from Start > All Programs > Neverfail .
  3. Log in at the prompt. Select the server pair you wish to manage and click Open .
  4. On the Server: Summary tab, check that the server pair has connected and has started replicating.

Neverfail Heartbet v6.0 and Earlier

How to Perform a Clean Shutdown

  1. Launch the Neverfail Heartbeat Management Client, by right-clicking the Neverfail system tray icon and selecting Manage Server , or by selecting the same option from Start > All Programs > Neverfail .
  2. Login at the prompt. Select the server pair you wish to manage and click Open .
  3. On the System > Status & Control tab, check that the File System Status and Registry Status are both shown as 'Synchronized', and then click Shutdown .
  4. At this point, you can either choose to stop the protected application or leave it running when you shutdown Neverfail Heartbeat. Neverfail Heartbeat will shutdown on both selections but the latter will leave the protected application running.
  5. Neverfail Heartbeat will exit on both servers.

    If the intention is to restart only the Primary server, you must manually restart Heartbeat on the Secondary server or  completely restart the Secondary server as well. Neverfail Heartbeat is configured to start automatically by default following a system reboot.

How to Start Neverfail Heartbeat After an Unclean Shutdown

If Neverfail Heartbeat does not exit cleanly on both the Primary and Secondary servers, the active server will return as passive. As mentioned previously, this is an expected behavior and is by design. The previously active server must now be manually reset to active again. Follow the procedure below to restart Neverfail Heartbeat after an 'unclean' shutdown.

On the server, that was previously active (containing the most up-to-date data):

  1. Open the Windows Service Control Manager (SCM).
  2. Locate the Neverfail Server R2 service. If this service is shown as 'Started', stop it. If the service is shown as 'Starting', wait until the status changes to 'Started' and then stop it.
  3. Right-click the Neverfail Heartbeat system tray icon and select Server Configuration wizard.
  4. From the Machine tab, change the server from passive to active. NOTE: You must be sure that this server was previously active before manually setting this server to active. Manually setting the wrong server to active may result in some data loss.
  5. Click Finish .

On the passive server:

Check the passive server is online and running Neverfail Heartbeat. The system tray icon should show a status of either S- OR P- depending on whether the server is Secondary and passive or Primary and passive respectively. If the server is not started, start it now.

On the active server:

  1. Right-click the Neverfail Heartbeat system tray icon and select Start Neverfail Heartbeat . The server should now start as active and connect to the passive server.
  2. Launch the Neverfail Heartbeat Management Client, by right-clicking the Neverfail system tray icon and selecting Manage Server , or by selecting the same option from Start > All Programs > Neverfail.
  3. Log in at the prompt. Select the server pair you wish to manage and click Open .
  4. On the System > Status & Control tab, check that the server pair has connected and has started replicating.


Applies To

All Versions


Related Information

None

KBID-401

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.