0 Replies Latest reply: Jan 17, 2012 2:41 PM by Rafael Soares (Tuelho) RSS

starting a slave host controller with --master-address

Rafael Soares (Tuelho) Newbie

Hello.

 

Is possible to start a Host Controller slave to contact a remote Domain Controller without have to change manually this host.xml snippet?

 

 

<domain-controller>
   <local/>
   <!-- Alternative remote domain controller configuration with a host and port -->
   <!-- <remote host="${jboss.domain.master.address}" port="${jboss.domain.master.port:9999}"/> -->
</domain-controller>

 

 

I mean if you start that host using

 

./domain.sh -b x.x.x.x --master-address=<remote DC IP>

 

Then AS7 starts it as a slave host.

 

Thanks.