[ctdb] 10.external not executable

Michael Adam obnox at samba.org
Thu Feb 11 11:38:06 UTC 2016


On 2016-02-11 at 12:32 +0100, Andreas Schneider wrote:
> Hi,
> 
> all scripts in ./ctdb/config/events.d/ are executable but 10.external isn't. 
> Is there a reason for that?

Yes. The execute bit is used to disable/enable scripts.
This is intentionally disabled by default.
Here is the commit message:

>> commit 3b25face87b01c3013cf40f4b54be0c58aff5b4b
>> Author:     Martin Schwenke <martin at meltin.net>
>> AuthorDate: Mon May 11 15:29:34 2015 +1000
>> Commit:     Amitay Isaacs <amitay at samba.org>
>> CommitDate: Wed May 13 06:42:13 2015 +0200
>> 
>>     ctdb-scripts: New eventscript 10.external
>>     
>>     This is an alternative to 10.interface and is installed as disabled by
>>     default.  It should only be used with DisableIPFailover=yes and when
>>     IP failover is being handled externally.  In this mode CTDB can be
>>     informed of public IP address movements using "ctdb moveip".
>>     
>>     During the "startup" event, this eventscript currently finds any
>>     public IP addresses configured in $CTDB_PUBLIC_ADDRESSES and tells
>>     CTDB which node they are on using "ctdb moveip".  This allows CTDB to
>>     send ARPs and tickle-ACKs.
>>     
>>     Pair-programmed-with: Amitay Isaacs <amitay at gmail.com>
>>     Signed-off-by: Martin Schwenke <martin at meltin.net>
>>     Reviewed-by: Amitay Isaacs <amitay at gmail.com>

Hope this helps.

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160211/2c281e5a/signature.sig>


More information about the samba-technical mailing list