Hi Max and list,
The infiniband PMDA, on it's first load, enumerates the local Infiniband
ports and, if a config file in /var/lib/pcp/pmdas/ib does not exist,
writes out a simple config file.
This creates certain problems if the HCA is replaced, since the GUIDs of
the local devices will change and the IB pmda will search the fabric for
non-existant GUIDs.
I think there are two ways to solve this, but I'm not sure which is
better:
- the first would be just to not write out a default config file.
Users who have written their own would at least know if the existance
of this config file and would figure out quickly to update it if they
changed their HCA.
- Or, the local port GUIDs would enver appear in the config file. The
config file would only contain additional (remote) GUIDs which should
be monitored by the PMDA.
Comments before I go ahead with submitting a patch?
thanks
mh
|