On Wed, Apr 16, 2008 at 1:44 PM, Steinhauer Juergen <[EMAIL PROTECTED]> wrote: > Andrew Beekhof schrieb: > > > > > On Tue, Apr 15, 2008 at 10:37 AM, Steinhauer Juergen <[EMAIL PROTECTED]> > wrote: > > > > > > > Hi, > > > > > > it seems like heartbeat has not yet implemented the "reload" function; > it > > > simply start/stops the resource. Unfortunately, if I set the target_role > > > again to "started" the resource is restarted again. > > > Can this behaviour been changed so that the resource keeps running? > > > > > > > > > > actually it is implemented - just not that way > > > > you have to advertise the reload function in the RA (see the Dummy RA). > > you also have to set unique=0 for any attribute that causes a reload > > instead of a restart when changed. > > > > then, to cause a reload, just change the attribute you indicated > > > > > I implemented a "reload" function in the OCF agent, but if I set the > target_role to "reload" nothing happens (beside a CIB update).
who said anything about setting the target_role? > > According to > http://hg.clusterlabs.org/pacemaker/dev/file/tip/xml/crm-1.0.dtd the > "reload" function is not implemented... ? there is no part of the dtd that specifies what the operations are called > > Nevermind. Thanks for your answer. > > Regards. > > > > _______________________________________________ > 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
