1 of 1 people found this helpful
You can have multiple jboss installations (different versions) or one jboss installation (same version) to launch different domains.
For example, one installation to launch three domains, each on different IP address
Installation binary: /opt/jboss-eap-7
You can use the following command line to launch each domain
/opt/jboss-eap-7/bin/domain.sh -b $IP \
-bmanagement $IP \
The IP and DC_DIR are variables pointing to the different domains.
Then, each slave host controller can be launched in a similar way, HC_IP is the ip address of the slave host controller, DC_IP is the ip address of the domain controller, HC_DIR is the slave domain directory
./domain.sh -b $HC_IP \
-bmanagement $HC_IP \
Thanks, Claudio. That's exactly what I expected.
Seeing that you are passing only the IP addresses to the host-controller does raise a follow up question, though.. Can multiple host-controllers run on the same VM?
> Can multiple host-controllers run on the same VM ?
1) use different IP addresses as outlined before or
2) use the same IP address with different port numbers (port offset) for the http/native management interface and set the Socket Binding Port Offset for server group or server config,
There is a port attribute on /host=master/core-service=management/management-interface=http-interface
and there is a socket-binding-port-offset attribute on /server-group and /host=*/server-config