[jboss-user] [Clustering/JBoss] - Re: Windows NLB does not work with Jboss-4.2.3.GA

bstansberry@jboss.com do-not-reply at jboss.com
Mon Mar 30 17:59:30 EDT 2009


Good; glad you are making progress.

If you are running with the all config, use this:

run -c all -b 0.0.0.0 -Djgroups.bind_addr=1.1.1.1  (or 2.2.2.2)

JGroups will ignore 0.0.0.0 and pick an interface; using -Djgroups.bind_addr=1.1.1.1 lets you specify which.

Also, clustering's HAPartition service uses the -b value plus the JNDI port (1099 by default) to make up a unique id for each node. If you use -b 0.0.0.0 (or -b 127.0.0.1) each node will come up w/ the same name -- not unique, which may lead to problems. To work around this you can manually specify the name by editing the cluster-service.xml file, replacing:

<attribute name="NodeAddress">${jboss.bind.address}</attribute>

with

<attribute name="NodeAddress">${jgroups.bind_addr}</attribute>

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

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



More information about the jboss-user mailing list