Troubleshooting
Why a redundant SCADA server crashes during standby sync
Short answer
The crash is a fault in the synchronization path, not in the servers: copying the live database from main to standby is the one operation a standalone test never exercises, so the evidence must come from dbserver.log at the sync moment, the disks on both servers and the network between them. Deleting event journals is a two-day workaround, not a repair. If storage and network checks come back clean, the durable path is a supported software version.
On this page
When a redundant SCADA pair runs fine with each server as a standalone main, then crashes the whole system with DB Server has stopped working the moment the standby starts to synchronize, the fault sits in the one operation the standalone test never exercises: copying the live database from the main to the standby. That copy touches the main's database files, the disks in both servers and the network between them, and the evidence has to come from those three places, captured at the sync moment. Deleting the recent event journals is a workaround, not a repair — in the reported case it bought about two days. Work the checks below in order, and if all three come back clean, commit to a supported software version.
What the crash pattern already proves #
The reported case is a three-server ClearSCADA 2010 R1 system: each server works as a main on its own, and the main crashes as soon as a networked standby begins to synchronize. The redundancy design is documented in the vendor's server administration guide: a standby that starts while connected to an already-running main synchronizes, and during synchronization the main server updates the standby. That design contains no mode in which the main's database server stops — a stop during sync is a fault, and the sync is the heaviest database transfer the pair ever performs. Standalone health proves each server can serve the plant from its own database; it proves nothing about that transfer.
| Observation | Status | What it commits you to |
|---|---|---|
| Each server works as main when standalone | Confirmed symptom | The fault needs the networked pair to appear |
| The main crashes as the standby begins to synchronize | Confirmed symptom | Collect evidence at the sync moment, on both servers |
| Deleting recent event journals restores operation, and the crash later returns | Confirmed observation, cause unknown | Journal handling is in the trigger chain; deletion is not the fix |
| Disk fault | Hypothesis | Test storage on both servers before assuming anything |
| A security appliance or firewall inserted between the servers | Hypothesis | Find what changed in the network the month it began |
| Latent defect in the 2010-era component stack | Hypothesis | The escalation path if disk and network both clear |
Capture the crash at the moment of sync #
- With the pair networked, record which server is main and which is standby, and watch for the synchronization to start. Write down the exact time the main reports the stop.
- Open
dbserver.logon the main first and copy the entries immediately before the stop, then take the same time window from the standby'sdbserver.log. The two extracts together show whether the fault sits on the side producing the copy or the side receiving it. - Record the Database Watchdog settings — they live in the Server Configuration Tool, under the System Configuration branch — so you know how the server is set to react when the database stops, and you count real stops from the log rather than from what the screens showed.
- Archive the current event journal files off the server before anything else is deleted. The last workaround destroyed them; this time they are evidence of what the sync was handling when it failed.
- Windows files this crash as an application fault, and the first rule from a has-stopped-working error fix for another plant runtime holds here too: the log lines at the crash time outrank any theory about the cause.
Test the disks on both servers #
Synchronization is the heaviest sustained disk work the pair ever does: the main reads its database to send it, and the standby writes the copy it receives. A disk that has carried normal load for years can fail exactly there, which is why "each server is fine alone" never cleared the storage.
- Run the storage vendor's own diagnostic against the database disks on both servers, and pull the operating system's disk errors from its event log.
- Match every error's timestamp against the stop time you recorded in the sync test. An error inside that window is a storage fault until proven otherwise; errors nowhere near it belong to a different problem.
- Confirm the database volume is not close to full on either server — the standby needs room to receive the copy.
- For a release this old, no database-file checking utility is documented in the material available to a site engineer. The disk-level checks and
dbserver.logare what you can run yourself; database-level validation for that version goes through the vendor's support channel.
Check the network path for what changed #
The failures began on 30 March 2018 on a system that had run since about 2010. The servers had not changed; something around them had. Ask what was installed or reconfigured between the two machines in the weeks before that date — a network intrusion prevention device, a firewall, a switch replacement, a new rule set on an existing appliance.
- Test the path directly: for one test window, connect the pair through an isolated switch or a direct link, with IT's agreement so the temporary path stays access-controlled. This is a diagnostic, not a security change to keep.
- If the standby completes its synchronization on the isolated path, the servers, their databases and their disks are fine and the fault is in the path. Restore the normal path and correct the appliance from the vendor's documented synchronization requirements, with IT owning the rules.
- If the crash reproduces on the isolated path as well, the network is cleared — move on to the decision.
Use the journal workaround on a schedule, not as the fix #
Clearing the recent event journals brought the pair back, and the crash returned on the same schedule. Use the workaround for what it is: a way to keep the plant running while evidence is gathered, run on a schedule you control.
Example of the scheduling arithmetic: you clear the journals at 08:00 on a Tuesday, and every previous cycle has crashed again after about 48 hours — 08:00 Tuesday + 24 h is 08:00 Wednesday, and a further 24 h is 08:00 Thursday, so the next failure is expected between Wednesday night and Thursday morning. Start a continuous copy of dbserver.log from both servers before you re-network the pair, and put an engineer on it from Wednesday evening onward. This time you want the log lines at the crash, not just the dialog box.
The decision, case by case #
dbserver.logor the disk diagnostics show errors inside the crash window: it is storage. Repair or replace the disks, restore the database from the last good backup, and pass the sync test before the pair returns to service.- The logs are clean and the sync completes on the isolated network path: it is the path. Correct the appliance configuration from the vendor's documented requirements, with IT owning the policy, then verify on the normal path.
- Disks clean, path clean, and the crash still reproduces at the sync: what remains is the 2010-era software stack itself. Commit to the upgrade to a supported version through the vendor's support channel — a release that old has no fixes coming, and no amount of journal deletion changes that.
- Until the upgrade window, run the plant on one server as main; both have already proved they serve alone. State the cost in the shift log: for that period a single server failure takes the SCADA view down with it, and if that is unacceptable the upgrade window moves up.
- Verification for every case: the standby completes synchronization with the main's database server still running, no journal files deleted, over a run longer than the failure ever took to return.
Once the pair synchronizes cleanly, remember that the historian layer above it fails over on its own terms — why historian output writes stop on a secondary server is a separate diagnosis.
Questions asked
Should both servers move to the new version in one step?
Plan it as a single change. A standby can only synchronize with a main running the same software version, so upgrading one server first leaves the site without redundancy until the second follows. Take the pair down in one maintenance window, install the identical version on both, and pass the synchronization test before either returns to service.
Is this crash a confirmed defect in the old software version?
No specific defect or corrective release is documented for this symptom. A release from 2010 that ran for about eight years before failing points to an environmental change first and a latent defect second, which is why the durable answer is a supported version with the vendor's support channel behind it rather than waiting for a fix to the old release.
What should we send to the vendor's support channel?
Five items: the exact software version, the dbserver.log extracts from both servers covering the minutes before each crash, the disk diagnostic results, the date the failures began, and every network change made around that date. With those, support can place the fault in storage, the path or the software stack instead of starting from the crash dialog.
How long do we run the pair before calling the fix verified?
Longer than the failure ever took to return. The crash came back in about two days even after journal deletion, so run the networked pair for at least a week with several completed standby synchronizations and the event journals left untouched before you sign the repair off.