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/04/28 08:09] bredal |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== Cricket ===== | ===== Cricket ===== | ||
- | Prior to making any changes to the existing installation, the following MUST be done to ensure correctness: | + | After the upgrade the following steps are required: |
- 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.** |
- | - 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''). | ||
- | |||
- | 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 (it is highly recommended to do this for the top level Defaults file aswell). This is only necessary for the following directories: |
* routers/ | * routers/ | ||
* router-interfaces/ | * router-interfaces/ | ||
* 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. | + | - **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. |