Uplink Connection Object

The Uplink Connection object specifies how a child Node connects to a parent Node, which in turn needs to have a corresponding Downlink Connection object.

Do not use a previously used Uplink Connection for a connection to a different Node. Once a connection is established, the connection object should not be repurposed for a different Node. If a connection to a different Node is required, create a new Uplink Connection object and configure it accordingly.
A Node can only have one parent Node, therefore it can only have one Uplink Connection object.

Only if the Uplink Connection object on the child Node and the Downlink Connection object on the parent Node match, a connection between the Nodes can be established. One of these two objects needs to be configured with Connection Mode active while for its counterpart Connection Mode needs to be set to passive.

Create Object

1 Connect WebStudio to the Admin Node and open the System Config App.

2 Open the System Model tab and select a Connection Group object for which the new Uplink Connection object shall be created.

3 Right-click this object and select Admin  New to open the Create Object Wizard.

4 In the Available Object Types List, select Uplink Connection.

5 In the Common section, provide an Object Name and, optionally, a Description.

6 Click Create to create the Uplink Connection object in the System Model.

Properties

  • Parent Connection: Indicates connection is to a parent Node. This should be set to true for the Connection object that is created under the child Node.

  • Cipher Suite: This is a volatile property and displays the cipher suite used for communication between the two Nodes.

  • Encryption: The communication encryption between the two Nodes. Options are AES256 or None.

  • Authentication:

    • Authentication: The method of authentication between the two Nodes. Options are Pre-shared Key for encrypted connections or None for unencrypted connections.

      For unencrypted connections (not recommended!), both, the Encryption property and the Authentication property need to be set to None. Mixed setting for these two properties result in a connection failure.
    • Pre-shared Key: The pre-shared key used for authentication when Pre-shared Key is selected as the authentication method.

  • Connection Mode:

    • Connection Mode: defines the role of the Node for the connection. One Node must be active, i.e. sending the connection request to the receiving Node, which in turn needs to be configured in the passive Connection Mode.

      For Connection Mode Active, additionally the following properties need to be configured:

      • Remote Connection ID: This is an identifier of the corresponding connection in the other direction. If the current object is a Downlink Connection, the Remote Connection ID property needs to contain the Object ID of the corresponding Uplink Connection of the connected child node, and vice-versa. Alternatively the path of the (passive) connection object can be used for configuration but will then automatically replaced by the Object ID of the reference passive connection.

        When preparing a Downlink Connection for a Child Node that will be installed next, this path follows this pattern /<CHILD_NODE_NAME>/Connections/<UPLINK-CONNECTION-NAME>
        For a detailed description see the Child Node Setup page.

        This property only exists for active connections and always points at its passive counterpart.

      • Remote Hostname: The hostname or IP of the remote Node.

      • Remote Port: The listener port of the remote Node.

In the passive connection, the listener port is set on the Node object (NodeListenerPort) and not on the Connection object.

Swapping Active and Passive

Do not use a previously used Uplink Connection for a connection to a different Node. Once a connection is established, the connection object should not be repurposed for a different Node. If a connection to a different Node is required, create a new Uplink Connection object and configure it accordingly.

If you intend to swap the active and passive parts of a connection, the child node needs to be configured first, or the connection can not be re-established.

  1. On the child Node, find the Connection object to the parent Node. To do this, make sure that the Communication > Connection Mode > Remote Hostname property contains the hostname of the parent Node machine. If the connection object on the child Node is configured to be in Connection Mode Active, the Remote Connection ID is set. This value matches the Object ID of the corresponding connection object on the parent Node.

  2. Select the alternative option for Communication > Connection Mode > Connection Mode property.

  3. Then click Apply.

    This configuration change breaks the connection between the two Nodes.
  4. On the parent Node, select the Connection object to the child node.

  5. For the Communication > Connection Mode > Connection Mode property select the alternative option.

  6. When you’re switching the Connection Mode from Passive to Active, you need to

    1. set the Remote Hostname to the name of the machine running the child Node, and

    2. set the Peer Connection ID to the Object ID of the Connection object of the child Node.

  7. Then click Apply.

    The connection between the two Nodes is now reestablished.