Configuration in redundant system

Find and share HowTos to various installations / configurations!
6 posts • Page 1 of 1
vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Configuration in redundant system

Post by vedadramovic »

Hello,
Where should I place some configuration information which is specific for each redundant server side - so it is not synchronized never with other redundant side?
This specific configuration info is used in some control managers on both redundant sides.

Auto synchronization is very good and useful for us, but for some cases (files) I would like synchronization not to take part.
Best regards,
Vedad

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Configuration in redundant system

Post by leoknipp »

Hello,

in redundant systems normally only the database files are recovered and copied from one server to the other during startup.
If you are not using the functionality of the script fileSync.ctl the other files are not copied. For the fileSync.ctl you can configure which files shall be copied.
For details please have a look at the WinCC OA online help: Special functions --> Redundancy --> File synchronization

Best Regards
Leopold Knipp
Senior Support Specialist

fmulder
Posts:330
Joined: Wed Feb 03, 2010 9:46 am

Re: Configuration in redundant system

Post by fmulder »

In general you should only use the standard folders of a Wincc OA project. For example: when you copy a project or do an 'online backup' then only the 'normal' folders are being copied.
We normally add project specific stuff to the folders \\data and \\source.

Example: We have some ascii files where we defined the contents of our faceplates. This is stored in the folder \\data\\faceplates.

Never add your own folders to a project.
(Your colleague will use copy project in the WinCc OA Project Administrator and he will not realise that he did not copy your extra folders)

Good luck
"Share the fun"

Frenk

vedadramovic
Posts:121
Joined: Mon Apr 07, 2014 10:36 am

Re: Configuration in redundant system

Post by vedadramovic »

Thank you Frenk and Leopold
Best regards,
Vedad

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: Configuration in redundant system

Post by Gertjan van Schijndel »

Vedad Ramovic wrote:
Where should I place some configuration information which is specific for each redundant server side
You could place this configuration in the normal config file(s) with a special syntax by starting the line with '($host1)' or '($host2)' like this:

Code: Select all

($host1) DP_myData = "_myData"   # Datapoint for primary server
($host2) DP_myData = "_myData_2" # Datapoint for secondary server

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: Configuration in redundant system

Post by leoknipp »

Hello,

if a project is copied using the WinCC OA project administration all folders are copied. Also folders which are not part of the standard project structure are copied.
I've tested it with WinCC OA 3.13 and it works.

Best Regards
Leopold Knipp
Senior Support Specialist

6 posts • Page 1 of 1