pcp
[Top] [All Lists]

IB pmda and writing out the default config file

To: pcp@xxxxxxxxxxx, Max Matveev <makc@xxxxxxxxx>
Subject: IB pmda and writing out the default config file
From: Martin Hicks <mort@xxxxxxx>
Date: Mon, 8 Jun 2009 12:18:28 -0500
User-agent: Mutt/1.5.17 (2007-11-01)
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

<Prev in Thread] Current Thread [Next in Thread>