Create Redundant Behavior between two OPC Ua Servers

Hi,

I am looking for the solution in which i want to create the redundancy topology for tow OPC Ua servers. I have two OPC Ua running in two different PC and i created the devices for these two links , tags name are same but due to different OPC Ua  PC names they are not working as a redundant system.

so, is it possible to create 1 internal tag and assignee these two different tags to one common internal tag to show the values if one of the OPC Ua is down it start showing the value from the 2nd one 

Parents
  • It is possible as long as the tag name spaces on both OPCUA servers are identical. The variable screenshot above indicates that the address fields contain the PC name contexts, which makes the redundancy impossible. I believe you could remove the PC name contexts from the address fields since the endpoints of OPCUA already contain the hostnames.

    Here is an example where both OPCUA servers host the same tag name spaces. You only need to configure tags with one IO device as shown below. 

  • Use the following Cicode functions to test your redundant configuration.

    • IODeviceControl("IODevOpcUa,P", 1, 0) - Enable the primary OPCUA device
    • IODeviceControl("IODevOpcUa,P", 1, 1) - Disable the primary OPCUA device
    • IODeviceControl("IODevOpcUa,S", 1, 0) - Enable the standby OPCUA device
    • IODeviceControl("IODevOpcUa,S", 1, 1) - Disable the standby OPCUA device
  • Hi Jacky Thanks for your valuable feedback. I will change the PC name but regarding the OPC UA link  DESKTOP-ANMCEK5 and  DESKTOP-5DM0JLA   are two different PC where two different OPC UA is running. 

    DESKTOP-ANMCEK5 & DESKTOP-5DM0JLA are also making redundancy impossible?

  • It is possible as long as the tag name spaces on both DESKTOP-ANMCEK5 & DESKTOP-5DM0JLA OPC UA servers are the same even though their tag values are different. In your case, the variable tags may look like

    where UNO_PC_1 and UNO_PC_2 should NOT be included in Address Field but you could use UNO_PC as the root, and ns (Name Space) either =3 or =4, which you should be able to configure on the OPC UA server side, I think. In addition, consider not having space in Addresses.

Reply
  • It is possible as long as the tag name spaces on both DESKTOP-ANMCEK5 & DESKTOP-5DM0JLA OPC UA servers are the same even though their tag values are different. In your case, the variable tags may look like

    where UNO_PC_1 and UNO_PC_2 should NOT be included in Address Field but you could use UNO_PC as the root, and ns (Name Space) either =3 or =4, which you should be able to configure on the OPC UA server side, I think. In addition, consider not having space in Addresses.

Children