Hello all Thanks for your answer, in the meanwhile we figured out what was happening...
For some strange reason the rc script needed the exit command in option (start ; stop and status). After adding "exit 0" in both start and stop and adding "exit 'echo $?' in status the failover begun working perfectly. Best regards Paulo Chagas Tools & Automation ___________________________ EDINFOR - a LogicaCMG Company Rua Particular EDP (à Rua Cidade de Goa), 11 2685-038 Sacavém Portugal T: +351 21 001 8157 (18157) M: +351 93 683 0258 email: [EMAIL PROTECTED] http://www.edinfor.logicacmg.com ______________________________ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Beekhof Sent: sexta-feira, 23 de Novembro de 2007 8:22 To: General Linux-HA mailing list Subject: Re: [Linux-HA] strange behavior in LSB compliant script On Nov 21, 2007, at 11:02 AM, Chagas, Paulo wrote: > > > Hello all, > > > > I'm new to HA and finding very difficult to find valuable information > regarding adding a LSB compliant script to a HA resource group. > > At this time I have 2 resource groups with IP ocf ; LVM ocf ; > Filesystem ocf that failover perfectly, when I add the lsb script > everything seems ok this is : > > > > I'm able to start the resource and I see the process active in the > node > > I'm able to stop the resource and I see the process disappear from the > node. > > > > The problem arises when I try a failover putting the node with the > resource group in standby, for some reason all other resources in that > resource group don't start ! > > > > I tried to bypass this problem creating a new resource group that > contains only the lsb resource, I created a collocation rule so that > this resource group is always in the same node that contains de > filesystem ocf. > > > > In this case the failover works perfectly for the resource group with > the IP, LVM and Filesystem OCF's and the resource group with the lsb > doesn't start , but recovers fine after a "Cleanup Resource". > > > > Can someone help me out .... > > > > Thanks in advance ... > > > > PS : I'm attaching the cibadmin -Q output ..... please don't use in-line attachments as they get mangled by mail clients. we'll also need to know what version you're running and the logs (zip them up so the mailing list wont reject them) _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems Este e-mail e quaisquer anexos com ele transmitidos são destinados exclusivamente às pessoas nele endereçadas, os quais poderão conter informação legalmente protegida, confidencial ou sigilosa. Não deverá fazer qualquer cópia desta mensagem, utilizá-la para qualquer fim ou transmitir o seu conteúdo a terceiros. Caso tenha recebido este e-mail indevidamente, por favor apague-o definitivamente do seu sistema sem o copiar e informe o respectivo remetente. Obrigado. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
