Manual synchronization between sites participating in GSLB
-
The master site detects the differences between the configuration of its own site and the slave site.
-
The master site applies the difference in configuration to the slave site.
-
The master site performs the configuration synchronization with all the slave sites in the GSLB setup, and completes the synchronization process.
Points to note
-
If you force a synchronization (use the ‘force sync’ option), the NetScaler appliance deletes the GSLB configuration from the slave site. Then, master site configures the slave site to make it similar to its own site.
-
During synchronization, if a command fails, synchronization is not aborted. The error messages are logged into an .err file in the /var/netscaler/gslb directory.
-
If you use the
saveconfigoption, the sites participating in the synchronization process automatically save their configuration, in the following way:-
The master site saves its configuration immediately before it initiates the synchronization process.
-
The slave sites save their configuration after the process of synchronization is complete. A slave site saves its configuration only if the configuration difference was applied successfully on it. If synchronization fails on a slave site, you must manually investigate the cause of the failure and take corrective actions.
-
sync gslb config [-preview | -forceSync <string> | -nowarn | -saveconfig] [-debug]
show gslb syncStatus
sync gslb config
[WARNING]: Syncing config may cause configuration loss on other site.
Please confirm whether you want to sync-config (Y/N)? [N]:y
Sync Time: Dec 9 2011 10:56:9
Retrieving local site info: ok
Retrieving all participating gslb sites info: ok
Gslb_site1[Master]:
Getting Config: ok
Gslb_site2[Slave]:
Getting Config: ok
Comparing config: ok
Applying changes: ok
Done
-
Navigate to Traffic Management > GSLB > Dashboard.
-
Click Auto Synchronization GSLB and select ForceSyn.
-
In GSLB Site Name, select the GSLB sites that are to be synchronized with the master node configuration.
Previewing GSLB synchronization
sync gslb config -preview
-
Navigate to Configuration > Traffic Management > GSLB > Dashboard.
-
Click Auto Synchronization GSLB and select Preview.
-
Click Run. A progress window displays any discrepancies in the configuration.
Debugging the commands triggered during synchronization process
sync gslb config -debug
-
Navigate to Configuration > Traffic Management > GSLB > Dashboard.
-
Click Auto Synchronization GSLB and select Debug.
-
Click Run. A progress window displays the status of each command triggered during synchronization.