Using the mqtool utility to create the WMQ Connection server connection channel
Similar to using policies, this method enables you to apply the action to many queue managers at once. However, you can choose to apply the mqsc script used to alter the MQ objects to create the server conn channel manually or via the tool.
Before you begin
You must know the following information:
|Channel Name||Server Connection channel name used for the connection of TSMA to the queue manager as a client|
|Listener Port||Port for the client connections to use for the queue manager|
(Optional) When provided, and the server connection channel is created, a channel authentication record is added to restrict connections to those originating from this IP address
It should be the IP address where TSMA was installed.
|Username / Password||(Optional) When provided and the server connection channel is created, a channel authentication record is added to restrict connections to those with these credentials specified|
|Additional MQSC||(Optional) If additional mqsc channel options are required, you can use this input field to add them.|
|Use existing listener?||Refer to Listener port determination and channel definitions. Choosing yes allows you to specify a specific listener port to use for the client connections to the queue manager. Choosing no allows you to specify a port range.|
|Listener Port Range Minimum||The beginning of a port range from which a listener port is chosen.|
|Listener Port Range Maximum||The end of a port range form which a listener port is chosen.|
|Replace Existing Definitions?||Replaces any channel input definitions specified by a policy or mqtool. If no is specified any values input are ignored and the existing input definitions are used.|
|Replace Existing Channels?|
Removes and replaces any existing listener, channel and related channel authority records.
To set up a WMQ connection by issuing commands with the mqtool utility
Like policies, where the expression for the policy is tailored to match queue managers that would have the same channel definitions, the mqtool utility has similar functionality.
The mqtool utility enables you to separate out the steps used to create the server connection channel and WMQ Connection. Using the utility also enables you to extract the mqsc commands so that your MQ Administrator can review and execute them, should your company procedures prevent it from being done directly.