Test objective
With TIA Portal V20, the WinCC Unified Redundancy option is now available. In this article we will prepare a basic configuration to verify that two WinCC Unified PC Runtime servers can operate as a redundant pair.
Before starting, it is worth reviewing Siemens' official considerations for WinCC Unified Redundancy V20, because installation, storage, certificates, users and licensing requirements directly affect the commissioning process.
The workflow is: create the WinCC Unified PC device in TIA Portal, define the primary server, configure the network interface, enable redundancy, prepare historian storage with SQL Server, transfer to both servers and test the switchover from a client.
Create the WinCC Unified PC
Start from a new TIA Portal project or from an existing one. Add a new device of type SIMATIC WinCC Unified PC. This is the runtime that will later be downloaded to the servers.
When the device is added, TIA Portal automatically creates the SIMATIC PC Station. In its properties we define which machine will act as the primary server. The names used here should match the real or virtual machines where the runtime will be installed.
Configure PC Station and network
The next step is to add the corresponding network card to the PC Station chassis. It should match the interface the server will use to communicate with the plant network and with the redundant node.
Assign the IP address to the interface. With this, the required hardware configuration is ready and TIA Portal can identify the station and prepare the download.
Enable redundancy
Open the properties of WinCC Unified PC RT. The basic configuration is straightforward: enable Enable redundancy and define the redundant server. From that point on, the project knows the server pair.
Historian data with DB Storage
For this redundancy configuration, historical data must be stored through WinCC Unified DB Storage on SQL Server, not with SQLite. Therefore, historian data storage should be configured before the final download.
To keep the test simple, the project screen only contains redundancy system variables. This makes it easy to check the real status of the servers without adding process functionality to the example.
Prepare both servers
At this point we assume there are two servers with the names configured in TIA Portal. Both must have the required components installed and configured to run WinCC Unified in redundancy.
Installed components:
- WinCC Unified PC Runtime V20 + SR1.
- WinCC Unified DB Storage V20.
Previous configuration:
- WinCC Unified Certificate Manager, to generate the certificates that will later be installed on the clients.
- WinCC Unified Configuration.
- Synchronization between the two servers.
From the engineering station with TIA Portal, both servers can be checked as available.
Transfer to primary and secondary server
First transfer the project to the primary server. The download window shows the options that can be applied during the transfer.
The natural question at this point is: how do we transfer to the secondary server? If both servers are available, TIA Portal also allows selecting the secondary node and downloading the project to it.
After the download is completed, both servers are running as a redundant pair.
Runtime tests
At this stage, connect from a client and run the basic tests:
- Connect to the system with both servers active.
- Disable or stop the primary server and check the switch to the redundant server.
- Restore the primary server and observe the recovery.
- Repeat the test by stopping the other server.
The video shows the behavior of the test. One important detail: when switching servers, the user has to log in again.
Required licenses
The configuration also depends on licensing. The redundancy license is common to the architecture, but the remaining licenses should be considered for each server, similarly to traditional WinCC systems.
- WinCC Unified Redundancy.
- WinCC Unified Runtime (RT).
- WinCC Unified Database Storage.
- WinCC Unified Clients, according to the number of clients.
- WinCC Unified Logging Tags, optional.
- WinCC Unified Audit, optional.
- WinCC Unified Parameter Control, optional.
Next step: UMC
The next natural test is to configure UMC, the User Management Component, to work with centralized user management in the architecture.
- UMC (User Management Control): installation and configuration
- TIA Portal Central User Management
- UMC Redundancy (User Management Component)
- WinCC Unified User Management Component
- SSRS with WinCC Unified and SQLite
- IIS Reverse Proxy for Reporting Services in WinCC Unified
- Network segmentation with S7-1500 and WinCC Unified