-
1. Re: Master node detection
belaban Apr 28, 2006 3:48 AM (in response to anubisman)If you go into ClusterPartition with jmx-console, you see a *view*. The first member of the view is always the master node. If the second node becomes the master node, then the nodes didn't cluster, didn't find each other
-
2. Re: Master node detection
anubisman Apr 28, 2006 4:02 AM (in response to anubisman)Thanks for your response,
But how can I go into ClusterPartition with jmx-console???
I couldn't find something like this in my jmx-console.
What service do you open from jmx-console???
Best regards,
Aram. -
3. Re: Master node detection
belaban Apr 28, 2006 4:05 AM (in response to anubisman)1) run.sh -c all
2) in jmx-console: access "jboss:service=DefaultPartition"
3) The attribute is "CurrentView" -
4. Re: Master node detection
anubisman Apr 28, 2006 4:07 AM (in response to anubisman)Are you talking about this message ???
28.04.06 12:45 : Partition object created 28.04.06 12:45 : Initializing partition 28.04.06 12:45 : Starting partition 28.04.06 12:45 : New view: [10.37.13.52:1099] with viewId: 0 (old view: [10.37.13.52:1099] ) 28.04.06 12:45 : setState called on partition 28.04.06 13:02 : New view: [10.37.13.40:1099, 10.37.13.52:1099] with viewId: 1 (old view: [10.37.13.52:1099])
Does this mean that node on IP 10.37.13.40 is the master node???
Best regards,
Aram. -
5. Re: Master node detection
anubisman Apr 28, 2006 4:19 AM (in response to anubisman)Sorry, but I couldn't find the attribute you said:
"bela@jboss.com" wrote:
3) The attribute is "CurrentView"
Maybe my configuration is not normal????
Could you please send my your clustering configuration files????
Best regards,
Aram. -
6. Re: Master node detection
belaban Apr 28, 2006 4:30 AM (in response to anubisman)// Does this mean that node on IP 10.37.13.40 is the master node???
Yes -
7. Re: Master node detection
belaban Apr 28, 2006 4:31 AM (in response to anubisman)Use run.sh -c *all*, then you'll see it
-
8. Re: Master node detection
anubisman Apr 28, 2006 5:00 AM (in response to anubisman)I am sorry,
I'm starting JBoss 4.0.3 on Windows XP.
This kind of command doesn't work on my computers.
Best regards, Aram. -
9. Re: Master node detection
belaban Apr 28, 2006 5:26 AM (in response to anubisman)run.bat -c all then
-
10. Re: Master node detection
anubisman Apr 28, 2006 5:35 AM (in response to anubisman)Thank you very much for your response,
But are you shure that this command is valid, because I'm getting this message
// run.bat: unused non-option argument: then
What is the version of your JBoss???
Maybe this argument is for another version???
Best regards, Aram.