According to JBoss documentation:
In managed domain deployments are associated with a server group. Deployments will be provided to any server that belongs to a particular group.
...the multiple servers in common server group become the single one virtually.
But how does JBoss choose the target actual server for deployment?
For example, i have two different vps servers with JBoss running, which are combined to the single main-server-group. Then which vps server will actually host the application by following command?
[domain@localhost:9999 /] deploy ~/Desktop/test-application.war --server-group=main-server-group 'test-application.war' deployed successfully