Question About Virtual IP Support in WildFly HA

54 views
Skip to first unread message

Omar El Kabous

unread,
Jul 31, 2026, 9:58:18 AMJul 31
to WildFly

Hello WildFly Team,

I have a question regarding WildFly High Availability and Virtual IP (VIP) support.

Suppose I have two WildFly instances configured with standalone-full-ha.xml and clustered using JGroups/Infinispan:

My understanding from the WildFly documentation is that JGroups provides cluster communication and Infinispan provides session replication, but that a separate load balancer (such as Apache HTTPD with mod_cluster, HAProxy, NGINX, F5, etc.) is required to expose a single Virtual IP (VIP) or endpoint to clients.

Could you please confirm whether the following statement is correct?

Can two standalone WildFly instances, configured with standalone-full-ha.xml and JGroups clustering only (without any external load balancer, proxy, Windows NLB, Keepalived, or similar infrastructure), expose a single Virtual IP (VIP) that clients can connect to?

If the answer is no, could you please clarify which component is responsible for providing the VIP in a standard WildFly HA architecture?

Thank you for your time and clarification.

Kind regards,
Omar


Paul Ferraro

unread,
Sep 20, 2026, 11:02:24 AM (6 days ago) Sep 20
to WildFly
On Friday, July 31, 2026 at 2:58:18 PM UTC+1 Omar El Kabous wrote:

Hello WildFly Team,

I have a question regarding WildFly High Availability and Virtual IP (VIP) support.

Suppose I have two WildFly instances configured with standalone-full-ha.xml and clustered using JGroups/Infinispan:

My understanding from the WildFly documentation is that JGroups provides cluster communication and Infinispan provides session replication, but that a separate load balancer (such as Apache HTTPD with mod_cluster, HAProxy, NGINX, F5, etc.) is required to expose a single Virtual IP (VIP) or endpoint to clients.

Could you please confirm whether the following statement is correct?

Can two standalone WildFly instances, configured with standalone-full-ha.xml and JGroups clustering only (without any external load balancer, proxy, Windows NLB, Keepalived, or similar infrastructure), expose a single Virtual IP (VIP) that clients can connect to?

The network interfaces used by clients is managed separately from the network interface used for cluster communication.
Can you expose both public interfaces via a single virtual IP for client requests?  Sure, but why would you want to do that?

luca stancapiano

unread,
Sep 21, 2026, 4:49:22 AM (5 days ago) Sep 21
to Paul Ferraro, WildFly

Hi Paul,

That makes sense: the client-facing network interface is managed separately from the cluster communication interface. So while it is technically possible to expose both public interfaces through a single virtual IP for client requests, that would not be provided by WildFly itself.

In a standard WildFly HA setup, the VIP or single client entry point is typically handled by external infrastructure such as a load balancer, reverse proxy, or failover mechanism. WildFly/JGroups/Infinispan cover clustering, communication, and replication, but not VIP management.

Best regards,

Luca


--
You received this message because you are subscribed to the Google Groups "WildFly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wildfly+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/wildfly/3c58fc3f-8abf-4f30-8423-0264c3c8bb85n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages