Service Virtualization

  • 1.  MQ Issue

    Posted Jun 19, 2017 06:15 AM

    Hello All,

     

    I am facing one issue when deploying MQ service. I am getting 2085 exception. On checking with MQ resource, he provided below reason.

     

    Queue defined on QASMBIQ1/2/3/4/5 so not local though is visible in the cluster. For some reason, CA-LISA insist on only looking at QASTSIQ1.
    If I define an alias to point to the clustered alias, then you get a 2001 as it's again binding to just this queue and stopping MQ checking the cluster.

     

    In short, The destination queue manager will change with each message.tTe cluster decides where to route it based on weighting, queue manager availability, queue availability

     

    How to achieve this in Lisa, what option or paramter we have to change in VSM or VSI?

     

    Please assist urgently.

     

    Thanks..

     

    Shivam Garg



  • 2.  Re: MQ Issue
    Best Answer

    Posted Jun 19, 2017 12:10 PM

    As I recall, you cannot subscribe directly to a clustered queue so that you receive any message sent over that cluster.  That would defeat the purpose of that kind of setup, which is designed for load balancing multiple services with each individual service only subscribing to one of the concrete queues. 

     

    You either need to run five services, or run a single service that subscribes to all five of the concrete queues on QASMBIQ1/2/3/4/5.  Either way, if you are only connecting through QASTSIQ1 then you will need to use the 'Override Queue Manager' field on the Queue asset in order to connect to any of those concrete queues.  That is the source of the 2085 error; that queue name is not defined on QASTSIQ1.  Note that using 'Override Queue Manager' requires that a transmission queue is properly set up between QASTSIQ1 and each of QASMBIQ1/2/3/4/5.

     

    I'm less familiar with a 2001 error, but the documentation indicates this is a configuration error.  This is more evidence that you simply can't subscribe to an entire cluster using a single queue.



  • 3.  Re: MQ Issue

    Posted Jun 19, 2017 10:47 PM

    Hello Kevin, 

     

    your reply is always helpful. I have used override queue manager option in VSM, but problem is that we are not able to deploy VSM very first. And MQ guy, is not understanding and blaming that it is Lisa issue. We asked them to map queue on queue manager and post that deployment was successful.

     

    I have some doubts, please clear them.

     

    1. As we are getting error with this request and reply queue during deployments. We have one more pair of request and reply queues , with same set up at MQ side, but with that we are not facing any issue during VSM deployment that creates confusion in mind.

     

    2. To run five services I can understand. But how we can achieve to run single service that subscribes to all five of the concrete queues? Did you mean by creating 5 responses with 5 different queue managers names in response meta data?

     

    Please clear me. Thanks in advance.

     

    Shivam Garg



  • 4.  Re: MQ Issue

    Posted Jun 20, 2017 12:21 AM

    First, to work out connectivity issues you should be using a simple test case.  This is much easier to troubleshoot with than a VS.  If you can't get a simple test case to successfully subscribe to a queue without errors then you will not be able to do it with VSE.

     

    > I have used override queue manager option in VSM, but problem is that we are not able to deploy VSM very first.

    What is the full error you are getting when using Override Queue Manager?

     

    > 1. As we are getting error with this request and reply queue during deployments. We have one more pair of request and reply queues , with same set up at MQ side, but with that we are not facing any issue during VSM deployment that creates confusion in mind.

     

    Is this a question?  Are you saying that there is another set of request/response queues that work from VSE?  Are those queues involved in clusters like the other ones are?

     

    > 2. To run five services I can understand. But how we can achieve to run single service that subscribes to all five of the concrete queues? Did you mean by creating 5 responses with 5 different queue managers names in response meta data?

     

    If you are using the new IBM MQ Native protocol then you can add as many listeners in the Listen step as you like.  There is a '+' button in the lower left corner to add more.



  • 5.  Re: MQ Issue

    Posted Jun 20, 2017 01:36 AM

    Hello Kevin,

     

    Please find my response below. we were getting MQ exceptions 2085 when we deployed the VSM.

     

    1. Yes those working request and reply queues are on same cluster.

     

    2. We are using Lisa 7.5.2 version so I dont think this option will be there. How it can be acheived in old version, Any idea?

     

    Thanks...



  • 6.  Re: MQ Issue

    Posted Jun 20, 2017 02:21 AM

    Oh.  Now that I look at the old step, I don't think you *can* subscribe to a remote queue using Override Queue Manager ("Alt QManager" in the old step).  You can only subscribe to a queue that is local to the Queue Manager you're actually connecting to.  For publishing, anything goes.  But for subscribing, the queue has to be local.

     

    This means that, in order to listen on those five queues, you will actually have to connect directly to those five queue managers.  This is *possible*, but pretty difficult to do with the old IBM MQ Native protocol.  You have to significantly customize the VSM to add multiple Listen steps.  Such a custom configuration is not something we've documented well or rigorously tested, especially with something that's been deprecated for two years.  I strongly recommend upgrading to the latest GA instead if you have to go this route.

     

    By this point you should probably be asking why you have to use a clustered request queue for a virtual service.  You're demultiplexing requests to multiple queues and then turning around and re-multiplexing them back to a single virtual service.  This is a lot of complexity for no benefit that I can see. 

     

    If the problem is that messages can be published to any of those five queue, then a much simpler setup with remote queues pointing to a single request queue on a single Queue Manager can solve that.

     

    If the problem is that you have no control over the source of the requests, or the queue architecture, or the version of DevTest you can use, then we can still try and help you.  But it's not going to be easy.

     

    The first thing you should do is to see if you can actually subscribe directly to one of the five request queues.  If there are any access, firewall, or permissions issues there then those will need to be worked out before you can proceed.

     

    After that, you will probably need to contact support for some more direct attention.  I don't remember exactly how the trick with multiple Listen steps worked, so we may have to iterate with you on that.



  • 7.  Re: MQ Issue

    Posted Jun 20, 2017 02:52 AM

    Thank you so much Kevin. It makes sense what you said. let me check with MQ team and project team.