Defining the server-connection channel on the server

Create a server-connection channel definition for the queue manager.


Procedure

  1. On the server machine, define a channel with your chosen name and a channel type of server-connection. For example:
    DEFINE CHANNEL(CHAN2) CHLTYPE(SVRCONN) TRPTYPE(TCP) +
    DESCR('Server-connection to Client_2')
    
  2. Use the following command to allow the inbound connect access to your queue manager:
    SET CHLAUTH(CHAN2) TYPE(ADDRESSMAP) ADDRESS('IP address') MCAUSER('userid')
    

    • Where SET CHLAUTH uses the name of the channel defined in the previous step.
    • Where 'IP address' IP address is the IP address of the client.
    • Where 'userid' is the ID we want to provide to the channel for access control to the target queues. This field is case-sensitive.

    We can choose to identify your inbound connection using a number of different attributes. The example uses IP address. Alternative attributes include client user ID and TLS Subject Distinguished Name. For more information, see Channel authentication records

    This channel definition is associated with the queue manager running on the server.
    Figure 1. Defining the server-connection channel

Parent topic: Create server-connection and client-connection definitions on the server