Setting up a policy to create the WMQ Connection server connection
This task describes how to create a policy that uses the Create WMQ Connection action to create the TrueSight Middleware Administrator (TSMA) WMQ Connection for a queue manager.
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 policy using the Create WMQ Connection action
- From the Policies tab, click the Policy Actions tab.
- From the list of policy action types, click on Administrator_WMQ_Connection. The expression for this policy will be tailored to match WebSphere MQ queue managers that will have the same channel definitions. For example, they will have the same server connection channel name, listener port and authentication records.
- Click the Create a New Policy Action icon.
- In the displayed dialog box, select Create Administrator WMQ Connection, enter a Name and Description, and click Create.
In the right side of the Policies tab, enter the action details, or channel definition for this action, to define the server connection, as shown below.
NoteIf the channel definitions already exist from previous sessions using mqtool or the Object Repository tab in the Management Console, you can choose to let the policy use those values. Otherwise, you can replace the definitions with the values specified here. If policies are used, it is recommended they be the source of the definitions; select Yes for the Replace existing definitions? option. This enables you to re-apply the policies after changes and have the other methods use the policy definitions.