Changes between Version 23 and Version 24 of Nmm2022/Agenda/perfSONARuse
- Timestamp:
- Jul 19, 2022, 11:28:04 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Nmm2022/Agenda/perfSONARuse
v23 v24 157 157 }}} 158 158 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 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. 160 161 Below is the configuration file that we are going to use in this installation. Now to create the file, 162 163 {{{ 164 sudo nano /etc/perfsonar/psconfig/<filename>.json 165 }}} 166 167 Please 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. 161 168 162 169 {{{ 163 170 { 164 171 "_meta":{ 165 "display-name":" LEARNMeasurements",172 "display-name":"<Institute Name> Measurements", 166 173 "psconfig-publisher":{ 167 174 "publish-source":"psconfig-publish-cli", … … 171 178 "addresses":{ 172 179 "PS":{ 173 "address":" PS_IP"180 "address":"<PS_IP>" 174 181 }, 175 182 "NSRC":{ … … 185 192 "data":{ 186 193 "measurement-agent":"{% scheduled_by_address %}", 187 "url":"https:// [PS_IP]/esmond/perfsonar/archive/"194 "url":"https://<PS_IP>/esmond/perfsonar/archive/" 188 195 } 189 196 } … … 282 289 283 290 {{{ 284 jq . learn.json291 jq . <filename>.json 285 292 }}} 286 293 287 294 Now we will add pSConfig template as a local template. 288 295 289 psconfig remote add /<Path-To-Template>/ learn.json"296 psconfig remote add /<Path-To-Template>/<filename>.json" 290 297 291 298 Now restart below services to make the changes to be effect. … … 297 304 }}} 298 305 299 Now visit the MaDDash web interface from https:// [PS_IP]/maddash-webui. You should be able to Dashboard items like below.306 Now visit the MaDDash web interface from https://<PS_IP>/maddash-webui. You should be able to Dashboard items like below. 300 307 301 308 [[Image(https://ws.learn.ac.lk/raw-attachment/wiki/Nmm2022/Agenda/perfSONARuse/ps37.png)]]