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: Szymon Trocha <>
  • To: "Jennewein, Douglas M" <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Adding host MA to central mesh config
  • Date: Mon, 12 Sep 2016 09:33:14 +0200
  • Ironport-phdr: 9a23:l7TnkBcKbQq/PRedfVC2SgY3lGMj4u6mDksu8pMizoh2WeGdxc67bR7h7PlgxGXEQZ/co6odzbGJ4+a9AidZvN6oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUj22Dwd+J/z0F4jOlIz3krnqo9yAKzlP0XCfbLV0IQq7rAOV/uURnIRmI71571GB9ldPZusQ525uI1+Mkhf6ztqr8Nhu/zkG6Nw78MsVarfreqM+BYBCCz8mOihh/9/6sB7FCxeV4XAcW00TmxwOGw/X6hj8GI/15Hip/tFh0TWXaJWlBYs/Xi6vuuIyEEfl
  • Organization: PCSS

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