X-Spam-Checker-Version: SpamAssassin 3.3.0-rupdated (updated) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_00,FH_DATE_PAST_20XX autolearn=no version=3.3.0-rupdated Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o3DM0amL005927 for ; Tue, 13 Apr 2010 17:00:36 -0500 X-ASG-Debug-ID: 1271196149-3886030d0000-S8gJnT X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 86F8C12757A5 for ; Tue, 13 Apr 2010 15:02:30 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id 6e23wNPvTWYLjHXO for ; Tue, 13 Apr 2010 15:02:30 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 3C1488C50B3; Wed, 14 Apr 2010 08:02:28 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id fboPvGJEwHpJZ6ak; Wed, 14 Apr 2010 08:02:28 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id E88DFA5028C; Wed, 14 Apr 2010 07:59:26 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id F0E934884FC; Wed, 14 Apr 2010 08:02:27 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at aconex.com Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pyIoAyBTFrNe; Wed, 14 Apr 2010 08:02:23 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id 46471488231; Wed, 14 Apr 2010 08:02:23 +1000 (EST) Date: Wed, 14 Apr 2010 08:02:22 +1000 (EST) From: Nathan Scott To: kenj@internode.on.net Cc: pcp Message-ID: <378220262.614601271196142712.JavaMail.root@mail-au.aconex.com> In-Reply-To: <1271191628.24244.205.camel@bozo.localdomain> X-ASG-Orig-Subj: Re: Local context vs dynamic namespace Subject: Re: Local context vs dynamic namespace MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [220.237.111.48] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1271196151 X-Barracuda-Bayes: INNOCENT GLOBAL 0.2388 1.0000 -0.6300 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -0.63 X-Barracuda-Spam-Status: No, SCORE=-0.63 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.27416 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Ken McDonell" wrote: > Nathan, > > I know you don't particularly like the environment variable approach, > but following the $PCP_DERIVED_CONFIG example, we could introduce > $PCP_LOCAL_CONFIG that might specify the name of a file (perhaps > stashed > in $HOME/.pcp at the user's discretion) that contained local PMDA > specifications (in the syntax for __pmSpecLocalPMDA that was recently > created). > > So in your case, the file might contain > > clear > add,60,linux/pmda_linux,linux_init > add,70,mmv/pmda_mmv,mmv_init > add,123,aconex/pmda_aconex,aconex_init > > or indeed, simply take the default and add the aconex PMDA, as in > > add,123,aconex/pmda_aconex,aconex_init > > In some ways this is less ugly than the -K stuff for cases where the > set > of PMDAs you'd like to be available for PM_CONTEXT_LOCAL is > non-standard > and fixed. > > Thoughts? I was thinking something along those lines, but more system-wide than user specific. If we had a /etc/pcp.local.d/ directory, we could have the agent Install scripts drop a file in there in __pmSpecLocalPMDA format for dso agents, and we could ship a kernel and mmv one in there by default. Infiniband rpm installs could then drop one in there, and the cluster PMDA would be simplified a bit. We could also do away completely with dsotab in libpcp then... and fill that in "on the fly" based on contents of that directory. cheers. -- Nathan