使用IBM MQ系列从服务器1连接到服务器2

发布于 2025-02-04 14:22:36 字数 346 浏览 2 评论 0原文

我使用单个子网NAT IP地址使用IBM MQ系列(单队列管理器组)连接从服务器1到服务器2。服务器2的目的地是单个IP​​地址点。问题是:每当我将不同的托管数据(客户端数据)连接到上传数据时,每当在一个托管点上重新启动服务器时,其他托管人客户端重置,并且无法连接到Server2 IP地址。 我尝试过的解决方案:使用微服务与Java8并行处理和Apache Kafka的组合而不是IBM MQ系列和常规C#代码,以渲染并行线程与单个NAT IP子网连接,因此没有一个Custodian代码可以重置。解决方案正确吗?但是,目的服务器为n个托管人提供了单个IP地址点。在NAT网关中,我可以做些什么以并行渲染数据到目标IP地址?请帮助我解决我的解决方案。将很乐意为您提供任何信息。

I am connecting from server 1 to server 2 using ibm mq series(single queue manager group) using single subnet NAT ip address. Destination of server 2 is single ip address point. Problem is: whenever i connect different custodian data(client data) to upload data and whenever server restart happens on one custodian point, other custodian client resets and not able to connect to server2 ip address.
Solution i have attempted: instead of ibm mq series and regular c# code, using combination of microservices with java8 parallel processing and Apache Kafka to render parallel threads to connect with single nat ip subnet, so that none of the custodian codes get resetted.is this solution correct? But the destination server is giving single ip address point to connect for n custodians. Is there something i can do in nat gateway to parallel render data to destination IP address? Please help me with my solution.will be happy to help with any info.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

唠甜嗑 2025-02-11 14:22:37

您的问题不是很清楚,然后您就解决方案进行了切线,这又不清楚,并且似乎正在创建一个过于复杂的系统。

因此,让我猜测您的设置是什么:

  • 服务器1具有运行C#.NET应用程序的IBM MQ客户端。这是正确的吗?如果是这样,IBM MQ客户端软件是什么版本? IE 9.1.0.9

  • 服务器2正在运行IBM MQ队列管理器。这是正确的吗?如果是这样,IBM MQ服务器软件是什么版本? IE 9.2.0.4使用 dspmqver 命令获取此信息。

如果以上是正确的,那么它几乎是基本的IBM MQ环境。

因此,当您的应用程序遇到此问题时,MQ会抛出 mqexception 。完成代码和原因代码是什么?原因代码可能是以下

  • 2009年[mqrc_connection_broken]
  • 2059 [MQRC_Q_MGR_NOT_AVAILABLE]
  • 2538 [MQRC_HOST_NOT_AVAILABLE] 2059 [

MQRC_CONNECTION_BROKEN]之一。崩溃还是死亡或循环永远?

您是否将重新连接登录添加到您的代码中以重新连接到失败后与队列管理器重新连接?

Your question is not very clear and then you go off on a tangent about your solution which again is not clear and appears to be creating an overly complex system.

So, let me guess what your setup is:

  • Server 1 has an IBM MQ client running a C# .NET application. Is this correct? If so, what version is the IBM MQ Client software? i.e. 9.1.0.9

  • Server 2 is running IBM MQ queue manager. Is this correct? If so, what version is the IBM MQ Server software? i.e. 9.2.0.4 Use the dspmqver command to get this information.

If the above is correct then it is pretty much a basic IBM MQ environment.

So, when your application has this issue, MQ would have thrown an MQException. What was the Completion Code and Reason Code? The reason code would probably been one of the following

  • 2009 [MQRC_CONNECTION_BROKEN]
  • 2059 [MQRC_Q_MGR_NOT_AVAILABLE]
  • 2538 [MQRC_HOST_NOT_AVAILABLE]

What did your application do when it received the MQException? Crash or die or loop forever?

Did you add reconnection login to your code to reconnect to the queue manager after the failure?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文