java - WildFly/JBoss server group deployment understanding -
according jboss documentation:
in managed domain deployments associated server group. deployments provided server belongs particular group.
...the multiple servers in common server group become single 1 virtually.
but how jboss choose target actual server deployment?
for example, have 2 different vps servers jboss running, combined single main-server-group
. vps server host application following command?
[domain@localhost:9999 /] deploy ~/desktop/test-application.war --server-group=main-server-group 'test-application.war' deployed successfully
the application deployed both servers.
if go http://server1:8080/myapp
should see same if went http://server2:8080/myapp
the reason have web server or proxy load balance between 2 servers. if want have 2 separate servers don't have apps deployed each, put them in different server groups or, better solution run jboss in standalone mode, rather domain mode.
Comments
Post a Comment