This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
devel:upgrade_to_nav_3.6 [2010/03/26 12:32] bredal |
devel:upgrade_to_nav_3.6 [2010/03/29 11:22] morten |
||
---|---|---|---|
Line 7: | Line 7: | ||
Prior to making any changes to the existing installation, the following MUST be done to ensure correctness: | Prior to making any changes to the existing installation, the following MUST be done to ensure correctness: | ||
- Make sure Cricket is not running. | - Make sure Cricket is not running. | ||
- | - Remove all rrd-database tuples regarding Cricket (manually or with ''run_before_upgrading_to_3.6.py'') | + | - 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 makecricketconfig.pl to fill the rrd-database with complete and correct data. | - Run makecricketconfig.pl to fill the rrd-database with complete and correct data. | ||
- Remove old temperature datasources from the rrd-files as they are removed in the new Default files (with ''migrate_cricket.py''). | - Remove old temperature datasources from the rrd-files as they are removed in the new Default files (with ''migrate_cricket.py''). | ||
Line 18: | Line 19: | ||
* switches/ | * switches/ | ||
* switch-ports/ | * switch-ports/ | ||
- | - Copy new default configuration files to the cricket-config directory. | + | - Copy new default configuration files to the ''cricket-config'' directory. |
- | - Run extract_cricket_oids.py to extract oids from the Default files and insert them into the snmpoid table. | + | - 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. | Before running the new makecricketconfig make sure to do the database upgrade. | ||