This repository has been archived by the owner on Jul 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
Ingest lnet data from storage servers into management db #2362
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sample output from the postgres database after ingesting lnet data from the storage servers:
|
johnsonw
force-pushed
the
lnetctl-net-output
branch
from
November 3, 2020 22:05
1e41351
to
98ba646
Compare
ip1981
reviewed
Nov 4, 2020
ip1981
previously approved these changes
Nov 4, 2020
johnsonw
force-pushed
the
lnetctl-net-output
branch
2 times, most recently
from
November 4, 2020 22:31
b0b8b3d
to
e924fc2
Compare
Two tables are created and updated according to the lnet data spanning across the storage servers:
The nid table contains all of the nid information for a particular host. There will likely be multiple entries for a single host. The lnet table on the other hand, will have a single entry for each host and contain a list of nid id's the correspond to the matching nids for the host in context. Example output:
|
ip1981
reviewed
Nov 5, 2020
As discussed, I added
|
johnsonw
force-pushed
the
lnetctl-net-output
branch
from
November 11, 2020 16:39
f5d39de
to
90ea347
Compare
jgrund
reviewed
Nov 15, 2020
jgrund
reviewed
Nov 15, 2020
johnsonw
force-pushed
the
lnetctl-net-output
branch
from
November 17, 2020 16:36
9874445
to
bc5d660
Compare
johnsonw
force-pushed
the
lnetctl-net-output
branch
from
November 18, 2020 16:32
bc5d660
to
27d48d0
Compare
In addition to collecting network interface information we should also collect lnet data from `lnetctl net show` from each storage server. This information should then be ingested into the database on the manager through the iml-network service. Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
… would require an update to rabbit. This is also testing the ids coming back from the instert. Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
… are removed. influx stats should also be removed. Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
Signed-off-by: johnsonw <wjohnson@whamcloud.com>
…nd don't make the host_id unique on the lnet table. Signed-off-by: johnsonw <wjohnson@whamcloud.com>
…t is removed. Signed-off-by: johnsonw <wjohnson@whamcloud.com>
…entries) from influx associated with the removed host. Signed-off-by: johnsonw <wjohnson@whamcloud.com>
johnsonw
force-pushed
the
lnetctl-net-output
branch
from
November 18, 2020 19:18
27d48d0
to
b0c7c6a
Compare
jgrund
approved these changes
Nov 19, 2020
nlinker
approved these changes
Nov 19, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In addition to collecting network interface information we should also
collect lnet data from
lnetctl net show
from each storage server. Thisinformation should then be ingested into the database on the manager
through the iml-network service.
Signed-off-by: johnsonw wjohnson@whamcloud.com
This change is