- GateManager Own - Datalogging Scenarios
- LogTunnel Scenarios
- SiteManager Embedded Scenarios
- SiteManger Scenarios
Serial to Serial communication - GM Own only
This article will provide information on how a Serial to Serial setup could look like. For GM Own only.
This guide describes how to setup a persistent connection between two serial devices via 2 SiteManagers using the Auto-Relay feature. Serial port is in use on both SiteManagers.
1. You must have an own GateManager installed.
Currently Relay Chains are disabled on the Secomea hosted GateManagers.
Scenario – A PC needs to connect to a switch on a different location with Serial connections. Both SiteManagers are in the same Domain on the GateManager.
Note: You need your own GateManager server in order to make use of this functionality
2. Configuration on the GateManager Server
First you need to ensure that the GateManager is setup for relays. This configuration is done by the GateManager Administrator; this require Server Administrator rights.
Click on the domain where the 2 SiteManagers are located and click the Relay tab.
Then define Device Relays and Access Filter. In our example we have reserved a pool of addresses that we are sure is not used by the system.
3. Define Device Relays – Device Virtual Addresses
The GateManager administrator has to allow a pool of addresses that will represent each remote device.
In this example we use 192.168.0.200 as we have only one device.
4. Define Relay Access Filter.
You also need to define a Relay Access Filter. This is the subnet, which is allowed to use the relay connection. If you do not want to have any restric-tions, simply add 0.0.0.0/0. Here we use 192.168.0.0/24.
5. SiteManager “Site1” Configuration (Receiving part)
Configuration in SiteManager GUI –> System -->Serial
In our example, Site1 is the receiving part. Verify the settings match the device you wish to connect to. Adjust Protocol, Serial Driver, Port, Interface (set to Any) and Baud Rate so it suits your environment. For our example we use standard setting as Telnet protocol and Standard as serial driver. This could vary depending on the device.
6. Device Relay
Then go to GateManager - Device Relays for the settings. Here we put our Device virtual address in and the Devíce Target address. Note the attach warning. The Relay must also be attached in the GataManager GUI. After it will go into IDLE status.
In this example we use port 2222, any port can be used as Device Virtual Address/port but we recommend not using port 23 and if possible use any port above 1024.
Serial port on Site2
Configuration in SiteManager GUI - SiteManager --> System --> Serial
Site 2 in our example is the sending part. Adjust Protocol, Serial Driver, Port, Interface (set to any) so it suits your environment. Note the use of Auto-Relay Serial Driver.
8. Server Relay on Site2
SiteManager – GateManager – Server Relays
Note that Server Virtual Address is set to 127.0.0.1:123 and cannot be different.
Server Target Address must match the corresponding setting on the Site1 Device Relay.
Paste from the SiteManager online help, regarding the Serial Driver:
“ The auto-relay operating modes are like the corresponding bi-directional modes, but the SiteManager will automatically try to connect to the internal address 127.0.0.1:123 - assuming that there is a suitable static server relay with this Server Virtual Address forwarding the traffic to a central service (or via a device relay to another SiteManager's serial port). ”
This one also need to be attached on the GateManager.
9. Check Connection and login to Switch.
In this example we use Putty with a Serial Connection type to test the Serial to Serial communication between the SiteManagers. In this case COM4 is in use and at Baud Speed 9600. These settings may of course vary depending on setup and devices.