Changes between Version 24 and Version 25 of Nmm2022/Agenda/perfSONARuse


Ignore:
Timestamp:
Jul 21, 2022, 1:45:30 AM (22 months ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nmm2022/Agenda/perfSONARuse

    v24 v25  
    170170{
    171171   "_meta":{
    172       "display-name":"<Institute Name> Measurements",
    173       "psconfig-publisher":{
    174          "publish-source":"psconfig-publish-cli",
    175          "publish-time":"2022-07-13T00:26:07+00:00"
    176       }
     172      "display-name":"<Institute> Measurements"
    177173   },
    178174   "addresses":{
     
    180176         "address":"<PS_IP>"
    181177      },
     178      "Moscow":{
     179         "address":"t1-pfsn2.jinr-t1.ru"
     180      },
    182181      "NSRC":{
    183          "address":"perfsonar.nsrc.org"
     182         "address":"109.105.124.86"
    184183      },
    185184      "NORDUnet":{
     
    188187   },
    189188   "archives":{
    190       "example_esmond_archive":{
     189      "esmond_archive":{
    191190         "archiver":"esmond",
    192191         "data":{
     
    197196   },
    198197   "groups":{
    199       "example_group_mesh":{
    200          "addresses":[
     198      "group_disjoint":{
     199         "a-addresses":[
    201200            {
    202201               "name":"PS"
     202            }
     203         ],
     204         "b-addresses":[
     205            {
     206               "name":"Moscow"
    203207            },
    204208            {
     
    209213            }
    210214         ],
    211          "type":"mesh"
     215         "type":"disjoint"
    212216      }
    213217   },
    214218   "schedules":{
    215       "example_schedule_PT10M":{
     219      "schedule_PT10M":{
    216220         "repeat":"PT10M",
    217221         "slip":"PT10M",
    218222         "sliprand":true
    219223      },
    220       "example_schedule_PT4H":{
     224      "schedule_PT4H":{
    221225         "repeat":"PT4H",
    222226         "slip":"PT4H",
     
    224228      }
    225229   },
    226    "tasks":{
    227       "example_task_latencybg":{
    228          "_meta":{
    229             "display-name":"Example Loss Tests"
    230          },
    231          "archives":[
    232             "example_esmond_archive"
    233          ],
    234          "group":"example_group_mesh",
    235          "test":"example_test_latencybg"
    236       },
    237       "example_task_throughput":{
    238          "_meta":{
    239             "display-name":"Example Throughput Tests"
    240          },
    241          "archives":[
    242             "example_esmond_archive"
    243          ],
    244          "group":"example_group_mesh",
    245          "schedule":"example_schedule_PT4H",
    246          "test":"example_test_throughput"
    247       },
    248       "example_task_trace":{
    249          "_meta":{
    250             "display-name":"Example Traceroute Tests"
    251          },
    252          "archives":[
    253             "example_esmond_archive"
    254          ],
    255          "group":"example_group_mesh",
    256          "schedule":"example_schedule_PT10M",
    257          "test":"example_test_trace"
    258       }
    259    },
    260230   "tests":{
    261       "example_test_latencybg":{
     231      "test_rtt":{
    262232         "spec":{
    263233            "dest":"{% address[1] %}",
    264             "flip":"{% flip %}",
    265234            "source":"{% address[0] %}"
    266          },
    267          "type":"latencybg"
    268       },
    269       "example_test_throughput":{
     235        },
     236         "type":"rtt"
     237      },
     238      "test_throughput":{
    270239         "spec":{
    271240            "dest":"{% address[1] %}",
     
    275244         "type":"throughput"
    276245      },
    277       "example_test_trace":{
     246      "test_trace":{
    278247         "spec":{
    279248            "dest":"{% address[1] %}",
     
    282251         "type":"trace"
    283252      }
     253   },
     254   "tasks":{
     255      "task_rtt":{
     256         "_meta":{
     257            "display-name":"Ping Tests"
     258         },
     259         "archives":[
     260            "esmond_archive"
     261         ],
     262         "group":"group_disjoint",
     263         "test":"test_rtt"
     264      },
     265      "task_throughput":{
     266         "_meta":{
     267            "display-name":"Throughput Tests"
     268         },
     269         "archives":[
     270            "esmond_archive"
     271         ],
     272         "group":"group_disjoint",
     273         "schedule":"schedule_PT4H",
     274         "test":"test_throughput"
     275      },
     276      "task_trace":{
     277         "_meta":{
     278            "display-name":"Traceroute Tests"
     279         },
     280         "archives":[
     281            "esmond_archive"
     282         ],
     283         "group":"group_disjoint",
     284         "schedule":"schedule_PT10M",
     285         "test":"test_trace"
     286      }
    284287   }
    285288}
     289
    286290}}}
    287291
     
    294298Now we will add pSConfig template as a local template.
    295299
    296 psconfig remote add /<Path-To-Template>/<filename>.json"
     300{{{
     301sudo psconfig remote add /<Path-To-Template>/<filename>.json"
     302}}}
    297303
    298304Now restart below services to make the changes to be effect.
    299305
    300306{{{
    301 systemctl restart cassandra
    302 systemctl restart maddash-server
    303 systemctl restart psconfig-maddash-agent
     307sudo systemctl restart cassandra
     308sudo systemctl restart maddash-server
     309sudo systemctl restart psconfig-maddash-agent
     310sudo systemctl restart psconfig-pscheduler-agent
    304311}}}
    305312