-
Notifications
You must be signed in to change notification settings - Fork 24
DOCTEAM-1985 diskless SBD #629
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
Conversation
| </screen> | ||
| <para> | ||
| The output of this command shows the enabled settings in the | ||
| <filename>/etc/sysconfig/sbd</filename> file and the &sbd;-related cluster settings. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since SLE 16.1 (crmsh upstream PR ClusterLabs/crmsh#2003), crmsh includes a new interface: crm cluster sbd health, which checks whether SBD (both disk-based and diskless) timeout-related configurations and cluster properties are properly configured.
This interface is also automatically invoked when running crm sbd configure show and crm sbd status. If everything is configured correctly, it will show this at the end of output:
INFO: SBD: Check sbd timeout configuration: OK.
; otherwise, warnings and errors will be shown.
Example:
# crm sbd configure show
...
<normal output of sbd configure show>
ERROR: It's recommended that SBD_DELAY_START is set to 71, now is 40
WARNING: It's recommended that stonith-timeout is set to 71, now is 100
INFO: Please run "crm cluster health sbd --fix" to fix the above error on the running cluster
ERROR: SBD: Check sbd timeout configuration: FAIL.
In this documentation, I suggest mentioning that crmsh will check the health of SBD configuration when running crm sbd configure show and crm sbd status, and will display warnings and errors if something is configured incorrectly.
Alternatively, users can run crm cluster sbd health directly to obtain the same results.
Example:
# crm cluster health sbd
ERROR: It's recommended that SBD_DELAY_START is set to 71, now is 40
WARNING: It's recommended that stonith-timeout is set to 71, now is 100
INFO: Please run "crm cluster health sbd --fix" to fix the above error on the running cluster
ERROR: SBD: Check sbd timeout configuration: FAIL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And if you mentioned this on this diskless DOC, please remember to add the same description on the disk-based SBD DOC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, should this part be the job of another PED task of DOC?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @liangxin1300, that's a cool feature! I agree that it should be a separate doc task for 16.1, as I'll be backporting this PR to 16.0 as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or, should this part be the job of another PED task of DOC?
@zzhou1
It makes sense for HA 16.1. Here you go: https://jira.suse.com/browse/PED-15185
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @zzhou1 :)
|
Other parts looks good to me |
dariavladykina
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
lvicoun
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Thalia,
LGTM. Thanks!
* Test and complete diskless SBD article jsc#DOCTEAM-1985 * Add back-up full version of SBD * Update abstracts * Add some conditions for diskless/diskbased
PR creator: Description
Now that bsc#1248874 is fixed, I've re-tested and completed the article for adding diskless SBD to a running cluster.
I also edited the abstracts of similar articles to be more like this one.
PDF:
HA-sbd-configuring-diskless_en.pdf
PR creator: Are there any relevant issues/feature requests?
PR reviewer: Checklist for editorial review
Apart from the usual checks, please double-check also the following: