This section discusses the following topics:
In most cases the default settings for the IPX/SPX parameters will suit your needs. However, you may need to modify some of them in your environment to tune its use for WebSphere MQ. The actual parameters and the method of changing them varies according to the platform and provider of SPX communications support. The following sections describe some of these parameters, particularly those that may influence the operation of WebSphere MQ channels and client connections.
Please refer to the Novell Client for OS/2 documentation for full details of the use and setting of NET.CFG parameters.
The following IPX/SPX parameters can be added to the Novell NET.CFG file, and can affect WebSphere MQ SPX channels and client connections.
WebSphere MQ uses the SPX address of each machine to establish connectivity. The SPX address is specified in the following form:
network.node(socket)
where
The default socket number used by WebSphere MQ is 5E86. You can change the default socket number by specifying it in the queue manager configuration file qm.ini or the Windows systems registry. If you have taken the default options for installation, the qm.ini file for queue manager OS2 is found in c:\mqm\qmgs\os2. The lines in qm.ini might read:
SPX: SOCKET=n
For more information about values you can set in qm.ini, see Appendix C, Configuration file stanzas for distributed queuing.
The SPX address is later specified in the CONNAME parameter of the sender channel definition. If the WebSphere MQ systems being connected reside on the same network, the network address need not be specified. Similarly, if the remote system is listening on the default socket number (5E86), it need not be specified. A fully qualified SPX address in the CONNAME parameter would be:
CONNAME('network.node(socket)')
but if the systems reside on the same network and the default socket number is used, the parameter would be:
CONNAME(node)
A detailed example of the channel configuration parameters is given in MQSeries for OS/2 Warp configuration.
If you want to use the KEEPALIVE option you need to add the following entry to your queue manager configuration file (qm.ini) or the Windows systems registry:
SPX: KeepAlive=yes
You can use the timeout parameters described above to adjust the behavior of KEEPALIVE.
Receiving channel programs are started in response to a startup request from the sending channel. To do this, a listener program has to be started to detect incoming network requests and start the associated channel.
You should use the WebSphere MQ listener.
To run the Listener supplied with WebSphere MQ, that starts new channels as threads, use the RUNMQLSR command. For example:
RUNMQLSR -t spx
Optionally you may specify the queue manager name or the socket number if you are not using the defaults.