Mailing List Archive

Manual resource reload
Hi,

cannot find anywhere (am I blind?), is it possible to manually inject
'reload' op for a given resource?

Background for this is if some configuration files are edited, and
resource-agent (or LSB script) supports 'reload' operation, then it
would be nice to have a way to request that reload to be done without
change of resource parameters.

Best,
Vladislav

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Re: Manual resource reload [ In reply to ]
On 11 Feb 2014, at 2:49 am, Vladislav Bogdanov <bubble@hoster-ok.com> wrote:

> Hi,
>
> cannot find anywhere (am I blind?), is it possible to manually inject
> 'reload' op for a given resource?
>
> Background for this is if some configuration files are edited, and
> resource-agent (or LSB script) supports 'reload' operation, then it
> would be nice to have a way to request that reload to be done without
> change of resource parameters.

sounds like a reasonable feature request for crm_resource
Re: Manual resource reload [ In reply to ]
17.02.2014 04:11, Andrew Beekhof wrote:
>
> On 11 Feb 2014, at 2:49 am, Vladislav Bogdanov <bubble@hoster-ok.com> wrote:
>
>> Hi,
>>
>> cannot find anywhere (am I blind?), is it possible to manually inject
>> 'reload' op for a given resource?
>>
>> Background for this is if some configuration files are edited, and
>> resource-agent (or LSB script) supports 'reload' operation, then it
>> would be nice to have a way to request that reload to be done without
>> change of resource parameters.
>
> sounds like a reasonable feature request for crm_resource

Filed as cl#5198.
http://bugs.clusterlabs.org/show_bug.cgi?id=5198

Thanks,
Vladislav


_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org
Re: Manual resource reload [ In reply to ]
On Sun, Feb 16, 2014 at 7:11 PM, Andrew Beekhof <andrew@beekhof.net> wrote:

>
> On 11 Feb 2014, at 2:49 am, Vladislav Bogdanov <bubble@hoster-ok.com>
> wrote:
>
> > Hi,
> >
> > cannot find anywhere (am I blind?), is it possible to manually inject
> > 'reload' op for a given resource?
> >
> > Background for this is if some configuration files are edited, and
> > resource-agent (or LSB script) supports 'reload' operation, then it
> > would be nice to have a way to request that reload to be done without
> > change of resource parameters.
>
> sounds like a reasonable feature request for crm_resource
>

In init.d or systemctl camp, most service has "reload" command.
I like to run "pcs resource reload httpd" or "pcs resource reload
NagiosServer" resources when their configure files changed.

Do I need to submit RFE somewhere ?



>
> _______________________________________________
> Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org
>
>


--
T.J. Yang