The MIMTCP Server
If you are using the TCP/IP protocol, a MIMTCP server listening to a specific port (usually port 1360) will be started the first time the database server is started.
TCP/IP Port Number
The TCP/IP port number that the MIMTCP server will listen to is specified in the TCPPort parameter in the MULTIDEFS.DAT file. If several database servers specify the same port number, they will share the same MIMTCP server.
When a client connects to the TCP/IP port, the MIMTCP server will accept the connection. The client specifies the database to which a connection is to be established and the MIMTCP server will hand over the connection to the appropriate database server. All further communication between the client and the database server is then done directly without involving the MIMTCP server.
System Logical Names
Whenever a MIMTCP server starts, it will define the system logical name "MIMTCP_xxxx" (where xxxx is the port number) to be the PID of the MIMTCP server process. This makes it easy to find the MIMTCP server process that is listening to a particular TCP/IP port.
Manually Starting a MIMTCP Server
Usually it is not necessary to start a MIMTCP server manually because the MIMTCP process is started automatically when a database server is started.
It is possible to start several MIMTCP servers listening on several ports. This will make MIMER8 servers accessible from all ports.
To start a MIMTCP server, you must have either:
To manually start a MIMTCP server process listening to port 1377 execute the following command:$ RUN/PRIV=(SYSPRV,TMPMBX,OPER,NETMBX,SYSNAM)/DETACH/INPUT=1377 - $_ /OUTPUT=MIMROOT8:MIMTCP.LOG MIMEXE8:MIMTCP
The /INPUT parameter is used to specify the port number on which the server process listens.
The /OUTPUT parameter is used to specify the server process log file. Note that several server processes can share the same log file.
Stopping MIMTCP Servers
There is no explicit command for stopping MIMTCP servers as there is generally no need to do this. The MIMTCP process does not have to be stopped or restarted when database servers are stopped or (re)started.
To manually stop the MIMTCP server process listening to port 1360 (for example), execute the following commands:$ SHOW LOG MIMTCP_1360 ! Find PID of process $ STOP/ID=xxxxxxxx ! Delete the process found
Upright Database Technology AB
Voice: +46 18 780 92 00
Fax: +46 18 780 92 40