Data Collector Operation and Troubleshooting
Data Collector File Locations
Historian data collector files are installed in the following default directories:
Executables
- OPC, Simulator, File, Calculation, and Server-to-Collectors
c:\Program Files\Proficy\Historian\Server
- iFIXCollector
c:\Dynamics
LOG files and SHOW files
C:\Historian Data\LogFiles (*.log, *.shw)
Buffer files and local tag cache
C:\Historian Data\BufferFiles (*.msq, *.cfg)
Pausing or Resuming Data Collection
Pausing or Resuming Data Collection from the Non-Web Admin
Pausing or Resuming Data Collection from the Web Admin
Pausing or Resuming Data Collection from the Local Collector Machine
Pausing Data Collection from the Collector Icon
Pausing Collection for a Subset of Tags from the Non-Web Admin
Pausing Collection for a Subset of Tags from the Web Admin
Modifying User Privileges for Starting a Collector
The following example shows how to change the user permissions for a collector (the iFIX Collector) in Window XP, 2003 Server, 2008 Server or XP. While these steps outline the procedure for changing the user permissions for the iFIX Collector, note that you must perform these steps individually for each collector that you want to allow the user to start.
To change the permissions in the Windows Registry, you must be an Administrator. After you change the permissions, you can exit the Registry Editor, allow the user to log in again, and then allow that user to restart the collector.
Data Collector Troubleshooting
About Monitoring Data Collector Performance Statistics
- Historian Administrator Main screen and Historian Messages screen.
For a detailed description of the parameter/option fields and the Alerts and Message Search Windows, refer to Using the Historian Administrator manual.
- LOG and SHOW files on the data collector local machine.
LOG (
.log
) files are historical journals of every event affecting operation of the collector. When you troubleshoot a problem in a collector, examining the log files is the best place to begin. The default path for LOG and SHW files is C:\Proficy Historian Data\LogFiles. The highest number is the most recent.SHOW (.shw) files allow you to examine the current configuration of a data collector. This file also details version and system configuration affecting the specific collector. The default path for LOG and SHW files is C:\Proficy Historian Data\LogFiles.
If you are upgrading from a previous version of Historian, then the Archives, LogFiles, and BufferFiles destination paths will remain unchanged.
Historian periodically checks for Archives, Bufferfiles, and Logfiles folder disk space availability. If the available disk space is less than configured, then Historian Data Archiver may shutdown.
- Event Viewer on the Historian Server and on the collector local machine.
The Windows Event Viewer logs all system events of interest to an administrator or developer. Each event has an identifying icon, such as Information, Warning, or Error. Click an item to display more detail about the event. Use this information to determine when and why a server fault occurred and when satisfactory operation was restored.
- Historian tag using the source address of the Rate Output Address, Status Output Address, or heartbeat Output Address.
Disabling Rebroadcasting for Historian Data Archiver
Troubleshooting Tag Configuration
Reviewing the Active Collector Configuration
.shw
) file.Collector and Archive Compression
It is possible for collected tags with no compression to appear in Historian as if the collector or archive compression options are enabled. If collector compression occurs, you will notice an increase in the percentage of the Compression value from 0% in the Collectors panel of the System Statistics screen in the Historian Administrator. When archive compression occurs, you will notice the Archive Compression value and status bar change on the System Statistics screen.
Collector Compression
For all collectors, except the File Collector, you may observe collector compression occurring for your collected data (even though it is not enabled) if bad quality data samples appear in succession. When a succession of bad data quality samples appears, Historian collects only the first sample in the series. No new samples are collected until the data quality changes. Historian does not collect the redundant bad data quality samples, and this is reflected in the Collector Compression percentage statistic.
For a Calculation or Server-to-Server Collector, you may possibly observe collector compression (even though it is not enabled) when calculations fail, producing no results or bad quality data.
Archive Compression
If the Archive Compression value on the System Statistics screen indicates that archive compression is occurring, and you did not enable archive compression for the tags, the reason could be because of internal statistics tags with archive compression enabled.
Data Buffering
During normal operation, the Data Collector sends data and messages to the Historian Server using TCP/IP.The Server responds when it has successfully received the data.
Normal variations in response from the server can leave a small number of messages buffered in memory.When the collector loses its connection, or whenever the server cannot keep up with throughput, the data collector establishes a buffer. During such periods, the data collector continues to write data, caching it in the local file and memory buffer instead of writing it to the server. When the collector reestablishes the connection to the server, it forwards the stored data to the server, clearing the buffer as the server successfully receives the data.
If a collector writing to an archive loses its connection and the disk buffer becomes full, real-time collection does not begin immediately upon the re-established connection to the server. No data is collected from the time that the connection to the archive is re-established until approximately the time it takes for the buffer on the collector to clear.
"[datetime] MessageAdd -MDW_iFIX Collector Buffering could not create buffer files. Shutting down."
If there is not enough free space for the collector to create its buffer files on startup, the collector shuts down and sends a message to the Event Viewer. The simplest way to prevent this from happening is to free up disk space to allow the collector to start. If this is not possible, you can edit the Registry to change the buffer size.
Editing the Registry to Change the Buffer Size
Setting Up Services Recovery Actions in Windows
Windows allows you to set up recovery actions to take place if a service fails. If you are running Historian Collectors on Windows, set recovery actions to restart the service for your individual collectors.
To set recovery actions for a specific service: