Changes between Version 16 and Version 17 of Nmm2022/Agenda/perfSONARuse


Ignore:
Timestamp:
Jul 13, 2022, 3:12:40 PM (2 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Nmm2022/Agenda/perfSONARuse

    v16 v17  
    286286{{{
    287287sudo esmond_manage add_user_ip_address username PS1_IP
     288}}}
     289
     290Username can be anything and it is only for local reference of the Archive server. Below is the output of the successful command execution.
     291
     292{{{
     293esmond [INFO] Checking/creating column families
     294esmond [INFO] Schema check done
     295esmond [DEBUG] Opening ConnectionPool
     296esmond [INFO] Connected to ['localhost:9160']
     297User learn exists
     298Setting metadata POST permissions.
     299api | ps metadata | Can add ps metadata
     300api | ps metadata | Can change ps metadata
     301api | ps metadata | Can delete ps metadata
     302api | ps point to point subject | Can add ps point to point subject
     303api | ps point to point subject | Can change ps point to point subject
     304api | ps point to point subject | Can delete ps point to point subject
     305api | ps event types | Can add ps event types
     306api | ps event types | Can change ps event types
     307api | ps event types | Can delete ps event types
     308api | ps metadata parameters | Can add ps metadata parameters
     309api | ps metadata parameters | Can change ps metadata parameters
     310api | ps metadata parameters | Can delete ps metadata parameters
     311api | ps network element subject | Can add ps network element subject
     312api | ps network element subject | Can change ps network element subject
     313api | ps network element subject | Can delete ps network element subject
     314Setting timeseries permissions.
     315Creating entry for IP [PS1_IP] belonging to [username]
     316}}}
     317
     318In the same way add the user and IP address of the second perfSONAR node.
     319
     320{{{
    288321sudo esmond_manage add_user_ip_address username PS2_IP
    289322}}}
    290323
    291 Username can be anything and it is only for local reference of the Archive server.
     324Step 7. Now we should let the Archive server know where the pSConfig template lives. Then it can locate the archive and display the data through the MaDDash. Enter the below for that,
     325
     326{{{
     327psconfig remote add "https://MA_IP/psconfig/learn.json"
     328}}}
     329
     330Now restart below services to make the changes to be effect.
     331
     332{{{
     333systemctl restart cassandra
     334systemctl restart maddash-server
     335systemctl restart psconfig-maddash-agent
     336}}}
     337
     338Step 8. Now you should switch to the perfSONAR nodes. On each node execute the below commands. These make the nodes consume the psconfig template file and executes the tasks on it. It also tells the nodes to send archive data to the Central Measurement Archive.
     339
     340On Central Measurement Archive,
     341
     342{{{
     343psconfig remote add --configure-archives "https://[MA_IP]/psconfig/learn.json"
     344}}}
     345
     346Then you should restart the below service,
     347
     348{{{
     349systemctl restart psconfig-pscheduler-agent
     350}}}
     351
     352If everything is successful you should see archive data receiving to the Central Measurement Archive server. Visit the url https://[MA_IP]/esmond/perfsonar/archive/ and you should see something like below,
     353
     354[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARuse/ps33.png)]]
     355
     356Now visit the MaDDash web interface from https://[MA_IP]/maddash-webui. You should be able to Dashboard items like below.
     357
     358[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARuse/ps34.png)]]
     359
     360Click on a grid item to view the results of a type of test,
     361
     362[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARuse/ps35.png)]]
     363
     364Hover on the grid to view the test results.
     365
     366[[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARuse/ps36.png)]]
     367