如何将 url 请求负载均衡到专用的 weblogic 节点?

发布于 2024-12-17 01:54:26 字数 258 浏览 0 评论 0原文

对于某些性能问题,我需要在专用节点中处理一种请求。例如,我需要在node1上处理像http://hostname/report*这样的所有请求。因此,我在负载均衡器中添加了一条规则,将 http://hostname/report* 重定向到 http://node1name/report*。但是node1要求我重新登录。我已经登录http://hostname/。如何无需再次登录即可直接访问?

For some performance issue, i need to process one kind of request in a dedicated node. For example, I need to process all request like http://hostname/report* on node1. So, I added a rule in load balancer to redirect http://hostname/report* to http://node1name/report*. But node1 ask me to login again. And I was logged in http://hostname/ already. How can I directly access without login again?

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

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

发布评论

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

评论(1

我很OK 2024-12-24 01:54:26

正如@JoseK 提到的,看起来您没有在服务器之间配置会话复制和故障转移。您将需要所有应用程序服务器位于同一 WebLogic 集群内,并且还必须选择其辅助会话复制节点作为内存中复制的目标。您可以通过将专用节点分配给特定计算机来指定这一点,然后选择该计算机作为所有集群成员的辅助复制目标。

此外,为了使会话复制工作,会话中的所有对象都必须是/实现可序列化的。

As @JoseK mentioned, it looks like you don't have session replication and failover configured between the servers. You will need all of your application servers to be inside the same WebLogic cluster and you will also have to pick their secondary session replication node to be the destination for in-memory replication. You can dictate this by assigning the dedicated node to a specific machine, which is then selected as the secondary replication target for all cluster members.

Also, for session replication to work, all objects within your session have to be/implement serializable.

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