Changes between Version 8 and Version 9 of GENIOperationsTrial/MonitoringAddingSites


Ignore:
Timestamp:
06/22/16 10:25:22 (5 years ago)
Author:
asydney@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIOperationsTrial/MonitoringAddingSites

    v8 v9  
    4848The 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.
    4949
    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'''
    5153
    5254An entry for the new site needs to be added to the "aggregatestores" section of the config/opsconfig.json.jwc file in the repository.
     
    7678
    7779NOTE: 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
    7881 
     82'''Instructions for Removing a Section'''
     83
     84An 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
     86Simply 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
     98The following applies to both adding and removing sites:
     99
    79100 * 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.
    80101 * 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)
    81102 * 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
    82104
    83105=== 2.2.2 Create a minor Ops Monitoring release ===