Skip to content
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

[RFE] Advance options in RHDS Disk Monitoring Framework #4013

Closed
389-ds-bot opened this issue Sep 13, 2020 · 6 comments
Closed

[RFE] Advance options in RHDS Disk Monitoring Framework #4013

389-ds-bot opened this issue Sep 13, 2020 · 6 comments
Labels
closed: fixed Migration flag - Issue RFE Request for Enhancement
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/50960


Issue Description

Assuming the threshold is set for 50 MB, as soon the disk space is less than 50 MB, 389 DS will stop logging & when disk space is half the threshold i.e. 25MB ds will shut down, In this case, the application will come into the picture and in order to self heal, Try to start the ds, Since disk space is still an issue, 389 DS will again shut down the service & smanager will try to start it again. Well in this cycle, There is often chances data will get corrupt.
This RFE is opened to make rhds disk monitororing more robust.

Add two attributes to cn=config:

  • nsslapd-disk-monitoring-readonly-on-threshold - it accepts 'on/off' values and changes the original behavior so when we reach the threshold, we set the read-only mode (and then we do other actions - like disable non-critical logging, etc.). When we reach half of the threshold, we start the graceful shutdown as it was before. We don't start up if the disk space is still below half of the threshold.

  • nsslapd-disk-monitoring-shutdown-script - this attribute accepts a path to a script (any executable) which will be run at the moment of a graceful shutdown at half of the threshold (it will be run as the user who runs ns-slapd process). It will allow initiating the process which can take a backup, send mail to an admin about disk space alarm or any other custom command.

@389-ds-bot 389-ds-bot added closed: fixed Migration flag - Issue RFE Request for Enhancement labels Sep 13, 2020
@389-ds-bot 389-ds-bot added this to the 1.4.3 milestone Sep 13, 2020
@389-ds-bot
Copy link
Author

389-ds-bot commented Sep 13, 2020

Comment from spichugi (@droideck) at 2020-03-17 13:25:59

#4014

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2020-03-17 13:26:00

Metadata Update from @droideck:

  • Custom field origin adjusted to None
  • Custom field reviewstatus adjusted to None

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2020-03-17 13:26:22

Metadata Update from @droideck:

  • Issue assigned to droideck

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2020-03-17 13:26:29

Metadata Update from @droideck:

@389-ds-bot
Copy link
Author

Comment from mreynolds (@mreynolds389) at 2020-03-19 16:46:56

Metadata Update from @mreynolds389:

  • Issue priority set to: major
  • Issue set to the milestone: 1.4.3

@389-ds-bot
Copy link
Author

Comment from spichugi (@droideck) at 2020-06-24 16:22:54

Metadata Update from @droideck:

  • Issue close_status updated to: fixed
  • Issue status updated to: Closed (was: Open)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue RFE Request for Enhancement
Projects
None yet
Development

No branches or pull requests

1 participant