Hi Claes, interestingly you can delete a ressource with crm_resource, but you can't add one. When I delete one with crm_resource everything seems to go right.
Andrew: Is the phenomena mentioned by Claes a bug? Or simple a missunderstanding of us? Best regards Andreas Mock >>> Claes Lindvall <[EMAIL PROTECTED]> 06/04/07 4:21 PM >>> Hi there Thanks for you help. crm_resource -C -r <resource> removed the resource from crm_mon. The resource was stopped before I removed it with cibadmin , and the updateinterval in crm_mon was set to 2 secounds. So according to Andrew Beekhof it could be a little bug here. Kindly Regards Claes Lindvall matilda matilda skrev: > Hi Andrew, hi Claes , > > I'm very new here, but experimented with HAv2 on SLES10 the last > days. > I found something similar. Is it possible that crm_mon says > that there is a resource because it finds one in the > LRM tree of the CIB? > > When I delete a resource with crm_resource, the LRM part is there > until I do a crm_resource -C. > > Probably it helps. > > Best regards > Andreas Mock > > > >>>> "Andrew Beekhof" <[EMAIL PROTECTED]> 04.06.2007 14:49 >>> >>>> > On 6/4/07, Claes Lindvall <[EMAIL PROTECTED]> wrote: > >> Im running heartbeat 2.0.7-1.2 on a Suse Enterprise Server 10. >> When I remove a resource with cibadmin the crm_mon is not updated in its >> monitoring. >> It is removed if I check with cibadmin -Ql or just cat cib.xml. And if I >> query with >> crm_resource -L it says that there are no resources, but still crm_mon >> insists that >> there is one. >> Do I need to refresh something and how do I do that? >> > > normally it will refresh automatically, with whatever interval you specified. > > do you have the output from cib_mon? > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > > > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
