[ClusterLabs] nginx resource - how to reload config or do a config test

Jan Pokorný jpokorny at redhat.com
Thu Aug 10 20:07:07 UTC 2017


On 07/08/17 11:53 -0500, Ken Gaillot wrote:
> On Mon, 2017-08-07 at 16:32 +0200, Przemyslaw Kulczycki wrote:
>> 2) How do I do an nginx config test with the clustered resource?
>> 
>> 
>> I know I can do a "nginx -t", but is there an option to do it using
>> pacemaker/pcs commands on both nodes?
> 
> No, but that's OK. You don't want to start or stop or change the
> configuration without involving the cluster, but tests and checks are
> fine to run outside cluster control.

Unless, of course, these checks are inherently racy, which would
arguably be an agent's design flaw (e.g. writing semirandom data
to the same or not assuredly as of birth unique file and reading
them back for comparison).

-- 
Jan (Poki)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.clusterlabs.org/pipermail/users/attachments/20170810/9e725484/attachment-0002.sig>


More information about the Users mailing list