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. 

Best Practice

BMC recommends this method to create the server connection WMQ Connection.

Before you begin

You must know the following information:

ParameterDescription
Channel NameServer Connection channel name used for the connection of TSMA to the queue manager as a client
Listener PortPort for the client connections to use for the queue manager
IP Address

(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 MinimumThe beginning of a port range from which a listener port is chosen.
Listener Port Range MaximumThe 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

This action will be used with object policies for a WebSphere MQ Queue Manager.
  1. From the Policies tab, click the Policy Actions tab.
  2. 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. 
  3. Click the Create a New Policy Action icon.
  4. In the displayed dialog box, select Create Administrator WMQ Connection, enter a Name and Description, and click Create.



  5. 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.

    Note

    If 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.



Was this page helpful? Yes No Submitting... Thank you

Comments