| 288 | }}} |
| 289 | |
| 290 | Username 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 | {{{ |
| 293 | esmond [INFO] Checking/creating column families |
| 294 | esmond [INFO] Schema check done |
| 295 | esmond [DEBUG] Opening ConnectionPool |
| 296 | esmond [INFO] Connected to ['localhost:9160'] |
| 297 | User learn exists |
| 298 | Setting metadata POST permissions. |
| 299 | api | ps metadata | Can add ps metadata |
| 300 | api | ps metadata | Can change ps metadata |
| 301 | api | ps metadata | Can delete ps metadata |
| 302 | api | ps point to point subject | Can add ps point to point subject |
| 303 | api | ps point to point subject | Can change ps point to point subject |
| 304 | api | ps point to point subject | Can delete ps point to point subject |
| 305 | api | ps event types | Can add ps event types |
| 306 | api | ps event types | Can change ps event types |
| 307 | api | ps event types | Can delete ps event types |
| 308 | api | ps metadata parameters | Can add ps metadata parameters |
| 309 | api | ps metadata parameters | Can change ps metadata parameters |
| 310 | api | ps metadata parameters | Can delete ps metadata parameters |
| 311 | api | ps network element subject | Can add ps network element subject |
| 312 | api | ps network element subject | Can change ps network element subject |
| 313 | api | ps network element subject | Can delete ps network element subject |
| 314 | Setting timeseries permissions. |
| 315 | Creating entry for IP [PS1_IP] belonging to [username] |
| 316 | }}} |
| 317 | |
| 318 | In the same way add the user and IP address of the second perfSONAR node. |
| 319 | |
| 320 | {{{ |
291 | | Username can be anything and it is only for local reference of the Archive server. |
| 324 | Step 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 | {{{ |
| 327 | psconfig remote add "https://MA_IP/psconfig/learn.json" |
| 328 | }}} |
| 329 | |
| 330 | Now restart below services to make the changes to be effect. |
| 331 | |
| 332 | {{{ |
| 333 | systemctl restart cassandra |
| 334 | systemctl restart maddash-server |
| 335 | systemctl restart psconfig-maddash-agent |
| 336 | }}} |
| 337 | |
| 338 | Step 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 | |
| 340 | On Central Measurement Archive, |
| 341 | |
| 342 | {{{ |
| 343 | psconfig remote add --configure-archives "https://[MA_IP]/psconfig/learn.json" |
| 344 | }}} |
| 345 | |
| 346 | Then you should restart the below service, |
| 347 | |
| 348 | {{{ |
| 349 | systemctl restart psconfig-pscheduler-agent |
| 350 | }}} |
| 351 | |
| 352 | If 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 | |
| 356 | Now 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 | |
| 360 | Click 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 | |
| 364 | Hover 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 | |