Commmethod

The commmethod option specifies the communication method you use to provide connectivity for client-server communication.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems

Supported Clients

This option is valid for all clients.

Options File

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsPlace this option in the dsm.sys file within a server stanza. You can set this option on the Communication tab of the Preferences editor.

Windows operating systemsPlace this option in the client options file (dsm.opt). You can set this option on the Communication tab of the Preferences editor.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systems

Syntax

Read syntax diagramSkip visual syntax diagram
              .-TCPip-----.   
>>-COMMMethod-+-----------+------------------------------------><
              +-SHAREdmem-+   
              '-V6TCPIP---'   

Windows operating systems

Syntax

Read syntax diagramSkip visual syntax diagram
              .-TCPip------.   
>>-COMMMethod-+------------+-----------------------------------><
              +-SHAREdmem--+   
              +-V6TCPIP----+   
              '-NAMedpipes-'   

Parameters

TCPip
The Transmission Control Protocol/Internet Protocol (TCP/IP) communication method. This is the default.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsV6Tcpip
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsIndicates that either TCP/IP V4 or V6 should be used, depending on the system configuration and the results of a domain name service lookup. A valid DNS environment must be available.
Windows operating systemsNAMedpipes
Windows operating systemsThe interprocess communication method that permits message data streams to pass between a client and a server. Use this communication method with a Tivoli® Storage Manager server running on the same workstation as the client.
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsSHAREdmem
AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsUse the shared memory communication method when the client and server are running on the same system. This provides better performance than the TCP/IP protocol. This communication method is valid only for AIX®, HP-UX, Linux, and Solaris clients.

When specifying this communication method on AIX, the client can be logged in as root or non-root, as long as the server is running as root. If the server is not running as root, the user ID running the client must match the user ID running the server.

Important: When using commmethod sharedmem on Linux, you might receive error message: ANR8294W Shared Memory Session unable to initialize on the server or storage agent console. By default, Linux is not set up with sufficient system resources to create the message queues. You must increase the kernel parameter, MSGMNI, to 128 (the default is 16). You can modify this parameter by performing the following command:
echo 128 > /proc/sys/kernel/msgmni
To enable this parameter to remain persistent after rebooting the system, you can instead add the following line to the file /etc/sysctl.conf, then reboot the system:
kernel.msgmni=128
To view the current ipc settings, run this command:
ipcs -l

Now look at the max queues system wide value. The default is 16.

Windows operating systemsSHAREdmem
Windows operating systemsUse the shared memory communication method when the client and server are running on the same system. This provides better performance than the TCP/IP protocol.
Note: Use of this communication method requires that both client and server run under the same Windows account.

Examples

Options file:
commmethod tcpip

Use only TCP/IP V4

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemscommmethod V6Tcpip

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsUse both TCP/IP V4 and V6, depending on how the system is configured, and the results of a domain name service lookup.

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systemsNote: The dsmc schedule command cannot be used when both SCHEDMODe prompt and commmethod V6Tcpip are specified.
Command line:
-commm=tcpip

AIX operating systemsHP-UX operating systemsLinux operating systemsOracle Solaris operating systemsMac OS X operating systemsWindows operating systems-commm=V6Tcpip

This option is valid only on the initial command line. It is not valid in interactive mode.