Configure OPC UA in a High-Availability Cluster
This topic describes how to set up OPC UA servers or clients to operate in a clustered environment.
Procedure
-
Log in to Operations Hub (Node1 or Node2) and create a data source with OPC UA
configuration.
For steps to create a data source, refer to Add a Data Source with OPC UA Configuration (Classic).
- Open Windows Failover Cluster Manager and switch to the other node in the cluster.
- Log in to Operations Hub (on the other node) and open the data source created in step 1.
-
Select Test Connection.
A message appears indicating that the test connection has failed.
In the next steps we shall fix the issue with connection failure.
-
On the node that is currently active, navigate to
C:\Program Files\GE\Operations Hub\BrowseService
. -
Locate and open the
ServerConfig.xml
file in a text editor. -
Search for the term
[NodeName]
and replace (along with the parenthesis) all the instances (ignore instances within comments) with the name of the Node, where OPC UA was initially configured (the Node in step 1). -
Save and close the
ServerConfig.xml
file. -
Open the Windows Services Management Console and restart
Proficy Operations Hub OPC UA Browse Service
. - Open the data source created with OPC UA configuration again and test the connection.