1. 1. Does
Hermes H20 supports this configuration out-of-the-box?
2. How requests and responses gets processed during the failover?
3. If the configuration is not supported out-of-the-box, then is there any workaround?
Thanks
Nikhil
2
Hi Nikhil,
Hermes does not support automatic failover out-of-the-box however depending on your requirements you may be able to get a satisfactory outcome with little effort.
If you have a HA database then you can connect two or more Hermes instances to it. When doing this you must disable the outbox collector on all but one of the hosts. You can then configure a load balancer on the HTTP endpoint for inbound messages and all hosts will receive and store messages.
Unfortunately only a single host can process the outbound queue unless you make some code modifications.
If you are happy enough with a single host processing the outbox then one way of achieving failover is to modify the database schema to assign messages to a given host. Should the server become unavailable (another challenging thing to detect automatically) an update on the database can be run on the outbox table to send them out using the alternative host.
There are a number of challenges and potential issues with this approach however it has worked well for some people.
A previous post about doing this for ebXML is available here https://groups.google.com/forum/#!topic/cecid-hermes2/xEUlA4KVEgM
I have not attempted this for AS2 however my understanding is the approach is similar.
--
You received this message because you are subscribed to the Google Groups "Hermes 2.0 Discussion List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cecid-hermes...@googlegroups.com.
To post to this group, send email to cecid-...@googlegroups.com.
Visit this group at http://groups.google.com/group/cecid-hermes2.
For more options, visit https://groups.google.com/groups/opt_out.
--