Home
Use the extended inet daemon (XINETD)
The following instructions describe how the extended inet daemon is implemented on Red Hat Linux. If you are using a different Linux distribution, you might have to adapt these instructions.
To establish a TCP connection, follow these steps.
- Edit the file /etc/services. If you do not have the following line in the file, add it as shown:
MQSeries 1414/tcp # MQSeries channel listenerTo edit this file, be logged in as a superuser or root.
- Create a file called MQSeries in the XINETD configuration directory, /etc/xinetd.d. Add the following stanza to the file:
# WebSphere MQ service for XINETD service MQSeries { disable = no flags = REUSE socket_type = stream wait = no user = mqm server = /opt/mqm/bin/amqcrsta server_args = -m queue.manager.name log_on_failure += USERID }- Restart the extended inet daemon by issuing the following command:
/etc/rc.d/init.d/xinetd restart
If you have more than one queue manager on your system, and therefore require more than one service, add a line to /etc/services for each additional queue manager. We can create a file in the /etc/xinetd.d directory for each service, or we can add additional stanzas to the MQSeries file you created previously.
The xinetd process on Linux can limit the rate of inbound connections on a TCP port. The default is 50 connections in a 10 second interval. If you need a higher rate, specify a new limit on the rate of inbound connections by specifying the 'cps' attribute in the xinetd configuration file. For example, for a limit of 500 connections in a 60 second interval use:
cps = 500 60
Parent topic:
Establishing a TCP connection
ic14350_
Home