LESSON

Setting up a Gateway Network Connection

Description

Learn the process for connecting two Gateways in a Gateway Network, as well as the different options when setting up the connection.

Video recorded using: Ignition 7.9

Transcript

(open in window)

[00:00] Setting up the gateway network and ignition is fairly simple and really only requires that you have two gateways on the same network. You can see here that I have one installed locally and one installed remotely on a different computer. We then need to go into the configure section of one of the gateways and go down to the left on to the gateway network page. Once here, in the general settings tab, we have some options that allow us to sub security for any incoming connections on this gateway network. First, we have the option to require SSL, meaning any incoming connections to this gateway must use SSL or they will not be allowed. In the next section, we have overload control, which determines how many messages can be built up by incoming connections before they're told to wait. This ensures that one gateway doesn't overload another gateway with too many messages or requests. Finally, the last section allows us to determine what type of incoming connections are going to be allowed.

[01:09] If this checkbox here was unchecked, then this gateway will only be allowed to make outgoing connections to other gateways. We'll automatically denied any incoming connections. We can also force a user to approve incoming connections, or set up a list of incoming connection IPS that are going to be allowed. For the purposes of this video, I'm going to leave them all at default. But depending on your needs, you can change them to what you would like. Now, I'm going to be setting up a connection from the local gateway to the remote gateway. So I'm going to need to go to outgoing connections here on the local gateway. Since it's going to be going out from here to the remote gateway. I want to note that it doesn't matter which gateway I set up the connection from, I could have just as easily gone to my remote gateway, go into the gateway network section and set up an outgoing connection from the remote gateway to my local gateway instead, either would work just fine and would offer the same benefits.

[02:08] Now, we want to go ahead and click the create new outgoing gateway connection link, and here we can set up our connection. First I'll type in the IP address under host. The port I'm going to leave default at 8088, but it's important to note that if you are using SSL, the default SSL port for gateway network connections is actually 8060. I'm not going to need SSL here, but it's important to note that if my remote gateway required incoming connections to use SSL, I would need to make sure this was checked for the connection to be valid. Since my remote gateway doesn't require that I'm not going to use it. Scroll down a little further and we can see some more options. The ping settings here, determine how often the gateway is going to ping the remote gateway to ensure that it's still properly connected, or else it'll consider that connection faulted.

[03:06] The gateway network system also uses web sockets, but you could turn that off if you don't want them. We can then scroll down a little further, where we can see that the last settings are concerned with any HTTP connections that the gateways make with each other. I'm going to leave all the timeout settings the same, and go ahead and click the button create new outgoing gateway connection. You'll notice that it has successfully created the new outgoing connection, and that it automatically connected and is now running. Because of this, I can go to my remote gateway, go into the configure section and to the gateway network page. And if I go to the incoming connections tab, we can see here, my local gateway network connection that I just set up is already in the incoming connections page. It's important to note that setup may vary slightly depending on your security settings.

[04:04] For example, if you did enable SSL, you will first have to come into the certificates tab and approve a certificate for the gateway before the connection becomes valid.

You are editing this transcript.

Make any corrections to improve this transcript. We'll review any changes before posting them.