[jboss-user] [Clustering/JBoss] - Re: How to run multiple JBoss Server instances on one machin

gasper_k do-not-reply at jboss.com
Mon Aug 20 10:01:56 EDT 2007


You have to run on a different server path and different IP address:

bin/run.sh -c server1 --host=ip1
bin/run.sh -c server2 --host=ip2

If you're trying to run a cluster, just copy one server directory to a new one and use it for the second instance.

A simple trick to add a new ip address in linux is (run as su):
# ifconfig eth0:1 your_new_ip up


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075857#4075857

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075857



More information about the jboss-user mailing list