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


Ignore:
Timestamp:
Jul 19, 2022, 11:28:04 PM (2 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nmm2022/Agenda/perfSONARuse

    v23 v24  
    157157}}}
    158158
    159 Next we have to create a pSConfig template for feeding measurement tasks to the perfSONAR node. Sample templates can be found at /usr/share/doc/perfsonar/psconfig/ on the central measurement archive server. skeleton.json is basic sample configuration file to start with. Below is the configuration file that we are going to use in this installation.
    160 
     159Next we have to create a pSConfig template for feeding measurement tasks to the perfSONAR node. Sample templates can be found at /usr/share/doc/perfsonar/psconfig/ on the central measurement archive server. skeleton.json is basic sample configuration file to start with.
     160
     161Below is the configuration file that we are going to use in this installation. Now to create the file,
     162
     163{{{
     164sudo nano /etc/perfsonar/psconfig/<filename>.json
     165}}}
     166
     167Please give a preferred filename above. Now copy and paste the below content. In the configuration you can customize the display-name attribute to your institute name. Also here you have to replace PS_IP with the IP address of your perfsonar node which is the same host that the MaDDash is installed.
    161168
    162169{{{
    163170{
    164171   "_meta":{
    165       "display-name":"LEARN Measurements",
     172      "display-name":"<Institute Name> Measurements",
    166173      "psconfig-publisher":{
    167174         "publish-source":"psconfig-publish-cli",
     
    171178   "addresses":{
    172179      "PS":{
    173          "address":"PS_IP"
     180         "address":"<PS_IP>"
    174181      },
    175182      "NSRC":{
     
    185192         "data":{
    186193            "measurement-agent":"{% scheduled_by_address %}",
    187             "url":"https://[PS_IP]/esmond/perfsonar/archive/"
     194            "url":"https://<PS_IP>/esmond/perfsonar/archive/"
    188195         }
    189196      }
     
    282289
    283290{{{
    284 jq . learn.json
     291jq . <filename>.json
    285292}}}
    286293
    287294Now we will add pSConfig template as a local template.
    288295
    289 psconfig remote add /<Path-To-Template>/learn.json"
     296psconfig remote add /<Path-To-Template>/<filename>.json"
    290297
    291298Now restart below services to make the changes to be effect.
     
    297304}}}
    298305
    299 Now visit the MaDDash web interface from ​https://[PS_IP]/maddash-webui. You should be able to Dashboard items like below.
     306Now visit the MaDDash web interface from ​https://<PS_IP>/maddash-webui. You should be able to Dashboard items like below.
    300307
    301308[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARuse/ps37.png)]]