User Tools

Site Tools


devel:upgrade_to_nav_3.6

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
devel:upgrade_to_nav_3.6 [2010/03/26 11:50]
morten created
devel:upgrade_to_nav_3.6 [2010/04/30 11:58] (current)
bredal
Line 5: Line 5:
 ===== Cricket ===== ===== Cricket =====
  
-A brand new solution is in place for making cricket config files automatically. To ensure a smooth transition make sure to read this documentation carefully. +After the upgrade ​the following ​steps are required
- +  - Make sure Cricket is not running. 
-Prior to making any changes to the existing installation, ​the following ​MUST be done to ensure correctness+  - **Do a backup of all the rrd-files.** 
-  - Remove ​all rrd-database tuples regarding Cricket+  - Run ''​migrate_cricket.py''​. This will: 
-  - Run makecricketconfig.pl to fill the rrd-database ​with complete and correct data. +    * Delete ​the cricket-entries in the rrd database ​(the database will be filled again when the new makecricketconfig runs) 
- +    * Remove any temperature oids from the rrd-files. This because they weren'​t correct in the first place.
-When the rrd-database is refilled, ​the following steps must be executed:+
   - Before removing any Cricket files make sure you have a backup of them. Especially if you have altered them yourself in any way.   - Before removing any Cricket files make sure you have a backup of them. Especially if you have altered them yourself in any way.
-  - Remove old configuration-files from the cricket-config directory ​(it is highly recommended to do this for the top level Defaults file aswell). This is only necessary for the following directories (NB: do not remove these directories)+  - Remove old configuration-files from the cricket-config directory. This is only necessary for: 
-    * routers/ +    * Defaults 
-    * router-interfaces/​ +    * routers/* 
-    * switches/ +    * router-interfaces/​* 
-    * switch-ports/​ +    * switches/* 
-  - Copy new default configuration files to the cricket-config directory. +    * switch-ports/​* 
-  - Run extract_cricket_oids.py to extract oids from the Default files and insert them into the snmpoid table.+  - Copy new default configuration files to the ''​cricket-config'' ​directory. 
 +  - **Make sure that the datapath in the top level Defaults-file is correct and pointing to the directory where the rrd-files are stored.** 
 +  - Run ''​extract_cricket_oids.py'' ​to extract oids from the Default files and insert them into the snmpoid table.
  
-Before running the new makecricketconfig make sure to do the database upgrade.+You can now run mcc.py ​to create ​the Cricket config.
  
  
devel/upgrade_to_nav_3.6.1269604257.txt.gz · Last modified: 2010/03/26 11:50 by morten