For this scenario, we have two virtual machines hosting the two OPC UA servers.
The first server has the Endpoint: opc.tcp://StudentXX:48020
The second server has the Endpoint: opc.tcp://Student3:48020
Now, regarding the vNode configuration, proceed as follows:
Creation of the Redundancy Agent Module:
Go to the "Config" section.
Then, in the second panel, go to "Modules."
Clicking on the three lines creates a new module. Enter a name and press "Enter."
A new panel opens where you select "Redundancy Agent" as the module type.
Configuration of the OPC UA Client Module:
Repeat the process described above to create the OPC UA Client module.
The second step is to create connections to the OPC UA servers. Follow these instructions:
Configuration of OPC UA Client Connections:
Navigate to the UAClient module in vNode.
Create a new client by clicking on the three lines and selecting "Create New Client."
Begin configuring the client with the parameters of the primary OPC UA server.
Replication for Backup Server:
Repeat the same process to create Client 2, which will connect to the backup OPC UA server.
Once you have configured the two clients to connect to the OPC UA servers, the next step is to establish redundancy between them. Follow these steps:
Redundancy Configuration:
Go to the Redundancy module that was created earlier.
Create a new channel named "RedundancyServer_UA."
Specify that the connections come through the network card 0.0.0.0, allowing them to exit through any network. If necessary, you can specify which network to use.
Primary and Backup Connection Details:
In the primary connection, enter the IP address of the primary server (e.g., 192.168.100.190) and the port number (e.g., 48020).
For the backup connection, enter the IP address of the secondary server (e.g., 192.168.100.179) and the port number.
Finally, you need to create a new UA client that communicates with the Redundancy channel. Follow these steps:
Create UA_Redundancy Client:
Create a new UA client named "UA_Redundancy."
In the configuration, set the endpoint URL to opc.tcp://localhost:48000, which is the port used in the redundancy module.
Mapping Tags:
When mapping tags, use the UA_Redundancy client as the source.
By connecting a UA client using the endpoint URL opc.tcp://localhost:48000, you can explore the data. If a disconnection occurs from ServerUA_1, vNode will interpret the signal drop and attempt to connect to ServerUA_2, ensuring redundancy between the servers.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article