The client application refers to the Client DSN when initiating a connection to locate and connect to the TimesTen database.
The Client DSN defines:
- the server machine
- and the Server DSN.
The Server DSN specifies the TimesTen database on that server, how the database is to be loaded, and how connections are to be managed.
Before the client application can connect to a TimesTen database, the user must configure:
- the Client DSN,
- optionally a logical_server_name (on the client),
- and a Server DSN to uniquely identify the desired TimesTen database.
Logical Server Name
The logical server name is an optional configuration on the client. When used, it specifies the server host name where the TimesTen database is installed. This is used when you want to hide or simplify the server host name.
You must use the logical server name when using shared memory IPC or UNIX domain sockets.
The logical server names are configured in the logical name file: TTCONNECT.INI. This file is searched:
- first with the help of the SYSTTCONNECTINI environment variable
- otherwise in this location daemon_home_dir/sys.ttconnect.ini
[ttserver_logical] Description=TimesTen Server 11.2.2 Network_Address=server.mycompany.com TCP_Port=53385
disconnect client/server connections
To disconnect client/server connections, stop the server. The connections are forcefully and immediately terminated.