This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
devel:upgrade_to_nav_3.6 [2010/04/28 07:12] bredal |
devel:upgrade_to_nav_3.6 [2010/04/30 09:29] bredal |
||
---|---|---|---|
Line 8: | Line 8: | ||
- Make sure Cricket is not running. | - Make sure Cricket is not running. | ||
- **Do a backup of all the rrd-files.** | - **Do a backup of all the rrd-files.** | ||
- | - Remove all rrd-database tuples regarding Cricket (manually ''DELETE FROM rrd_file WHERE subsystem='cricket';'' or with ''run_before_upgrading_to_3.6.py'') | + | - Run ''migrate_cricket.py''. This will: |
- | - Remove old temperature datasources from the rrd-files as they are removed in the new Default files (with ''migrate_cricket.py''). | + | * 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. | ||
- 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: | + | - Remove old configuration-files from the cricket-config directory. This is only necessary for: |
- | * routers/ | + | * Defaults |
- | * router-interfaces/ | + | * routers/Defaults |
- | * switches/ | + | * router-interfaces/Defaults |
- | * switch-ports/ | + | * switches/Defaults |
+ | * switch-ports/Defaults | ||
- Copy new default configuration files to the ''cricket-config'' directory. | - 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.** | - **Make sure that the datapath in the top level Defaults-file is correct and pointing to the directory where the rrd-files are stored.** |