Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
Thanks Ban, My /etc/hosts had 127.0.0.1 first and then the ip app of my host. I removed 127.0.0.1 and it is working fine now. Thanks, MJ --- Bela Ban <[EMAIL PROTECTED]> wrote: > > > Mridul Jain wrote: > > > hi Ban, > > I added bind_addr attribute in both the servers > with > > their respective ips and both the servers seem to > > identify each other. But I am getting this line: > > > -- > > 18:10:52,399 INFO [DefaultPartition] New cluster > view > > (id: 1, delta: 1) : [127.0.0.1:1099, > 127.0.0.1:1099] > > 18:10:52,403 INFO > [DefaultPartition:ReplicantManager] > > Dead members: 0 > > 18:10:53,549 INFO [HAILServerILService] Notified > to > > stop acting as singleton. > > > --- > > > I assume you set the bind_addr=MyHost. However, I'm > sure MyHost points > to 127.0.0.1, check /etc/hosts. You should *not* see > 127.0.0.1 ! > > > in the node which acts as the second cluster node. > > I was wondering why the New cluster View shows > > 127.0.0.1 as the ip addresses for both the nodes. > > I have set loopback to false in > cluster-service.xml in > > both the servers. > > > That's something different, doesn't affect the local > address > > > I brought down the lo interface and let eth0 only > up > > in both the nodes and started the servers again on > > both. Again the servers could not identify each > other. > > > > why I am seeing 127.0.0.1 for both the servers?? > > > You are obviously still binding to 127.0.0.1, not to > eth0 ! > > -- > Bela Ban > http://www.jgroups.org > Cell: (408) 316-4459 > > > > --- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and > Integration > See the breadth of Eclipse activity. February 3-5 in > Anaheim, CA. > http://www.eclipsecon.org/osdn > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
Mridul Jain wrote: hi Ban, I have infact used the IP address of the servers and *NOT* 127.0.0.1. That is why I am suprised why I am getting the following behaviour. I don't believe you :-) Show me your cluster-service.xml and your /etc/hosts dump -- Bela Ban http://www.jgroups.org Cell: (408) 316-4459 --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
Mridul Jain wrote: hi Ban, I added bind_addr attribute in both the servers with their respective ips and both the servers seem to identify each other. But I am getting this line: -- 18:10:52,399 INFO [DefaultPartition] New cluster view (id: 1, delta: 1) : [127.0.0.1:1099, 127.0.0.1:1099] 18:10:52,403 INFO [DefaultPartition:ReplicantManager] Dead members: 0 18:10:53,549 INFO [HAILServerILService] Notified to stop acting as singleton. --- I assume you set the bind_addr=MyHost. However, I'm sure MyHost points to 127.0.0.1, check /etc/hosts. You should *not* see 127.0.0.1 ! in the node which acts as the second cluster node. I was wondering why the New cluster View shows 127.0.0.1 as the ip addresses for both the nodes. I have set loopback to false in cluster-service.xml in both the servers. That's something different, doesn't affect the local address I brought down the lo interface and let eth0 only up in both the nodes and started the servers again on both. Again the servers could not identify each other. why I am seeing 127.0.0.1 for both the servers?? You are obviously still binding to 127.0.0.1, not to eth0 ! -- Bela Ban http://www.jgroups.org Cell: (408) 316-4459 --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
hi Ban, I have infact used the IP address of the servers and *NOT* 127.0.0.1. That is why I am suprised why I am getting the following behaviour. MJ --- Mridul Jain <[EMAIL PROTECTED]> wrote: > hi Ban, > I added bind_addr attribute in both the servers with > their respective ips and both the servers seem to > identify each other. But I am getting this line: > -- > 18:10:52,399 INFO [DefaultPartition] New cluster > view > (id: 1, delta: 1) : [127.0.0.1:1099, 127.0.0.1:1099] > 18:10:52,403 INFO > [DefaultPartition:ReplicantManager] > Dead members: 0 > 18:10:53,549 INFO [HAILServerILService] Notified to > stop acting as singleton. > --- > > in the node which acts as the second cluster node. > I was wondering why the New cluster View shows > 127.0.0.1 as the ip addresses for both the nodes. > I have set loopback to false in cluster-service.xml > in > both the servers. > I brought down the lo interface and let eth0 only up > in both the nodes and started the servers again on > both. Again the servers could not identify each > other. > > why I am seeing 127.0.0.1 for both the servers?? > > MJ > --- Bela Ban <[EMAIL PROTECTED]> wrote: > > > > > > Mridul Jain wrote: > > > > > hi, > > > I am running jboss-3.2.3 on GNU/Linux box and > > trying > > > to get jboss clustering up and running. > > > First I check if multicasting works fine, by > > running > > > the following from jgroup: > > > On host1: > > > -- > > > java org.javagroups.tests.McastReceiverTest > > > -mcast_addr 228.1.2.3 -port 45566 > > > -- > > > Onhost2: > > > --- > > > java org.javagroups.tests.McastSenderTest > > -mcast_addr > > > 228.1.2.3 -port 45566 > > > --- > > > > > > I am able to communicate perfectly without any > > > problems. > > > > > > Then I start jboss-3.2.3 using ./run.sh -c all > on > > both > > > the hosts. But I am able to see that both the > > > nodes/servers cannot find each other as can be > > seen in > > > server.log and it shows only one cluster member > in > > > both. > > > > > > Probing further I tried receiving messages using > : > > > > > > java org.javagroups.tests.McastReceiverTest > > > -mcast_addr 228.1.2.3 -port 45566 > > > - > > > on host1 and running the jboss-server on the > same > > > node. > > > At periodic intervals I started getting some > junk > > > message from the jboss-server as soon as > > > cluster-service.xml was deployed. The messages > > were > > > from 127.0.0.1:45566. > > > > > > Did you try setting bind_addr in the cluster > config > > (in > > cluster-service.xml) ? > > Post your cluster-service.xml > > > > > > -- > > Bela Ban > > http://www.jgroups.org > > Cell: (408) 316-4459 > > > > > > > > > --- > > This SF.net email is sponsored by: Perforce > > Software. > > Perforce is the Fast Software Configuration > > Management System offering > > advanced branching capabilities and atomic changes > > on 50+ platforms. > > Free Eval! > > http://www.perforce.com/perforce/loadprog.html > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > __ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" > Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
set bind_addr in UDP to the IP address ot the server (*not* 127.0.0.1), e.g. Mridul Jain wrote: hi Ben, Here is my cluster-service.xml Please tell me what to do? Thanks, MJ --- Bela Ban <[EMAIL PROTECTED]> wrote: Mridul Jain wrote: hi, I am running jboss-3.2.3 on GNU/Linux box and trying to get jboss clustering up and running. First I check if multicasting works fine, by running the following from jgroup: On host1: -- java org.javagroups.tests.McastReceiverTest -mcast_addr 228.1.2.3 -port 45566 -- Onhost2: --- java org.javagroups.tests.McastSenderTest -mcast_addr 228.1.2.3 -port 45566 --- I am able to communicate per fectly without any problems. Then I start jboss-3.2.3 using ./run.sh -c all on both the hosts. But I am able to see that both the nodes/servers cannot find each other as can be seen in server.log and it shows only one cluster member in both. Probing further I tried receiving messages using : java org.javagroups.tests.McastReceiverTest -mcast_addr 228.1.2.3 -port 45566 - on host1 and running the jboss-server on the same node. At periodic intervals I started getting some junk message from the jboss-server as soon as cluster-service.xml was deployed. The messages were from 127.0.0.1:45566. Did you try setting bind_addr in the cluster config (in cluster-service.xml) ? Post your cluster-service.xml -- Bela Ban http://www.jgroups.org Cell: (408) 316-4459 --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus -- Bela Ban http://www.jgroups.org Cell: (408) 316-4459 --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
hi Ban, I added bind_addr attribute in both the servers with their respective ips and both the servers seem to identify each other. But I am getting this line: -- 18:10:52,399 INFO [DefaultPartition] New cluster view (id: 1, delta: 1) : [127.0.0.1:1099, 127.0.0.1:1099] 18:10:52,403 INFO [DefaultPartition:ReplicantManager] Dead members: 0 18:10:53,549 INFO [HAILServerILService] Notified to stop acting as singleton. --- in the node which acts as the second cluster node. I was wondering why the New cluster View shows 127.0.0.1 as the ip addresses for both the nodes. I have set loopback to false in cluster-service.xml in both the servers. I brought down the lo interface and let eth0 only up in both the nodes and started the servers again on both. Again the servers could not identify each other. why I am seeing 127.0.0.1 for both the servers?? MJ --- Bela Ban <[EMAIL PROTECTED]> wrote: > > > Mridul Jain wrote: > > > hi, > > I am running jboss-3.2.3 on GNU/Linux box and > trying > > to get jboss clustering up and running. > > First I check if multicasting works fine, by > running > > the following from jgroup: > > On host1: > > -- > > java org.javagroups.tests.McastReceiverTest > > -mcast_addr 228.1.2.3 -port 45566 > > -- > > Onhost2: > > --- > > java org.javagroups.tests.McastSenderTest > -mcast_addr > > 228.1.2.3 -port 45566 > > --- > > > > I am able to communicate perfectly without any > > problems. > > > > Then I start jboss-3.2.3 using ./run.sh -c all on > both > > the hosts. But I am able to see that both the > > nodes/servers cannot find each other as can be > seen in > > server.log and it shows only one cluster member in > > both. > > > > Probing further I tried receiving messages using : > > > > java org.javagroups.tests.McastReceiverTest > > -mcast_addr 228.1.2.3 -port 45566 > > - > > on host1 and running the jboss-server on the same > > node. > > At periodic intervals I started getting some junk > > message from the jboss-server as soon as > > cluster-service.xml was deployed. The messages > were > > from 127.0.0.1:45566. > > > Did you try setting bind_addr in the cluster config > (in > cluster-service.xml) ? > Post your cluster-service.xml > > > -- > Bela Ban > http://www.jgroups.org > Cell: (408) 316-4459 > > > > --- > This SF.net email is sponsored by: Perforce > Software. > Perforce is the Fast Software Configuration > Management System offering > advanced branching capabilities and atomic changes > on 50+ platforms. > Free Eval! > http://www.perforce.com/perforce/loadprog.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
hi Ben, Here is my cluster-service.xml Please tell me what to do? Thanks, MJ --- Bela Ban <[EMAIL PROTECTED]> wrote: > > > Mridul Jain wrote: > > > hi, > > I am running jboss-3.2.3 on GNU/Linux box and > trying > > to get jboss clustering up and running. > > First I check if multicasting works fine, by > running > > the following from jgroup: > > On host1: > > -- > > java org.javagroups.tests.McastReceiverTest > > -mcast_addr 228.1.2.3 -port 45566 > > -- > > Onhost2: > > --- > > java org.javagroups.tests.McastSenderTest > -mcast_addr > > 228.1.2.3 -port 45566 > > --- > > > > I am able to communicate per fectly without any > > problems. > > > > Then I start jboss-3.2.3 using ./run.sh -c all on > both > > the hosts. But I am able to see that both the > > nodes/servers cannot find each other as can be > seen in > > server.log and it shows only one cluster member in > > both. > > > > Probing further I tried receiving messages using : > > > > java org.javagroups.tests.McastReceiverTest > > -mcast_addr 228.1.2.3 -port 45566 > > - > > on host1 and running the jboss-server on the same > > node. > > At periodic intervals I started getting some junk > > message from the jboss-server as soon as > > cluster-service.xml was deployed. The messages > were > > from 127.0.0.1:45566. > > > Did you try setting bind_addr in the cluster config > (in > cluster-service.xml) ? > Post your cluster-service.xml > > > -- > Bela Ban > http://www.jgroups.org > Cell: (408) 316-4459 > > > > --- > This SF.net email is sponsored by: Perforce > Software. > Perforce is the Fast Software Configuration > Management System offering > advanced branching capabilities and atomic changes > on 50+ platforms. > Free Eval! > http://www.perforce.com/perforce/loadprog.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus DefaultPartition False jboss:service=DefaultPartition DefaultPartition /HASessionState/Default 0 jboss:service=DefaultPartition DefaultPartition ${jboss.bind.address} 0 1100 50 230.0.0.4 1102 ${jboss.bind.address} jboss:service=DefaultPartition jboss.cache:service=InvalidationManager jboss.cache:service=InvalidationManager DefaultPartition DefaultJGBridge
Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
Mridul Jain wrote: hi, I am running jboss-3.2.3 on GNU/Linux box and trying to get jboss clustering up and running. First I check if multicasting works fine, by running the following from jgroup: On host1: -- java org.javagroups.tests.McastReceiverTest -mcast_addr 228.1.2.3 -port 45566 -- Onhost2: --- java org.javagroups.tests.McastSenderTest -mcast_addr 228.1.2.3 -port 45566 --- I am able to communicate perfectly without any problems. Then I start jboss-3.2.3 using ./run.sh -c all on both the hosts. But I am able to see that both the nodes/servers cannot find each other as can be seen in server.log and it shows only one cluster member in both. Probing further I tried receiving messages using : java org.javagroups.tests.McastReceiverTest -mcast_addr 228.1.2.3 -port 45566 - on host1 and running the jboss-server on the same node. At periodic intervals I started getting some junk message from the jboss-server as soon as cluster-service.xml was deployed. The messages were from 127.0.0.1:45566. Did you try setting bind_addr in the cluster config (in cluster-service.xml) ? Post your cluster-service.xml -- Bela Ban http://www.jgroups.org Cell: (408) 316-4459 --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
hi, what ip address you set? But it is supposed to work if multicast works fine, isn't it? Thanks, MJ --- Felipe Oliveira <[EMAIL PROTECTED]> wrote: > Hi Midrul, > > I had a simular problem where the hosts couldn't see > each other. I fixed > that setting the ip address on each host. > > Felipe > > >First I check if multicasting works fine, by > running > >the following from jgroup: > >On host1: > >-- > >java org.javagroups.tests.McastReceiverTest > >-mcast_addr 228.1.2.3 -port 45566 > >-- > >Onhost2: > >--- > >java org.javagroups.tests.McastSenderTest > -mcast_addr > >228.1.2.3 -port 45566 > >--- > > > >I am able to communicate perfectly without any > >problems. > > > >Then I start jboss-3.2.3 using ./run.sh -c all on > both > >the hosts. But I am able to see that both the > >nodes/servers cannot find each other as can be seen > in > >server.log and it shows only one cluster member in > >both. > > > >Probing further I tried receiving messages using : > > > >java org.javagroups.tests.McastReceiverTest > >-mcast_addr 228.1.2.3 -port 45566 > >- > >on host1 and running the jboss-server on the same > >node. > >At periodic intervals I started getting some junk > >message from the jboss-server as soon as > >cluster-service.xml was deployed. The messages were > >from 127.0.0.1:45566. When I shutdown the > jboss-server > >the messages stopped too. > > > >Then I started the jboss-server on host1 and > started > >two receivers on host1 and host2 respectively. I > >started getting the same junk messages from > >jboss-server on host1 (localhost) but not on > >host2(remote host). > > > >This seems to be a problem with multicasting??? I > have > >removed any firewall restriction using iptables -F > in > >both machines too.But as I said in the beginning, > the > >jgroup programs worked fine communicating with each > >other in a multicast group. > > > > > >Everything including failover/farming etc will run > >well if this problem gets solved. > > > >Any help is appreciated. > > > >rgds, > >MJ > > > > > >__ > >Do you Yahoo!? > >Yahoo! Hotjobs: Enter the "Signing Bonus" > Sweepstakes > >http://hotjobs.sweepstakes.yahoo.com/signingbonus > > > > > >--- > >This SF.net email is sponsored by: Perforce > Software. > >Perforce is the Fast Software Configuration > Management System offering > >advanced branching capabilities and atomic changes > on 50+ platforms. > >Free Eval! > http://www.perforce.com/perforce/loadprog.html > >___ > >JBoss-user mailing list > >[EMAIL PROTECTED] > >https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > > > > --- > This SF.net email is sponsored by: Perforce > Software. > Perforce is the Fast Software Configuration > Management System offering > advanced branching capabilities and atomic changes > on 50+ platforms. > Free Eval! > http://www.perforce.com/perforce/loadprog.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working
Hi Midrul, I had a simular problem where the hosts couldn't see each other. I fixed that setting the ip address on each host. Felipe First I check if multicasting works fine, by running the following from jgroup: On host1: -- java org.javagroups.tests.McastReceiverTest -mcast_addr 228.1.2.3 -port 45566 -- Onhost2: --- java org.javagroups.tests.McastSenderTest -mcast_addr 228.1.2.3 -port 45566 --- I am able to communicate perfectly without any problems. Then I start jboss-3.2.3 using ./run.sh -c all on both the hosts. But I am able to see that both the nodes/servers cannot find each other as can be seen in server.log and it shows only one cluster member in both. Probing further I tried receiving messages using : java org.javagroups.tests.McastReceiverTest -mcast_addr 228.1.2.3 -port 45566 - on host1 and running the jboss-server on the same node. At periodic intervals I started getting some junk message from the jboss-server as soon as cluster-service.xml was deployed. The messages were from 127.0.0.1:45566. When I shutdown the jboss-server the messages stopped too. Then I started the jboss-server on host1 and started two receivers on host1 and host2 respectively. I started getting the same junk messages from jboss-server on host1 (localhost) but not on host2(remote host). This seems to be a problem with multicasting??? I have removed any firewall restriction using iptables -F in both machines too.But as I said in the beginning, the jgroup programs worked fine communicating with each other in a multicast group. Everything including failover/farming etc will run well if this problem gets solved. Any help is appreciated. rgds, MJ __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user