Troubleshooting
Why a VMware snapshot stuns a WinCC standby OS server
Short answer
An online VMware snapshot with memory stuns the standby WinCC OS server long enough that WinCC Redundancy reads the pause as loss of the standby and deactivates runtime. After the restart, activation and completed synchronization, treat the incident as a one-time redundancy outage, verify runtime, roles, synchronization and project databases, run reset_wincc only if databases stay attached, and keep snapshots off activated WinCC servers.

On this page
- What a snapshot with memory does to a running VM
- Timing the stun on a snapshot with memory of the standby
- Why WinCC deactivates the standby runtime
- Checks to run after the incident
- Releasing project databases that stay attached
- Keeping snapshots out of the backup workflow
- The decision for each case
- Questions asked
A snapshot taken from VMware ESXi against an activated WinCC standby OS server stuns the virtual machine, and WinCC Redundancy reads that pause as loss of the standby partner: runtime deactivates, Windows restarts, runtime activates again, and synchronization runs. That is exactly the sequence on the standby VM on the second host in this PCS 7 9.0 pair. One incident that ends in completed synchronization does not leave lasting degradation behind, but it is not "nothing happened" either: verify runtime, roles, synchronization and the project databases, then remove snapshots from the backup workflow for any WinCC server whose runtime is activated.
What a snapshot with memory does to a running VM #
A VMware snapshot preserves the state and data of a virtual machine at one point in time, and when memory is included, that state is the entire RAM contents. To capture it, ESXi must pause the virtual machine for the duration of the copy; during that window the guest executes nothing and answers nothing on the network. Broadcom documents that a VM may appear unresponsive while a snapshot with memory is taken and that such a snapshot can take a long time to complete. On a VxFlex OS datastore, Dell documents a pause of 8 s or more when a snapshot with memory is taken on ESXi.
That pause is not a WinCC fault and not a host fault; it is how snapshot-with-memory works. The stun is the only part of this incident that needs explaining, because everything WinCC did afterward is its documented response to a partner that disappeared.
Timing the stun on a snapshot with memory of the standby #
The inputs, and where each comes from:
- Documented pause floor: 8 s or more for an ESXi snapshot with memory on a VxFlex OS datastore (Dell support knowledge base). This is a measured, vendor-documented value.
- Documented scaling: VMware's snapshot performance guidance states the snapshot writes the whole RAM image to storage, so the disruption grows with the VM's memory size.
- Illustrative sizing, not measurements from this plant: a standby OS server VM with 32 GB of RAM and a storage path that sustains 1 GB/s.
The rule in words: the total disruption is the stun before the copy plus the time to write the RAM image to the datastore.
The arithmetic: 32 GB divided by 1 GB/s gives 32 s for the memory image, and 32 s plus the 8 s floor gives 40 s of unresponsiveness with the example sizing.
The result: at least 40 s on the example sizing, and at least the documented 8 s floor no matter how fast the storage is, because the stun before the copy cannot be tuned away.
The decision: in this incident, a pause of only seconds on an activated redundancy partner was enough for WinCC to deactivate the standby runtime. The memory-image write only lengthens that window, so there is no VM sizing or storage choice that makes an online snapshot with memory safe on an activated WinCC server. Take snapshots with runtime stopped, or not at all.
Why WinCC deactivates the standby runtime #
WinCC Redundancy continuously watches the connection between the master and the standby. Siemens documents failure scenarios for RT Professional in which a disruption between the servers, or a server dropping out of runtime, triggers defined redundant-system behavior on the standby computer. The stun of the snapshot produces exactly that condition: from the master's point of view, the standby vanished.
The observed sequence is therefore an orderly recovery, not a crash:
- A snapshot was created against the activated standby OS server VM.
- The VM was stunned and stopped answering.
- WinCC initiated runtime deactivation on the standby.
- Windows restarted automatically after the deactivation.
- WinCC runtime activated again after the restart.
- Redundancy synchronization started and completed.
This is an availability event: the pair ran on the master while the standby recovered. It is not evidence of a continuing reduction in scan, archive, alarm or visualization performance. Persistent damage would require something left behind, such as an incomplete synchronization, a wrong server role, or project databases that never detached. A redundant server that crashes during standby sync has a different cause and fix, covered in why a redundant SCADA server crashes during standby sync. The restart side of the recovery is the same mechanism behind why a WinCC standby server downloads a master-named folder: after rejoining, the standby rebuilds its local state from the master.
Checks to run after the incident #
Work through these five checks on the affected standby while the master keeps carrying the process:
- Runtime stability: WinCC runtime is active and Windows has not restarted or deactivated runtime again since the snapshot.
- Server roles: the OS server VM on the first host still operates as master, and the recovered VM on the second host is back as standby.
- Synchronization: the status reached its completed state once and stays there, without cycling back to active or failed.
- Client service: both OS client VMs receive live process values, alarms and screens through the redundant pair.
- New diagnostics: no new WinCC, SQL Server or Windows errors recorded after the restart.
If all five hold, the incident is closed. Judge performance from current readings and the redundancy status, never from the fact that a snapshot once occurred. Do not take another snapshot of the running standby to "confirm" recovery: on a water supply network the master is carrying the process alone while the standby recovers, and a second stun only adds a second redundancy outage.
Releasing project databases that stay attached #
While a WinCC project is active, WinCC attaches the project's databases to its SQL instance. A clean runtime shutdown and project close detach them again. On the affected standby:
- Stop WinCC runtime.
- Close the WinCC project.
- Open SQL Server Management Studio and connect to the WINCC SQL instance.
- Check the database list: every database the project normally attaches should be gone.
If databases remain attached, WinCC failed to release them, and that can interfere with later project activation and maintenance in the same way as the database access failures after an unclean power loss, covered in WinCC can't access database after power loss: DCF and reset steps. The corrective path is the documented one, not a manual cleanup: with runtime stopped and the project closed, run reset_wincc, restart Windows, then activate the project and runtime through the installation's normal startup method and wait for the server to rejoin the pair and for synchronization to complete. Do not detach, rename, delete or repair these databases by hand; that changes the state you are diagnosing and can create a second fault. If the database list came back clean, skip reset_wincc entirely, because resetting a healthy server adds another avoidable redundancy interruption.
Keeping snapshots out of the backup workflow #
Snapshots of an activated WinCC OS server are not a supported operating practice for this kind of system, and the incident sequence above is the reason: the stun is indistinguishable, to WinCC Redundancy, from a standby that died. Remove snapshot creation from the normal backup workflow for any server running WinCC runtime, and back the system up with the method the vendor defines for the installed PCS 7, WinCC and virtualization configuration. If a snapshot is genuinely needed for a VM that hosts WinCC, take it with runtime deactivated and the project closed, then let synchronization finish before the server returns to the pair as standby.
The decision for each case #
- Synchronization completed and all five checks pass: leave the system in service. One incident of this shape leaves no lasting performance effect; keep normal monitoring and change nothing on the VM or host.
- Project databases remain attached after runtime stop and project close: run the
reset_winccpath above, restart Windows, reactivate, and confirm synchronization completes before the server carries process data again. - Snapshots are still scheduled against activated WinCC servers: take them out of the backup workflow today, and replace them with the vendor-supported backup method for the installed configuration.
Questions asked
Is a snapshot without memory safe on an activated WinCC OS server?
It avoids the memory-image stun, but it still snapshots the disks of a running WinCC server, and snapshots are not a supported operation for an activated redundancy partner. Take any snapshot with runtime deactivated and the project closed, then let synchronization complete before the server rejoins the pair as standby.
How do I know synchronization really finished?
Expect the redundancy status to move to its completed state once and stay there, with the first host's server as master and the second host's server as standby. If the status returns to active or failed repeatedly, or the standby restarts again on its own, the transfer has not settled and needs diagnosis before the server carries process data again.
Does one snapshot incident mean the virtual machine or host needs replacing?
No. One stun that ends in an orderly deactivation, restart, activation and completed synchronization leaves nothing to replace. Replacing the VM, its storage or the host only comes into play if the standby keeps restarting or deactivating runtime without any new snapshot being taken.

