You can use shared memory communications between clients and servers on the same system. To use shared memory, TCP/IP Version 4 must be installed on the system.
Shared memory options is the
default communication method.
commmethod sharedmem
shmport 1510
In this example, SHMPORT specifies the TCP/IP port address of a server when using shared memory. Use the SHMPORT option to specify a different TCP/IP port. The default port address is 1510. commmethod tcpip
commmethod sharedmem
The maximum
number of concurrent shared memory sessions is based on available
system resources. Each shared memory session uses one shared memory
region of up to 4 MB, and four IPCS message queues, depending on the Tivoli Storage
Manager client level.
Ensure that you run the DB2OSCONF utility so that the maximum number of message queues (MSGMNI) is correct.
If the server and client are not run under
the same user ID, then the server must be root. This prevents shared
memory communication errors.