Go Back

SQL Connection network strings for multi-tier connections

Article Number: 2075
First Published:
Modified:
Recent Activity:
Views: 22
OS: Windows, Unix, OpenVMS
Product: SQL Connection

Building connect strings in the Synergy/DE online documentation describes the basic syntax for SQL OpenNet network strings for SQL Connection. This article describes how to use a second network string for a multi-tier connection—i.e., a connection that uses a "middle" machine as a gateway (e.g., a firewall), as illustrated in the diagram at the end of this article.


To use a second network string, add it after the first network string (which begins with @), and start the second network string with two “at” signs (@@). Here’s the basic syntax (see Building connect strings for information on database_info and opennet_info):


net:database_info@opennet_info@@opennet_info


Additionally, in the first network string (@opennet_info), set the driver to VTX3—for example: @MyFirstServer!VTX3. In the second network string (@@opennet_info), specify the driver for the database—for example: @@MySecondServer!VTX12_ODBC.


SQL Connection connects first to the SQL OpenNet service on the server specified in the first network string. From there it connects to the SQL OpenNet service on the server specified in the second network string. The database_info string is used on the second server, as illustrated in the following diagram:





THE INFORMATION PROVIDED TO YOU IN THIS SERVICE IS FOR YOUR USE ONLY. THE INFORMATION MAY HAVE BEEN DEVELOPED INTERNALLY BY SYNERGEX OR BY EXTERNAL SOURCES. SYNERGEX MAKES NO WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS INFORMATION, INCLUDING THE WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SYNERGEX BE LIABLE FOR ANY DAMAGES OR LOSSES INCURRED BY YOU IN USING OR RELYING ON THIS INFORMATION, INCLUDING WITHOUT LIMITATION GENERAL DAMAGES, DIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES, OR LOSS OF PROFITS, EVEN IF SYNERGEX HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Please log in to comment on this article.