-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Backward compatibility and another fix #25
Backward compatibility and another fix #25
Conversation
…kward compatibility SBD_WATCHDOG option has been dropped from sbd.sysconfig example. Re-enabling the support only in the code for backward compatibility.
…tised in sysconfig.sbd "Default: yes" for SBD_PACEMAKER has always been advertised in the example sbd.sysconfig. This commit is to ensure that's true again. It can be disabled by either explicitly setting SBD_PACEMAKER=no in sysconfig or supplying "-P" option twice like "-P -P".
…-W" and "-w /dev/null" are both supplied
-c has never been in the man-page - bad enough - but since the default changes with this patch-set it probably should go to the man-page together with the change. |
Probably. It was introduced only in 1.3.0, but has never been exposed either from man page or --help. I guess Andrew added it for his own purpose of experiment :-) But I'm actually quite hesitating about how to expose such a new option that basically defaults to "enabled"... SBD_PACEMAKER is used for switching both "-P" and "-c", which kind of provides a way to disable it already. "-W" has been through the change of the default value: |
With pacemaker-checker now defaulting to 'on' cluster-checking implicitly changed the default as well. I was not thinking of the case where one would like to disable it but for the case where it should be enabled without the pacemaker-checker. This might me useful to a certain extent on remote-nodes to have it check for liveness of pacemaker-remote-daemon. Of course you are right that the help is missing '-c' as well ... I'm not sure if I understand you correctly here but the alternative to documenting '-c' would be to have it lurking around undocumented till eternity. And this can't really be the goal I guess. |
I mean I'm not sure if it's really necessary to expose this option at least for now... We'd probably like to avoid introducing unnecessary complexity to users unless we really have use cases that require cluster check to be disabled/enabled separately from pacemaker check. I'm probably missing anything, but AFAICT #14 requires pacemaker check, and cluster check doesn't have to be disabled for this case, right? But of course if we had any reasonable use cases, we'd probably even need to introduce a SBD_CLUSTER option for it in sbd.sysconfig. |
You are right #14 would require pacemaker-watcher. But unfortunately Andrew spotted a possible race - which is why it is not merged. So all we have so far is enabling cluster-watcher so that it at least checks for presence of pacemaker-remote-daemon. |
So that it's in conjunction with other descriptions about "Pacemaker integration" in the man page.
No description provided.