|
From: Jamie C. <jca...@we...> - 2006-07-11 18:55:42
|
OK, I see the cause of this bug now .. Webmin isn't parsing your haresources file properly. I will fix this in the next release. - Jamie On 11/Jul/2006 01:09 and...@fr... wrote .. > Sorry, some (too many) errors in mail before: > > __________________ > > The point is exactly that: APache is up and running on the server where > webmin lies ! > But webmin on BOTH servers shows the resource DOWN > And if I get the resource on the second server , the resource really move > from one to the other, > but again webmin on BOTH servers shows the resource DOWN. > when the resource is on the second member (srvlnxc2) : > > srvlnxc2:/usr/local/mysql # /etc/init.d/apache2 status > Checking for httpd2: > running > > extract from netstat -n -a > > :::80 :::* LISTEN > > but webmin still says: DOWN (RED) > > here is my haresources (exactly the same, copied on both nodes) > > srvlnxc2:/etc/ha.d # cat haresources > srvlnxc1 192.168.1.50/24/192.168.1.255 apache2 > > ip addres for srvlnxc1: 192.168.1.51 > ip addres for srvlnxc2: 192.168.1.52 > ip addres for "cluster": 192.168.1.50 > > I had to use srvlnxc1 instead of srvlnxc1.frameweb.it becouse uname -n > reports srvlnxc1; actually I would have preferred to use > srvlnxc1.frameweb.it , > but I was not able to "convince" uname -n to show that....... > > Andrea > > > > > "Jamie Cameron" > <jcameron@webmin. > com> > To > Sent by: Webmin users list > webadmin-list-bou <web...@li... > nc...@li... t> > forge.net > cc > > Subject > 10/07/2006 20.35 Re: [webmin-l] question about > cluster > > Please respond to > Webmin users list > <webadmin-list@li > sts.sourceforge.n > et> > > > > > > > On 10/Jul/2006 05:15 and...@fr... wrote .. > > I am trying to install my first linux cluster, so perhaps (surely) I > am > > doing something wrong. > > > > Anyway, following the documentation, now I have 2 Suse Linux 10.1 running > > succesfully Hearthbit (2.0.5) for 1 Apache and Mysql resource) > > > > I configured anything via command line ( using vi to edit ha.cf, > > haresources and authkeys); then I went to see via webmin. > > > > When I enter the Heartbit monitor, Cluster Resources, I always see my > only > > resource (apache2 and mysql) in DOWN status (RED) > > > > Primary Node > > IP Addresses > > Node Services > > Resource Status > > Get Resource > > srvlnxc1 > > 192.168.1.50/24/192.168.1.255 > > apache2 , mysql > > DOWN > > > > > > > > Add a cluster resource > > > > > > > > > > > > > > But actually it is up on one node !!!; Moreover, If I use the get > Resource > > on the second node, the resource is moved to > > that node (I can monitor it issuing /etc/init.d/apache2 status and seeing > > the output move from running to unused on one node > > and viceversa on the other node) > > > > Any ideas ? > > Webmin tries to check if a resource is up or not by seeing if the IP > address > for that resource is active on the server that Webmin is running on. So > if > Apache > is active but on a different server in the cluster, it will be shown as > down .. > > - Jamie > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list > > > Chi ricevesse questa mail per errore e' gentilmente pregato di cancellarla. > > Visitate il sito http://www.frameweb.it > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > - > Forwarded by the Webmin mailing list at web...@li... > To remove yourself from this list, go to > http://lists.sourceforge.net/lists/listinfo/webadmin-list |