How to keep project files synchron (redundancy and UIs)?
synchronization of project files on redundant servers
On a redundant System it is necessary, that the project files are synchronized between both redundant hosts.
WinCC OA has a feature to keep the projects of redundant hosts synchrone. With the CTRL script fileSync.ctl you can use the split mode for testing your changes. On leaving split mode, by answering the question which host should recover, also the projects files can be synchonized.
You can also synchronize by pressing the FileSync button in the system overview panel on demand.
For using the file synchronization in the redundant project a CTRL manager with different number on both hosts is requiered, which runs the script fileSync.ctl
e.g.
on left host1: fileSync.ctl -num 98 –connectToRedundantHosts
on right host2: fileSync.ctl -num 99 –connectToRedundantHosts
note: according to WinCC OA onlinhelp (chapter File synchronization), also the CTRL debug DPs for that managers (e.g. 98 and 99) are requiered:
DPT: _CtrlDebug
DPs: _CtrlDebug_CTRL_98 and _CtrlDebug_CTRL_99
That functionality can overwrite, add and delte files. All deleted and overwritten files will be moved to an zip backup file.
project files on UI or web clients
To keep the UI client projects up to date, you can use the web client, which caches the project files.
The same is possible with an UI outside of a browswer by starting the UI process with the option –server http://<web client server>