Changes between Version 8 and Version 9 of GENIOperationsTrial/MonitoringAddingSites
- Timestamp:
- 06/22/16 10:25:22 (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIOperationsTrial/MonitoringAddingSites
v8 v9 48 48 The party responsible for maintaining the Ops Config Data store is currently the GPO. The GPO will execute the following steps to add a new site to the [http://trac.gpolab.bbn.com/ops-monitoring/ ops-monitoring] system. 49 49 50 === 2.2.1 Adding a section to the json file: config/opsconfig.json.jwc in the repository === 50 === 2.2.1 Adding or removing a section to the json file: config/opsconfig.json.jwc in the repository === 51 52 '''Instructions for Adding a Section''' 51 53 52 54 An entry for the new site needs to be added to the "aggregatestores" section of the config/opsconfig.json.jwc file in the repository. … … 76 78 77 79 NOTE: Similar entries must be done for the FOAM AM (See config/opsconfig.json.jwc for examples). Also note that as of this writing the FOAM stores are not operational and hence the URL in the "href" will not return any useful information. 80 78 81 82 '''Instructions for Removing a Section''' 83 84 An entry for the site in question needs to be removed from the "aggregatestores" section of the config/opsconfig.json.jwc file in the repository. 85 86 Simply delete or comment out the section for this particular site. Below is an example for kansas-ig-of: 87 {{{ 88 // kansas-ig-of data store is NOW DECOMMISSIONED. 89 // { 90 // "urn": "urn:publicid:IDN+openflow:foam:foam.instageni.ku.gpeni.net+authority+am", 91 // "amtype": "foam", 92 // "href": "https://extckdatastore.gpolab.bbn.com/info/aggregate/kansas-ig-of", 93 // "amwikipage": "http://groups.geni.net/geni/wiki/GeniAggregate/KansasInstaGENIOpenFlow" 94 // }, 95 96 }}} 97 98 The following applies to both adding and removing sites: 99 79 100 * The file should be edited and committed either on the develop branch, or an a ticket branch. For the develop branch: '''git checkout develop''' and use editor of choice. 80 101 * At the top of the repository, run make to create config/opsconfig.json. Cut & Paste the content into http://jsonlint.com/ and make sure the json file passes validation. (It is very easy to forget a quote, colon or comma and/or add one too many) 81 102 * Once committed, you can check the build results at http://lemongrass.gpolab.bbn.com:8080/ to make sure the commit didn't break anything. 103 82 104 83 105 === 2.2.2 Create a minor Ops Monitoring release ===