SONiC
SONiC copied to clipboard
High-level Design of Storage Monitoring Daemon
This PR is intended to harden the high-level design of a newly-proposed Storage monitoring daemon.
| Repo | PR Title | State |
|---|---|---|
| sonic-platform-common | Support for several static and dynamic attrs as part of storagemnd implementation | Review |
| sonic-platform-daemons | Implementation of a Monitoring Daemon for storage devices in SONiC switches | Review |
| sonic-buildimage | A bind-mount from pmon container to host directory | Draft |
| sonic-utilities | Sync FS I/O reads/writes just before OS-level reboot | Draft |
[List of changes]
- Added new directory for storagemond
- Added images directory within storagemond directory
- Added HLD MD file for storagemond
Signed-off-by: Ashwin Srinivasan [email protected]
@assrinivasan please add the PR link to the description of this PR
@assrinivasan please add the PR link to the description of this PR
done.
@assrinivasan Can you draw a class inheritance diagram to show StorageDevices, SSdBase, SsdUtil, EmmcUtil, etc
Done in latest commit
Community review recording https://zoom.us/rec/share/_2364XvdG1EZbkV2aKq7zwXwu2cm-lCXoDQJbHbwEhgqqwCS9rHGGJiqJYFVWmWC.feJIB4_RHzx2EevX
Comments from community review:
- Handle upgrade & schema change scenario as it pertains to fsstats files in the bind mount directory (protobuf)
- Guard against infinite size increase to the fsstats file by changing the file format to JSON
@assrinivasan the core algorithm for updating the stats is pending. the 202405 branch where this feature needs to be in will be created by 05/31 and porting this thereafter will be difficult. FYI
@assrinivasan the core algorithm for updating the stats is pending. the 202405 branch where this feature needs to be in will be created by 05/31 and porting this thereafter will be difficult. FYI
@assrinivasan this include HLD+Code PRs as well
@assrinivasan the core algorithm for updating the stats is pending. the 202405 branch where this feature needs to be in will be created by 05/31 and porting this thereafter will be difficult. FYI
Hi @prgeor , this is added in the latest commit. Thanks!
@prgeor can you please double check if the 1 open code PR can be merged today? Otherwise, we will move to backlog for future release.
Hi @zhangyanzhao -- all PRs have been merged.