From infos at e-blokos.com Tue Jan 16 12:13:33 2018 From: infos at e-blokos.com (E-Blokos) Date: Tue, 16 Jan 2018 03:13:33 -0800 Subject: [Csync2] hot add/remove/maintenance host In-Reply-To: <20171225133434.GG4939@soda.linbit> References: <414f7618-4839-1c9b-d78e-0d0160268486@e-blokos.com> <20171225133434.GG4939@soda.linbit> Message-ID: <00b0fc9d-9c95-f3c7-3f05-81df50a7b064@e-blokos.com> Hi Lars, doing "touch /etc/csync2/csync2.lock" is unblocking? will csync2 will generate any error message when in cron? thanks On 12/25/2017 5:34 AM, Lars Ellenberg wrote: > On Sat, Dec 23, 2017 at 03:38:20AM -0800, E-Blokos wrote: >> Hello, >> >> is there any API/CLI command to put a host in maintenance/add/remove >> as hot plug? > I'm not sure I understand what you mean by that. > But as every help text and man page says: > > Csync2 will refuse to do anything > when a /etc/csync2/csync2.lock file is found. > > So maybe "touch /etc/csync2/csync2.lock" is what you want? > > Lars > > _______________________________________________ > Csync2 mailing list > Csync2 at lists.linbit.com > http://lists.linbit.com/mailman/listinfo/csync2 >