Geo SCADA Expert

It is not recommended that ClearSCADA runs on systems which do not have the required exclusions configured. Doing so risks ClearSCADA database corruption and ongoing performance problems

Anti-virus products will cause problems with ClearSCADA unless certain exclusions are configured. The "on access" scan in anti-virus products can temporarily lock files used by ClearSCADA, either having the effect of slowing ClearSCADA down whilst it waits for the scan of that file to finish or causing the file save to be aborted resulting in incomplete database files. In addition, scheduled scans may cause a more general performance issue during a scan of the disk due to the large number of files of the ClearSCADA database having to be scanned.

If ClearSCADA is unable to successfully write to a file ClearSCADA will either go into a safe state or result in the database not being saved to disk correctly, depending on the file.

Backup and archive times can be drastically improved without having anti-virus products scanning each file it needs to read from the database and write out to its new location.

To find which third party processes are accessing ClearSCADA files, use the Process Monitor utility from Sysinternals to monitor the database locations but filter out "DBServer.exe"

The following directories should be added to any anti-virus product installed including the default Windows products. Specific directories used on your system can be found in the Location section of the Server Config or within the relevant object's configuration:

  • Program Files installation directory (including files and sub directories)
  • Program Files (x64) directory (on 64 bit operating systems)
  • Database Files directory (including ClearSCADAConfig.dat, ClearSCADAData.dat, ClearSCADAMetadata.xml and all temp files created in the database files directory)
  • History directory (including files and sub directories)
  • Journal directory (including files and sub directories)
  • Configuration Changes directory (including files and sub directories)
  • Historic Files directory(including files and sub directories)
  • Data Files directory (including files and sub directories)
  • Alarm Summary directory (including files and sub directories)
  • Archive directory
  • Backup directory when using the Backup object within ClearSCADA
Under the history, journal, configuration changes and alarm summary directories, sub-directories will be created for each item that has data. If your anti-virus product does not support wildcards in exclusions, then either add the entire history, journal and configuration changes directories to the exclusion list

The above exclusions are recommended for the "on access"/"real time" scan. Scheduled scans, which are usually daily or once a week, should also have these exclusions added with the exception of the Program Files exclusion.

Also see Online Defragmenter Exclusions