Mantis - Resin
Viewing Issue Advanced Details
231 minor always 06-01-05 00:00 01-25-06 16:09
sam  
ferg  
normal  
closed  
3.0.13 fixed  
none    
none 3.0.18  
0000231: resin-status not showing cluster information
RSN-254
(rep by K MacCLay)

We have switched from using mod_caucho to using the LoadBalanceServlet
for load balancing. Since the caucho-status servlet won't be available,
we'll be using resin-status. Unfortunately, it doesn't seem that
resin-status is displaying cluster information like it should (e.g.
showing whether sruns are up or down). What happens is that it doesn't
display the section for clusters at all. We're using Resin 3.0.13.
I looked at the ResinStatusServlet source and found the printSrun()
method. It must not be retrieving any ObjectName's when it calls
getClusterObjectNames(). Is there any known reason why this would
happen?
ObjectName[]clusterList = _servletServer.getClusterObjectNames();
for (int i = 0; i < clusterList.length; i++) {
ClusterMBean cluster = (ClusterMBean) Jmx.findGlobal(clusterList[i]);
Here is our cluster configuration
<!-- srun port -->
<cluster>
<srun id='a' host='192.168.8.97' port='6802' index='1'/>
<srun id='b' host='192.168.8.98' port='6802' index='2'/>
<srun id='c' host='192.168.8.97' port='6803' index='3'/>
<srun id='d' host='192.168.8.98' port='6803' index='4'/>
</cluster>

There are no notes attached to this issue.