High Availability of XML RPC server

Hi Experts,

We have an environment where mainframe invokes web services in webMethods using XML RPC server. Considering that there is one EntireX broker, is it technically correct to have two XML RPC servers with the same service names(RPC/XXXX/YYYY) installed in two machines to connect to the EntireX broker to achieve high availability for XML RPC server?

Yes, you can have multiple “COPIES” of the same XML RPC server, working with the same EntireX broker. This concept , having muliple instances of the same RPC server , running in parallel (maybe even on different machines) , is well supported by EntireX. It can be used for different secnarios for High Avilability.See more detailes in the EntireX documentation,here : [url]http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-12/EntireX/9-12_EntireX/highAvail/overview.htm[/url]

1 Like

You only have restricted high availability with this setup.
This only works if an RPC Server can notify the Broker before it is going down (deregister from the Broker).
But if the machine where the RPC Server is running is crashing or the network connection to the Broker gets lost the Broker will not know that the RPC Server is no longer active and continue to assign client requests to this server.

1 Like

You can minimize the disruption from a crashed XML RPC Server by setting the SERVER-NONACT timeout to a smaller value. The longest the server would be unavailable should be no more than twice the SERVER-NONACT value. A small SERVER-NONACT will generate more “noise” between the server and EntireX Broker, but in a busy server it won’t matter much - the busier the server is, the shorter the SERVER-NONACT can be with less overhead and shorter time before the inactive server is noted and removed.

1 Like

Thank you Sagi,Rolf and Douglas for the replies.

Rolf- when we say that HA is getting restricted, I understand the issues by the scenarios stated. Considering that I do not control the broker, is there any other ideal way to set up the high availability with respect to XML RPC server?

You can run the XML RPC Server on the machine where the Broker is running.

This is correct.

This doesn’t make sense to me. Why twice the timeout, and why would it make more noise?

Setting SERVER-NONACT to a small value is dangerous, because this value sets the maximal time the server can use for processing a client request.