FrameWorX to FrameWorX Communication
To get data from one FrameWorX Server to another, you need to create a connection to allow data transfer.
This connection is asymmetrical. One FrameWorX Server acts as a client, and the other acts as a server. For example, the client FrameWorX may subscribe to points from the server FrameWorX. Once this subscription is made, the server sends updates for the subscribed points to the client.
Multiple connections to the same physical FrameWorX server are treated as completely independent servers in terms of aggregation and security.
Direct and Reverse Connections
You can use two modes when connecting to another FrameWorX Server: direct or reverse connection. Direct connections are the most common.
In a direct connection, the FrameWorX instance that wants to read the data initiates the connection, as in a typical server-client relationship. In a reverse connection, the FrameWorX instance that provides the data initiates the connection, opening a tunnel for communication.
Consider the following points when deciding whether to use a direct or reverse connection:
-
If your target server (the one you are connecting to) is behind a Network Address Translation (NAT) or a firewall:
-
If you can create an inbound rule to allow FrameWorX communication, use a direct connection.
-
If you cannot create an inbound rule, use a reverse connection.
A typical use case for a reverse connection is when you have one GENESIS server running in the cloud and another one on-premises. The cloud server's FrameWorX needs to subscribe to data from the on-premises FrameWorX. Since the on-premises FrameWorX is hidden behind a NAT, you cannot connect to that server using a direct connection. You must use a reverse connection, initiated by the source server.
-
-
In any other case, use a direct connection.
Creating the Connection
Once you have decided on the connection mode, create the connection in Workbench under Servers and Redundancy > Server Connections. Refer to the following topics for more details: