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: Andrew Lake <>
  • To: "Jennewein, Douglas M" <>, Szymon Trocha <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Adding host MA to central mesh config
  • Date: Thu, 15 Sep 2016 13:33:20 -0700
  • Ironport-phdr: 9a23:8I3dfxMo0ryVq3uJPCkl6mtUPXoX/o7sNwtQ0KIMzox0KPj9rarrMEGX3/hxlliBBdydsK0UzbeN+Pm9EUU7or+/81k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i76xXcoFx7+LQt4IPjuUs6X1pzvlrP6x5qGKSdFgjywfr5zKlH+gQLMuc0fmsNHYO5lxhzUrT1KduJQyHxlJFS7gg3woMq84cgnux9Cqvcm8YZ8S6Lxf61wGadKHTEhNSYp/srgtRDrSAKJoGMbQGMflFxQB16Wwgv9W8LYtCfgu/U1/CCZMIWiRLY4SByv9OFtRQO+23RPDCIw7GyC0p84t6lcuh/04kUnm4M=
  • Ironport-phdr: 9a23:FCxcWxXQsmQMUr/Yqu0NF8uux6bV8LGtZVwlr6E/grcLSJyIuqrYZxCEt8tkgFKBZ4jH8fUM07OQ6PG5HzNdqs/d7jhCKMUKDE5dz51O3kQJO42sMQXDNvnkbig3ToxpdWRO2DWFC3VTA9v0fFbIo3e/vnY4ExT7MhdpdKyuQtaBx/q+2+36wZDPeQIA3GP7OuIrakrr5lyN6IFW2dIkcfdpjEOR4zNhQKd//StQP1WdnhLxtI+b3aVI1GBugc8n7NNKSq7gfq41HvRyBTUiNH0ptoWw7UGQBSPG3HYXU30XnxxUGECFqUiiBtai+hf946Bf1S+cMNL7TLZwERil8qhvQQSgrW1PYzI+7W6RiMF2iq9ErROnjwFkz8jZbJzDcLJFbLLYetVSeXBGVcZYH3haEJK5aI1JE/AGNuZRh4z0oR0Wqgm4DA/qHOe5mRFSgXqj9Ks2yek+WSXP3wFoS9sIvGX8oc6zMqoOB7PmhJLUxCnOOqsFkQz275LFJ1V4+amB

Then you’re pointing at the staging repo, which you shouldn’t be if you don’t want this type of thing to happen. generate_configuration is gone by design in 4.0 and is replaced by the perfsonar-meshconfig-agent daemon, we will be providing more details next week when we officially release 4.0. If you don’t want this type of thing to happen in the future I would recommend reinstalling the host. A default install will not install the package Internet2-repo-staging, it will just install Internet2-repo which is our production repository.

Thanks,
Andy 


On September 15, 2016 at 4:21:53 PM, Jennewein, Douglas M () wrote:

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