perfsonar-user - Re: [perfsonar-user] Can't find MA for host using dynamic mesh
Subject: perfSONAR User Q&A and Other Discussion
List archive
- From: "Andrew Lake" <>
- To: "Remsik,Robert" <>
- Cc:
- Subject: Re: [perfsonar-user] Can't find MA for host using dynamic mesh
- Date: Fri, 23 Oct 2015 13:04:04 -0700 (PDT)
On Fri, Oct 23, 2015 at 3:24 PM, Remsik,Robert <> wrote:
My statically defined json(in case we need a reference):
http://perfsonar1.research-lan.colostate.edu/research.json
Dynamically created Json:
http://perfsonar1.research-lan.colostate.edu/dyn.json
json for the hosts:
https://perfsonar1.research-lan.colostate.edu/auto.json
No problem!
Robert Remsik
ACNS
Cell: 970 213 7219
From: Andrew Lake <>
Sent: Friday, October 23, 2015 12:59 PM
To: Remsik,Robert
Cc:
Subject: Re: [perfsonar-user] Can't find MA for host using dynamic meshHi Robert,Could you send me a link to the generated JSON (or attach it into a file if its firewalled off)? It looks like in theory it should be able to find an MA as you said.Thanks,AndyOn Fri, Oct 23, 2015 at 1:32 PM, Remsik,Robert <> wrote:
Hello!
I'm trying to use a dynamic mesh to run tests on and update maddash to display with no luck so far. Any help is appreciated.
I'm getting the below error when I try to run ( /opt/perfsonar_ps/mesh_config/bin/generate_gui_configuration ) to update maddash. When I run generate_configuration I don't notice the tests being created. My hunch is it's the lookup_hosts file not providing the correct measurement archive, but I think I've asked all the hosts to point to perfsonar1-research-lan.colostate.edu instead of using their local MAs(which would be cool to do as well).
perfsonar1.research-lan.colostate.edu/dyn.json - dynamic tests
perfsonar1.research-lan.colostate.edu/auto.json - list of hosts
2015/10/23 11:25:52 (8008) 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(0xa951770) at /opt/perfsonar_ps/mesh_config/bin/../lib/perfSONAR_PS/MeshConfig/Generators/MaDDash.pm line 291.2015/10/23 11:25:52 (8008) 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(0xa951770) at /opt/perfsonar_ps/mesh_config/bin/../lib/perfSONAR_PS/MeshConfig/Generators/MaDDash.pm line 291.
lookup_hosts.conf file:
ls_instance http://ps-west.es.net:8090/lookup/recordsls_instance http://ps-east.es.net:8090/lookup/records<query>service_type bwctl<filter>filter_key group-communitiesfilter_value frgp</filter><output_settings>organization_name FRGP<measurement_archive>type perfsonarbuoy/bwctltype tracerouteread_url http://perfsonar1.research-lan.colostate.edu/esmond/perfsonar/archivewrite_url http://perfsonar1.research-lan.colostate.edu/esmond/perfsonar/archive</measurement_archive>organization_tag frgpsite_tag bwctl_sitehost_tag linuxhost_tag throughput_hostaddress_tag bwctl</output_settings></query>
<query>service_type owamp<filter>filter_key group-communitiesfilter_value frgp</filter><output_settings>organization_name FRGP<measurement_archive>type perfsonarbuoy/owamptype tracerouteread_url http://perfsonar1.research-lan.colostate.edu/esmond/perfsonar/archivewrite_url http://perfsonar1.research-lan.colostate.edu/esmond/perfsonar/archive</measurement_archive>address_tag owampsite_tag owamp_sitehost_tag linuxhost_tag latency_hostorganization_tag frgp</output_settings></query>Batch file I'm using to update all the configs and restart services for testing:#!/bin/bashcd /opt/perfsonar_ps/mesh_config/doc#/opt/perfsonar_ps/mesh_config/bin/lookup_hosts --input /opt/perfsonar_ps/mesh_config/etc/lookup_hosts.conf --output /var/www/html/dynamic_host_list.jsonecho "Generating .json configs"echo "Generating research.json"/opt/perfsonar_ps/mesh_config/bin/build_json -o /var/www/html/research.json research.confecho "Generating auto.json"/opt/perfsonar_ps/mesh_config/bin/lookup_hosts --input /opt/perfsonar_ps/mesh_config/etc/lookup_hosts.conf --output /var/www/html/auto.jsonecho "Generating dyn.json"/opt/perfsonar_ps/mesh_config/bin/build_json -o /var/www/html/dyn.json dyn.confecho "Generating .yaml config"echo "Agent Configuration"/opt/perfsonar_ps/mesh_config/bin/generate_configurationecho "GUIConfiguration"/opt/perfsonar_ps/mesh_config/bin/generate_gui_configurationecho "Restarting Services"service maddash-server restart~~~~
Robert Remsik
ACNS
Cell: 970 213 7219
ls_instance http://ps-west.es.net:8090/lookup/records
ls_instance http://ps-east.es.net:8090/lookup/records
<query>
service_type bwctl
<filter>
filter_key group-communities
filter_value frgp
</filter>
<output_settings>
organization_name FRGP
<measurement_archive>
type perfsonarbuoy/bwctl
type traceroute
read_url
http://perfsonar1.research-lan.colostate.edu/esmond/perfsonar/archive
write_url
http://perfsonar1.research-lan.colostate.edu/esmond/perfsonar/archive
</measurement_archive>
organization_tag frgp
site_tag bwctl_site
host_tag linux
host_tag throughput_host
address_tag bwctl
</output_settings>
</query>
<query>
service_type owamp
<filter>
filter_key group-communities
filter_value frgp
</filter>
<output_settings>
organization_name FRGP
<measurement_archive>
type perfsonarbuoy/owamp
type traceroute
type pinger
read_url
http://perfsonar1.research-lan.colostate.edu/esmond/perfsonar/archive
write_url
http://perfsonar1.research-lan.colostate.edu/esmond/perfsonar/archive
</measurement_archive>
address_tag owamp
site_tag owamp_site
host_tag linux
host_tag latency_host
organization_tag frgp
</output_settings>
</query>
Attachment:
auto.json
Description: application/json
- [perfsonar-user] Can't find MA for host using dynamic mesh, Remsik,Robert, 10/23/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Andrew Lake, 10/23/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Remsik,Robert, 10/23/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Andrew Lake, 10/23/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Remsik,Robert, 10/23/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Andrew Lake, 10/26/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Remsik,Robert, 10/26/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Andrew Lake, 10/26/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Remsik,Robert, 10/23/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Andrew Lake, 10/28/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Remsik,Robert, 10/30/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Andrew Lake, 10/23/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Remsik,Robert, 10/23/2015
- Re: [perfsonar-user] Can't find MA for host using dynamic mesh, Andrew Lake, 10/23/2015
Archive powered by MHonArc 2.6.16.