Java Reference
In-Depth Information
For
server-two
and
server-four
, a
port-offset
value of
150
is configured
to avoid port conflicts. Okay, now we are done with our configuration. Assuming that
the first host has an IP address of
192.168.1.2
, we can then start the first host
with the following code snippet:
domain.sh \
-b 192.168.1.2
-Djboss.domain.master.address=192.168.1.1
-Djboss.bind.address.management=192.168.1.2
The second host(
192.168.1.3
) can be started with the following code snippet:
domain.sh \
-b 192.168.1.3
-Djboss.domain.master.address=192.168.1.1
-Djboss.bind.address.management=192.168.1.3