Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Adding host MA to central mesh config

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Adding host MA to central mesh config


Chronological Thread 
  • From: "Jennewein, Douglas M" <>
  • To: Andrew Lake <>, Szymon Trocha <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Adding host MA to central mesh config
  • Date: Thu, 15 Sep 2016 20:21:44 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:SkECThJddnKTAG5hM9mcpTZWNBhigK39O0sv0rFitYgULvrxwZ3uMQTl6Ol3ixeRBMOAtKIC1rGd6v2ocFdDyKjCmUhKSIZLWR4BhJdetC0bK+nBN3fGKuX3ZTcxBsVIWQwt1Xi6NU9IBJS2PAWK8TWapAQfERTnNAdzOv+9WsuL15z2hKiO/Mj6ZQlSiSX1RbpxIV3ipAPdp+Ebms1kJ7pnjlPysGpNfOIe+XlvLlKa10Ln9Na1+5gl7z5XsPIo38tJV+PieLY+RLoeFDBwYE4v48i+/zvOSw2C+XYdVCFevh1VDAzM91nfFN+lniznuaxf1S+cMNL7TLYcRC+uqapnVUm72288Kzcl/TSP2YRLh6VBrUfk/kQnzg==

No, it is CentOS 6.8.

-- 
Doug 

On September 15, 2016 at 3:12:54 PM, Andrew Lake () wrote:

Is this a debian host? If so, see Antoine’s previous note to the list this afternoon on how to downgrade. 


On September 15, 2016 at 4:01:20 PM, Jennewein, Douglas M () wrote:

The central mesh config is located here: https://perfsonar-management.usd.edu/usd-mesh.json

The configured tests seem to work normally.

I am attempting to specify (in the above central mesh config) a measurement archive for one of the hosts, authenticated by IP address.

To the best of my knowledge, no data is being archived: http://perfsonar-management.usd.edu/esmond/perfsonar/archive/ contains no data. And on the measurement host, /etc/perfsonar/regulartesting.conf contains only <measurement_archive> entries for localhost.

There is an additional problem: my measurement host just auto-updated to PS 4.0 and now /usr/lib/perfsonar/bin/generate_configuration no longer exists!

[root@vlan35-35-36 ~]# /usr/lib/perfsonar/bin/generate_configuration

-bash: /usr/lib/perfsonar/bin/generate_configuration: No such file or directory

[root@vlan35-35-36 ~]# 


-- 
Doug

On September 12, 2016 at 2:33:47 AM, Szymon Trocha () wrote:

Hi Doug,

W dniu 10.09.2016 o 00:06, Jennewein, Douglas M pisze:
I am trying to add a central MA to a <host> entry in an existing central mesh config file.

Just to understand - are you trying to build a central configuration file to be published and consumed by MPs (as json file) or are you trying to configure a regular testing file on a single MP by hand?


The docs here (http://docs.perfsonar.net/multi_ma_install.html) show measurement_archive sections containing type, username, database, password, where type is something like esmond/latency, followed by a bunch of <summary> sections.

These are entries for local storage (in addition to central MA) - see database URL. There are autheticated by esmond key i.e. password.
According to the above page data storage in a central MA are auithenticated by IP of MPs or username/key. What is your choice?


ESnet examples like https://github.com/esnet/esnet-perfsonar-mesh/blob/master/conf/osc-mesh.conf show only type, read_url, and write_url, and type is something like perfsonarbuoy/owmp, with no <summary> sections.

This is a central configuration file published somewhere in a central server, converted to json file. This file is then consumed by MPs participating in a mesh and appropriate entries are then added to hosts's regulartesting.conf.



My measurement host’s /etc/perfsonar/regulartesting.conf has a measurement_archive section like this:
<measurement_archive>
    password   xxxxxxxxxx
    <summary>

So this is local storage.
In case you want to store data to remote central MA you would need to add another entries pointing to remote host. But again this is usually done automatically when publishing a central mesh config file.


When I try to add a <measurement_archive> section to my central config file, I get errors from build_json when including the password or database attributes:
2016/09/09 16:44:07 (13648) ERROR> Utils.pm:80 perfSONAR_PS::MeshConfig::Utils::load_mesh - Invalid mesh configuration: Unknown attribute: password at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/MeshConfig/Config/Base.pm line 172.
Resulting mesh is invalid: Invalid mesh configuration: Unknown attribute: password at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/MeshConfig/Config/Base.pm line 172.

When I configure the <measurement_archive> section with type, read_url, and write_url, build_json does not complain, but the measurement_archive is not added to my measurement host’s /etc/perfsonar/regulartesting.conf after running /usr/lib/perfsonar/bin/generate_configuration.

Look at your /etc/perfsonar/meshconfig-agent.conf file. Do you have configure_archives set to 1? If not change it and then try again to generate.



What is the config file syntax for adding a measurement_archive to a host defined in a mesh?
 



It would be much easier when you post a central mesh config file so that we can have a look.

Regards,

--
Szymon Trocha

Poznań Supercomputing & Networking Center
Tel. +48 618582022 ::: http://noc.pcss.pl



Archive powered by MHonArc 2.6.19.

Top of Page