Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Can't find MA for host using dynamic mesh

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Can't find MA for host using dynamic mesh


Chronological Thread 
  • From: "Remsik,Robert" <>
  • To: Andrew Lake <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Can't find MA for host using dynamic mesh
  • Date: Fri, 30 Oct 2015 21:20:55 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:23

That seemed to have helped a lot.  Thank you!




Robert Remsik

ACNS

Cell: 970 213 7219




From: Andrew Lake <>
Sent: Wednesday, October 28, 2015 8:16 AM
To: Remsik,Robert
Cc:
Subject: Re: [perfsonar-user] Can't find MA for host using dynamic mesh
 
Hi Robert,

I think the problem is that some of your hosts only do OWAMP, but are included in BWCTL meshes with the current class structures (and vice versa). Right now you just have one class, owamp_agents, that matches everything. I think you may want to add a "tag latency_host” in the host class definition of your MeshConfig.conf file. Likewise, I think you also want to add a second bwctl_agents class (or similarly named) with a "tag throughput_host” and use that class in your BWCTL meshes. That should get rid of the errors.

Thanks,
Andy




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 mesh
 
Hi 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,
Andy









On 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/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
            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>


Batch file I'm using to update all the configs and restart services for testing:
#!/bin/bash
cd /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.json

echo "Generating .json configs"
echo "Generating research.json"
/opt/perfsonar_ps/mesh_config/bin/build_json -o /var/www/html/research.json research.conf


echo "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.json
echo "Generating dyn.json"
/opt/perfsonar_ps/mesh_config/bin/build_json -o /var/www/html/dyn.json dyn.conf


echo "Generating .yaml config"
echo "Agent Configuration"
/opt/perfsonar_ps/mesh_config/bin/generate_configuration
echo "GUIConfiguration"
/opt/perfsonar_ps/mesh_config/bin/generate_gui_configuration

echo "Restarting Services"
service maddash-server restart
~                                                                                                                                                                                                                                            
~                                                                                                                                                                                                                                            
~                                                                                                                                                                                                                                            
~                                             



Robert Remsik

ACNS

Cell: 970 213 7219






Archive powered by MHonArc 2.6.16.

Top of Page