Installing Link

The Link service requires CygNet SCADA services to be installed on the system that is running the service. It also requires a 64-bit version of Dclnd (Dclnd64.dll). If you are not already running 64-bit CygNet services, the recommended method for obtaining a 64-bit Dclnd is to install the 64-bit VHS with the installer using the CygNet SCADA Services (64-bit) setup application (CygNetSCADAServicesSetup64.exe). This will install Dclnd64.dll and any other 64 bit dependencies required for Link.

Note: A valid license file is required if you intend to support more than 50 points to be published from the gateway. Please contact your Account Manager for more information.

Link Security

Link supports password encryption and decryption.

To automatically generate the encryptedPassword value, add a value to any password member in the appsettings.gateway.json file, then run Link with the -encrypt parameter specified in the command line. The process will automatically generate an encrypted password, store it as the encryptedPassword value, and erase the values of all password fields.

Link will also generate a key file used to decrypt the passwords, which will be stored in the Link data folder (C:/ProgramData/Weatherford/Link). Lastly, it will update the passwordEncryptionKeyPath object member in gateway section of the appsettings.gateway.json with the location of the key file. Once the key file has been generated, you are free to move the file wherever you please, provided you also update the passwordEncryptionKeyPath value to point to the new file location.

If the key file is not present when Link is run, it will not be able to decrypt the encrypted passwords and Link will fail.

See keystore password, credentials password, and passwordEncryptionKeyPath for more information.

Note: NTFS permissions should be used to prevent unauthorized users from accessing the encryption key file.

Link Logging

The Link log file is located in \ProgramData\Weatherford\Link\Log. Consult the log file to view any issues or errors related to the Link service itself or its operational functions.