Configuring synchronization

Synchronization is a process of duplicating the configuration of the primary node on the secondary node. The purpose of synchronization is to ensure that there is no loss of configuration information between the primary and the secondary nodes, regardless of the number of failovers that occur. Synchronization uses port 3010.

Synchronization is triggered by either of the following circumstances:

  • The secondary node in an HA setup comes up after a restart.
  • The primary node becomes secondary after a failover.

Automatic synchronization is enabled by default. You can also force synchronization.

Disabling or enabling synchronization

Automatic HA synchronization is enabled by default on each node in an HA pair. You can enable or disable it on either node.

To disable or enable automatic synchronization by using the command line interface

At the command prompt, type:

  • set HA node -haSync DISABLED
  • set HA node -haSync ENABLED

To disable or enable synchronization by using the GUI

  1. Navigate to System > High Availability.
  2. Under HA Synchronization, clear or select the Secondary node will fetch the configuration from Primary option.

Forcing the secondary node to synchronize with the primary node

In addition to automatic synchronization, the NetScaler supports forced synchronization. You can force the synchronization from either the primary or the secondary node. When you force synchronization from the secondary node, it starts synchronizing its configuration with the primary node.

However, if synchronization is already in progress, forced synchronization fails and the system displays a warning. Forced synchronization also fails in any of the following circumstances:

  • You force synchronization on a standalone system.
  • The secondary node is disabled.
  • HA synchronization is disabled on the secondary node.

To force synchronization by using the command line interface

At the command prompt, type:

force HA sync

To force synchronization by using the GUI

  1. Navigate to System > High Availability.
  2. On the Nodes tab, in the Action list, click Force Synchronization.

Configuring synchronization