Andrew Beekhof wrote: > On Mon, Apr 26, 2010 at 10:07 AM, RaSca <[email protected]> wrote: > >> Il giorno Lun 26 Apr 2010 09:19:43 CET, Alessandra Giovanardi ha scritto: >> >>> Hi, >>> I have a cluster with 2 nodes (with SUSE SLES 10 SP2 OS). >>> >> [...] >> >>> Why my resource goes up only after this operation? >>> I attach my cib.xml. >>> Thank you >>> Alessandra >>> >> Just guessing... It seems to be an order issue. >> You had to tell the CRM when turn a resource up. Something like: >> >> order tomcat_after_lun inf: resource_tomcat_LUN:promote >> resource_tomcat_TOMCAT:start >>
Resources are included into a RG colocated and ordered, so it is not an ordering problem. > > Wont help. > Tomcat is balking during resource probing > (resource_tomcat_TOMCAT_monitor_0) which happens before anything is > started. > > I'm guessing either the LSB script is broken (common) or something it > needs is not available until some other resource starts (which also > means its broken). > Thank you Andrew, The problem was the LSB script in conjunction with the presence of the tomcat installation on the migrating filesystem. During a migration heartbeat performs this operation on the new node: /etc/init.d/tomcat6 status: maedoc1:~ # /etc/init.d/tomcat6 status /SAN/ATDOC_LUN/http/www/tomcat6/bin/startup.sh not installed -->because the software is on the migrating FS. maedoc1:~ # echo $? 5 Having an exit status 5 insted of 3 heartbeat blocks the migration. I modified the LSB script in order to have an exit status 3 and now all work fine! Thank you Alessandra > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > > -- Alessandra Giovanardi e-mail [email protected] Cineca - DSET http://www.cineca.it Phone +39 051 6171939 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
