On Tuesday 18 September 2007, Junko IKEDA wrote:
> > > is there any way to change that value without restarting of the
>
> resource?
>
> > This is not tested - but i would think this may work:
> > 1. set the resource to "unmanaged"
> > crm_resource -r <resource> --meta -p "is_managed" -v "false"
> > 2. change the resource parameters
> > crm_resource -r <resource> -p "pair-name" -v "Right-Here-Change"
> > 3. set resource to managed again
> > crm_resource -r <resource> --meta -p "is_managed" -v "true"
>
> A promising approach!
> I followed the procedure with 2.1.2-2,
> but the resource have restarted unfortunately.
> It seemed like a good idea...
Maybe it helps when clear the LRM between step 2. and 3. with:
crm_resource -C -r <resource> -H <host where resource runs>

As far as I know heartbeat does not have the functioanlity to say:
 "I want to change the resource parameters but my resource (agent) does not 
need a restart to use the new parameters"

---> maybe a thing for the bugzilla-feature list.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to