Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Triying to configure Centralil configuration for Beacon and Maddash

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Triying to configure Centralil configuration for Beacon and Maddash


Chronological Thread 
  • From: Szymon Trocha <>
  • To:
  • Cc:
  • Subject: Re: [perfsonar-user] Triying to configure Centralil configuration for Beacon and Maddash
  • Date: Fri, 24 Mar 2017 12:22:04 +0100
  • Ironport-phdr: 9a23:RfLQbx9C5F9l6f9uRHKM819IXTAuvvDOBiVQ1KB32uIcTK2v8tzYMVDF4r011RmSDNidtK8P0beempujcFRI2YyGvnEGfc4EfD4+ouJSoTYdBtWYA1bwNv/gYn9yNs1DUFh44yPzahANS47xaFLIv3K98yMZFAnhOgppPOT1HZPZg9iq2+yo9ZDeZwVFiCC/bL5yIxm6swXcvdQKjIV/Lao81gHHqWZSdeRMwmNoK1OTnxLi6cq14ZVu7Sdete8/+sBZSan1cLg2QrJeDDQ9LmA6/9brugXZTQuO/XQTTGMbmQdVDgff7RH6WpDxsjbmtud4xSKXM9H6QawyVD+/6apgVR3mhzodNzMh8G/Zl9J+jKxcoByiqRJwzYHbb4OJO/RxZa7dfdAXSHBdUspNWSFMAIWxZJYPAeobOuZYqpHwqUYPrBq+AAmsA+XvwSJWiH/s2q01z+QhHhvb1wEnBNIPsXTVrNDyNKcUS+y10LPIzTLfYPNWwzjw843IfQonof2WRbJwdsvQyU81GAPDlFmQsYjlMiqT2+8QvWab6O9gWviui24hswx9vzyiy8k2hoTGgo8Z0E3I+CV9zYovONG1S012bca+EJROsSGVLZd2Td04Q21ytiY60KUKuYancygR05Qr3Qbfa/iBfoOV4RzjTP6cLSlkiH55Zb6yghW//VSjx+D5U8S4zVRHoyRAn9XRq3wBzwHf58ibRvdn4Eus2TmC2xrO5uxGPUw4j6vWJp4nz7UtjJQcq17DETXzmEjujK+ZaEEk+u+w5uv8fLrmvIKcN4tuhQ3kN6QhgMq/Df4gMggJXmmb//6z1Lv58U3hRLVGlvw2kq/Hv5DGPckXuLK1DxNI3osm6BuzEzSr3dEdkHUaLl9IdheKg5X0N13WJfD3F/a/g1CikDdxwPDGO6XsAo7ML3nDlbfherB951RAyAopytBQ+5JUBasaLfL2QEDxssbUDgc+Mw21xeboEtN92pkGWWKLGqOZKr/dsUeU5uIzJOmBfJcVtyjnK/gr/P7uink5lkUHfaWwwJsXc263Hu59LkWdYHrsmcsBEXwUsgYkTezqjkGCXiBJZ3a0Qa08+i83BJi4AojeW4D+yICGiT22GJRQIHhGC1SNCW/lX5+JXf4QZTjULNUyvCYDUO2aWZ4k0hfmiBX9wLpuZr7P6DwdspSlyMJy7O3avRQ783psCNab2mfLV2UizTBAfCM/wK0q+R818VyEy6Ut2/E=
  • Organization: PCSS

Hi Renan,

W dniu 24.03.2017 o 11:28, Renan PHILIPPE pisze:
Both, Dashboard and configuration beacon are based on the same JSON file, correct?
I have created a JSON file called confmesh.json available on https://193.49.159.188/confmesh.json.
You can see in it that I created 3 entry for hosts(193.49.159.188 on which I have installed persfonar and maddash, 195.221.27.242 which the remote beacon of a partner, and the last called th2-pp-c6-perfsonar-01.renater.fr which will be one on my futur beacon to deployed)

When I execute the generation of configuration for dashboard and configuration to be published for beacon, I have the following errors.

  • [root@ix1-pp-c6-perfsonar-01 /]# /usr/lib/perfsonar/bin/generate_gui_configuration
    2017/03/24 11:24:04 (135313) ERROR> GUIAgent.pm:285 perfSONAR_PS::MeshConfig::GUIAgent::__generate_maddash_config - Problem generating maddash configuration: Couldn't find ma for host: perfSONAR_PS::MeshConfig::Config::Address=HASH(0x43877e0) at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/MeshConfig/Generators/MaDDash.pm line 291.
    2017/03/24 11:24:04 (135313) ERROR> GUIAgent.pm:231 perfSONAR_PS::MeshConfig::GUIAgent::__configure_guis - Problem generating maddash configuration: Problem generating maddash configuration: Couldn't find ma for host: perfSONAR_PS::MeshConfig::Config::Address=HASH(0x43877e0) at /usr/lib/perfsonar/bin/../lib/perfSONAR_PS/MeshConfig/Generators/MaDDash.pm line 291.
    [root@ix1-pp-c6-perfsonar-01 /]#

your json file is missing "measurement_archives" section. json file is generated on a central server (Maddash server in your case) based on your mesh description in /etc/maddash/maddash-server/YOUR_MESH_mesh_config.conf (using /usr/lib/perfsonar/bin/build_json -o /YOUR_JSON_LOCATION/YOUR_JSON_FILE.json /etc/maddash/maddash-server/YOUR_MESH_mesh_config.conf). Can you show the YOUR_MESH_mesh_config.conf file?

Then you generate Maddash GUI configuration with /usr/lib/perfsonar/bin/generate_gui_configuration which result in .yaml file consumed by GUI

To make things easier before generating GUI config it's good to clear th default yaml file (/etc/maddash/maddash-server/maddash.yaml) and put there just this content:

# Set the directory where the database will be stored
database: /var/lib/maddash/
##
# Set the host where the REST server listens
serverHost: "localhost"
##
# Activate http and set the port where it listens
http:
    port: 8881
serverHost: localhost


Regards,
-- 
Szymon Trocha

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



Archive powered by MHonArc 2.6.19.

Top of Page