|
adilger,
What kind of OSC and MDC import states on the client should be printed by health_check? Is the following format OK?
|
|
This over laps with something Andreas suggested. In that we create two files for the health_checker. One to report the health and the second in debugfs that has more in depth details why it failed.
|
|
James, why not just move the whole file to debugfs? There are already "lfs osts}" and "{{lfs mdts" commands to print this state for users, the "health_check" file is mostly for HA monitoring scripts.
|
|
Hmm, looking at this more closely, it seems that the health_check file never prints anything but "health=healthy" even on the server under normal circumstances, and I guess this shouldn't change. If there is a problem it will print "LBUG" or "NOT HEALTHY". What is more important is that the client report "health=NOT HEALTHY" if the import states are bad, not that individual connection states are printed.
|
|
Link the work of LU-10756 since a patch exist that send uevents about the client imports state. Admins can setup udev rules to log or handle specific states. That is a more dynamic approach. We can supply more in depth information related to this ticket.
|
Generated at Sat Feb 10 02:19:02 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.