This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
devel:upgrade_to_nav_3.6 [2010/03/26 11:50] morten created |
devel:upgrade_to_nav_3.6 [2010/03/29 11:22] morten |
||
---|---|---|---|
Line 4: | Line 4: | ||
===== 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. | ||
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: | ||
- | - Remove all rrd-database tuples regarding Cricket. | + | - Make sure Cricket is not running. |
+ | - 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''). | ||
When the rrd-database is refilled, the following steps must be executed: | When the rrd-database is refilled, the following steps must be executed: | ||
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. | ||