Oracle Solaris: Setting shared memory options

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.

About this task

Oracle Solaris operating systemsShared memory options is the default communication method.

The following example shows a shared memory setting:
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 can be used multiple times in the Tivoli® Storage Manager server options file, with a different value each time. For example, the following example is possible:
commmethod tcpip
commmethod sharedmem

Oracle Solaris operating systemsThe 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.

Oracle Solaris operating systemsEnsure that you run the DB2OSCONF utility so that the maximum number of message queues (MSGMNI) is correct.

Oracle Solaris operating systemsIf the server and client are not run under the same user ID, then the server must be root. This prevents shared memory communication errors.