It is possible to configure an automatic file synchronization between redundant systems of the standard redundancy or the Disaster Recovery System (see Basics on the Disaster Recovery System). The settings for file synchronization and the directories that should be synchronized are adjusted in a separate panel. Once these are set the synchronization will take place automatically when the system leaves the split mode, or the file synchronization can be initiated manually in the panel. Principle and functionalityAfter the extension has been activated (see Activating the file synchronization), the button FileSync is visible in the WinCC OA system overview. After a click on it a panel is opened which allows the configuration of the file synchronization (see View in the system overview and settings for file synchronization). Standard redundancy Accordingly the synchronization for the standard redundancy is carried out:
Disaster Recovery System Accordingly the synchronization for the Disaster Recovery System is carried out:
Due to the synchronization the deleted and overwritten files are saved in the backup directory (Deleting and archiving files via the file synchronization).
Activating the file synchronizationIn order to activate the extension for file synchronization, a Control Manager with the following options must be added to the consoles on the servers. 1. redundant Server: Option: fileSync.ctl -num 99 -connectToRedundantHosts Start mode: always
2. redundant Server: Option: fileSync.ctl -num 98 -connectToRedundantHosts Start mode: always Create on the specific server an internal data point _CtrlDebug_CTRL_99 or _CtrlDebug_CTRL_98 of the type _CtrlDebug. For information on the data point type see Detailed information on the CTRL Debugger. View in the system overview and settings for file synchronizationNow, when the system overview is opened, the FileSync button is present.
Figure: System overview of a redundant system with the button for file synchronization Click on the button to open the panel with the settings for the file synchronization.
Figure: Settings of the file synchronization The settings and directories for the file synchronization can be configured in the file synchronization panel. By default the table contains all directories, which are recommended for the file synchronization. To
add a new directory for
synchronization click on the
The data directory and the backup directory (see Deleting and archiving files via the file synchronization) may not be synchronized. To
remove an existing directory from the synchronization, select
the directory in the table and click on the Using the check boxes in the "Active" column for each directory can be set, whether this will be synchronized. Using the check boxes in the "Recursive" column for each directory can be set, whether the file of its subdirectory will be synchronized. By clicking the "Start file synchronization" button a manual file synchronization is initiated. If the "check MD5 checksum" check box is ticked, a file synchronization takes place, when the MD5 (cryptographic hash function with a 128-bit hash value) checksum of both files is different. Via the radio boxes you can set, when a file synchronization should be carried out:
Deleting and archiving files via the file synchronizationFiles that are overwritten or deleted during the synchronization are stored in the data/backup project directory (if not another online backup path has been set for the backup on the host) with the name "projectFileBackUp_<HostName>_<timeInSecondsSince1970>.zip". |
V 3.11 SP1
Copyright ETM professional control GmbH 2013 All Rights Reserved