Skip to Content
Author's profile photo Former Member

High Availability in JMS Adapter

In Many Projects,wherever you have IBM Websphere MQ Series ,you have definitely come across whether the high availability can be done from PI that if one MQ Server goes down whether PI would be able to connect to other MQ Server and transfer messages..

The answer is YES ,using MQ Series CCDT Techniques..

CCDT is nothing but Client Channel Definition Table is created when you create the queue manager on the WebSphere MQ server. This table contains the details of all the client-connection channels defined at the WebSphere MQ server.

The more information about CCDT can be found on

http://publib.boulder.ibm.com/infocenter/dmndhelp/v6rxmx/index.jsp?topic=/com.ibm.wbit.help.messaging.doc/topics/rmqmqjmsfeatures.html

http://www.ibm.com/developerworks/websphere/library/techarticles/0704_xu/0704_xu.html

http://www.ibm.com/developerworks/websphere/library/techarticles/0506_barrago/0506_barrago.html

In our Project ,Landscape is given below Server 1 ->  Queue1  on Queue Manager1 on channel 1   can be connected to Port1

Server 2 ->   Queue2 on Queue Manager2 on channel 2 can be connected to Port2

Here Queue 1 and Queue 2 has the same name..

Our requirement is that if Server 1 goes down the message needs to be sent to Queue 2 and the same time if Server 2 goes down the message needs to be sent to Queue 1.

CCDT has been prepared in such a way that it has the information about how to connect to Queue1/Queue2 (the both shares same name )

JMS1.JPG

(Here IP Address ,Server Port ,Queue Manager Name ,Channel name have been left blank)

You have to place this CCDT configuration file in any location on the PI Server..that location needs to be mentioned in the advanced configuration

JMS2.JPG

Parameter name = JMS.QueueConnectionFactoryImpl.method.setCCDTURL

value = java.net.URL file:///<file location>

<file location> would be the place where you have kept CCDT file on the PI Server

Once all the required configuration done ,PI will use CCDT table entry details like, Hostname , Queue Manager,Channel name and Port details ..If Server 1 goes down ,then PI –JMS Adapter will establish the

Connection to Server 2 and vice –versa

Thanks to Kishore Narapureddy for pointing me in the right direction and also helping me to understand the CCDT  Techniques with his MQ Series expertise

Assigned Tags

      8 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Shabarish Nair
      Shabarish Nair
      this is valuable information.
      thanks for sharing

      Shabz

      Author's profile photo Abinash Nanda
      Abinash Nanda
      One of the best blogs I have seen in recent past. To be fair this was something expected from an IBM Consultant. Nice blog.

      Regards,
      Abinash

      Author's profile photo Former Member
      Former Member
      Anadan,
      Good blog, there was limited set of info on WMB & PI high availability.
      Regards,
      sachin
      Author's profile photo Former Member
      Former Member
      A valuable read, explained with clear screen shots. Thanks
      Author's profile photo Jens Schwendemann
      Jens Schwendemann

      Unfortunately, the screenshots seem to be lost after transition from SDN to SCN. Could someone supply the missing information / point to a complete version of this blog?

      Thanks and regars

      Jens

      Author's profile photo anandan krishnamoorthy
      anandan krishnamoorthy

      it has been corrected with proper screenshots..

      Thanks

      Anandan

      Author's profile photo Jens Schwendemann
      Jens Schwendemann

      Great,

      Thanks Anandan!

      Author's profile photo Sthitaprajna Das
      Sthitaprajna Das

      Hi, Many thanks & nice explanation for PI receiver channels to send messages to MQ. But could you please also confirm if we use CCDT for JMS sender channel in PI for receiving messages from IBM distributed MQ?

       

      Regards,

      Dushyant