pcp
[Top] [All Lists]

Re: [pcp] PMNS scope globality

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] PMNS scope globality
From: Mark Goodwin <mgoodwin@xxxxxxxxxx>
Date: Thu, 05 Apr 2012 10:07:40 +1000
In-reply-to: <20120404202551.GA29020@xxxxxxxxxx>
References: <20120404202551.GA29020@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1
On 04/05/2012 06:25 AM, Frank Ch. Eigler wrote:
Hi -

Can someone explain how come PMNS data is stored in libpcp on a
per-process basis (in libpcp/src/pmns.c:curr_pmns) rather than
per-context?  Does this not make it impossible to operate with
different PMNS setups with different contexts, e.g. if one makes one
connection to a remote server, and another to a local archive-v2 file?

Live/host mode uses a distributed pmns, so a host-mode connection
to a remote server uses the remote pmns (loaded by the remote pmcd)
via the PCP IPC protocol. An archive-mode context uses the local PMNS
from the archive. make sense??

Cheers
-- Mark

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