-
1. Re: Performance Issues with Jboss7 Domain Setup
wdfink Jun 2, 2013 6:50 AM (in response to ahmedkbn)1 of 1 people found this helpfulHello and welcome to the forum
In your case it is not clear to me why you use the domain mode.
The domain mode is only a administrative help for central configuration and process monitoring.
Host and Process controller will do that work.
In you case the DC will run only admin processed and the second the admin processes plus the 'real' server.
If you do not use the central configuration (as there is only one server) or the process monitoring (auto restart in case of crash) it sound like overkill and you should start the server in standalone mode which only run one JVM, also you only need one machine in this case.
But if you want a domain you can slim down the memory usage of host/process controller. See the domain.conf script for memory settings^, you might overwrite the settings by using the HOST_CONTROLLER* or PROCESS_CONTROLLER_JAVA_OPTS.
-
2. Re: Performance Issues with Jboss7 Domain Setup
ahmedkbn Jun 2, 2013 7:38 AM (in response to wdfink)Hi Wolf,
Thanks for your comment.
I am using the domain mode setup to acheive the following.
Domain controller on first machine will manage (meaning start/stop/deploy) the Server:ha-server-1 on second machine. But i dont know how to setup this. I want to see only one jboss process running on second machine.
You can see in the below output. 3 jboss instances are getting created on second machine.
jboss 14475 21934 1 15:06 ? 00:00:10 /app/jdk1.6.0_24/bin/java -D[Server:ha-server-1] jboss 21934 21892 0 Apr28 ? 00:37:24 /app/jdk1.6.0_24/bin/java -D[Process Controller] jboss 21949 21934 0 Apr28 ? 00:42:28 /app/jdk1.6.0_24/bin/java -D[Host Controller] Can i setup host controller(Server:ha-server-1) on second machine without running Process controller & Host controller there?
Thanks again
-
3. Re: Performance Issues with Jboss7 Domain Setup
ahmedkbn Jun 2, 2013 8:39 AM (in response to ahmedkbn)Hi,
I think i found what i was looking for at http://blog.akquinet.de/2012/06/29/managing-cluster-nodes-in-domain-mode-of-jboss-as-7-eap-6/.
Conclusion is that each host will have a Host controller and a Process controller plus the 'real' servers.
-
4. Re: Performance Issues with Jboss7 Domain Setup
wdfink Jun 2, 2013 11:12 AM (in response to ahmedkbn)Na as I said the HC and PC are necessary in domain mode.
In your case you can deploy with the CLI (bin/jboss-cli.sh) to your server group. But again you do not need a domain for that.
If you want to be able to start and stop the server remote you can use a domain, but here you only need to have one DC, than the server will run at the same machine as the main domain controller.
You can find the domain explanation and more in this document