User Tools

Site Tools


devel:upgrade_to_nav_3.6

This is an old revision of the document!


Introduction

This document contains information about upgrading from previous version of NAV to 3.6.

Cricket

Prior to upgrading the existing installation, the following MUST be done to ensure correctness:

  1. Make sure Cricket is not running.
  2. Do a backup of all the rrd-files.
  3. Remove all rrd-database tuples regarding Cricket (manually DELETE FROM rrd_file WHERE subsystem='cricket'; or with run_before_upgrading_to_3.6.py)
  4. Run makecricketconfig.pl to fill the rrd-database with complete and correct data.

You can now upgrade NAV to 3.6.

After the upgrade the following steps are required:

  1. Remove old temperature datasources from the rrd-files as they are removed in the new Default files (with migrate_cricket.py).
  2. Before removing any Cricket files make sure you have a backup of them. Especially if you have altered them yourself in any way.
  3. 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/
    • router-interfaces/
    • switches/
    • switch-ports/
  4. Copy new default configuration files to the cricket-config directory.
  5. Make sure that the datapath in the top level Defaults-file is correct and pointing to the directory where the rrd-files are stored.
  6. Run extract_cricket_oids.py to extract oids from the Default files and insert them into the snmpoid table.

You can now run mcc.py to create the Cricket config.

devel/upgrade_to_nav_3.6.1269864272.txt.gz · Last modified: 2010/03/29 12:04 by bredal