HTTP 前端服务器(远程)如何与 Websphere 通信?
我了解到安装在 HTTP 前端服务器中的 WAS 插件将根据 plugin-cfg.xml 设置将请求路由到 Websphere。
路由将基于 HTTP 协议(protocol)还是其他二进制协议(protocol)?
这种情况下对防火墙设置有何影响?应用程序服务器计算机上应保持哪些端口打开?
最佳答案
Will the routing be on HTTP protocol or some other binary protocol?
插件使用 HTTP/HTTPS 协议(protocol)与 WebSphere 进行通信。如果请求通过 https 发出,并且插件配置为使用 htts 与 WebSphere 进行通信(已将根 WebSphere 证书添加到可信签名者),则使用 HTTPS。
What are the implications on Firewall settings in this case?
What ports should be kept open on the application server machine?
生成 plugin-cfg.xml
后,您将看到对于每个服务器,该插件需要与以下片段进行通信:
<Server CloneID="s111111" LoadBalanceWeight="1" ConnectTimeout="0" ExtendedHandshake="false" MaxConnections="-1" Name="custTestNode_server1" ServerIOTimeout="0" WaitForContinue="false">
<Transport Hostname="server1" Port="9080" Protocol="http"/>
<Transport Hostname="server1" Port="9443" Protocol="https">
<Property Name="keyring" Value="/config/webserver1/plugin-key.kdb"/>
<Property Name="stashfile" Value="/config/webserver1/plugin-key.sth"/>
</Transport>
</Server>
有一些端口(在本例中为 9080
和 9443
)将用于与该服务器通信,需要在防火墙中打开。
关于java - HTTP 前端服务器如何与 Websphere 通信,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26182227/