pcp
[Top] [All Lists]

Re: pmlogger for multiple remote machines

To: Troy Dawson <dawson@xxxxxxxx>
Subject: Re: pmlogger for multiple remote machines
From: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Date: Tue, 20 Jun 2000 05:08:38 +1000
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
In-reply-to: <394E1D03.9D388A31@fnal.gov>
Sender: owner-pcp@xxxxxxxxxxx
On Mon, 19 Jun 2000, Troy Dawson wrote:
> Hello,
> I'm trying to set up pmlogger to work so that I have one central logging
> machine for a couple hundred remote machines all using pcp. ...

Most excellent.  This is one of the pmlogger deployment options that
I personally favour.

> ... I've looked
> through all the man pages and the online documentation.  It explains how to do
> it, the only problem is that when it gives any examples, it only gives it for
> one remote machine, which is a bit frustrating, because going from one to two,
> there could be alot of different things to change.

Good point.  I'll add this to the TODO list for the next rev of the
PCP User and Admin Guide.  For those that have not found this document yet,
try this long URL ...
        
http://techpubs.sgi.com/library/dynaweb_bin/ebt-bin/0620/nph-infosrch.cgi/infosrchtpl/SGI_Admin/PCP_UAG/@InfoSearch__BookTextView/11377?DwebQuery=PCP

The changes will be small, though.  At the end of 7.3.2 add this

    To create archive logs on the local host for performance metrics
    collected from multiple remote hosts, repeat steps 1. to 5. above
    for each host.

> Basically my problem is this, all I'm getting logged is my primary machine,
> and not the remote machines.  I can get access to the remote machines through
> other means (pminfo) but the logger doesn't seem to want to.
> 
> This is what my files look like
> ----------------------------------
> /var/pcp/config/pmlogger/control
> ----------------------------------
> *comments removed*
> fncdf1  n       y       /export/farms/pcplogger/cdf/fncdf1      -c
> /var/pcp/config/pmlogger/config.farmworker
> fncdf2  n       y       /export/farms/pcplogger/cdf/fncdf2      -c
> /var/pcp/config/pmlogger/config.farmworker
> ...*bunches more*...
> fncdf47 n       n       /export/farms/pcplogger/cdf/fncdf47     -c
> /var/pcp/config/pmlogger/config.farmworker
> fncdf48 n       n       /export/farms/pcplogger/cdf/fncdf48     -c
> /var/pcp/config/pmlogger/config.farmworker 
> ...*bunches more*...
> LOCALHOSTNAME   y   n   /var/log/pcp/pmlogger/LOCALHOSTNAME   -c
> config.default

Do you need pmsocks for fncdf1 and fncdf2?  Otherwise this looks OK to me.

> ---------------------------------------
> /var/pcp/config/pmlogger/config.default
> ...
> /var/pcp/config/pmlogger/config.farmworker

These both seems OK.

> Does anyone see what I'm doing wrong.  I've tried doing 
> both n and y for the secondary logger.  The logger does
> create the directories (/export/farms/pmlogger/cdf/fncdfxx)
> but it doesn't every put anything in them.

You definitely need "n" in the second field of the control file for
each remote host.

With everything setup, can you please send me the output from running
the commands

        # pmlogger_check -V

as root, and then

        $ pminfo -f pmcd.pmlogger
        $ ls -laR /export/farms/pcplogger/cdf


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