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

Report recovery status for MDT #27

Closed
wants to merge 1 commit into from

Conversation

ofaaland
Copy link
Contributor

Update the MDT cerebro metric to report the recovery status, from
the procfile recovery_status, as is already done for OSTs.

Move code to parse the procfile out of ost.c to enable it to be
used by mdt.c as well.

Define a version 2 of the lmt_mdt message, which includes the
recovery status field.

Define a parser for the lmt_mdt version 2 message, and modify ltop
to use the appropriate version.

When an MDT reports it is in RECOVERY, display a message in ltop
at the top of the window to the right of the filesystem name. If
more than one MDT is in recovery, the full status of the first one
encountered will be displayed. This allows the user to determine
whether the count of re-connected clients is increasing or not.

Update the protocol to include MDT recovery status.

Define a version 2 of the lmt_mdt message, which includes the
recovery status field.  Obtain the recovery status for MDTs from
the procfile recovery_status, as is already done for OSTs.

Move code to parse the procfile out of ost.c to enable it to be
used by mdt.c as well.

Define a parser for the lmt_mdt version 2 message, and modify ltop
to use the appropriate version.  Similarly update the cerebrod
monitor, lmt_mysql.

When an MDT reports it is in RECOVERY, display a message in ltop
at the top of the window to the right of the filesystem name.  If
more than one MDT is in recovery, the full status of the first one
encountered will be displayed.  This allows the user to determine
whether the count of re-connected clients is increasing or not.

Update the tests to reflect the protocol change.
@morrone
Copy link
Member

morrone commented Mar 17, 2016

Landed!

@morrone morrone closed this Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants